all repos — mgba @ 6882339f625b97f344c6464915c2038bc453ea3c

mGBA Game Boy Advance Emulator

src/third-party/libpng/configure (view raw)

    1#! /bin/sh
    2# Guess values for system-dependent variables and create Makefiles.
    3# Generated by GNU Autoconf 2.69 for libpng 1.6.17.
    4#
    5# Report bugs to <png-mng-implement@lists.sourceforge.net>.
    6#
    7#
    8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    9#
   10#
   11# This configure script is free software; the Free Software Foundation
   12# gives unlimited permission to copy, distribute and modify it.
   13## -------------------- ##
   14## M4sh Initialization. ##
   15## -------------------- ##
   16
   17# Be more Bourne compatible
   18DUALCASE=1; export DUALCASE # for MKS sh
   19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20  emulate sh
   21  NULLCMD=:
   22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23  # is contrary to our usage.  Disable this feature.
   24  alias -g '${1+"$@"}'='"$@"'
   25  setopt NO_GLOB_SUBST
   26else
   27  case `(set -o) 2>/dev/null` in #(
   28  *posix*) :
   29    set -o posix ;; #(
   30  *) :
   31     ;;
   32esac
   33fi
   34
   35
   36as_nl='
   37'
   38export as_nl
   39# Printing a long string crashes Solaris 7 /usr/bin/printf.
   40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   43# Prefer a ksh shell builtin over an external printf program on Solaris,
   44# but without wasting forks for bash or zsh.
   45if test -z "$BASH_VERSION$ZSH_VERSION" \
   46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   47  as_echo='print -r --'
   48  as_echo_n='print -rn --'
   49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   50  as_echo='printf %s\n'
   51  as_echo_n='printf %s'
   52else
   53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   55    as_echo_n='/usr/ucb/echo -n'
   56  else
   57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   58    as_echo_n_body='eval
   59      arg=$1;
   60      case $arg in #(
   61      *"$as_nl"*)
   62	expr "X$arg" : "X\\(.*\\)$as_nl";
   63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   64      esac;
   65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   66    '
   67    export as_echo_n_body
   68    as_echo_n='sh -c $as_echo_n_body as_echo'
   69  fi
   70  export as_echo_body
   71  as_echo='sh -c $as_echo_body as_echo'
   72fi
   73
   74# The user is always right.
   75if test "${PATH_SEPARATOR+set}" != set; then
   76  PATH_SEPARATOR=:
   77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   79      PATH_SEPARATOR=';'
   80  }
   81fi
   82
   83
   84# IFS
   85# We need space, tab and new line, in precisely that order.  Quoting is
   86# there to prevent editors from complaining about space-tab.
   87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
   88# splitting by setting IFS to empty value.)
   89IFS=" ""	$as_nl"
   90
   91# Find who we are.  Look in the path if we contain no directory separator.
   92as_myself=
   93case $0 in #((
   94  *[\\/]* ) as_myself=$0 ;;
   95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   96for as_dir in $PATH
   97do
   98  IFS=$as_save_IFS
   99  test -z "$as_dir" && as_dir=.
  100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101  done
  102IFS=$as_save_IFS
  103
  104     ;;
  105esac
  106# We did not find ourselves, most probably we were run as `sh COMMAND'
  107# in which case we are not to be found in the path.
  108if test "x$as_myself" = x; then
  109  as_myself=$0
  110fi
  111if test ! -f "$as_myself"; then
  112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113  exit 1
  114fi
  115
  116# Unset variables that we do not need and which cause bugs (e.g. in
  117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118# suppresses any "Segmentation fault" message there.  '((' could
  119# trigger a bug in pdksh 5.2.14.
  120for as_var in BASH_ENV ENV MAIL MAILPATH
  121do eval test x\${$as_var+set} = xset \
  122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123done
  124PS1='$ '
  125PS2='> '
  126PS4='+ '
  127
  128# NLS nuisances.
  129LC_ALL=C
  130export LC_ALL
  131LANGUAGE=C
  132export LANGUAGE
  133
  134# CDPATH.
  135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136
  137# Use a proper internal environment variable to ensure we don't fall
  138  # into an infinite loop, continuously re-executing ourselves.
  139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  140    _as_can_reexec=no; export _as_can_reexec;
  141    # We cannot yet assume a decent shell, so we have to provide a
  142# neutralization value for shells without unset; and this also
  143# works around shells that cannot unset nonexistent variables.
  144# Preserve -v and -x to the replacement shell.
  145BASH_ENV=/dev/null
  146ENV=/dev/null
  147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  148case $- in # ((((
  149  *v*x* | *x*v* ) as_opts=-vx ;;
  150  *v* ) as_opts=-v ;;
  151  *x* ) as_opts=-x ;;
  152  * ) as_opts= ;;
  153esac
  154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  155# Admittedly, this is quite paranoid, since all the known shells bail
  156# out after a failed `exec'.
  157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  158as_fn_exit 255
  159  fi
  160  # We don't want this to propagate to other subprocesses.
  161          { _as_can_reexec=; unset _as_can_reexec;}
  162if test "x$CONFIG_SHELL" = x; then
  163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  164  emulate sh
  165  NULLCMD=:
  166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  167  # is contrary to our usage.  Disable this feature.
  168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
  169  setopt NO_GLOB_SUBST
  170else
  171  case \`(set -o) 2>/dev/null\` in #(
  172  *posix*) :
  173    set -o posix ;; #(
  174  *) :
  175     ;;
  176esac
  177fi
  178"
  179  as_required="as_fn_return () { (exit \$1); }
  180as_fn_success () { as_fn_return 0; }
  181as_fn_failure () { as_fn_return 1; }
  182as_fn_ret_success () { return 0; }
  183as_fn_ret_failure () { return 1; }
  184
  185exitcode=0
  186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  191
  192else
  193  exitcode=1; echo positional parameters were not saved.
  194fi
  195test x\$exitcode = x0 || exit 1
  196test -x / || exit 1"
  197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  201test \$(( 1 + 1 )) = 2 || exit 1
  202
  203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  207    PATH=/empty FPATH=/empty; export PATH FPATH
  208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  210  if (eval "$as_required") 2>/dev/null; then :
  211  as_have_required=yes
  212else
  213  as_have_required=no
  214fi
  215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  216
  217else
  218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  219as_found=false
  220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  221do
  222  IFS=$as_save_IFS
  223  test -z "$as_dir" && as_dir=.
  224  as_found=:
  225  case $as_dir in #(
  226	 /*)
  227	   for as_base in sh bash ksh sh5; do
  228	     # Try only shells that exist, to save several forks.
  229	     as_shell=$as_dir/$as_base
  230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  232  CONFIG_SHELL=$as_shell as_have_required=yes
  233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  234  break 2
  235fi
  236fi
  237	   done;;
  238       esac
  239  as_found=false
  240done
  241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  243  CONFIG_SHELL=$SHELL as_have_required=yes
  244fi; }
  245IFS=$as_save_IFS
  246
  247
  248      if test "x$CONFIG_SHELL" != x; then :
  249  export CONFIG_SHELL
  250             # We cannot yet assume a decent shell, so we have to provide a
  251# neutralization value for shells without unset; and this also
  252# works around shells that cannot unset nonexistent variables.
  253# Preserve -v and -x to the replacement shell.
  254BASH_ENV=/dev/null
  255ENV=/dev/null
  256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  257case $- in # ((((
  258  *v*x* | *x*v* ) as_opts=-vx ;;
  259  *v* ) as_opts=-v ;;
  260  *x* ) as_opts=-x ;;
  261  * ) as_opts= ;;
  262esac
  263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  264# Admittedly, this is quite paranoid, since all the known shells bail
  265# out after a failed `exec'.
  266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  267exit 255
  268fi
  269
  270    if test x$as_have_required = xno; then :
  271  $as_echo "$0: This script requires a shell more modern than all"
  272  $as_echo "$0: the shells that I found on your system."
  273  if test x${ZSH_VERSION+set} = xset ; then
  274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  276  else
  277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
  278$0: png-mng-implement@lists.sourceforge.net about your
  279$0: system, including any error possibly output before this
  280$0: message. Then install a modern shell, or manually run
  281$0: the script under such a shell if you do have one."
  282  fi
  283  exit 1
  284fi
  285fi
  286fi
  287SHELL=${CONFIG_SHELL-/bin/sh}
  288export SHELL
  289# Unset more variables known to interfere with behavior of common tools.
  290CLICOLOR_FORCE= GREP_OPTIONS=
  291unset CLICOLOR_FORCE GREP_OPTIONS
  292
  293## --------------------- ##
  294## M4sh Shell Functions. ##
  295## --------------------- ##
  296# as_fn_unset VAR
  297# ---------------
  298# Portably unset VAR.
  299as_fn_unset ()
  300{
  301  { eval $1=; unset $1;}
  302}
  303as_unset=as_fn_unset
  304
  305# as_fn_set_status STATUS
  306# -----------------------
  307# Set $? to STATUS, without forking.
  308as_fn_set_status ()
  309{
  310  return $1
  311} # as_fn_set_status
  312
  313# as_fn_exit STATUS
  314# -----------------
  315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  316as_fn_exit ()
  317{
  318  set +e
  319  as_fn_set_status $1
  320  exit $1
  321} # as_fn_exit
  322
  323# as_fn_mkdir_p
  324# -------------
  325# Create "$as_dir" as a directory, including parents if necessary.
  326as_fn_mkdir_p ()
  327{
  328
  329  case $as_dir in #(
  330  -*) as_dir=./$as_dir;;
  331  esac
  332  test -d "$as_dir" || eval $as_mkdir_p || {
  333    as_dirs=
  334    while :; do
  335      case $as_dir in #(
  336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  337      *) as_qdir=$as_dir;;
  338      esac
  339      as_dirs="'$as_qdir' $as_dirs"
  340      as_dir=`$as_dirname -- "$as_dir" ||
  341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  342	 X"$as_dir" : 'X\(//\)[^/]' \| \
  343	 X"$as_dir" : 'X\(//\)$' \| \
  344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  345$as_echo X"$as_dir" |
  346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  347	    s//\1/
  348	    q
  349	  }
  350	  /^X\(\/\/\)[^/].*/{
  351	    s//\1/
  352	    q
  353	  }
  354	  /^X\(\/\/\)$/{
  355	    s//\1/
  356	    q
  357	  }
  358	  /^X\(\/\).*/{
  359	    s//\1/
  360	    q
  361	  }
  362	  s/.*/./; q'`
  363      test -d "$as_dir" && break
  364    done
  365    test -z "$as_dirs" || eval "mkdir $as_dirs"
  366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  367
  368
  369} # as_fn_mkdir_p
  370
  371# as_fn_executable_p FILE
  372# -----------------------
  373# Test if FILE is an executable regular file.
  374as_fn_executable_p ()
  375{
  376  test -f "$1" && test -x "$1"
  377} # as_fn_executable_p
  378# as_fn_append VAR VALUE
  379# ----------------------
  380# Append the text in VALUE to the end of the definition contained in VAR. Take
  381# advantage of any shell optimizations that allow amortized linear growth over
  382# repeated appends, instead of the typical quadratic growth present in naive
  383# implementations.
  384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  385  eval 'as_fn_append ()
  386  {
  387    eval $1+=\$2
  388  }'
  389else
  390  as_fn_append ()
  391  {
  392    eval $1=\$$1\$2
  393  }
  394fi # as_fn_append
  395
  396# as_fn_arith ARG...
  397# ------------------
  398# Perform arithmetic evaluation on the ARGs, and store the result in the
  399# global $as_val. Take advantage of shells that can avoid forks. The arguments
  400# must be portable across $(()) and expr.
  401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  402  eval 'as_fn_arith ()
  403  {
  404    as_val=$(( $* ))
  405  }'
  406else
  407  as_fn_arith ()
  408  {
  409    as_val=`expr "$@" || test $? -eq 1`
  410  }
  411fi # as_fn_arith
  412
  413
  414# as_fn_error STATUS ERROR [LINENO LOG_FD]
  415# ----------------------------------------
  416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  418# script with STATUS, using 1 if that was 0.
  419as_fn_error ()
  420{
  421  as_status=$1; test $as_status -eq 0 && as_status=1
  422  if test "$4"; then
  423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  425  fi
  426  $as_echo "$as_me: error: $2" >&2
  427  as_fn_exit $as_status
  428} # as_fn_error
  429
  430if expr a : '\(a\)' >/dev/null 2>&1 &&
  431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  432  as_expr=expr
  433else
  434  as_expr=false
  435fi
  436
  437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  438  as_basename=basename
  439else
  440  as_basename=false
  441fi
  442
  443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  444  as_dirname=dirname
  445else
  446  as_dirname=false
  447fi
  448
  449as_me=`$as_basename -- "$0" ||
  450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  451	 X"$0" : 'X\(//\)$' \| \
  452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  453$as_echo X/"$0" |
  454    sed '/^.*\/\([^/][^/]*\)\/*$/{
  455	    s//\1/
  456	    q
  457	  }
  458	  /^X\/\(\/\/\)$/{
  459	    s//\1/
  460	    q
  461	  }
  462	  /^X\/\(\/\).*/{
  463	    s//\1/
  464	    q
  465	  }
  466	  s/.*/./; q'`
  467
  468# Avoid depending upon Character Ranges.
  469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  472as_cr_digits='0123456789'
  473as_cr_alnum=$as_cr_Letters$as_cr_digits
  474
  475
  476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
  477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
  478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  481  sed -n '
  482    p
  483    /[$]LINENO/=
  484  ' <$as_myself |
  485    sed '
  486      s/[$]LINENO.*/&-/
  487      t lineno
  488      b
  489      :lineno
  490      N
  491      :loop
  492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  493      t loop
  494      s/-\n.*//
  495    ' >$as_me.lineno &&
  496  chmod +x "$as_me.lineno" ||
  497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  498
  499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  500  # already done that, so ensure we don't try to do so again and fall
  501  # in an infinite loop.  This has already happened in practice.
  502  _as_can_reexec=no; export _as_can_reexec
  503  # Don't try to exec as it changes $[0], causing all sort of problems
  504  # (the dirname of $[0] is not the place where we might find the
  505  # original and so on.  Autoconf is especially sensitive to this).
  506  . "./$as_me.lineno"
  507  # Exit status is that of the last command.
  508  exit
  509}
  510
  511ECHO_C= ECHO_N= ECHO_T=
  512case `echo -n x` in #(((((
  513-n*)
  514  case `echo 'xy\c'` in
  515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  516  xy)  ECHO_C='\c';;
  517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  518       ECHO_T='	';;
  519  esac;;
  520*)
  521  ECHO_N='-n';;
  522esac
  523
  524rm -f conf$$ conf$$.exe conf$$.file
  525if test -d conf$$.dir; then
  526  rm -f conf$$.dir/conf$$.file
  527else
  528  rm -f conf$$.dir
  529  mkdir conf$$.dir 2>/dev/null
  530fi
  531if (echo >conf$$.file) 2>/dev/null; then
  532  if ln -s conf$$.file conf$$ 2>/dev/null; then
  533    as_ln_s='ln -s'
  534    # ... but there are two gotchas:
  535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  537    # In both cases, we have to default to `cp -pR'.
  538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  539      as_ln_s='cp -pR'
  540  elif ln conf$$.file conf$$ 2>/dev/null; then
  541    as_ln_s=ln
  542  else
  543    as_ln_s='cp -pR'
  544  fi
  545else
  546  as_ln_s='cp -pR'
  547fi
  548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  549rmdir conf$$.dir 2>/dev/null
  550
  551if mkdir -p . 2>/dev/null; then
  552  as_mkdir_p='mkdir -p "$as_dir"'
  553else
  554  test -d ./-p && rmdir ./-p
  555  as_mkdir_p=false
  556fi
  557
  558as_test_x='test -x'
  559as_executable_p=as_fn_executable_p
  560
  561# Sed expression to map a string onto a valid CPP name.
  562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  563
  564# Sed expression to map a string onto a valid variable name.
  565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  566
  567SHELL=${CONFIG_SHELL-/bin/sh}
  568
  569
  570test -n "$DJDIR" || exec 7<&0 </dev/null
  571exec 6>&1
  572
  573# Name of the host.
  574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  575# so uname gets run too.
  576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  577
  578#
  579# Initializations.
  580#
  581ac_default_prefix=/usr/local
  582ac_clean_files=
  583ac_config_libobj_dir=.
  584LIBOBJS=
  585cross_compiling=no
  586subdirs=
  587MFLAGS=
  588MAKEFLAGS=
  589
  590# Identity of this package.
  591PACKAGE_NAME='libpng'
  592PACKAGE_TARNAME='libpng'
  593PACKAGE_VERSION='1.6.17'
  594PACKAGE_STRING='libpng 1.6.17'
  595PACKAGE_BUGREPORT='png-mng-implement@lists.sourceforge.net'
  596PACKAGE_URL=''
  597
  598ac_unique_file="pngget.c"
  599# Factoring default headers for most tests.
  600ac_includes_default="\
  601#include <stdio.h>
  602#ifdef HAVE_SYS_TYPES_H
  603# include <sys/types.h>
  604#endif
  605#ifdef HAVE_SYS_STAT_H
  606# include <sys/stat.h>
  607#endif
  608#ifdef STDC_HEADERS
  609# include <stdlib.h>
  610# include <stddef.h>
  611#else
  612# ifdef HAVE_STDLIB_H
  613#  include <stdlib.h>
  614# endif
  615#endif
  616#ifdef HAVE_STRING_H
  617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  618#  include <memory.h>
  619# endif
  620# include <string.h>
  621#endif
  622#ifdef HAVE_STRINGS_H
  623# include <strings.h>
  624#endif
  625#ifdef HAVE_INTTYPES_H
  626# include <inttypes.h>
  627#endif
  628#ifdef HAVE_STDINT_H
  629# include <stdint.h>
  630#endif
  631#ifdef HAVE_UNISTD_H
  632# include <unistd.h>
  633#endif"
  634
  635ac_subst_vars='am__EXEEXT_FALSE
  636am__EXEEXT_TRUE
  637LTLIBOBJS
  638PNG_ARM_NEON_FALSE
  639PNG_ARM_NEON_TRUE
  640DO_INSTALL_LIBPNG_CONFIG_FALSE
  641DO_INSTALL_LIBPNG_CONFIG_TRUE
  642DO_INSTALL_LIBPNG_PC_FALSE
  643DO_INSTALL_LIBPNG_PC_TRUE
  644DO_INSTALL_LINKS_FALSE
  645DO_INSTALL_LINKS_TRUE
  646DO_PNG_PREFIX_FALSE
  647DO_PNG_PREFIX_TRUE
  648PNG_PREFIX
  649binconfigs
  650pkgconfigdir
  651PNGLIB_RELEASE
  652PNGLIB_MINOR
  653PNGLIB_MAJOR
  654PNGLIB_VERSION
  655SYMBOL_PREFIX
  656HAVE_LD_VERSION_SCRIPT_FALSE
  657HAVE_LD_VERSION_SCRIPT_TRUE
  658HAVE_SOLARIS_LD_FALSE
  659HAVE_SOLARIS_LD_TRUE
  660LIBOBJS
  661POW_LIB
  662PNG_COPTS
  663DFNCPP
  664LT_SYS_LIBRARY_PATH
  665OTOOL64
  666OTOOL
  667LIPO
  668NMEDIT
  669DSYMUTIL
  670MANIFEST_TOOL
  671RANLIB
  672ac_ct_AR
  673AR
  674NM
  675ac_ct_DUMPBIN
  676DUMPBIN
  677LIBTOOL
  678OBJDUMP
  679DLLTOOL
  680AS
  681LN_S
  682CPP
  683LD
  684FGREP
  685EGREP
  686GREP
  687SED
  688host_os
  689host_vendor
  690host_cpu
  691host
  692build_os
  693build_vendor
  694build_cpu
  695build
  696am__fastdepCCAS_FALSE
  697am__fastdepCCAS_TRUE
  698CCASDEPMODE
  699CCASFLAGS
  700CCAS
  701am__fastdepCC_FALSE
  702am__fastdepCC_TRUE
  703CCDEPMODE
  704am__nodep
  705AMDEPBACKSLASH
  706AMDEP_FALSE
  707AMDEP_TRUE
  708am__quote
  709am__include
  710DEPDIR
  711OBJEXT
  712EXEEXT
  713ac_ct_CC
  714CPPFLAGS
  715LDFLAGS
  716CFLAGS
  717CC
  718MAINT
  719MAINTAINER_MODE_FALSE
  720MAINTAINER_MODE_TRUE
  721AM_BACKSLASH
  722AM_DEFAULT_VERBOSITY
  723AM_DEFAULT_V
  724AM_V
  725am__untar
  726am__tar
  727AMTAR
  728am__leading_dot
  729SET_MAKE
  730AWK
  731mkdir_p
  732MKDIR_P
  733INSTALL_STRIP_PROGRAM
  734STRIP
  735install_sh
  736MAKEINFO
  737AUTOHEADER
  738AUTOMAKE
  739AUTOCONF
  740ACLOCAL
  741VERSION
  742PACKAGE
  743CYGPATH_W
  744am__isrc
  745INSTALL_DATA
  746INSTALL_SCRIPT
  747INSTALL_PROGRAM
  748target_alias
  749host_alias
  750build_alias
  751LIBS
  752ECHO_T
  753ECHO_N
  754ECHO_C
  755DEFS
  756mandir
  757localedir
  758libdir
  759psdir
  760pdfdir
  761dvidir
  762htmldir
  763infodir
  764docdir
  765oldincludedir
  766includedir
  767localstatedir
  768sharedstatedir
  769sysconfdir
  770datadir
  771datarootdir
  772libexecdir
  773sbindir
  774bindir
  775program_transform_name
  776prefix
  777exec_prefix
  778PACKAGE_URL
  779PACKAGE_BUGREPORT
  780PACKAGE_STRING
  781PACKAGE_VERSION
  782PACKAGE_TARNAME
  783PACKAGE_NAME
  784PATH_SEPARATOR
  785SHELL'
  786ac_subst_files=''
  787ac_user_opts='
  788enable_option_checking
  789enable_silent_rules
  790enable_maintainer_mode
  791enable_dependency_tracking
  792with_gnu_ld
  793enable_shared
  794enable_static
  795with_pic
  796enable_fast_install
  797with_aix_soname
  798with_sysroot
  799enable_libtool_lock
  800enable_werror
  801with_zlib_prefix
  802with_pkgconfigdir
  803with_binconfigs
  804with_libpng_prefix
  805enable_unversioned_links
  806enable_unversioned_libpng_pc
  807enable_unversioned_libpng_config
  808enable_arm_neon
  809'
  810      ac_precious_vars='build_alias
  811host_alias
  812target_alias
  813CC
  814CFLAGS
  815LDFLAGS
  816LIBS
  817CPPFLAGS
  818CCAS
  819CCASFLAGS
  820CPP
  821LT_SYS_LIBRARY_PATH
  822PNG_COPTS'
  823
  824
  825# Initialize some variables set by options.
  826ac_init_help=
  827ac_init_version=false
  828ac_unrecognized_opts=
  829ac_unrecognized_sep=
  830# The variables have the same names as the options, with
  831# dashes changed to underlines.
  832cache_file=/dev/null
  833exec_prefix=NONE
  834no_create=
  835no_recursion=
  836prefix=NONE
  837program_prefix=NONE
  838program_suffix=NONE
  839program_transform_name=s,x,x,
  840silent=
  841site=
  842srcdir=
  843verbose=
  844x_includes=NONE
  845x_libraries=NONE
  846
  847# Installation directory options.
  848# These are left unexpanded so users can "make install exec_prefix=/foo"
  849# and all the variables that are supposed to be based on exec_prefix
  850# by default will actually change.
  851# Use braces instead of parens because sh, perl, etc. also accept them.
  852# (The list follows the same order as the GNU Coding Standards.)
  853bindir='${exec_prefix}/bin'
  854sbindir='${exec_prefix}/sbin'
  855libexecdir='${exec_prefix}/libexec'
  856datarootdir='${prefix}/share'
  857datadir='${datarootdir}'
  858sysconfdir='${prefix}/etc'
  859sharedstatedir='${prefix}/com'
  860localstatedir='${prefix}/var'
  861includedir='${prefix}/include'
  862oldincludedir='/usr/include'
  863docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  864infodir='${datarootdir}/info'
  865htmldir='${docdir}'
  866dvidir='${docdir}'
  867pdfdir='${docdir}'
  868psdir='${docdir}'
  869libdir='${exec_prefix}/lib'
  870localedir='${datarootdir}/locale'
  871mandir='${datarootdir}/man'
  872
  873ac_prev=
  874ac_dashdash=
  875for ac_option
  876do
  877  # If the previous option needs an argument, assign it.
  878  if test -n "$ac_prev"; then
  879    eval $ac_prev=\$ac_option
  880    ac_prev=
  881    continue
  882  fi
  883
  884  case $ac_option in
  885  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  886  *=)   ac_optarg= ;;
  887  *)    ac_optarg=yes ;;
  888  esac
  889
  890  # Accept the important Cygnus configure options, so we can diagnose typos.
  891
  892  case $ac_dashdash$ac_option in
  893  --)
  894    ac_dashdash=yes ;;
  895
  896  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  897    ac_prev=bindir ;;
  898  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  899    bindir=$ac_optarg ;;
  900
  901  -build | --build | --buil | --bui | --bu)
  902    ac_prev=build_alias ;;
  903  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  904    build_alias=$ac_optarg ;;
  905
  906  -cache-file | --cache-file | --cache-fil | --cache-fi \
  907  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  908    ac_prev=cache_file ;;
  909  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  910  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  911    cache_file=$ac_optarg ;;
  912
  913  --config-cache | -C)
  914    cache_file=config.cache ;;
  915
  916  -datadir | --datadir | --datadi | --datad)
  917    ac_prev=datadir ;;
  918  -datadir=* | --datadir=* | --datadi=* | --datad=*)
  919    datadir=$ac_optarg ;;
  920
  921  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  922  | --dataroo | --dataro | --datar)
  923    ac_prev=datarootdir ;;
  924  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  925  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  926    datarootdir=$ac_optarg ;;
  927
  928  -disable-* | --disable-*)
  929    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  930    # Reject names that are not valid shell variable names.
  931    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  932      as_fn_error $? "invalid feature name: $ac_useropt"
  933    ac_useropt_orig=$ac_useropt
  934    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  935    case $ac_user_opts in
  936      *"
  937"enable_$ac_useropt"
  938"*) ;;
  939      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  940	 ac_unrecognized_sep=', ';;
  941    esac
  942    eval enable_$ac_useropt=no ;;
  943
  944  -docdir | --docdir | --docdi | --doc | --do)
  945    ac_prev=docdir ;;
  946  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  947    docdir=$ac_optarg ;;
  948
  949  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  950    ac_prev=dvidir ;;
  951  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  952    dvidir=$ac_optarg ;;
  953
  954  -enable-* | --enable-*)
  955    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  956    # Reject names that are not valid shell variable names.
  957    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  958      as_fn_error $? "invalid feature name: $ac_useropt"
  959    ac_useropt_orig=$ac_useropt
  960    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  961    case $ac_user_opts in
  962      *"
  963"enable_$ac_useropt"
  964"*) ;;
  965      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  966	 ac_unrecognized_sep=', ';;
  967    esac
  968    eval enable_$ac_useropt=\$ac_optarg ;;
  969
  970  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  971  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  972  | --exec | --exe | --ex)
  973    ac_prev=exec_prefix ;;
  974  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  975  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  976  | --exec=* | --exe=* | --ex=*)
  977    exec_prefix=$ac_optarg ;;
  978
  979  -gas | --gas | --ga | --g)
  980    # Obsolete; use --with-gas.
  981    with_gas=yes ;;
  982
  983  -help | --help | --hel | --he | -h)
  984    ac_init_help=long ;;
  985  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  986    ac_init_help=recursive ;;
  987  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  988    ac_init_help=short ;;
  989
  990  -host | --host | --hos | --ho)
  991    ac_prev=host_alias ;;
  992  -host=* | --host=* | --hos=* | --ho=*)
  993    host_alias=$ac_optarg ;;
  994
  995  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  996    ac_prev=htmldir ;;
  997  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  998  | --ht=*)
  999    htmldir=$ac_optarg ;;
 1000
 1001  -includedir | --includedir | --includedi | --included | --include \
 1002  | --includ | --inclu | --incl | --inc)
 1003    ac_prev=includedir ;;
 1004  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1005  | --includ=* | --inclu=* | --incl=* | --inc=*)
 1006    includedir=$ac_optarg ;;
 1007
 1008  -infodir | --infodir | --infodi | --infod | --info | --inf)
 1009    ac_prev=infodir ;;
 1010  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1011    infodir=$ac_optarg ;;
 1012
 1013  -libdir | --libdir | --libdi | --libd)
 1014    ac_prev=libdir ;;
 1015  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1016    libdir=$ac_optarg ;;
 1017
 1018  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1019  | --libexe | --libex | --libe)
 1020    ac_prev=libexecdir ;;
 1021  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1022  | --libexe=* | --libex=* | --libe=*)
 1023    libexecdir=$ac_optarg ;;
 1024
 1025  -localedir | --localedir | --localedi | --localed | --locale)
 1026    ac_prev=localedir ;;
 1027  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1028    localedir=$ac_optarg ;;
 1029
 1030  -localstatedir | --localstatedir | --localstatedi | --localstated \
 1031  | --localstate | --localstat | --localsta | --localst | --locals)
 1032    ac_prev=localstatedir ;;
 1033  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1034  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1035    localstatedir=$ac_optarg ;;
 1036
 1037  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1038    ac_prev=mandir ;;
 1039  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1040    mandir=$ac_optarg ;;
 1041
 1042  -nfp | --nfp | --nf)
 1043    # Obsolete; use --without-fp.
 1044    with_fp=no ;;
 1045
 1046  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1047  | --no-cr | --no-c | -n)
 1048    no_create=yes ;;
 1049
 1050  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1051  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1052    no_recursion=yes ;;
 1053
 1054  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1055  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1056  | --oldin | --oldi | --old | --ol | --o)
 1057    ac_prev=oldincludedir ;;
 1058  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1059  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1060  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1061    oldincludedir=$ac_optarg ;;
 1062
 1063  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1064    ac_prev=prefix ;;
 1065  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1066    prefix=$ac_optarg ;;
 1067
 1068  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1069  | --program-pre | --program-pr | --program-p)
 1070    ac_prev=program_prefix ;;
 1071  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1072  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1073    program_prefix=$ac_optarg ;;
 1074
 1075  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1076  | --program-suf | --program-su | --program-s)
 1077    ac_prev=program_suffix ;;
 1078  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1079  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1080    program_suffix=$ac_optarg ;;
 1081
 1082  -program-transform-name | --program-transform-name \
 1083  | --program-transform-nam | --program-transform-na \
 1084  | --program-transform-n | --program-transform- \
 1085  | --program-transform | --program-transfor \
 1086  | --program-transfo | --program-transf \
 1087  | --program-trans | --program-tran \
 1088  | --progr-tra | --program-tr | --program-t)
 1089    ac_prev=program_transform_name ;;
 1090  -program-transform-name=* | --program-transform-name=* \
 1091  | --program-transform-nam=* | --program-transform-na=* \
 1092  | --program-transform-n=* | --program-transform-=* \
 1093  | --program-transform=* | --program-transfor=* \
 1094  | --program-transfo=* | --program-transf=* \
 1095  | --program-trans=* | --program-tran=* \
 1096  | --progr-tra=* | --program-tr=* | --program-t=*)
 1097    program_transform_name=$ac_optarg ;;
 1098
 1099  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1100    ac_prev=pdfdir ;;
 1101  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1102    pdfdir=$ac_optarg ;;
 1103
 1104  -psdir | --psdir | --psdi | --psd | --ps)
 1105    ac_prev=psdir ;;
 1106  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1107    psdir=$ac_optarg ;;
 1108
 1109  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1110  | -silent | --silent | --silen | --sile | --sil)
 1111    silent=yes ;;
 1112
 1113  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1114    ac_prev=sbindir ;;
 1115  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1116  | --sbi=* | --sb=*)
 1117    sbindir=$ac_optarg ;;
 1118
 1119  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1120  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1121  | --sharedst | --shareds | --shared | --share | --shar \
 1122  | --sha | --sh)
 1123    ac_prev=sharedstatedir ;;
 1124  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1125  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1126  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1127  | --sha=* | --sh=*)
 1128    sharedstatedir=$ac_optarg ;;
 1129
 1130  -site | --site | --sit)
 1131    ac_prev=site ;;
 1132  -site=* | --site=* | --sit=*)
 1133    site=$ac_optarg ;;
 1134
 1135  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1136    ac_prev=srcdir ;;
 1137  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1138    srcdir=$ac_optarg ;;
 1139
 1140  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1141  | --syscon | --sysco | --sysc | --sys | --sy)
 1142    ac_prev=sysconfdir ;;
 1143  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1144  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1145    sysconfdir=$ac_optarg ;;
 1146
 1147  -target | --target | --targe | --targ | --tar | --ta | --t)
 1148    ac_prev=target_alias ;;
 1149  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1150    target_alias=$ac_optarg ;;
 1151
 1152  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1153    verbose=yes ;;
 1154
 1155  -version | --version | --versio | --versi | --vers | -V)
 1156    ac_init_version=: ;;
 1157
 1158  -with-* | --with-*)
 1159    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1160    # Reject names that are not valid shell variable names.
 1161    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1162      as_fn_error $? "invalid package name: $ac_useropt"
 1163    ac_useropt_orig=$ac_useropt
 1164    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1165    case $ac_user_opts in
 1166      *"
 1167"with_$ac_useropt"
 1168"*) ;;
 1169      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 1170	 ac_unrecognized_sep=', ';;
 1171    esac
 1172    eval with_$ac_useropt=\$ac_optarg ;;
 1173
 1174  -without-* | --without-*)
 1175    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1176    # Reject names that are not valid shell variable names.
 1177    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 1178      as_fn_error $? "invalid package name: $ac_useropt"
 1179    ac_useropt_orig=$ac_useropt
 1180    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 1181    case $ac_user_opts in
 1182      *"
 1183"with_$ac_useropt"
 1184"*) ;;
 1185      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 1186	 ac_unrecognized_sep=', ';;
 1187    esac
 1188    eval with_$ac_useropt=no ;;
 1189
 1190  --x)
 1191    # Obsolete; use --with-x.
 1192    with_x=yes ;;
 1193
 1194  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1195  | --x-incl | --x-inc | --x-in | --x-i)
 1196    ac_prev=x_includes ;;
 1197  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1198  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1199    x_includes=$ac_optarg ;;
 1200
 1201  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1202  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1203    ac_prev=x_libraries ;;
 1204  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1205  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1206    x_libraries=$ac_optarg ;;
 1207
 1208  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 1209Try \`$0 --help' for more information"
 1210    ;;
 1211
 1212  *=*)
 1213    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1214    # Reject names that are not valid shell variable names.
 1215    case $ac_envvar in #(
 1216      '' | [0-9]* | *[!_$as_cr_alnum]* )
 1217      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 1218    esac
 1219    eval $ac_envvar=\$ac_optarg
 1220    export $ac_envvar ;;
 1221
 1222  *)
 1223    # FIXME: should be removed in autoconf 3.0.
 1224    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1225    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1226      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1227    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 1228    ;;
 1229
 1230  esac
 1231done
 1232
 1233if test -n "$ac_prev"; then
 1234  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1235  as_fn_error $? "missing argument to $ac_option"
 1236fi
 1237
 1238if test -n "$ac_unrecognized_opts"; then
 1239  case $enable_option_checking in
 1240    no) ;;
 1241    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 1242    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 1243  esac
 1244fi
 1245
 1246# Check all directory arguments for consistency.
 1247for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1248		datadir sysconfdir sharedstatedir localstatedir includedir \
 1249		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1250		libdir localedir mandir
 1251do
 1252  eval ac_val=\$$ac_var
 1253  # Remove trailing slashes.
 1254  case $ac_val in
 1255    */ )
 1256      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 1257      eval $ac_var=\$ac_val;;
 1258  esac
 1259  # Be sure to have absolute directory names.
 1260  case $ac_val in
 1261    [\\/$]* | ?:[\\/]* )  continue;;
 1262    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1263  esac
 1264  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 1265done
 1266
 1267# There might be people who depend on the old broken behavior: `$host'
 1268# used to hold the argument of --host etc.
 1269# FIXME: To remove some day.
 1270build=$build_alias
 1271host=$host_alias
 1272target=$target_alias
 1273
 1274# FIXME: To remove some day.
 1275if test "x$host_alias" != x; then
 1276  if test "x$build_alias" = x; then
 1277    cross_compiling=maybe
 1278  elif test "x$build_alias" != "x$host_alias"; then
 1279    cross_compiling=yes
 1280  fi
 1281fi
 1282
 1283ac_tool_prefix=
 1284test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1285
 1286test "$silent" = yes && exec 6>/dev/null
 1287
 1288
 1289ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1290ac_ls_di=`ls -di .` &&
 1291ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1292  as_fn_error $? "working directory cannot be determined"
 1293test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1294  as_fn_error $? "pwd does not report name of working directory"
 1295
 1296
 1297# Find the source files, if location was not specified.
 1298if test -z "$srcdir"; then
 1299  ac_srcdir_defaulted=yes
 1300  # Try the directory containing this script, then the parent directory.
 1301  ac_confdir=`$as_dirname -- "$as_myself" ||
 1302$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1303	 X"$as_myself" : 'X\(//\)[^/]' \| \
 1304	 X"$as_myself" : 'X\(//\)$' \| \
 1305	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 1306$as_echo X"$as_myself" |
 1307    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1308	    s//\1/
 1309	    q
 1310	  }
 1311	  /^X\(\/\/\)[^/].*/{
 1312	    s//\1/
 1313	    q
 1314	  }
 1315	  /^X\(\/\/\)$/{
 1316	    s//\1/
 1317	    q
 1318	  }
 1319	  /^X\(\/\).*/{
 1320	    s//\1/
 1321	    q
 1322	  }
 1323	  s/.*/./; q'`
 1324  srcdir=$ac_confdir
 1325  if test ! -r "$srcdir/$ac_unique_file"; then
 1326    srcdir=..
 1327  fi
 1328else
 1329  ac_srcdir_defaulted=no
 1330fi
 1331if test ! -r "$srcdir/$ac_unique_file"; then
 1332  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1333  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 1334fi
 1335ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1336ac_abs_confdir=`(
 1337	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 1338	pwd)`
 1339# When building in place, set srcdir=.
 1340if test "$ac_abs_confdir" = "$ac_pwd"; then
 1341  srcdir=.
 1342fi
 1343# Remove unnecessary trailing slashes from srcdir.
 1344# Double slashes in file names in object file debugging info
 1345# mess up M-x gdb in Emacs.
 1346case $srcdir in
 1347*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1348esac
 1349for ac_var in $ac_precious_vars; do
 1350  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1351  eval ac_env_${ac_var}_value=\$${ac_var}
 1352  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1353  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1354done
 1355
 1356#
 1357# Report the --help message.
 1358#
 1359if test "$ac_init_help" = "long"; then
 1360  # Omit some internal or obsolete options to make the list less imposing.
 1361  # This message is too long to be a string in the A/UX 3.1 sh.
 1362  cat <<_ACEOF
 1363\`configure' configures libpng 1.6.17 to adapt to many kinds of systems.
 1364
 1365Usage: $0 [OPTION]... [VAR=VALUE]...
 1366
 1367To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1368VAR=VALUE.  See below for descriptions of some of the useful variables.
 1369
 1370Defaults for the options are specified in brackets.
 1371
 1372Configuration:
 1373  -h, --help              display this help and exit
 1374      --help=short        display options specific to this package
 1375      --help=recursive    display the short help of all the included packages
 1376  -V, --version           display version information and exit
 1377  -q, --quiet, --silent   do not print \`checking ...' messages
 1378      --cache-file=FILE   cache test results in FILE [disabled]
 1379  -C, --config-cache      alias for \`--cache-file=config.cache'
 1380  -n, --no-create         do not create output files
 1381      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1382
 1383Installation directories:
 1384  --prefix=PREFIX         install architecture-independent files in PREFIX
 1385                          [$ac_default_prefix]
 1386  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1387                          [PREFIX]
 1388
 1389By default, \`make install' will install all the files in
 1390\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1391an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1392for instance \`--prefix=\$HOME'.
 1393
 1394For better control, use the options below.
 1395
 1396Fine tuning of the installation directories:
 1397  --bindir=DIR            user executables [EPREFIX/bin]
 1398  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 1399  --libexecdir=DIR        program executables [EPREFIX/libexec]
 1400  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 1401  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 1402  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 1403  --libdir=DIR            object code libraries [EPREFIX/lib]
 1404  --includedir=DIR        C header files [PREFIX/include]
 1405  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 1406  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 1407  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 1408  --infodir=DIR           info documentation [DATAROOTDIR/info]
 1409  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 1410  --mandir=DIR            man documentation [DATAROOTDIR/man]
 1411  --docdir=DIR            documentation root [DATAROOTDIR/doc/libpng]
 1412  --htmldir=DIR           html documentation [DOCDIR]
 1413  --dvidir=DIR            dvi documentation [DOCDIR]
 1414  --pdfdir=DIR            pdf documentation [DOCDIR]
 1415  --psdir=DIR             ps documentation [DOCDIR]
 1416_ACEOF
 1417
 1418  cat <<\_ACEOF
 1419
 1420Program names:
 1421  --program-prefix=PREFIX            prepend PREFIX to installed program names
 1422  --program-suffix=SUFFIX            append SUFFIX to installed program names
 1423  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1424
 1425System types:
 1426  --build=BUILD     configure for building on BUILD [guessed]
 1427  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1428_ACEOF
 1429fi
 1430
 1431if test -n "$ac_init_help"; then
 1432  case $ac_init_help in
 1433     short | recursive ) echo "Configuration of libpng 1.6.17:";;
 1434   esac
 1435  cat <<\_ACEOF
 1436
 1437Optional Features:
 1438  --disable-option-checking  ignore unrecognized --enable/--with options
 1439  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1440  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1441  --enable-silent-rules   less verbose build output (undo: "make V=1")
 1442  --disable-silent-rules  verbose build output (undo: "make V=0")
 1443  --enable-maintainer-mode
 1444                          enable make rules and dependencies not useful (and
 1445                          sometimes confusing) to the casual installer
 1446  --enable-dependency-tracking
 1447                          do not reject slow dependency extractors
 1448  --disable-dependency-tracking
 1449                          speeds up one-time build
 1450  --enable-shared[=PKGS]  build shared libraries [default=yes]
 1451  --enable-static[=PKGS]  build static libraries [default=yes]
 1452  --enable-fast-install[=PKGS]
 1453                          optimize for fast installation [default=yes]
 1454  --disable-libtool-lock  avoid locking (might break parallel builds)
 1455  --enable-werror[=OPT] Pass -Werror or the given argument to the compiler
 1456                          if it is supported
 1457  --enable-unversioned-links
 1458                          Installed libpng header files are placed in a
 1459                          versioned subdirectory and installed libpng library
 1460                          (including DLL) files are versioned. If this option
 1461                          is enabled unversioned links will be created
 1462                          pointing to the corresponding installed files. If
 1463                          you use libpng.pc or libpng-config for all builds
 1464                          you do not need these links, but if you compile
 1465                          programs directly they will typically #include
 1466                          <png.h> and link with -lpng; in that case you need
 1467                          the links. The links can be installed manually using
 1468                          'make install-header-links' and 'make
 1469                          install-library-links' and can be removed using the
 1470                          corresponding uninstall- targets. If you do enable
 1471                          this option every libpng 'make install' will
 1472                          recreate the links to point to the just installed
 1473                          version of libpng. The default is to create the
 1474                          links; use --disable-unversioned-links to change
 1475                          this
 1476  --enable-unversioned-libpng-pc
 1477                          Install the configuration file 'libpng.pc' as a link
 1478                          to the versioned version. This is done by default -
 1479                          use --disable-unversioned-libpng-pc to change this.
 1480  --enable-unversioned-libpng-config
 1481                          Install the configuration file 'libpng-config' as a
 1482                          link to the versioned version. This is done by
 1483                          default - use --disable-unversioned-libpng-config to
 1484                          change this.
 1485  --enable-arm-neon     Enable ARM NEON optimizations: =no/off, check, api,
 1486                          yes/on: no/off: disable the optimizations; check:
 1487                          use internal checking code (deprecated and poorly
 1488                          supported); api: disable by default, enable by a
 1489                          call to png_set_option; yes/on: turn on
 1490                          unconditionally. If not specified: determined by the
 1491                          compiler.
 1492
 1493Optional Packages:
 1494  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1495  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1496  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1497  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 1498                          both]
 1499  --with-aix-soname=aix|svr4|both
 1500                          shared library versioning (aka "SONAME") variant to
 1501                          provide on AIX, [default=aix].
 1502  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
 1503                          compiler's sysroot if not specified).
 1504  --with-zlib-prefix    prefix that may have been used in installed zlib
 1505  --with-pkgconfigdir   Use the specified pkgconfig dir (default is
 1506                          libdir/pkgconfig)
 1507  --with-binconfigs     Generate shell libpng-config scripts as well as
 1508                          pkg-config data [default=yes]
 1509  --with-libpng-prefix  prefix libpng exported function (API) names with the
 1510                          given value
 1511
 1512Some influential environment variables:
 1513  CC          C compiler command
 1514  CFLAGS      C compiler flags
 1515  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1516              nonstandard directory <lib dir>
 1517  LIBS        libraries to pass to the linker, e.g. -l<library>
 1518  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 1519              you have headers in a nonstandard directory <include dir>
 1520  CCAS        assembler compiler command (defaults to CC)
 1521  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
 1522  CPP         C preprocessor
 1523  LT_SYS_LIBRARY_PATH
 1524              User-defined run-time library search path.
 1525  PNG_COPTS   additional flags for the C compiler, use this for options that
 1526              would cause configure itself to fail
 1527
 1528Use these variables to override the choices made by `configure' or to help
 1529it to find libraries and programs with nonstandard names/locations.
 1530
 1531Report bugs to <png-mng-implement@lists.sourceforge.net>.
 1532_ACEOF
 1533ac_status=$?
 1534fi
 1535
 1536if test "$ac_init_help" = "recursive"; then
 1537  # If there are subdirs, report their specific --help.
 1538  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1539    test -d "$ac_dir" ||
 1540      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 1541      continue
 1542    ac_builddir=.
 1543
 1544case "$ac_dir" in
 1545.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1546*)
 1547  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 1548  # A ".." for each directory in $ac_dir_suffix.
 1549  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 1550  case $ac_top_builddir_sub in
 1551  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1552  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1553  esac ;;
 1554esac
 1555ac_abs_top_builddir=$ac_pwd
 1556ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1557# for backward compatibility:
 1558ac_top_builddir=$ac_top_build_prefix
 1559
 1560case $srcdir in
 1561  .)  # We are building in place.
 1562    ac_srcdir=.
 1563    ac_top_srcdir=$ac_top_builddir_sub
 1564    ac_abs_top_srcdir=$ac_pwd ;;
 1565  [\\/]* | ?:[\\/]* )  # Absolute name.
 1566    ac_srcdir=$srcdir$ac_dir_suffix;
 1567    ac_top_srcdir=$srcdir
 1568    ac_abs_top_srcdir=$srcdir ;;
 1569  *) # Relative name.
 1570    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1571    ac_top_srcdir=$ac_top_build_prefix$srcdir
 1572    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1573esac
 1574ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1575
 1576    cd "$ac_dir" || { ac_status=$?; continue; }
 1577    # Check for guested configure.
 1578    if test -f "$ac_srcdir/configure.gnu"; then
 1579      echo &&
 1580      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1581    elif test -f "$ac_srcdir/configure"; then
 1582      echo &&
 1583      $SHELL "$ac_srcdir/configure" --help=recursive
 1584    else
 1585      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1586    fi || ac_status=$?
 1587    cd "$ac_pwd" || { ac_status=$?; break; }
 1588  done
 1589fi
 1590
 1591test -n "$ac_init_help" && exit $ac_status
 1592if $ac_init_version; then
 1593  cat <<\_ACEOF
 1594libpng configure 1.6.17
 1595generated by GNU Autoconf 2.69
 1596
 1597Copyright (C) 2012 Free Software Foundation, Inc.
 1598This configure script is free software; the Free Software Foundation
 1599gives unlimited permission to copy, distribute and modify it.
 1600_ACEOF
 1601  exit
 1602fi
 1603
 1604## ------------------------ ##
 1605## Autoconf initialization. ##
 1606## ------------------------ ##
 1607
 1608# ac_fn_c_try_compile LINENO
 1609# --------------------------
 1610# Try to compile conftest.$ac_ext, and return whether this succeeded.
 1611ac_fn_c_try_compile ()
 1612{
 1613  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1614  rm -f conftest.$ac_objext
 1615  if { { ac_try="$ac_compile"
 1616case "(($ac_try" in
 1617  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1618  *) ac_try_echo=$ac_try;;
 1619esac
 1620eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1621$as_echo "$ac_try_echo"; } >&5
 1622  (eval "$ac_compile") 2>conftest.err
 1623  ac_status=$?
 1624  if test -s conftest.err; then
 1625    grep -v '^ *+' conftest.err >conftest.er1
 1626    cat conftest.er1 >&5
 1627    mv -f conftest.er1 conftest.err
 1628  fi
 1629  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1630  test $ac_status = 0; } && {
 1631	 test -z "$ac_c_werror_flag" ||
 1632	 test ! -s conftest.err
 1633       } && test -s conftest.$ac_objext; then :
 1634  ac_retval=0
 1635else
 1636  $as_echo "$as_me: failed program was:" >&5
 1637sed 's/^/| /' conftest.$ac_ext >&5
 1638
 1639	ac_retval=1
 1640fi
 1641  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1642  as_fn_set_status $ac_retval
 1643
 1644} # ac_fn_c_try_compile
 1645
 1646# ac_fn_c_try_cpp LINENO
 1647# ----------------------
 1648# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 1649ac_fn_c_try_cpp ()
 1650{
 1651  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1652  if { { ac_try="$ac_cpp conftest.$ac_ext"
 1653case "(($ac_try" in
 1654  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1655  *) ac_try_echo=$ac_try;;
 1656esac
 1657eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1658$as_echo "$ac_try_echo"; } >&5
 1659  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 1660  ac_status=$?
 1661  if test -s conftest.err; then
 1662    grep -v '^ *+' conftest.err >conftest.er1
 1663    cat conftest.er1 >&5
 1664    mv -f conftest.er1 conftest.err
 1665  fi
 1666  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1667  test $ac_status = 0; } > conftest.i && {
 1668	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 1669	 test ! -s conftest.err
 1670       }; then :
 1671  ac_retval=0
 1672else
 1673  $as_echo "$as_me: failed program was:" >&5
 1674sed 's/^/| /' conftest.$ac_ext >&5
 1675
 1676    ac_retval=1
 1677fi
 1678  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1679  as_fn_set_status $ac_retval
 1680
 1681} # ac_fn_c_try_cpp
 1682
 1683# ac_fn_c_try_link LINENO
 1684# -----------------------
 1685# Try to link conftest.$ac_ext, and return whether this succeeded.
 1686ac_fn_c_try_link ()
 1687{
 1688  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1689  rm -f conftest.$ac_objext conftest$ac_exeext
 1690  if { { ac_try="$ac_link"
 1691case "(($ac_try" in
 1692  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1693  *) ac_try_echo=$ac_try;;
 1694esac
 1695eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1696$as_echo "$ac_try_echo"; } >&5
 1697  (eval "$ac_link") 2>conftest.err
 1698  ac_status=$?
 1699  if test -s conftest.err; then
 1700    grep -v '^ *+' conftest.err >conftest.er1
 1701    cat conftest.er1 >&5
 1702    mv -f conftest.er1 conftest.err
 1703  fi
 1704  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1705  test $ac_status = 0; } && {
 1706	 test -z "$ac_c_werror_flag" ||
 1707	 test ! -s conftest.err
 1708       } && test -s conftest$ac_exeext && {
 1709	 test "$cross_compiling" = yes ||
 1710	 test -x conftest$ac_exeext
 1711       }; then :
 1712  ac_retval=0
 1713else
 1714  $as_echo "$as_me: failed program was:" >&5
 1715sed 's/^/| /' conftest.$ac_ext >&5
 1716
 1717	ac_retval=1
 1718fi
 1719  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 1720  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 1721  # interfere with the next link command; also delete a directory that is
 1722  # left behind by Apple's compiler.  We do this before executing the actions.
 1723  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1724  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1725  as_fn_set_status $ac_retval
 1726
 1727} # ac_fn_c_try_link
 1728
 1729# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 1730# -------------------------------------------------------
 1731# Tests whether HEADER exists and can be compiled using the include files in
 1732# INCLUDES, setting the cache variable VAR accordingly.
 1733ac_fn_c_check_header_compile ()
 1734{
 1735  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1736  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1737$as_echo_n "checking for $2... " >&6; }
 1738if eval \${$3+:} false; then :
 1739  $as_echo_n "(cached) " >&6
 1740else
 1741  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1742/* end confdefs.h.  */
 1743$4
 1744#include <$2>
 1745_ACEOF
 1746if ac_fn_c_try_compile "$LINENO"; then :
 1747  eval "$3=yes"
 1748else
 1749  eval "$3=no"
 1750fi
 1751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1752fi
 1753eval ac_res=\$$3
 1754	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1755$as_echo "$ac_res" >&6; }
 1756  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1757
 1758} # ac_fn_c_check_header_compile
 1759
 1760# ac_fn_c_try_run LINENO
 1761# ----------------------
 1762# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 1763# that executables *can* be run.
 1764ac_fn_c_try_run ()
 1765{
 1766  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1767  if { { ac_try="$ac_link"
 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\""
 1773$as_echo "$ac_try_echo"; } >&5
 1774  (eval "$ac_link") 2>&5
 1775  ac_status=$?
 1776  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1777  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 1778  { { case "(($ac_try" in
 1779  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 1780  *) ac_try_echo=$ac_try;;
 1781esac
 1782eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 1783$as_echo "$ac_try_echo"; } >&5
 1784  (eval "$ac_try") 2>&5
 1785  ac_status=$?
 1786  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 1787  test $ac_status = 0; }; }; then :
 1788  ac_retval=0
 1789else
 1790  $as_echo "$as_me: program exited with status $ac_status" >&5
 1791       $as_echo "$as_me: failed program was:" >&5
 1792sed 's/^/| /' conftest.$ac_ext >&5
 1793
 1794       ac_retval=$ac_status
 1795fi
 1796  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 1797  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1798  as_fn_set_status $ac_retval
 1799
 1800} # ac_fn_c_try_run
 1801
 1802# ac_fn_c_check_func LINENO FUNC VAR
 1803# ----------------------------------
 1804# Tests whether FUNC exists, setting the cache variable VAR accordingly
 1805ac_fn_c_check_func ()
 1806{
 1807  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1808  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1809$as_echo_n "checking for $2... " >&6; }
 1810if eval \${$3+:} false; then :
 1811  $as_echo_n "(cached) " >&6
 1812else
 1813  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1814/* end confdefs.h.  */
 1815/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 1816   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 1817#define $2 innocuous_$2
 1818
 1819/* System header to define __stub macros and hopefully few prototypes,
 1820    which can conflict with char $2 (); below.
 1821    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 1822    <limits.h> exists even on freestanding compilers.  */
 1823
 1824#ifdef __STDC__
 1825# include <limits.h>
 1826#else
 1827# include <assert.h>
 1828#endif
 1829
 1830#undef $2
 1831
 1832/* Override any GCC internal prototype to avoid an error.
 1833   Use char because int might match the return type of a GCC
 1834   builtin and then its argument prototype would still apply.  */
 1835#ifdef __cplusplus
 1836extern "C"
 1837#endif
 1838char $2 ();
 1839/* The GNU C library defines this for functions which it implements
 1840    to always fail with ENOSYS.  Some functions are actually named
 1841    something starting with __ and the normal name is an alias.  */
 1842#if defined __stub_$2 || defined __stub___$2
 1843choke me
 1844#endif
 1845
 1846int
 1847main ()
 1848{
 1849return $2 ();
 1850  ;
 1851  return 0;
 1852}
 1853_ACEOF
 1854if ac_fn_c_try_link "$LINENO"; then :
 1855  eval "$3=yes"
 1856else
 1857  eval "$3=no"
 1858fi
 1859rm -f core conftest.err conftest.$ac_objext \
 1860    conftest$ac_exeext conftest.$ac_ext
 1861fi
 1862eval ac_res=\$$3
 1863	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1864$as_echo "$ac_res" >&6; }
 1865  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1866
 1867} # ac_fn_c_check_func
 1868
 1869# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 1870# -------------------------------------------
 1871# Tests whether TYPE exists after having included INCLUDES, setting cache
 1872# variable VAR accordingly.
 1873ac_fn_c_check_type ()
 1874{
 1875  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 1876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 1877$as_echo_n "checking for $2... " >&6; }
 1878if eval \${$3+:} false; then :
 1879  $as_echo_n "(cached) " >&6
 1880else
 1881  eval "$3=no"
 1882  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1883/* end confdefs.h.  */
 1884$4
 1885int
 1886main ()
 1887{
 1888if (sizeof ($2))
 1889	 return 0;
 1890  ;
 1891  return 0;
 1892}
 1893_ACEOF
 1894if ac_fn_c_try_compile "$LINENO"; then :
 1895  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 1896/* end confdefs.h.  */
 1897$4
 1898int
 1899main ()
 1900{
 1901if (sizeof (($2)))
 1902	    return 0;
 1903  ;
 1904  return 0;
 1905}
 1906_ACEOF
 1907if ac_fn_c_try_compile "$LINENO"; then :
 1908
 1909else
 1910  eval "$3=yes"
 1911fi
 1912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1913fi
 1914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 1915fi
 1916eval ac_res=\$$3
 1917	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 1918$as_echo "$ac_res" >&6; }
 1919  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 1920
 1921} # ac_fn_c_check_type
 1922cat >config.log <<_ACEOF
 1923This file contains any messages produced by compilers while
 1924running configure, to aid debugging if configure makes a mistake.
 1925
 1926It was created by libpng $as_me 1.6.17, which was
 1927generated by GNU Autoconf 2.69.  Invocation command line was
 1928
 1929  $ $0 $@
 1930
 1931_ACEOF
 1932exec 5>>config.log
 1933{
 1934cat <<_ASUNAME
 1935## --------- ##
 1936## Platform. ##
 1937## --------- ##
 1938
 1939hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1940uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1941uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1942uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1943uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1944
 1945/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1946/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1947
 1948/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1949/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1950/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1951/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 1952/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1953/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1954/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1955
 1956_ASUNAME
 1957
 1958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1959for as_dir in $PATH
 1960do
 1961  IFS=$as_save_IFS
 1962  test -z "$as_dir" && as_dir=.
 1963    $as_echo "PATH: $as_dir"
 1964  done
 1965IFS=$as_save_IFS
 1966
 1967} >&5
 1968
 1969cat >&5 <<_ACEOF
 1970
 1971
 1972## ----------- ##
 1973## Core tests. ##
 1974## ----------- ##
 1975
 1976_ACEOF
 1977
 1978
 1979# Keep a trace of the command line.
 1980# Strip out --no-create and --no-recursion so they do not pile up.
 1981# Strip out --silent because we don't want to record it for future runs.
 1982# Also quote any args containing shell meta-characters.
 1983# Make two passes to allow for proper duplicate-argument suppression.
 1984ac_configure_args=
 1985ac_configure_args0=
 1986ac_configure_args1=
 1987ac_must_keep_next=false
 1988for ac_pass in 1 2
 1989do
 1990  for ac_arg
 1991  do
 1992    case $ac_arg in
 1993    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1994    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1995    | -silent | --silent | --silen | --sile | --sil)
 1996      continue ;;
 1997    *\'*)
 1998      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1999    esac
 2000    case $ac_pass in
 2001    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 2002    2)
 2003      as_fn_append ac_configure_args1 " '$ac_arg'"
 2004      if test $ac_must_keep_next = true; then
 2005	ac_must_keep_next=false # Got value, back to normal.
 2006      else
 2007	case $ac_arg in
 2008	  *=* | --config-cache | -C | -disable-* | --disable-* \
 2009	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 2010	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 2011	  | -with-* | --with-* | -without-* | --without-* | --x)
 2012	    case "$ac_configure_args0 " in
 2013	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 2014	    esac
 2015	    ;;
 2016	  -* ) ac_must_keep_next=true ;;
 2017	esac
 2018      fi
 2019      as_fn_append ac_configure_args " '$ac_arg'"
 2020      ;;
 2021    esac
 2022  done
 2023done
 2024{ ac_configure_args0=; unset ac_configure_args0;}
 2025{ ac_configure_args1=; unset ac_configure_args1;}
 2026
 2027# When interrupted or exit'd, cleanup temporary files, and complete
 2028# config.log.  We remove comments because anyway the quotes in there
 2029# would cause problems or look ugly.
 2030# WARNING: Use '\'' to represent an apostrophe within the trap.
 2031# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 2032trap 'exit_status=$?
 2033  # Save into config.log some information that might help in debugging.
 2034  {
 2035    echo
 2036
 2037    $as_echo "## ---------------- ##
 2038## Cache variables. ##
 2039## ---------------- ##"
 2040    echo
 2041    # The following way of writing the cache mishandles newlines in values,
 2042(
 2043  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 2044    eval ac_val=\$$ac_var
 2045    case $ac_val in #(
 2046    *${as_nl}*)
 2047      case $ac_var in #(
 2048      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 2049$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 2050      esac
 2051      case $ac_var in #(
 2052      _ | IFS | as_nl) ;; #(
 2053      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 2054      *) { eval $ac_var=; unset $ac_var;} ;;
 2055      esac ;;
 2056    esac
 2057  done
 2058  (set) 2>&1 |
 2059    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 2060    *${as_nl}ac_space=\ *)
 2061      sed -n \
 2062	"s/'\''/'\''\\\\'\'''\''/g;
 2063	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 2064      ;; #(
 2065    *)
 2066      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 2067      ;;
 2068    esac |
 2069    sort
 2070)
 2071    echo
 2072
 2073    $as_echo "## ----------------- ##
 2074## Output variables. ##
 2075## ----------------- ##"
 2076    echo
 2077    for ac_var in $ac_subst_vars
 2078    do
 2079      eval ac_val=\$$ac_var
 2080      case $ac_val in
 2081      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2082      esac
 2083      $as_echo "$ac_var='\''$ac_val'\''"
 2084    done | sort
 2085    echo
 2086
 2087    if test -n "$ac_subst_files"; then
 2088      $as_echo "## ------------------- ##
 2089## File substitutions. ##
 2090## ------------------- ##"
 2091      echo
 2092      for ac_var in $ac_subst_files
 2093      do
 2094	eval ac_val=\$$ac_var
 2095	case $ac_val in
 2096	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 2097	esac
 2098	$as_echo "$ac_var='\''$ac_val'\''"
 2099      done | sort
 2100      echo
 2101    fi
 2102
 2103    if test -s confdefs.h; then
 2104      $as_echo "## ----------- ##
 2105## confdefs.h. ##
 2106## ----------- ##"
 2107      echo
 2108      cat confdefs.h
 2109      echo
 2110    fi
 2111    test "$ac_signal" != 0 &&
 2112      $as_echo "$as_me: caught signal $ac_signal"
 2113    $as_echo "$as_me: exit $exit_status"
 2114  } >&5
 2115  rm -f core *.core core.conftest.* &&
 2116    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 2117    exit $exit_status
 2118' 0
 2119for ac_signal in 1 2 13 15; do
 2120  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 2121done
 2122ac_signal=0
 2123
 2124# confdefs.h avoids OS command line length limits that DEFS can exceed.
 2125rm -f -r conftest* confdefs.h
 2126
 2127$as_echo "/* confdefs.h */" > confdefs.h
 2128
 2129# Predefined preprocessor variables.
 2130
 2131cat >>confdefs.h <<_ACEOF
 2132#define PACKAGE_NAME "$PACKAGE_NAME"
 2133_ACEOF
 2134
 2135cat >>confdefs.h <<_ACEOF
 2136#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 2137_ACEOF
 2138
 2139cat >>confdefs.h <<_ACEOF
 2140#define PACKAGE_VERSION "$PACKAGE_VERSION"
 2141_ACEOF
 2142
 2143cat >>confdefs.h <<_ACEOF
 2144#define PACKAGE_STRING "$PACKAGE_STRING"
 2145_ACEOF
 2146
 2147cat >>confdefs.h <<_ACEOF
 2148#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 2149_ACEOF
 2150
 2151cat >>confdefs.h <<_ACEOF
 2152#define PACKAGE_URL "$PACKAGE_URL"
 2153_ACEOF
 2154
 2155
 2156# Let the site file select an alternate cache file if it wants to.
 2157# Prefer an explicitly selected file to automatically selected ones.
 2158ac_site_file1=NONE
 2159ac_site_file2=NONE
 2160if test -n "$CONFIG_SITE"; then
 2161  # We do not want a PATH search for config.site.
 2162  case $CONFIG_SITE in #((
 2163    -*)  ac_site_file1=./$CONFIG_SITE;;
 2164    */*) ac_site_file1=$CONFIG_SITE;;
 2165    *)   ac_site_file1=./$CONFIG_SITE;;
 2166  esac
 2167elif test "x$prefix" != xNONE; then
 2168  ac_site_file1=$prefix/share/config.site
 2169  ac_site_file2=$prefix/etc/config.site
 2170else
 2171  ac_site_file1=$ac_default_prefix/share/config.site
 2172  ac_site_file2=$ac_default_prefix/etc/config.site
 2173fi
 2174for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 2175do
 2176  test "x$ac_site_file" = xNONE && continue
 2177  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 2178    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 2179$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 2180    sed 's/^/| /' "$ac_site_file" >&5
 2181    . "$ac_site_file" \
 2182      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2183$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2184as_fn_error $? "failed to load site script $ac_site_file
 2185See \`config.log' for more details" "$LINENO" 5; }
 2186  fi
 2187done
 2188
 2189if test -r "$cache_file"; then
 2190  # Some versions of bash will fail to source /dev/null (special files
 2191  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 2192  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 2193    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 2194$as_echo "$as_me: loading cache $cache_file" >&6;}
 2195    case $cache_file in
 2196      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 2197      *)                      . "./$cache_file";;
 2198    esac
 2199  fi
 2200else
 2201  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 2202$as_echo "$as_me: creating cache $cache_file" >&6;}
 2203  >$cache_file
 2204fi
 2205
 2206# Check that the precious variables saved in the cache have kept the same
 2207# value.
 2208ac_cache_corrupted=false
 2209for ac_var in $ac_precious_vars; do
 2210  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 2211  eval ac_new_set=\$ac_env_${ac_var}_set
 2212  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 2213  eval ac_new_val=\$ac_env_${ac_var}_value
 2214  case $ac_old_set,$ac_new_set in
 2215    set,)
 2216      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 2217$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 2218      ac_cache_corrupted=: ;;
 2219    ,set)
 2220      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 2221$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 2222      ac_cache_corrupted=: ;;
 2223    ,);;
 2224    *)
 2225      if test "x$ac_old_val" != "x$ac_new_val"; then
 2226	# differences in whitespace do not lead to failure.
 2227	ac_old_val_w=`echo x $ac_old_val`
 2228	ac_new_val_w=`echo x $ac_new_val`
 2229	if test "$ac_old_val_w" != "$ac_new_val_w"; then
 2230	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 2231$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 2232	  ac_cache_corrupted=:
 2233	else
 2234	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 2235$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 2236	  eval $ac_var=\$ac_old_val
 2237	fi
 2238	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 2239$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 2240	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 2241$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 2242      fi;;
 2243  esac
 2244  # Pass precious variables to config.status.
 2245  if test "$ac_new_set" = set; then
 2246    case $ac_new_val in
 2247    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 2248    *) ac_arg=$ac_var=$ac_new_val ;;
 2249    esac
 2250    case " $ac_configure_args " in
 2251      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 2252      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 2253    esac
 2254  fi
 2255done
 2256if $ac_cache_corrupted; then
 2257  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2258$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2259  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 2260$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 2261  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 2262fi
 2263## -------------------- ##
 2264## Main body of script. ##
 2265## -------------------- ##
 2266
 2267ac_ext=c
 2268ac_cpp='$CPP $CPPFLAGS'
 2269ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2270ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2271ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2272
 2273
 2274
 2275
 2276# libpng does not follow GNU file name conventions (hence 'foreign')
 2277# color-tests requires automake 1.11 or later
 2278# silent-rules requires automake 1.11 or later
 2279# dist-xz requires automake 1.11 or later
 2280# 1.12.2 fixes a security issue in 1.11.2 and 1.12.1
 2281# 1.13 is required for parallel tests
 2282am__api_version='1.15'
 2283
 2284ac_aux_dir=
 2285for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 2286  if test -f "$ac_dir/install-sh"; then
 2287    ac_aux_dir=$ac_dir
 2288    ac_install_sh="$ac_aux_dir/install-sh -c"
 2289    break
 2290  elif test -f "$ac_dir/install.sh"; then
 2291    ac_aux_dir=$ac_dir
 2292    ac_install_sh="$ac_aux_dir/install.sh -c"
 2293    break
 2294  elif test -f "$ac_dir/shtool"; then
 2295    ac_aux_dir=$ac_dir
 2296    ac_install_sh="$ac_aux_dir/shtool install -c"
 2297    break
 2298  fi
 2299done
 2300if test -z "$ac_aux_dir"; then
 2301  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 2302fi
 2303
 2304# These three variables are undocumented and unsupported,
 2305# and are intended to be withdrawn in a future Autoconf release.
 2306# They can cause serious problems if a builder's source tree is in a directory
 2307# whose full name contains unusual characters.
 2308ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 2309ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 2310ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 2311
 2312
 2313# Find a good install program.  We prefer a C program (faster),
 2314# so one script is as good as another.  But avoid the broken or
 2315# incompatible versions:
 2316# SysV /etc/install, /usr/sbin/install
 2317# SunOS /usr/etc/install
 2318# IRIX /sbin/install
 2319# AIX /bin/install
 2320# AmigaOS /C/install, which installs bootblocks on floppy discs
 2321# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2322# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2323# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2324# OS/2's system install, which has a completely different semantic
 2325# ./install, which can be erroneously created by make from ./install.sh.
 2326# Reject install programs that cannot install multiple files.
 2327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 2328$as_echo_n "checking for a BSD-compatible install... " >&6; }
 2329if test -z "$INSTALL"; then
 2330if ${ac_cv_path_install+:} false; then :
 2331  $as_echo_n "(cached) " >&6
 2332else
 2333  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2334for as_dir in $PATH
 2335do
 2336  IFS=$as_save_IFS
 2337  test -z "$as_dir" && as_dir=.
 2338    # Account for people who put trailing slashes in PATH elements.
 2339case $as_dir/ in #((
 2340  ./ | .// | /[cC]/* | \
 2341  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2342  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 2343  /usr/ucb/* ) ;;
 2344  *)
 2345    # OSF1 and SCO ODT 3.0 have their own names for install.
 2346    # Don't use installbsd from OSF since it installs stuff as root
 2347    # by default.
 2348    for ac_prog in ginstall scoinst install; do
 2349      for ac_exec_ext in '' $ac_executable_extensions; do
 2350	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 2351	  if test $ac_prog = install &&
 2352	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2353	    # AIX install.  It has an incompatible calling convention.
 2354	    :
 2355	  elif test $ac_prog = install &&
 2356	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2357	    # program-specific install script used by HP pwplus--don't use.
 2358	    :
 2359	  else
 2360	    rm -rf conftest.one conftest.two conftest.dir
 2361	    echo one > conftest.one
 2362	    echo two > conftest.two
 2363	    mkdir conftest.dir
 2364	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 2365	      test -s conftest.one && test -s conftest.two &&
 2366	      test -s conftest.dir/conftest.one &&
 2367	      test -s conftest.dir/conftest.two
 2368	    then
 2369	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2370	      break 3
 2371	    fi
 2372	  fi
 2373	fi
 2374      done
 2375    done
 2376    ;;
 2377esac
 2378
 2379  done
 2380IFS=$as_save_IFS
 2381
 2382rm -rf conftest.one conftest.two conftest.dir
 2383
 2384fi
 2385  if test "${ac_cv_path_install+set}" = set; then
 2386    INSTALL=$ac_cv_path_install
 2387  else
 2388    # As a last resort, use the slow shell script.  Don't cache a
 2389    # value for INSTALL within a source directory, because that will
 2390    # break other packages using the cache if that directory is
 2391    # removed, or if the value is a relative name.
 2392    INSTALL=$ac_install_sh
 2393  fi
 2394fi
 2395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 2396$as_echo "$INSTALL" >&6; }
 2397
 2398# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2399# It thinks the first close brace ends the variable substitution.
 2400test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2401
 2402test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2403
 2404test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2405
 2406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 2407$as_echo_n "checking whether build environment is sane... " >&6; }
 2408# Reject unsafe characters in $srcdir or the absolute working directory
 2409# name.  Accept space and tab only in the latter.
 2410am_lf='
 2411'
 2412case `pwd` in
 2413  *[\\\"\#\$\&\'\`$am_lf]*)
 2414    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 2415esac
 2416case $srcdir in
 2417  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
 2418    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 2419esac
 2420
 2421# Do 'set' in a subshell so we don't clobber the current shell's
 2422# arguments.  Must try -L first in case configure is actually a
 2423# symlink; some systems play weird games with the mod time of symlinks
 2424# (eg FreeBSD returns the mod time of the symlink's containing
 2425# directory).
 2426if (
 2427   am_has_slept=no
 2428   for am_try in 1 2; do
 2429     echo "timestamp, slept: $am_has_slept" > conftest.file
 2430     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2431     if test "$*" = "X"; then
 2432	# -L didn't work.
 2433	set X `ls -t "$srcdir/configure" conftest.file`
 2434     fi
 2435     if test "$*" != "X $srcdir/configure conftest.file" \
 2436	&& test "$*" != "X conftest.file $srcdir/configure"; then
 2437
 2438	# If neither matched, then we have a broken ls.  This can happen
 2439	# if, for instance, CONFIG_SHELL is bash and it inherits a
 2440	# broken ls alias from the environment.  This has actually
 2441	# happened.  Such a system could not be considered "sane".
 2442	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 2443  alias in your environment" "$LINENO" 5
 2444     fi
 2445     if test "$2" = conftest.file || test $am_try -eq 2; then
 2446       break
 2447     fi
 2448     # Just in case.
 2449     sleep 1
 2450     am_has_slept=yes
 2451   done
 2452   test "$2" = conftest.file
 2453   )
 2454then
 2455   # Ok.
 2456   :
 2457else
 2458   as_fn_error $? "newly created file is older than distributed files!
 2459Check your system clock" "$LINENO" 5
 2460fi
 2461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2462$as_echo "yes" >&6; }
 2463# If we didn't sleep, we still need to ensure time stamps of config.status and
 2464# generated files are strictly newer.
 2465am_sleep_pid=
 2466if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 2467  ( sleep 1 ) &
 2468  am_sleep_pid=$!
 2469fi
 2470
 2471rm -f conftest.file
 2472
 2473test "$program_prefix" != NONE &&
 2474  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2475# Use a double $ so make ignores it.
 2476test "$program_suffix" != NONE &&
 2477  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2478# Double any \ or $.
 2479# By default was `s,x,x', remove it if useless.
 2480ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 2481program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 2482
 2483# Expand $ac_aux_dir to an absolute path.
 2484am_aux_dir=`cd "$ac_aux_dir" && pwd`
 2485
 2486if test x"${MISSING+set}" != xset; then
 2487  case $am_aux_dir in
 2488  *\ * | *\	*)
 2489    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 2490  *)
 2491    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 2492  esac
 2493fi
 2494# Use eval to expand $SHELL
 2495if eval "$MISSING --is-lightweight"; then
 2496  am_missing_run="$MISSING "
 2497else
 2498  am_missing_run=
 2499  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 2500$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 2501fi
 2502
 2503if test x"${install_sh+set}" != xset; then
 2504  case $am_aux_dir in
 2505  *\ * | *\	*)
 2506    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 2507  *)
 2508    install_sh="\${SHELL} $am_aux_dir/install-sh"
 2509  esac
 2510fi
 2511
 2512# Installed binaries are usually stripped using 'strip' when the user
 2513# run "make install-strip".  However 'strip' might not be the right
 2514# tool to use in cross-compilation environments, therefore Automake
 2515# will honor the 'STRIP' environment variable to overrule this program.
 2516if test "$cross_compiling" != no; then
 2517  if test -n "$ac_tool_prefix"; then
 2518  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2519set dummy ${ac_tool_prefix}strip; ac_word=$2
 2520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2521$as_echo_n "checking for $ac_word... " >&6; }
 2522if ${ac_cv_prog_STRIP+:} false; then :
 2523  $as_echo_n "(cached) " >&6
 2524else
 2525  if test -n "$STRIP"; then
 2526  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2527else
 2528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2529for as_dir in $PATH
 2530do
 2531  IFS=$as_save_IFS
 2532  test -z "$as_dir" && as_dir=.
 2533    for ac_exec_ext in '' $ac_executable_extensions; do
 2534  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2535    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2536    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2537    break 2
 2538  fi
 2539done
 2540  done
 2541IFS=$as_save_IFS
 2542
 2543fi
 2544fi
 2545STRIP=$ac_cv_prog_STRIP
 2546if test -n "$STRIP"; then
 2547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 2548$as_echo "$STRIP" >&6; }
 2549else
 2550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2551$as_echo "no" >&6; }
 2552fi
 2553
 2554
 2555fi
 2556if test -z "$ac_cv_prog_STRIP"; then
 2557  ac_ct_STRIP=$STRIP
 2558  # Extract the first word of "strip", so it can be a program name with args.
 2559set dummy strip; ac_word=$2
 2560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2561$as_echo_n "checking for $ac_word... " >&6; }
 2562if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 2563  $as_echo_n "(cached) " >&6
 2564else
 2565  if test -n "$ac_ct_STRIP"; then
 2566  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2567else
 2568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2569for as_dir in $PATH
 2570do
 2571  IFS=$as_save_IFS
 2572  test -z "$as_dir" && as_dir=.
 2573    for ac_exec_ext in '' $ac_executable_extensions; do
 2574  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2575    ac_cv_prog_ac_ct_STRIP="strip"
 2576    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2577    break 2
 2578  fi
 2579done
 2580  done
 2581IFS=$as_save_IFS
 2582
 2583fi
 2584fi
 2585ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2586if test -n "$ac_ct_STRIP"; then
 2587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 2588$as_echo "$ac_ct_STRIP" >&6; }
 2589else
 2590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2591$as_echo "no" >&6; }
 2592fi
 2593
 2594  if test "x$ac_ct_STRIP" = x; then
 2595    STRIP=":"
 2596  else
 2597    case $cross_compiling:$ac_tool_warned in
 2598yes:)
 2599{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 2600$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 2601ac_tool_warned=yes ;;
 2602esac
 2603    STRIP=$ac_ct_STRIP
 2604  fi
 2605else
 2606  STRIP="$ac_cv_prog_STRIP"
 2607fi
 2608
 2609fi
 2610INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 2611
 2612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 2613$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 2614if test -z "$MKDIR_P"; then
 2615  if ${ac_cv_path_mkdir+:} false; then :
 2616  $as_echo_n "(cached) " >&6
 2617else
 2618  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2619for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 2620do
 2621  IFS=$as_save_IFS
 2622  test -z "$as_dir" && as_dir=.
 2623    for ac_prog in mkdir gmkdir; do
 2624	 for ac_exec_ext in '' $ac_executable_extensions; do
 2625	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 2626	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 2627	     'mkdir (GNU coreutils) '* | \
 2628	     'mkdir (coreutils) '* | \
 2629	     'mkdir (fileutils) '4.1*)
 2630	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 2631	       break 3;;
 2632	   esac
 2633	 done
 2634       done
 2635  done
 2636IFS=$as_save_IFS
 2637
 2638fi
 2639
 2640  test -d ./--version && rmdir ./--version
 2641  if test "${ac_cv_path_mkdir+set}" = set; then
 2642    MKDIR_P="$ac_cv_path_mkdir -p"
 2643  else
 2644    # As a last resort, use the slow shell script.  Don't cache a
 2645    # value for MKDIR_P within a source directory, because that will
 2646    # break other packages using the cache if that directory is
 2647    # removed, or if the value is a relative name.
 2648    MKDIR_P="$ac_install_sh -d"
 2649  fi
 2650fi
 2651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 2652$as_echo "$MKDIR_P" >&6; }
 2653
 2654for ac_prog in gawk mawk nawk awk
 2655do
 2656  # Extract the first word of "$ac_prog", so it can be a program name with args.
 2657set dummy $ac_prog; ac_word=$2
 2658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2659$as_echo_n "checking for $ac_word... " >&6; }
 2660if ${ac_cv_prog_AWK+:} false; then :
 2661  $as_echo_n "(cached) " >&6
 2662else
 2663  if test -n "$AWK"; then
 2664  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 2665else
 2666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2667for as_dir in $PATH
 2668do
 2669  IFS=$as_save_IFS
 2670  test -z "$as_dir" && as_dir=.
 2671    for ac_exec_ext in '' $ac_executable_extensions; do
 2672  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2673    ac_cv_prog_AWK="$ac_prog"
 2674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2675    break 2
 2676  fi
 2677done
 2678  done
 2679IFS=$as_save_IFS
 2680
 2681fi
 2682fi
 2683AWK=$ac_cv_prog_AWK
 2684if test -n "$AWK"; then
 2685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 2686$as_echo "$AWK" >&6; }
 2687else
 2688  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2689$as_echo "no" >&6; }
 2690fi
 2691
 2692
 2693  test -n "$AWK" && break
 2694done
 2695
 2696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2697$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 2698set x ${MAKE-make}
 2699ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 2700if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 2701  $as_echo_n "(cached) " >&6
 2702else
 2703  cat >conftest.make <<\_ACEOF
 2704SHELL = /bin/sh
 2705all:
 2706	@echo '@@@%%%=$(MAKE)=@@@%%%'
 2707_ACEOF
 2708# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 2709case `${MAKE-make} -f conftest.make 2>/dev/null` in
 2710  *@@@%%%=?*=@@@%%%*)
 2711    eval ac_cv_prog_make_${ac_make}_set=yes;;
 2712  *)
 2713    eval ac_cv_prog_make_${ac_make}_set=no;;
 2714esac
 2715rm -f conftest.make
 2716fi
 2717if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 2718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 2719$as_echo "yes" >&6; }
 2720  SET_MAKE=
 2721else
 2722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2723$as_echo "no" >&6; }
 2724  SET_MAKE="MAKE=${MAKE-make}"
 2725fi
 2726
 2727rm -rf .tst 2>/dev/null
 2728mkdir .tst 2>/dev/null
 2729if test -d .tst; then
 2730  am__leading_dot=.
 2731else
 2732  am__leading_dot=_
 2733fi
 2734rmdir .tst 2>/dev/null
 2735
 2736# Check whether --enable-silent-rules was given.
 2737if test "${enable_silent_rules+set}" = set; then :
 2738  enableval=$enable_silent_rules;
 2739fi
 2740
 2741case $enable_silent_rules in # (((
 2742  yes) AM_DEFAULT_VERBOSITY=0;;
 2743   no) AM_DEFAULT_VERBOSITY=1;;
 2744    *) AM_DEFAULT_VERBOSITY=1;;
 2745esac
 2746am_make=${MAKE-make}
 2747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 2748$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 2749if ${am_cv_make_support_nested_variables+:} false; then :
 2750  $as_echo_n "(cached) " >&6
 2751else
 2752  if $as_echo 'TRUE=$(BAR$(V))
 2753BAR0=false
 2754BAR1=true
 2755V=1
 2756am__doit:
 2757	@$(TRUE)
 2758.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 2759  am_cv_make_support_nested_variables=yes
 2760else
 2761  am_cv_make_support_nested_variables=no
 2762fi
 2763fi
 2764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 2765$as_echo "$am_cv_make_support_nested_variables" >&6; }
 2766if test $am_cv_make_support_nested_variables = yes; then
 2767    AM_V='$(V)'
 2768  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 2769else
 2770  AM_V=$AM_DEFAULT_VERBOSITY
 2771  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 2772fi
 2773AM_BACKSLASH='\'
 2774
 2775if test "`cd $srcdir && pwd`" != "`pwd`"; then
 2776  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 2777  # is not polluted with repeated "-I."
 2778  am__isrc=' -I$(srcdir)'
 2779  # test to see if srcdir already configured
 2780  if test -f $srcdir/config.status; then
 2781    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 2782  fi
 2783fi
 2784
 2785# test whether we have cygpath
 2786if test -z "$CYGPATH_W"; then
 2787  if (cygpath --version) >/dev/null 2>/dev/null; then
 2788    CYGPATH_W='cygpath -w'
 2789  else
 2790    CYGPATH_W=echo
 2791  fi
 2792fi
 2793
 2794
 2795# Define the identity of the package.
 2796 PACKAGE='libpng'
 2797 VERSION='1.6.17'
 2798
 2799
 2800cat >>confdefs.h <<_ACEOF
 2801#define PACKAGE "$PACKAGE"
 2802_ACEOF
 2803
 2804
 2805cat >>confdefs.h <<_ACEOF
 2806#define VERSION "$VERSION"
 2807_ACEOF
 2808
 2809# Some tools Automake needs.
 2810
 2811ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 2812
 2813
 2814AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 2815
 2816
 2817AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 2818
 2819
 2820AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 2821
 2822
 2823MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 2824
 2825# For better backward compatibility.  To be removed once Automake 1.9.x
 2826# dies out for good.  For more background, see:
 2827# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 2828# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 2829mkdir_p='$(MKDIR_P)'
 2830
 2831# We need awk for the "check" target (and possibly the TAP driver).  The
 2832# system "awk" is bad on some platforms.
 2833# Always define AMTAR for backward compatibility.  Yes, it's still used
 2834# in the wild :-(  We should find a proper way to deprecate it ...
 2835AMTAR='$${TAR-tar}'
 2836
 2837
 2838# We'll loop over all known methods to create a tar archive until one works.
 2839_am_tools='gnutar  pax cpio none'
 2840
 2841am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 2842
 2843
 2844
 2845
 2846
 2847
 2848# POSIX will say in a future version that running "rm -f" with no argument
 2849# is OK; and we want to be able to make that assumption in our Makefile
 2850# recipes.  So use an aggressive probe to check that the usage we want is
 2851# actually supported "in the wild" to an acceptable degree.
 2852# See automake bug#10828.
 2853# To make any issue more visible, cause the running configure to be aborted
 2854# by default if the 'rm' program in use doesn't match our expectations; the
 2855# user can still override this though.
 2856if rm -f && rm -fr && rm -rf; then : OK; else
 2857  cat >&2 <<'END'
 2858Oops!
 2859
 2860Your 'rm' program seems unable to run without file operands specified
 2861on the command line, even when the '-f' option is present.  This is contrary
 2862to the behaviour of most rm programs out there, and not conforming with
 2863the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 2864
 2865Please tell bug-automake@gnu.org about your system, including the value
 2866of your $PATH and any error possibly output before this message.  This
 2867can help us improve future automake versions.
 2868
 2869END
 2870  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 2871    echo 'Configuration will proceed anyway, since you have set the' >&2
 2872    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 2873    echo >&2
 2874  else
 2875    cat >&2 <<'END'
 2876Aborting the configuration process, to ensure you take notice of the issue.
 2877
 2878You can download and install GNU coreutils to get an 'rm' implementation
 2879that behaves properly: <http://www.gnu.org/software/coreutils/>.
 2880
 2881If you want to complete the configuration process using your problematic
 2882'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 2883to "yes", and re-run configure.
 2884
 2885END
 2886    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 2887  fi
 2888fi
 2889
 2890# The following line causes --disable-maintainer-mode to be the default to
 2891# configure, this is necessary because libpng distributions cannot rely on the
 2892# time stamps of the autotools generated files being correct
 2893
 2894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 2895$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 2896    # Check whether --enable-maintainer-mode was given.
 2897if test "${enable_maintainer_mode+set}" = set; then :
 2898  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 2899else
 2900  USE_MAINTAINER_MODE=no
 2901fi
 2902
 2903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 2904$as_echo "$USE_MAINTAINER_MODE" >&6; }
 2905   if test $USE_MAINTAINER_MODE = yes; then
 2906  MAINTAINER_MODE_TRUE=
 2907  MAINTAINER_MODE_FALSE='#'
 2908else
 2909  MAINTAINER_MODE_TRUE='#'
 2910  MAINTAINER_MODE_FALSE=
 2911fi
 2912
 2913  MAINT=$MAINTAINER_MODE_TRUE
 2914
 2915
 2916
 2917
 2918PNGLIB_VERSION=1.6.17
 2919PNGLIB_MAJOR=1
 2920PNGLIB_MINOR=6
 2921PNGLIB_RELEASE=17
 2922
 2923
 2924
 2925ac_config_headers="$ac_config_headers config.h"
 2926
 2927
 2928# Checks for programs.
 2929ac_ext=c
 2930ac_cpp='$CPP $CPPFLAGS'
 2931ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2932ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2933ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2934
 2935ac_ext=c
 2936ac_cpp='$CPP $CPPFLAGS'
 2937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2939ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2940if test -n "$ac_tool_prefix"; then
 2941  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2942set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2944$as_echo_n "checking for $ac_word... " >&6; }
 2945if ${ac_cv_prog_CC+:} false; then :
 2946  $as_echo_n "(cached) " >&6
 2947else
 2948  if test -n "$CC"; then
 2949  ac_cv_prog_CC="$CC" # Let the user override the test.
 2950else
 2951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2952for as_dir in $PATH
 2953do
 2954  IFS=$as_save_IFS
 2955  test -z "$as_dir" && as_dir=.
 2956    for ac_exec_ext in '' $ac_executable_extensions; do
 2957  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2958    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2959    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 2960    break 2
 2961  fi
 2962done
 2963  done
 2964IFS=$as_save_IFS
 2965
 2966fi
 2967fi
 2968CC=$ac_cv_prog_CC
 2969if test -n "$CC"; then
 2970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 2971$as_echo "$CC" >&6; }
 2972else
 2973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 2974$as_echo "no" >&6; }
 2975fi
 2976
 2977
 2978fi
 2979if test -z "$ac_cv_prog_CC"; then
 2980  ac_ct_CC=$CC
 2981  # Extract the first word of "gcc", so it can be a program name with args.
 2982set dummy gcc; ac_word=$2
 2983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 2984$as_echo_n "checking for $ac_word... " >&6; }
 2985if ${ac_cv_prog_ac_ct_CC+:} false; then :
 2986  $as_echo_n "(cached) " >&6
 2987else
 2988  if test -n "$ac_ct_CC"; then
 2989  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2990else
 2991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2992for as_dir in $PATH
 2993do
 2994  IFS=$as_save_IFS
 2995  test -z "$as_dir" && as_dir=.
 2996    for ac_exec_ext in '' $ac_executable_extensions; do
 2997  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2998    ac_cv_prog_ac_ct_CC="gcc"
 2999    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3000    break 2
 3001  fi
 3002done
 3003  done
 3004IFS=$as_save_IFS
 3005
 3006fi
 3007fi
 3008ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3009if test -n "$ac_ct_CC"; then
 3010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3011$as_echo "$ac_ct_CC" >&6; }
 3012else
 3013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3014$as_echo "no" >&6; }
 3015fi
 3016
 3017  if test "x$ac_ct_CC" = x; then
 3018    CC=""
 3019  else
 3020    case $cross_compiling:$ac_tool_warned in
 3021yes:)
 3022{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3023$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3024ac_tool_warned=yes ;;
 3025esac
 3026    CC=$ac_ct_CC
 3027  fi
 3028else
 3029  CC="$ac_cv_prog_CC"
 3030fi
 3031
 3032if test -z "$CC"; then
 3033          if test -n "$ac_tool_prefix"; then
 3034    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3035set dummy ${ac_tool_prefix}cc; ac_word=$2
 3036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3037$as_echo_n "checking for $ac_word... " >&6; }
 3038if ${ac_cv_prog_CC+:} false; then :
 3039  $as_echo_n "(cached) " >&6
 3040else
 3041  if test -n "$CC"; then
 3042  ac_cv_prog_CC="$CC" # Let the user override the test.
 3043else
 3044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3045for as_dir in $PATH
 3046do
 3047  IFS=$as_save_IFS
 3048  test -z "$as_dir" && as_dir=.
 3049    for ac_exec_ext in '' $ac_executable_extensions; do
 3050  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3051    ac_cv_prog_CC="${ac_tool_prefix}cc"
 3052    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3053    break 2
 3054  fi
 3055done
 3056  done
 3057IFS=$as_save_IFS
 3058
 3059fi
 3060fi
 3061CC=$ac_cv_prog_CC
 3062if test -n "$CC"; then
 3063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3064$as_echo "$CC" >&6; }
 3065else
 3066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3067$as_echo "no" >&6; }
 3068fi
 3069
 3070
 3071  fi
 3072fi
 3073if test -z "$CC"; then
 3074  # Extract the first word of "cc", so it can be a program name with args.
 3075set dummy cc; ac_word=$2
 3076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3077$as_echo_n "checking for $ac_word... " >&6; }
 3078if ${ac_cv_prog_CC+:} false; then :
 3079  $as_echo_n "(cached) " >&6
 3080else
 3081  if test -n "$CC"; then
 3082  ac_cv_prog_CC="$CC" # Let the user override the test.
 3083else
 3084  ac_prog_rejected=no
 3085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3086for as_dir in $PATH
 3087do
 3088  IFS=$as_save_IFS
 3089  test -z "$as_dir" && as_dir=.
 3090    for ac_exec_ext in '' $ac_executable_extensions; do
 3091  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3092    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3093       ac_prog_rejected=yes
 3094       continue
 3095     fi
 3096    ac_cv_prog_CC="cc"
 3097    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3098    break 2
 3099  fi
 3100done
 3101  done
 3102IFS=$as_save_IFS
 3103
 3104if test $ac_prog_rejected = yes; then
 3105  # We found a bogon in the path, so make sure we never use it.
 3106  set dummy $ac_cv_prog_CC
 3107  shift
 3108  if test $# != 0; then
 3109    # We chose a different compiler from the bogus one.
 3110    # However, it has the same basename, so the bogon will be chosen
 3111    # first if we set CC to just the basename; use the full file name.
 3112    shift
 3113    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3114  fi
 3115fi
 3116fi
 3117fi
 3118CC=$ac_cv_prog_CC
 3119if test -n "$CC"; then
 3120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3121$as_echo "$CC" >&6; }
 3122else
 3123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3124$as_echo "no" >&6; }
 3125fi
 3126
 3127
 3128fi
 3129if test -z "$CC"; then
 3130  if test -n "$ac_tool_prefix"; then
 3131  for ac_prog in cl.exe
 3132  do
 3133    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3134set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3136$as_echo_n "checking for $ac_word... " >&6; }
 3137if ${ac_cv_prog_CC+:} false; then :
 3138  $as_echo_n "(cached) " >&6
 3139else
 3140  if test -n "$CC"; then
 3141  ac_cv_prog_CC="$CC" # Let the user override the test.
 3142else
 3143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3144for as_dir in $PATH
 3145do
 3146  IFS=$as_save_IFS
 3147  test -z "$as_dir" && as_dir=.
 3148    for ac_exec_ext in '' $ac_executable_extensions; do
 3149  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3150    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3151    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3152    break 2
 3153  fi
 3154done
 3155  done
 3156IFS=$as_save_IFS
 3157
 3158fi
 3159fi
 3160CC=$ac_cv_prog_CC
 3161if test -n "$CC"; then
 3162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 3163$as_echo "$CC" >&6; }
 3164else
 3165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3166$as_echo "no" >&6; }
 3167fi
 3168
 3169
 3170    test -n "$CC" && break
 3171  done
 3172fi
 3173if test -z "$CC"; then
 3174  ac_ct_CC=$CC
 3175  for ac_prog in cl.exe
 3176do
 3177  # Extract the first word of "$ac_prog", so it can be a program name with args.
 3178set dummy $ac_prog; ac_word=$2
 3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 3180$as_echo_n "checking for $ac_word... " >&6; }
 3181if ${ac_cv_prog_ac_ct_CC+:} false; then :
 3182  $as_echo_n "(cached) " >&6
 3183else
 3184  if test -n "$ac_ct_CC"; then
 3185  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3186else
 3187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3188for as_dir in $PATH
 3189do
 3190  IFS=$as_save_IFS
 3191  test -z "$as_dir" && as_dir=.
 3192    for ac_exec_ext in '' $ac_executable_extensions; do
 3193  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3194    ac_cv_prog_ac_ct_CC="$ac_prog"
 3195    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 3196    break 2
 3197  fi
 3198done
 3199  done
 3200IFS=$as_save_IFS
 3201
 3202fi
 3203fi
 3204ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3205if test -n "$ac_ct_CC"; then
 3206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 3207$as_echo "$ac_ct_CC" >&6; }
 3208else
 3209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3210$as_echo "no" >&6; }
 3211fi
 3212
 3213
 3214  test -n "$ac_ct_CC" && break
 3215done
 3216
 3217  if test "x$ac_ct_CC" = x; then
 3218    CC=""
 3219  else
 3220    case $cross_compiling:$ac_tool_warned in
 3221yes:)
 3222{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 3223$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 3224ac_tool_warned=yes ;;
 3225esac
 3226    CC=$ac_ct_CC
 3227  fi
 3228fi
 3229
 3230fi
 3231
 3232
 3233test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3234$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3235as_fn_error $? "no acceptable C compiler found in \$PATH
 3236See \`config.log' for more details" "$LINENO" 5; }
 3237
 3238# Provide some information about the compiler.
 3239$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 3240set X $ac_compile
 3241ac_compiler=$2
 3242for ac_option in --version -v -V -qversion; do
 3243  { { ac_try="$ac_compiler $ac_option >&5"
 3244case "(($ac_try" in
 3245  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3246  *) ac_try_echo=$ac_try;;
 3247esac
 3248eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3249$as_echo "$ac_try_echo"; } >&5
 3250  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 3251  ac_status=$?
 3252  if test -s conftest.err; then
 3253    sed '10a\
 3254... rest of stderr output deleted ...
 3255         10q' conftest.err >conftest.er1
 3256    cat conftest.er1 >&5
 3257  fi
 3258  rm -f conftest.er1 conftest.err
 3259  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3260  test $ac_status = 0; }
 3261done
 3262
 3263cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3264/* end confdefs.h.  */
 3265
 3266int
 3267main ()
 3268{
 3269
 3270  ;
 3271  return 0;
 3272}
 3273_ACEOF
 3274ac_clean_files_save=$ac_clean_files
 3275ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 3276# Try to create an executable without -o first, disregard a.out.
 3277# It will help us diagnose broken compilers, and finding out an intuition
 3278# of exeext.
 3279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 3280$as_echo_n "checking whether the C compiler works... " >&6; }
 3281ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 3282
 3283# The possible output files:
 3284ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 3285
 3286ac_rmfiles=
 3287for ac_file in $ac_files
 3288do
 3289  case $ac_file in
 3290    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3291    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 3292  esac
 3293done
 3294rm -f $ac_rmfiles
 3295
 3296if { { ac_try="$ac_link_default"
 3297case "(($ac_try" in
 3298  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3299  *) ac_try_echo=$ac_try;;
 3300esac
 3301eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3302$as_echo "$ac_try_echo"; } >&5
 3303  (eval "$ac_link_default") 2>&5
 3304  ac_status=$?
 3305  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3306  test $ac_status = 0; }; then :
 3307  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 3308# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 3309# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 3310# so that the user can short-circuit this test for compilers unknown to
 3311# Autoconf.
 3312for ac_file in $ac_files ''
 3313do
 3314  test -f "$ac_file" || continue
 3315  case $ac_file in
 3316    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 3317	;;
 3318    [ab].out )
 3319	# We found the default executable, but exeext='' is most
 3320	# certainly right.
 3321	break;;
 3322    *.* )
 3323	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 3324	then :; else
 3325	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3326	fi
 3327	# We set ac_cv_exeext here because the later test for it is not
 3328	# safe: cross compilers may not add the suffix if given an `-o'
 3329	# argument, so we may need to know it at that point already.
 3330	# Even if this section looks crufty: it has the advantage of
 3331	# actually working.
 3332	break;;
 3333    * )
 3334	break;;
 3335  esac
 3336done
 3337test "$ac_cv_exeext" = no && ac_cv_exeext=
 3338
 3339else
 3340  ac_file=''
 3341fi
 3342if test -z "$ac_file"; then :
 3343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 3344$as_echo "no" >&6; }
 3345$as_echo "$as_me: failed program was:" >&5
 3346sed 's/^/| /' conftest.$ac_ext >&5
 3347
 3348{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3350as_fn_error 77 "C compiler cannot create executables
 3351See \`config.log' for more details" "$LINENO" 5; }
 3352else
 3353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 3354$as_echo "yes" >&6; }
 3355fi
 3356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 3357$as_echo_n "checking for C compiler default output file name... " >&6; }
 3358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 3359$as_echo "$ac_file" >&6; }
 3360ac_exeext=$ac_cv_exeext
 3361
 3362rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 3363ac_clean_files=$ac_clean_files_save
 3364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 3365$as_echo_n "checking for suffix of executables... " >&6; }
 3366if { { ac_try="$ac_link"
 3367case "(($ac_try" in
 3368  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3369  *) ac_try_echo=$ac_try;;
 3370esac
 3371eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3372$as_echo "$ac_try_echo"; } >&5
 3373  (eval "$ac_link") 2>&5
 3374  ac_status=$?
 3375  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3376  test $ac_status = 0; }; then :
 3377  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3378# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3379# work properly (i.e., refer to `conftest.exe'), while it won't with
 3380# `rm'.
 3381for ac_file in conftest.exe conftest conftest.*; do
 3382  test -f "$ac_file" || continue
 3383  case $ac_file in
 3384    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 3385    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3386	  break;;
 3387    * ) break;;
 3388  esac
 3389done
 3390else
 3391  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3392$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3393as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 3394See \`config.log' for more details" "$LINENO" 5; }
 3395fi
 3396rm -f conftest conftest$ac_cv_exeext
 3397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 3398$as_echo "$ac_cv_exeext" >&6; }
 3399
 3400rm -f conftest.$ac_ext
 3401EXEEXT=$ac_cv_exeext
 3402ac_exeext=$EXEEXT
 3403cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3404/* end confdefs.h.  */
 3405#include <stdio.h>
 3406int
 3407main ()
 3408{
 3409FILE *f = fopen ("conftest.out", "w");
 3410 return ferror (f) || fclose (f) != 0;
 3411
 3412  ;
 3413  return 0;
 3414}
 3415_ACEOF
 3416ac_clean_files="$ac_clean_files conftest.out"
 3417# Check that the compiler produces executables we can run.  If not, either
 3418# the compiler is broken, or we cross compile.
 3419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 3420$as_echo_n "checking whether we are cross compiling... " >&6; }
 3421if test "$cross_compiling" != yes; then
 3422  { { ac_try="$ac_link"
 3423case "(($ac_try" in
 3424  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3425  *) ac_try_echo=$ac_try;;
 3426esac
 3427eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3428$as_echo "$ac_try_echo"; } >&5
 3429  (eval "$ac_link") 2>&5
 3430  ac_status=$?
 3431  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3432  test $ac_status = 0; }
 3433  if { ac_try='./conftest$ac_cv_exeext'
 3434  { { case "(($ac_try" in
 3435  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3436  *) ac_try_echo=$ac_try;;
 3437esac
 3438eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3439$as_echo "$ac_try_echo"; } >&5
 3440  (eval "$ac_try") 2>&5
 3441  ac_status=$?
 3442  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3443  test $ac_status = 0; }; }; then
 3444    cross_compiling=no
 3445  else
 3446    if test "$cross_compiling" = maybe; then
 3447	cross_compiling=yes
 3448    else
 3449	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3450$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3451as_fn_error $? "cannot run C compiled programs.
 3452If you meant to cross compile, use \`--host'.
 3453See \`config.log' for more details" "$LINENO" 5; }
 3454    fi
 3455  fi
 3456fi
 3457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 3458$as_echo "$cross_compiling" >&6; }
 3459
 3460rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 3461ac_clean_files=$ac_clean_files_save
 3462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 3463$as_echo_n "checking for suffix of object files... " >&6; }
 3464if ${ac_cv_objext+:} false; then :
 3465  $as_echo_n "(cached) " >&6
 3466else
 3467  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3468/* end confdefs.h.  */
 3469
 3470int
 3471main ()
 3472{
 3473
 3474  ;
 3475  return 0;
 3476}
 3477_ACEOF
 3478rm -f conftest.o conftest.obj
 3479if { { ac_try="$ac_compile"
 3480case "(($ac_try" in
 3481  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3482  *) ac_try_echo=$ac_try;;
 3483esac
 3484eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 3485$as_echo "$ac_try_echo"; } >&5
 3486  (eval "$ac_compile") 2>&5
 3487  ac_status=$?
 3488  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 3489  test $ac_status = 0; }; then :
 3490  for ac_file in conftest.o conftest.obj conftest.*; do
 3491  test -f "$ac_file" || continue;
 3492  case $ac_file in
 3493    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 3494    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3495       break;;
 3496  esac
 3497done
 3498else
 3499  $as_echo "$as_me: failed program was:" >&5
 3500sed 's/^/| /' conftest.$ac_ext >&5
 3501
 3502{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 3503$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3504as_fn_error $? "cannot compute suffix of object files: cannot compile
 3505See \`config.log' for more details" "$LINENO" 5; }
 3506fi
 3507rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3508fi
 3509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 3510$as_echo "$ac_cv_objext" >&6; }
 3511OBJEXT=$ac_cv_objext
 3512ac_objext=$OBJEXT
 3513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 3514$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 3515if ${ac_cv_c_compiler_gnu+:} false; then :
 3516  $as_echo_n "(cached) " >&6
 3517else
 3518  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3519/* end confdefs.h.  */
 3520
 3521int
 3522main ()
 3523{
 3524#ifndef __GNUC__
 3525       choke me
 3526#endif
 3527
 3528  ;
 3529  return 0;
 3530}
 3531_ACEOF
 3532if ac_fn_c_try_compile "$LINENO"; then :
 3533  ac_compiler_gnu=yes
 3534else
 3535  ac_compiler_gnu=no
 3536fi
 3537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3538ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3539
 3540fi
 3541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 3542$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 3543if test $ac_compiler_gnu = yes; then
 3544  GCC=yes
 3545else
 3546  GCC=
 3547fi
 3548ac_test_CFLAGS=${CFLAGS+set}
 3549ac_save_CFLAGS=$CFLAGS
 3550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 3551$as_echo_n "checking whether $CC accepts -g... " >&6; }
 3552if ${ac_cv_prog_cc_g+:} false; then :
 3553  $as_echo_n "(cached) " >&6
 3554else
 3555  ac_save_c_werror_flag=$ac_c_werror_flag
 3556   ac_c_werror_flag=yes
 3557   ac_cv_prog_cc_g=no
 3558   CFLAGS="-g"
 3559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3560/* end confdefs.h.  */
 3561
 3562int
 3563main ()
 3564{
 3565
 3566  ;
 3567  return 0;
 3568}
 3569_ACEOF
 3570if ac_fn_c_try_compile "$LINENO"; then :
 3571  ac_cv_prog_cc_g=yes
 3572else
 3573  CFLAGS=""
 3574      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3575/* end confdefs.h.  */
 3576
 3577int
 3578main ()
 3579{
 3580
 3581  ;
 3582  return 0;
 3583}
 3584_ACEOF
 3585if ac_fn_c_try_compile "$LINENO"; then :
 3586
 3587else
 3588  ac_c_werror_flag=$ac_save_c_werror_flag
 3589	 CFLAGS="-g"
 3590	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3591/* end confdefs.h.  */
 3592
 3593int
 3594main ()
 3595{
 3596
 3597  ;
 3598  return 0;
 3599}
 3600_ACEOF
 3601if ac_fn_c_try_compile "$LINENO"; then :
 3602  ac_cv_prog_cc_g=yes
 3603fi
 3604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3605fi
 3606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3607fi
 3608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3609   ac_c_werror_flag=$ac_save_c_werror_flag
 3610fi
 3611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 3612$as_echo "$ac_cv_prog_cc_g" >&6; }
 3613if test "$ac_test_CFLAGS" = set; then
 3614  CFLAGS=$ac_save_CFLAGS
 3615elif test $ac_cv_prog_cc_g = yes; then
 3616  if test "$GCC" = yes; then
 3617    CFLAGS="-g -O2"
 3618  else
 3619    CFLAGS="-g"
 3620  fi
 3621else
 3622  if test "$GCC" = yes; then
 3623    CFLAGS="-O2"
 3624  else
 3625    CFLAGS=
 3626  fi
 3627fi
 3628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 3629$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 3630if ${ac_cv_prog_cc_c89+:} false; then :
 3631  $as_echo_n "(cached) " >&6
 3632else
 3633  ac_cv_prog_cc_c89=no
 3634ac_save_CC=$CC
 3635cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3636/* end confdefs.h.  */
 3637#include <stdarg.h>
 3638#include <stdio.h>
 3639struct stat;
 3640/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3641struct buf { int x; };
 3642FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3643static char *e (p, i)
 3644     char **p;
 3645     int i;
 3646{
 3647  return p[i];
 3648}
 3649static char *f (char * (*g) (char **, int), char **p, ...)
 3650{
 3651  char *s;
 3652  va_list v;
 3653  va_start (v,p);
 3654  s = g (p, va_arg (v,int));
 3655  va_end (v);
 3656  return s;
 3657}
 3658
 3659/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3660   function prototypes and stuff, but not '\xHH' hex character constants.
 3661   These don't provoke an error unfortunately, instead are silently treated
 3662   as 'x'.  The following induces an error, until -std is added to get
 3663   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3664   array size at least.  It's necessary to write '\x00'==0 to get something
 3665   that's true only with -std.  */
 3666int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3667
 3668/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3669   inside strings and character constants.  */
 3670#define FOO(x) 'x'
 3671int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3672
 3673int test (int i, double x);
 3674struct s1 {int (*f) (int a);};
 3675struct s2 {int (*f) (double a);};
 3676int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3677int argc;
 3678char **argv;
 3679int
 3680main ()
 3681{
 3682return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3683  ;
 3684  return 0;
 3685}
 3686_ACEOF
 3687for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3688	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3689do
 3690  CC="$ac_save_CC $ac_arg"
 3691  if ac_fn_c_try_compile "$LINENO"; then :
 3692  ac_cv_prog_cc_c89=$ac_arg
 3693fi
 3694rm -f core conftest.err conftest.$ac_objext
 3695  test "x$ac_cv_prog_cc_c89" != "xno" && break
 3696done
 3697rm -f conftest.$ac_ext
 3698CC=$ac_save_CC
 3699
 3700fi
 3701# AC_CACHE_VAL
 3702case "x$ac_cv_prog_cc_c89" in
 3703  x)
 3704    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 3705$as_echo "none needed" >&6; } ;;
 3706  xno)
 3707    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 3708$as_echo "unsupported" >&6; } ;;
 3709  *)
 3710    CC="$CC $ac_cv_prog_cc_c89"
 3711    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 3712$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 3713esac
 3714if test "x$ac_cv_prog_cc_c89" != xno; then :
 3715
 3716fi
 3717
 3718ac_ext=c
 3719ac_cpp='$CPP $CPPFLAGS'
 3720ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3721ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3722ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3723
 3724ac_ext=c
 3725ac_cpp='$CPP $CPPFLAGS'
 3726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3728ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 3730$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 3731if ${am_cv_prog_cc_c_o+:} false; then :
 3732  $as_echo_n "(cached) " >&6
 3733else
 3734  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 3735/* end confdefs.h.  */
 3736
 3737int
 3738main ()
 3739{
 3740
 3741  ;
 3742  return 0;
 3743}
 3744_ACEOF
 3745  # Make sure it works both with $CC and with simple cc.
 3746  # Following AC_PROG_CC_C_O, we do the test twice because some
 3747  # compilers refuse to overwrite an existing .o file with -o,
 3748  # though they will create one.
 3749  am_cv_prog_cc_c_o=yes
 3750  for am_i in 1 2; do
 3751    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 3752   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 3753   ac_status=$?
 3754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3755   (exit $ac_status); } \
 3756         && test -f conftest2.$ac_objext; then
 3757      : OK
 3758    else
 3759      am_cv_prog_cc_c_o=no
 3760      break
 3761    fi
 3762  done
 3763  rm -f core conftest*
 3764  unset am_i
 3765fi
 3766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 3767$as_echo "$am_cv_prog_cc_c_o" >&6; }
 3768if test "$am_cv_prog_cc_c_o" != yes; then
 3769   # Losing compiler, so override with the script.
 3770   # FIXME: It is wrong to rewrite CC.
 3771   # But if we don't then we get into trouble of one sort or another.
 3772   # A longer-term fix would be to have automake use am__CC in this case,
 3773   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 3774   CC="$am_aux_dir/compile $CC"
 3775fi
 3776ac_ext=c
 3777ac_cpp='$CPP $CPPFLAGS'
 3778ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3779ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3780ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3781
 3782DEPDIR="${am__leading_dot}deps"
 3783
 3784ac_config_commands="$ac_config_commands depfiles"
 3785
 3786
 3787am_make=${MAKE-make}
 3788cat > confinc << 'END'
 3789am__doit:
 3790	@echo this is the am__doit target
 3791.PHONY: am__doit
 3792END
 3793# If we don't find an include directive, just comment out the code.
 3794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 3795$as_echo_n "checking for style of include used by $am_make... " >&6; }
 3796am__include="#"
 3797am__quote=
 3798_am_result=none
 3799# First try GNU make style include.
 3800echo "include confinc" > confmf
 3801# Ignore all kinds of additional output from 'make'.
 3802case `$am_make -s -f confmf 2> /dev/null` in #(
 3803*the\ am__doit\ target*)
 3804  am__include=include
 3805  am__quote=
 3806  _am_result=GNU
 3807  ;;
 3808esac
 3809# Now try BSD make style include.
 3810if test "$am__include" = "#"; then
 3811   echo '.include "confinc"' > confmf
 3812   case `$am_make -s -f confmf 2> /dev/null` in #(
 3813   *the\ am__doit\ target*)
 3814     am__include=.include
 3815     am__quote="\""
 3816     _am_result=BSD
 3817     ;;
 3818   esac
 3819fi
 3820
 3821
 3822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 3823$as_echo "$_am_result" >&6; }
 3824rm -f confinc confmf
 3825
 3826# Check whether --enable-dependency-tracking was given.
 3827if test "${enable_dependency_tracking+set}" = set; then :
 3828  enableval=$enable_dependency_tracking;
 3829fi
 3830
 3831if test "x$enable_dependency_tracking" != xno; then
 3832  am_depcomp="$ac_aux_dir/depcomp"
 3833  AMDEPBACKSLASH='\'
 3834  am__nodep='_no'
 3835fi
 3836 if test "x$enable_dependency_tracking" != xno; then
 3837  AMDEP_TRUE=
 3838  AMDEP_FALSE='#'
 3839else
 3840  AMDEP_TRUE='#'
 3841  AMDEP_FALSE=
 3842fi
 3843
 3844
 3845
 3846depcc="$CC"   am_compiler_list=
 3847
 3848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3849$as_echo_n "checking dependency style of $depcc... " >&6; }
 3850if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 3851  $as_echo_n "(cached) " >&6
 3852else
 3853  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3854  # We make a subdir and do the tests there.  Otherwise we can end up
 3855  # making bogus files that we don't know about and never remove.  For
 3856  # instance it was reported that on HP-UX the gcc test will end up
 3857  # making a dummy file named 'D' -- because '-MD' means "put the output
 3858  # in D".
 3859  rm -rf conftest.dir
 3860  mkdir conftest.dir
 3861  # Copy depcomp to subdir because otherwise we won't find it if we're
 3862  # using a relative directory.
 3863  cp "$am_depcomp" conftest.dir
 3864  cd conftest.dir
 3865  # We will build objects and dependencies in a subdirectory because
 3866  # it helps to detect inapplicable dependency modes.  For instance
 3867  # both Tru64's cc and ICC support -MD to output dependencies as a
 3868  # side effect of compilation, but ICC will put the dependencies in
 3869  # the current directory while Tru64 will put them in the object
 3870  # directory.
 3871  mkdir sub
 3872
 3873  am_cv_CC_dependencies_compiler_type=none
 3874  if test "$am_compiler_list" = ""; then
 3875     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3876  fi
 3877  am__universal=false
 3878  case " $depcc " in #(
 3879     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 3880     esac
 3881
 3882  for depmode in $am_compiler_list; do
 3883    # Setup a source with many dependencies, because some compilers
 3884    # like to wrap large dependency lists on column 80 (with \), and
 3885    # we should not choose a depcomp mode which is confused by this.
 3886    #
 3887    # We need to recreate these files for each test, as the compiler may
 3888    # overwrite some of them when testing with obscure command lines.
 3889    # This happens at least with the AIX C compiler.
 3890    : > sub/conftest.c
 3891    for i in 1 2 3 4 5 6; do
 3892      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3893      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 3894      # Solaris 10 /bin/sh.
 3895      echo '/* dummy */' > sub/conftst$i.h
 3896    done
 3897    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3898
 3899    # We check with '-c' and '-o' for the sake of the "dashmstdout"
 3900    # mode.  It turns out that the SunPro C++ compiler does not properly
 3901    # handle '-M -o', and we need to detect this.  Also, some Intel
 3902    # versions had trouble with output in subdirs.
 3903    am__obj=sub/conftest.${OBJEXT-o}
 3904    am__minus_obj="-o $am__obj"
 3905    case $depmode in
 3906    gcc)
 3907      # This depmode causes a compiler race in universal mode.
 3908      test "$am__universal" = false || continue
 3909      ;;
 3910    nosideeffect)
 3911      # After this tag, mechanisms are not by side-effect, so they'll
 3912      # only be used when explicitly requested.
 3913      if test "x$enable_dependency_tracking" = xyes; then
 3914	continue
 3915      else
 3916	break
 3917      fi
 3918      ;;
 3919    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 3920      # This compiler won't grok '-c -o', but also, the minuso test has
 3921      # not run yet.  These depmodes are late enough in the game, and
 3922      # so weak that their functioning should not be impacted.
 3923      am__obj=conftest.${OBJEXT-o}
 3924      am__minus_obj=
 3925      ;;
 3926    none) break ;;
 3927    esac
 3928    if depmode=$depmode \
 3929       source=sub/conftest.c object=$am__obj \
 3930       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3931       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 3932         >/dev/null 2>conftest.err &&
 3933       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 3934       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3935       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 3936       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3937      # icc doesn't choke on unknown options, it will just issue warnings
 3938      # or remarks (even with -Werror).  So we grep stderr for any message
 3939      # that says an option was ignored or not supported.
 3940      # When given -MP, icc 7.0 and 7.1 complain thusly:
 3941      #   icc: Command line warning: ignoring option '-M'; no argument required
 3942      # The diagnosis changed in icc 8.0:
 3943      #   icc: Command line remark: option '-MP' not supported
 3944      if (grep 'ignoring option' conftest.err ||
 3945          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3946        am_cv_CC_dependencies_compiler_type=$depmode
 3947        break
 3948      fi
 3949    fi
 3950  done
 3951
 3952  cd ..
 3953  rm -rf conftest.dir
 3954else
 3955  am_cv_CC_dependencies_compiler_type=none
 3956fi
 3957
 3958fi
 3959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 3960$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 3961CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3962
 3963 if
 3964  test "x$enable_dependency_tracking" != xno \
 3965  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3966  am__fastdepCC_TRUE=
 3967  am__fastdepCC_FALSE='#'
 3968else
 3969  am__fastdepCC_TRUE='#'
 3970  am__fastdepCC_FALSE=
 3971fi
 3972
 3973
 3974# By default we simply use the C compiler to build assembly code.
 3975
 3976test "${CCAS+set}" = set || CCAS=$CC
 3977test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 3978
 3979
 3980
 3981depcc="$CCAS"   am_compiler_list=
 3982
 3983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 3984$as_echo_n "checking dependency style of $depcc... " >&6; }
 3985if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
 3986  $as_echo_n "(cached) " >&6
 3987else
 3988  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3989  # We make a subdir and do the tests there.  Otherwise we can end up
 3990  # making bogus files that we don't know about and never remove.  For
 3991  # instance it was reported that on HP-UX the gcc test will end up
 3992  # making a dummy file named 'D' -- because '-MD' means "put the output
 3993  # in D".
 3994  rm -rf conftest.dir
 3995  mkdir conftest.dir
 3996  # Copy depcomp to subdir because otherwise we won't find it if we're
 3997  # using a relative directory.
 3998  cp "$am_depcomp" conftest.dir
 3999  cd conftest.dir
 4000  # We will build objects and dependencies in a subdirectory because
 4001  # it helps to detect inapplicable dependency modes.  For instance
 4002  # both Tru64's cc and ICC support -MD to output dependencies as a
 4003  # side effect of compilation, but ICC will put the dependencies in
 4004  # the current directory while Tru64 will put them in the object
 4005  # directory.
 4006  mkdir sub
 4007
 4008  am_cv_CCAS_dependencies_compiler_type=none
 4009  if test "$am_compiler_list" = ""; then
 4010     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4011  fi
 4012  am__universal=false
 4013
 4014
 4015  for depmode in $am_compiler_list; do
 4016    # Setup a source with many dependencies, because some compilers
 4017    # like to wrap large dependency lists on column 80 (with \), and
 4018    # we should not choose a depcomp mode which is confused by this.
 4019    #
 4020    # We need to recreate these files for each test, as the compiler may
 4021    # overwrite some of them when testing with obscure command lines.
 4022    # This happens at least with the AIX C compiler.
 4023    : > sub/conftest.c
 4024    for i in 1 2 3 4 5 6; do
 4025      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4026      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 4027      # Solaris 10 /bin/sh.
 4028      echo '/* dummy */' > sub/conftst$i.h
 4029    done
 4030    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4031
 4032    # We check with '-c' and '-o' for the sake of the "dashmstdout"
 4033    # mode.  It turns out that the SunPro C++ compiler does not properly
 4034    # handle '-M -o', and we need to detect this.  Also, some Intel
 4035    # versions had trouble with output in subdirs.
 4036    am__obj=sub/conftest.${OBJEXT-o}
 4037    am__minus_obj="-o $am__obj"
 4038    case $depmode in
 4039    gcc)
 4040      # This depmode causes a compiler race in universal mode.
 4041      test "$am__universal" = false || continue
 4042      ;;
 4043    nosideeffect)
 4044      # After this tag, mechanisms are not by side-effect, so they'll
 4045      # only be used when explicitly requested.
 4046      if test "x$enable_dependency_tracking" = xyes; then
 4047	continue
 4048      else
 4049	break
 4050      fi
 4051      ;;
 4052    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 4053      # This compiler won't grok '-c -o', but also, the minuso test has
 4054      # not run yet.  These depmodes are late enough in the game, and
 4055      # so weak that their functioning should not be impacted.
 4056      am__obj=conftest.${OBJEXT-o}
 4057      am__minus_obj=
 4058      ;;
 4059    none) break ;;
 4060    esac
 4061    if depmode=$depmode \
 4062       source=sub/conftest.c object=$am__obj \
 4063       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4064       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 4065         >/dev/null 2>conftest.err &&
 4066       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 4067       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4068       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 4069       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4070      # icc doesn't choke on unknown options, it will just issue warnings
 4071      # or remarks (even with -Werror).  So we grep stderr for any message
 4072      # that says an option was ignored or not supported.
 4073      # When given -MP, icc 7.0 and 7.1 complain thusly:
 4074      #   icc: Command line warning: ignoring option '-M'; no argument required
 4075      # The diagnosis changed in icc 8.0:
 4076      #   icc: Command line remark: option '-MP' not supported
 4077      if (grep 'ignoring option' conftest.err ||
 4078          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4079        am_cv_CCAS_dependencies_compiler_type=$depmode
 4080        break
 4081      fi
 4082    fi
 4083  done
 4084
 4085  cd ..
 4086  rm -rf conftest.dir
 4087else
 4088  am_cv_CCAS_dependencies_compiler_type=none
 4089fi
 4090
 4091fi
 4092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
 4093$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
 4094CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
 4095
 4096 if
 4097  test "x$enable_dependency_tracking" != xno \
 4098  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
 4099  am__fastdepCCAS_TRUE=
 4100  am__fastdepCCAS_FALSE='#'
 4101else
 4102  am__fastdepCCAS_TRUE='#'
 4103  am__fastdepCCAS_FALSE=
 4104fi
 4105
 4106
 4107# Make sure we can run config.sub.
 4108$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 4109  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 4110
 4111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 4112$as_echo_n "checking build system type... " >&6; }
 4113if ${ac_cv_build+:} false; then :
 4114  $as_echo_n "(cached) " >&6
 4115else
 4116  ac_build_alias=$build_alias
 4117test "x$ac_build_alias" = x &&
 4118  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 4119test "x$ac_build_alias" = x &&
 4120  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 4121ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 4122  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 4123
 4124fi
 4125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 4126$as_echo "$ac_cv_build" >&6; }
 4127case $ac_cv_build in
 4128*-*-*) ;;
 4129*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 4130esac
 4131build=$ac_cv_build
 4132ac_save_IFS=$IFS; IFS='-'
 4133set x $ac_cv_build
 4134shift
 4135build_cpu=$1
 4136build_vendor=$2
 4137shift; shift
 4138# Remember, the first character of IFS is used to create $*,
 4139# except with old shells:
 4140build_os=$*
 4141IFS=$ac_save_IFS
 4142case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 4143
 4144
 4145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 4146$as_echo_n "checking host system type... " >&6; }
 4147if ${ac_cv_host+:} false; then :
 4148  $as_echo_n "(cached) " >&6
 4149else
 4150  if test "x$host_alias" = x; then
 4151  ac_cv_host=$ac_cv_build
 4152else
 4153  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 4154    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 4155fi
 4156
 4157fi
 4158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 4159$as_echo "$ac_cv_host" >&6; }
 4160case $ac_cv_host in
 4161*-*-*) ;;
 4162*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 4163esac
 4164host=$ac_cv_host
 4165ac_save_IFS=$IFS; IFS='-'
 4166set x $ac_cv_host
 4167shift
 4168host_cpu=$1
 4169host_vendor=$2
 4170shift; shift
 4171# Remember, the first character of IFS is used to create $*,
 4172# except with old shells:
 4173host_os=$*
 4174IFS=$ac_save_IFS
 4175case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 4176
 4177
 4178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 4179$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 4180if ${ac_cv_path_SED+:} false; then :
 4181  $as_echo_n "(cached) " >&6
 4182else
 4183            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 4184     for ac_i in 1 2 3 4 5 6 7; do
 4185       ac_script="$ac_script$as_nl$ac_script"
 4186     done
 4187     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 4188     { ac_script=; unset ac_script;}
 4189     if test -z "$SED"; then
 4190  ac_path_SED_found=false
 4191  # Loop through the user's path and test for each of PROGNAME-LIST
 4192  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4193for as_dir in $PATH
 4194do
 4195  IFS=$as_save_IFS
 4196  test -z "$as_dir" && as_dir=.
 4197    for ac_prog in sed gsed; do
 4198    for ac_exec_ext in '' $ac_executable_extensions; do
 4199      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 4200      as_fn_executable_p "$ac_path_SED" || continue
 4201# Check for GNU ac_path_SED and select it if it is found.
 4202  # Check for GNU $ac_path_SED
 4203case `"$ac_path_SED" --version 2>&1` in
 4204*GNU*)
 4205  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 4206*)
 4207  ac_count=0
 4208  $as_echo_n 0123456789 >"conftest.in"
 4209  while :
 4210  do
 4211    cat "conftest.in" "conftest.in" >"conftest.tmp"
 4212    mv "conftest.tmp" "conftest.in"
 4213    cp "conftest.in" "conftest.nl"
 4214    $as_echo '' >> "conftest.nl"
 4215    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4216    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4217    as_fn_arith $ac_count + 1 && ac_count=$as_val
 4218    if test $ac_count -gt ${ac_path_SED_max-0}; then
 4219      # Best one so far, save it but keep looking for a better one
 4220      ac_cv_path_SED="$ac_path_SED"
 4221      ac_path_SED_max=$ac_count
 4222    fi
 4223    # 10*(2^10) chars as input seems more than enough
 4224    test $ac_count -gt 10 && break
 4225  done
 4226  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4227esac
 4228
 4229      $ac_path_SED_found && break 3
 4230    done
 4231  done
 4232  done
 4233IFS=$as_save_IFS
 4234  if test -z "$ac_cv_path_SED"; then
 4235    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 4236  fi
 4237else
 4238  ac_cv_path_SED=$SED
 4239fi
 4240
 4241fi
 4242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 4243$as_echo "$ac_cv_path_SED" >&6; }
 4244 SED="$ac_cv_path_SED"
 4245  rm -f conftest.sed
 4246
 4247test -z "$SED" && SED=sed
 4248Xsed="$SED -e 1s/^X//"
 4249
 4250
 4251
 4252
 4253
 4254
 4255
 4256
 4257
 4258
 4259
 4260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 4261$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 4262if ${ac_cv_path_GREP+:} false; then :
 4263  $as_echo_n "(cached) " >&6
 4264else
 4265  if test -z "$GREP"; then
 4266  ac_path_GREP_found=false
 4267  # Loop through the user's path and test for each of PROGNAME-LIST
 4268  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4269for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4270do
 4271  IFS=$as_save_IFS
 4272  test -z "$as_dir" && as_dir=.
 4273    for ac_prog in grep ggrep; do
 4274    for ac_exec_ext in '' $ac_executable_extensions; do
 4275      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 4276      as_fn_executable_p "$ac_path_GREP" || continue
 4277# Check for GNU ac_path_GREP and select it if it is found.
 4278  # Check for GNU $ac_path_GREP
 4279case `"$ac_path_GREP" --version 2>&1` in
 4280*GNU*)
 4281  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 4282*)
 4283  ac_count=0
 4284  $as_echo_n 0123456789 >"conftest.in"
 4285  while :
 4286  do
 4287    cat "conftest.in" "conftest.in" >"conftest.tmp"
 4288    mv "conftest.tmp" "conftest.in"
 4289    cp "conftest.in" "conftest.nl"
 4290    $as_echo 'GREP' >> "conftest.nl"
 4291    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4292    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4293    as_fn_arith $ac_count + 1 && ac_count=$as_val
 4294    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 4295      # Best one so far, save it but keep looking for a better one
 4296      ac_cv_path_GREP="$ac_path_GREP"
 4297      ac_path_GREP_max=$ac_count
 4298    fi
 4299    # 10*(2^10) chars as input seems more than enough
 4300    test $ac_count -gt 10 && break
 4301  done
 4302  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4303esac
 4304
 4305      $ac_path_GREP_found && break 3
 4306    done
 4307  done
 4308  done
 4309IFS=$as_save_IFS
 4310  if test -z "$ac_cv_path_GREP"; then
 4311    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4312  fi
 4313else
 4314  ac_cv_path_GREP=$GREP
 4315fi
 4316
 4317fi
 4318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 4319$as_echo "$ac_cv_path_GREP" >&6; }
 4320 GREP="$ac_cv_path_GREP"
 4321
 4322
 4323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 4324$as_echo_n "checking for egrep... " >&6; }
 4325if ${ac_cv_path_EGREP+:} false; then :
 4326  $as_echo_n "(cached) " >&6
 4327else
 4328  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 4329   then ac_cv_path_EGREP="$GREP -E"
 4330   else
 4331     if test -z "$EGREP"; then
 4332  ac_path_EGREP_found=false
 4333  # Loop through the user's path and test for each of PROGNAME-LIST
 4334  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4335for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4336do
 4337  IFS=$as_save_IFS
 4338  test -z "$as_dir" && as_dir=.
 4339    for ac_prog in egrep; do
 4340    for ac_exec_ext in '' $ac_executable_extensions; do
 4341      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 4342      as_fn_executable_p "$ac_path_EGREP" || continue
 4343# Check for GNU ac_path_EGREP and select it if it is found.
 4344  # Check for GNU $ac_path_EGREP
 4345case `"$ac_path_EGREP" --version 2>&1` in
 4346*GNU*)
 4347  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 4348*)
 4349  ac_count=0
 4350  $as_echo_n 0123456789 >"conftest.in"
 4351  while :
 4352  do
 4353    cat "conftest.in" "conftest.in" >"conftest.tmp"
 4354    mv "conftest.tmp" "conftest.in"
 4355    cp "conftest.in" "conftest.nl"
 4356    $as_echo 'EGREP' >> "conftest.nl"
 4357    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4358    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4359    as_fn_arith $ac_count + 1 && ac_count=$as_val
 4360    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 4361      # Best one so far, save it but keep looking for a better one
 4362      ac_cv_path_EGREP="$ac_path_EGREP"
 4363      ac_path_EGREP_max=$ac_count
 4364    fi
 4365    # 10*(2^10) chars as input seems more than enough
 4366    test $ac_count -gt 10 && break
 4367  done
 4368  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4369esac
 4370
 4371      $ac_path_EGREP_found && break 3
 4372    done
 4373  done
 4374  done
 4375IFS=$as_save_IFS
 4376  if test -z "$ac_cv_path_EGREP"; then
 4377    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4378  fi
 4379else
 4380  ac_cv_path_EGREP=$EGREP
 4381fi
 4382
 4383   fi
 4384fi
 4385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 4386$as_echo "$ac_cv_path_EGREP" >&6; }
 4387 EGREP="$ac_cv_path_EGREP"
 4388
 4389
 4390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 4391$as_echo_n "checking for fgrep... " >&6; }
 4392if ${ac_cv_path_FGREP+:} false; then :
 4393  $as_echo_n "(cached) " >&6
 4394else
 4395  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 4396   then ac_cv_path_FGREP="$GREP -F"
 4397   else
 4398     if test -z "$FGREP"; then
 4399  ac_path_FGREP_found=false
 4400  # Loop through the user's path and test for each of PROGNAME-LIST
 4401  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4402for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4403do
 4404  IFS=$as_save_IFS
 4405  test -z "$as_dir" && as_dir=.
 4406    for ac_prog in fgrep; do
 4407    for ac_exec_ext in '' $ac_executable_extensions; do
 4408      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 4409      as_fn_executable_p "$ac_path_FGREP" || continue
 4410# Check for GNU ac_path_FGREP and select it if it is found.
 4411  # Check for GNU $ac_path_FGREP
 4412case `"$ac_path_FGREP" --version 2>&1` in
 4413*GNU*)
 4414  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 4415*)
 4416  ac_count=0
 4417  $as_echo_n 0123456789 >"conftest.in"
 4418  while :
 4419  do
 4420    cat "conftest.in" "conftest.in" >"conftest.tmp"
 4421    mv "conftest.tmp" "conftest.in"
 4422    cp "conftest.in" "conftest.nl"
 4423    $as_echo 'FGREP' >> "conftest.nl"
 4424    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4425    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4426    as_fn_arith $ac_count + 1 && ac_count=$as_val
 4427    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 4428      # Best one so far, save it but keep looking for a better one
 4429      ac_cv_path_FGREP="$ac_path_FGREP"
 4430      ac_path_FGREP_max=$ac_count
 4431    fi
 4432    # 10*(2^10) chars as input seems more than enough
 4433    test $ac_count -gt 10 && break
 4434  done
 4435  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4436esac
 4437
 4438      $ac_path_FGREP_found && break 3
 4439    done
 4440  done
 4441  done
 4442IFS=$as_save_IFS
 4443  if test -z "$ac_cv_path_FGREP"; then
 4444    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 4445  fi
 4446else
 4447  ac_cv_path_FGREP=$FGREP
 4448fi
 4449
 4450   fi
 4451fi
 4452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 4453$as_echo "$ac_cv_path_FGREP" >&6; }
 4454 FGREP="$ac_cv_path_FGREP"
 4455
 4456
 4457test -z "$GREP" && GREP=grep
 4458
 4459
 4460
 4461
 4462
 4463
 4464
 4465
 4466
 4467
 4468
 4469
 4470
 4471
 4472
 4473
 4474
 4475ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 4476ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 4477ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 4478
 4479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 4480$as_echo_n "checking how to print strings... " >&6; }
 4481# Test print first, because it will be a builtin if present.
 4482if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 4483   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 4484  ECHO='print -r --'
 4485elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 4486  ECHO='printf %s\n'
 4487else
 4488  # Use this function as a fallback that always works.
 4489  func_fallback_echo ()
 4490  {
 4491    eval 'cat <<_LTECHO_EOF
 4492$1
 4493_LTECHO_EOF'
 4494  }
 4495  ECHO='func_fallback_echo'
 4496fi
 4497
 4498# func_echo_all arg...
 4499# Invoke $ECHO with all args, space-separated.
 4500func_echo_all ()
 4501{
 4502    $ECHO ""
 4503}
 4504
 4505case $ECHO in
 4506  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 4507$as_echo "printf" >&6; } ;;
 4508  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 4509$as_echo "print -r" >&6; } ;;
 4510  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 4511$as_echo "cat" >&6; } ;;
 4512esac
 4513
 4514
 4515
 4516
 4517
 4518
 4519
 4520
 4521
 4522
 4523
 4524
 4525
 4526
 4527
 4528
 4529# Check whether --with-gnu-ld was given.
 4530if test "${with_gnu_ld+set}" = set; then :
 4531  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
 4532else
 4533  with_gnu_ld=no
 4534fi
 4535
 4536ac_prog=ld
 4537if test yes = "$GCC"; then
 4538  # Check if gcc -print-prog-name=ld gives a path.
 4539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 4540$as_echo_n "checking for ld used by $CC... " >&6; }
 4541  case $host in
 4542  *-*-mingw*)
 4543    # gcc leaves a trailing carriage return, which upsets mingw
 4544    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 4545  *)
 4546    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 4547  esac
 4548  case $ac_prog in
 4549    # Accept absolute paths.
 4550    [\\/]* | ?:[\\/]*)
 4551      re_direlt='/[^/][^/]*/\.\./'
 4552      # Canonicalize the pathname of ld
 4553      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 4554      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 4555	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 4556      done
 4557      test -z "$LD" && LD=$ac_prog
 4558      ;;
 4559  "")
 4560    # If it fails, then pretend we aren't using GCC.
 4561    ac_prog=ld
 4562    ;;
 4563  *)
 4564    # If it is relative, then search for the first ld in PATH.
 4565    with_gnu_ld=unknown
 4566    ;;
 4567  esac
 4568elif test yes = "$with_gnu_ld"; then
 4569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 4570$as_echo_n "checking for GNU ld... " >&6; }
 4571else
 4572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 4573$as_echo_n "checking for non-GNU ld... " >&6; }
 4574fi
 4575if ${lt_cv_path_LD+:} false; then :
 4576  $as_echo_n "(cached) " >&6
 4577else
 4578  if test -z "$LD"; then
 4579  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 4580  for ac_dir in $PATH; do
 4581    IFS=$lt_save_ifs
 4582    test -z "$ac_dir" && ac_dir=.
 4583    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 4584      lt_cv_path_LD=$ac_dir/$ac_prog
 4585      # Check to see if the program is GNU ld.  I'd rather use --version,
 4586      # but apparently some variants of GNU ld only accept -v.
 4587      # Break only if it was the GNU/non-GNU ld that we prefer.
 4588      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 4589      *GNU* | *'with BFD'*)
 4590	test no != "$with_gnu_ld" && break
 4591	;;
 4592      *)
 4593	test yes != "$with_gnu_ld" && break
 4594	;;
 4595      esac
 4596    fi
 4597  done
 4598  IFS=$lt_save_ifs
 4599else
 4600  lt_cv_path_LD=$LD # Let the user override the test with a path.
 4601fi
 4602fi
 4603
 4604LD=$lt_cv_path_LD
 4605if test -n "$LD"; then
 4606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 4607$as_echo "$LD" >&6; }
 4608else
 4609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4610$as_echo "no" >&6; }
 4611fi
 4612test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 4613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 4614$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 4615if ${lt_cv_prog_gnu_ld+:} false; then :
 4616  $as_echo_n "(cached) " >&6
 4617else
 4618  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 4619case `$LD -v 2>&1 </dev/null` in
 4620*GNU* | *'with BFD'*)
 4621  lt_cv_prog_gnu_ld=yes
 4622  ;;
 4623*)
 4624  lt_cv_prog_gnu_ld=no
 4625  ;;
 4626esac
 4627fi
 4628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 4629$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 4630with_gnu_ld=$lt_cv_prog_gnu_ld
 4631
 4632
 4633
 4634
 4635
 4636
 4637
 4638
 4639
 4640ac_ext=c
 4641ac_cpp='$CPP $CPPFLAGS'
 4642ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4643ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4644ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 4646$as_echo_n "checking how to run the C preprocessor... " >&6; }
 4647# On Suns, sometimes $CPP names a directory.
 4648if test -n "$CPP" && test -d "$CPP"; then
 4649  CPP=
 4650fi
 4651if test -z "$CPP"; then
 4652  if ${ac_cv_prog_CPP+:} false; then :
 4653  $as_echo_n "(cached) " >&6
 4654else
 4655      # Double quotes because CPP needs to be expanded
 4656    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 4657    do
 4658      ac_preproc_ok=false
 4659for ac_c_preproc_warn_flag in '' yes
 4660do
 4661  # Use a header file that comes with gcc, so configuring glibc
 4662  # with a fresh cross-compiler works.
 4663  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4664  # <limits.h> exists even on freestanding compilers.
 4665  # On the NeXT, cc -E runs the code through the compiler's parser,
 4666  # not just through cpp. "Syntax error" is here to catch this case.
 4667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4668/* end confdefs.h.  */
 4669#ifdef __STDC__
 4670# include <limits.h>
 4671#else
 4672# include <assert.h>
 4673#endif
 4674		     Syntax error
 4675_ACEOF
 4676if ac_fn_c_try_cpp "$LINENO"; then :
 4677
 4678else
 4679  # Broken: fails on valid input.
 4680continue
 4681fi
 4682rm -f conftest.err conftest.i conftest.$ac_ext
 4683
 4684  # OK, works on sane cases.  Now check whether nonexistent headers
 4685  # can be detected and how.
 4686  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4687/* end confdefs.h.  */
 4688#include <ac_nonexistent.h>
 4689_ACEOF
 4690if ac_fn_c_try_cpp "$LINENO"; then :
 4691  # Broken: success on invalid input.
 4692continue
 4693else
 4694  # Passes both tests.
 4695ac_preproc_ok=:
 4696break
 4697fi
 4698rm -f conftest.err conftest.i conftest.$ac_ext
 4699
 4700done
 4701# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4702rm -f conftest.i conftest.err conftest.$ac_ext
 4703if $ac_preproc_ok; then :
 4704  break
 4705fi
 4706
 4707    done
 4708    ac_cv_prog_CPP=$CPP
 4709
 4710fi
 4711  CPP=$ac_cv_prog_CPP
 4712else
 4713  ac_cv_prog_CPP=$CPP
 4714fi
 4715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 4716$as_echo "$CPP" >&6; }
 4717ac_preproc_ok=false
 4718for ac_c_preproc_warn_flag in '' yes
 4719do
 4720  # Use a header file that comes with gcc, so configuring glibc
 4721  # with a fresh cross-compiler works.
 4722  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4723  # <limits.h> exists even on freestanding compilers.
 4724  # On the NeXT, cc -E runs the code through the compiler's parser,
 4725  # not just through cpp. "Syntax error" is here to catch this case.
 4726  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4727/* end confdefs.h.  */
 4728#ifdef __STDC__
 4729# include <limits.h>
 4730#else
 4731# include <assert.h>
 4732#endif
 4733		     Syntax error
 4734_ACEOF
 4735if ac_fn_c_try_cpp "$LINENO"; then :
 4736
 4737else
 4738  # Broken: fails on valid input.
 4739continue
 4740fi
 4741rm -f conftest.err conftest.i conftest.$ac_ext
 4742
 4743  # OK, works on sane cases.  Now check whether nonexistent headers
 4744  # can be detected and how.
 4745  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 4746/* end confdefs.h.  */
 4747#include <ac_nonexistent.h>
 4748_ACEOF
 4749if ac_fn_c_try_cpp "$LINENO"; then :
 4750  # Broken: success on invalid input.
 4751continue
 4752else
 4753  # Passes both tests.
 4754ac_preproc_ok=:
 4755break
 4756fi
 4757rm -f conftest.err conftest.i conftest.$ac_ext
 4758
 4759done
 4760# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 4761rm -f conftest.i conftest.err conftest.$ac_ext
 4762if $ac_preproc_ok; then :
 4763
 4764else
 4765  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 4766$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 4767as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 4768See \`config.log' for more details" "$LINENO" 5; }
 4769fi
 4770
 4771ac_ext=c
 4772ac_cpp='$CPP $CPPFLAGS'
 4773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4775ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4776
 4777for ac_prog in gawk mawk nawk awk
 4778do
 4779  # Extract the first word of "$ac_prog", so it can be a program name with args.
 4780set dummy $ac_prog; ac_word=$2
 4781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4782$as_echo_n "checking for $ac_word... " >&6; }
 4783if ${ac_cv_prog_AWK+:} false; then :
 4784  $as_echo_n "(cached) " >&6
 4785else
 4786  if test -n "$AWK"; then
 4787  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 4788else
 4789as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4790for as_dir in $PATH
 4791do
 4792  IFS=$as_save_IFS
 4793  test -z "$as_dir" && as_dir=.
 4794    for ac_exec_ext in '' $ac_executable_extensions; do
 4795  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4796    ac_cv_prog_AWK="$ac_prog"
 4797    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4798    break 2
 4799  fi
 4800done
 4801  done
 4802IFS=$as_save_IFS
 4803
 4804fi
 4805fi
 4806AWK=$ac_cv_prog_AWK
 4807if test -n "$AWK"; then
 4808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 4809$as_echo "$AWK" >&6; }
 4810else
 4811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4812$as_echo "no" >&6; }
 4813fi
 4814
 4815
 4816  test -n "$AWK" && break
 4817done
 4818
 4819
 4820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 4821$as_echo_n "checking whether ln -s works... " >&6; }
 4822LN_S=$as_ln_s
 4823if test "$LN_S" = "ln -s"; then
 4824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4825$as_echo "yes" >&6; }
 4826else
 4827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 4828$as_echo "no, using $LN_S" >&6; }
 4829fi
 4830
 4831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 4832$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 4833set x ${MAKE-make}
 4834ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 4835if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 4836  $as_echo_n "(cached) " >&6
 4837else
 4838  cat >conftest.make <<\_ACEOF
 4839SHELL = /bin/sh
 4840all:
 4841	@echo '@@@%%%=$(MAKE)=@@@%%%'
 4842_ACEOF
 4843# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 4844case `${MAKE-make} -f conftest.make 2>/dev/null` in
 4845  *@@@%%%=?*=@@@%%%*)
 4846    eval ac_cv_prog_make_${ac_make}_set=yes;;
 4847  *)
 4848    eval ac_cv_prog_make_${ac_make}_set=no;;
 4849esac
 4850rm -f conftest.make
 4851fi
 4852if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 4853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 4854$as_echo "yes" >&6; }
 4855  SET_MAKE=
 4856else
 4857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 4858$as_echo "no" >&6; }
 4859  SET_MAKE="MAKE=${MAKE-make}"
 4860fi
 4861
 4862
 4863case `pwd` in
 4864  *\ * | *\	*)
 4865    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 4866$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 4867esac
 4868
 4869
 4870
 4871macro_version='2.4.6'
 4872macro_revision='2.4.6'
 4873
 4874
 4875
 4876
 4877
 4878
 4879
 4880
 4881
 4882
 4883
 4884
 4885
 4886ltmain=$ac_aux_dir/ltmain.sh
 4887
 4888# Backslashify metacharacters that are still active within
 4889# double-quoted strings.
 4890sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 4891
 4892# Same as above, but do not quote variable references.
 4893double_quote_subst='s/\(["`\\]\)/\\\1/g'
 4894
 4895# Sed substitution to delay expansion of an escaped shell variable in a
 4896# double_quote_subst'ed string.
 4897delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 4898
 4899# Sed substitution to delay expansion of an escaped single quote.
 4900delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 4901
 4902# Sed substitution to avoid accidental globbing in evaled expressions
 4903no_glob_subst='s/\*/\\\*/g'
 4904
 4905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 4906$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 4907if ${lt_cv_path_NM+:} false; then :
 4908  $as_echo_n "(cached) " >&6
 4909else
 4910  if test -n "$NM"; then
 4911  # Let the user override the test.
 4912  lt_cv_path_NM=$NM
 4913else
 4914  lt_nm_to_check=${ac_tool_prefix}nm
 4915  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 4916    lt_nm_to_check="$lt_nm_to_check nm"
 4917  fi
 4918  for lt_tmp_nm in $lt_nm_to_check; do
 4919    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 4920    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 4921      IFS=$lt_save_ifs
 4922      test -z "$ac_dir" && ac_dir=.
 4923      tmp_nm=$ac_dir/$lt_tmp_nm
 4924      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
 4925	# Check to see if the nm accepts a BSD-compat flag.
 4926	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
 4927	#   nm: unknown option "B" ignored
 4928	# Tru64's nm complains that /dev/null is an invalid object file
 4929	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
 4930	case $build_os in
 4931	mingw*) lt_bad_file=conftest.nm/nofile ;;
 4932	*) lt_bad_file=/dev/null ;;
 4933	esac
 4934	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
 4935	*$lt_bad_file* | *'Invalid file or object type'*)
 4936	  lt_cv_path_NM="$tmp_nm -B"
 4937	  break 2
 4938	  ;;
 4939	*)
 4940	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 4941	  */dev/null*)
 4942	    lt_cv_path_NM="$tmp_nm -p"
 4943	    break 2
 4944	    ;;
 4945	  *)
 4946	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 4947	    continue # so that we can try to find one that supports BSD flags
 4948	    ;;
 4949	  esac
 4950	  ;;
 4951	esac
 4952      fi
 4953    done
 4954    IFS=$lt_save_ifs
 4955  done
 4956  : ${lt_cv_path_NM=no}
 4957fi
 4958fi
 4959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 4960$as_echo "$lt_cv_path_NM" >&6; }
 4961if test no != "$lt_cv_path_NM"; then
 4962  NM=$lt_cv_path_NM
 4963else
 4964  # Didn't find any BSD compatible name lister, look for dumpbin.
 4965  if test -n "$DUMPBIN"; then :
 4966    # Let the user override the test.
 4967  else
 4968    if test -n "$ac_tool_prefix"; then
 4969  for ac_prog in dumpbin "link -dump"
 4970  do
 4971    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 4972set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 4973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 4974$as_echo_n "checking for $ac_word... " >&6; }
 4975if ${ac_cv_prog_DUMPBIN+:} false; then :
 4976  $as_echo_n "(cached) " >&6
 4977else
 4978  if test -n "$DUMPBIN"; then
 4979  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 4980else
 4981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4982for as_dir in $PATH
 4983do
 4984  IFS=$as_save_IFS
 4985  test -z "$as_dir" && as_dir=.
 4986    for ac_exec_ext in '' $ac_executable_extensions; do
 4987  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 4988    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 4989    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 4990    break 2
 4991  fi
 4992done
 4993  done
 4994IFS=$as_save_IFS
 4995
 4996fi
 4997fi
 4998DUMPBIN=$ac_cv_prog_DUMPBIN
 4999if test -n "$DUMPBIN"; then
 5000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 5001$as_echo "$DUMPBIN" >&6; }
 5002else
 5003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5004$as_echo "no" >&6; }
 5005fi
 5006
 5007
 5008    test -n "$DUMPBIN" && break
 5009  done
 5010fi
 5011if test -z "$DUMPBIN"; then
 5012  ac_ct_DUMPBIN=$DUMPBIN
 5013  for ac_prog in dumpbin "link -dump"
 5014do
 5015  # Extract the first word of "$ac_prog", so it can be a program name with args.
 5016set dummy $ac_prog; ac_word=$2
 5017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5018$as_echo_n "checking for $ac_word... " >&6; }
 5019if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 5020  $as_echo_n "(cached) " >&6
 5021else
 5022  if test -n "$ac_ct_DUMPBIN"; then
 5023  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 5024else
 5025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5026for as_dir in $PATH
 5027do
 5028  IFS=$as_save_IFS
 5029  test -z "$as_dir" && as_dir=.
 5030    for ac_exec_ext in '' $ac_executable_extensions; do
 5031  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5032    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 5033    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5034    break 2
 5035  fi
 5036done
 5037  done
 5038IFS=$as_save_IFS
 5039
 5040fi
 5041fi
 5042ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 5043if test -n "$ac_ct_DUMPBIN"; then
 5044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 5045$as_echo "$ac_ct_DUMPBIN" >&6; }
 5046else
 5047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5048$as_echo "no" >&6; }
 5049fi
 5050
 5051
 5052  test -n "$ac_ct_DUMPBIN" && break
 5053done
 5054
 5055  if test "x$ac_ct_DUMPBIN" = x; then
 5056    DUMPBIN=":"
 5057  else
 5058    case $cross_compiling:$ac_tool_warned in
 5059yes:)
 5060{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5061$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5062ac_tool_warned=yes ;;
 5063esac
 5064    DUMPBIN=$ac_ct_DUMPBIN
 5065  fi
 5066fi
 5067
 5068    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
 5069    *COFF*)
 5070      DUMPBIN="$DUMPBIN -symbols -headers"
 5071      ;;
 5072    *)
 5073      DUMPBIN=:
 5074      ;;
 5075    esac
 5076  fi
 5077
 5078  if test : != "$DUMPBIN"; then
 5079    NM=$DUMPBIN
 5080  fi
 5081fi
 5082test -z "$NM" && NM=nm
 5083
 5084
 5085
 5086
 5087
 5088
 5089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 5090$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 5091if ${lt_cv_nm_interface+:} false; then :
 5092  $as_echo_n "(cached) " >&6
 5093else
 5094  lt_cv_nm_interface="BSD nm"
 5095  echo "int some_variable = 0;" > conftest.$ac_ext
 5096  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 5097  (eval "$ac_compile" 2>conftest.err)
 5098  cat conftest.err >&5
 5099  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 5100  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 5101  cat conftest.err >&5
 5102  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 5103  cat conftest.out >&5
 5104  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 5105    lt_cv_nm_interface="MS dumpbin"
 5106  fi
 5107  rm -f conftest*
 5108fi
 5109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 5110$as_echo "$lt_cv_nm_interface" >&6; }
 5111
 5112# find the maximum length of command line arguments
 5113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 5114$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 5115if ${lt_cv_sys_max_cmd_len+:} false; then :
 5116  $as_echo_n "(cached) " >&6
 5117else
 5118    i=0
 5119  teststring=ABCD
 5120
 5121  case $build_os in
 5122  msdosdjgpp*)
 5123    # On DJGPP, this test can blow up pretty badly due to problems in libc
 5124    # (any single argument exceeding 2000 bytes causes a buffer overrun
 5125    # during glob expansion).  Even if it were fixed, the result of this
 5126    # check would be larger than it should be.
 5127    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 5128    ;;
 5129
 5130  gnu*)
 5131    # Under GNU Hurd, this test is not required because there is
 5132    # no limit to the length of command line arguments.
 5133    # Libtool will interpret -1 as no limit whatsoever
 5134    lt_cv_sys_max_cmd_len=-1;
 5135    ;;
 5136
 5137  cygwin* | mingw* | cegcc*)
 5138    # On Win9x/ME, this test blows up -- it succeeds, but takes
 5139    # about 5 minutes as the teststring grows exponentially.
 5140    # Worse, since 9x/ME are not pre-emptively multitasking,
 5141    # you end up with a "frozen" computer, even though with patience
 5142    # the test eventually succeeds (with a max line length of 256k).
 5143    # Instead, let's just punt: use the minimum linelength reported by
 5144    # all of the supported platforms: 8192 (on NT/2K/XP).
 5145    lt_cv_sys_max_cmd_len=8192;
 5146    ;;
 5147
 5148  mint*)
 5149    # On MiNT this can take a long time and run out of memory.
 5150    lt_cv_sys_max_cmd_len=8192;
 5151    ;;
 5152
 5153  amigaos*)
 5154    # On AmigaOS with pdksh, this test takes hours, literally.
 5155    # So we just punt and use a minimum line length of 8192.
 5156    lt_cv_sys_max_cmd_len=8192;
 5157    ;;
 5158
 5159  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
 5160    # This has been around since 386BSD, at least.  Likely further.
 5161    if test -x /sbin/sysctl; then
 5162      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 5163    elif test -x /usr/sbin/sysctl; then
 5164      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 5165    else
 5166      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 5167    fi
 5168    # And add a safety zone
 5169    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 5170    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 5171    ;;
 5172
 5173  interix*)
 5174    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 5175    lt_cv_sys_max_cmd_len=196608
 5176    ;;
 5177
 5178  os2*)
 5179    # The test takes a long time on OS/2.
 5180    lt_cv_sys_max_cmd_len=8192
 5181    ;;
 5182
 5183  osf*)
 5184    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 5185    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 5186    # nice to cause kernel panics so lets avoid the loop below.
 5187    # First set a reasonable default.
 5188    lt_cv_sys_max_cmd_len=16384
 5189    #
 5190    if test -x /sbin/sysconfig; then
 5191      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 5192        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 5193      esac
 5194    fi
 5195    ;;
 5196  sco3.2v5*)
 5197    lt_cv_sys_max_cmd_len=102400
 5198    ;;
 5199  sysv5* | sco5v6* | sysv4.2uw2*)
 5200    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 5201    if test -n "$kargmax"; then
 5202      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
 5203    else
 5204      lt_cv_sys_max_cmd_len=32768
 5205    fi
 5206    ;;
 5207  *)
 5208    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 5209    if test -n "$lt_cv_sys_max_cmd_len" && \
 5210       test undefined != "$lt_cv_sys_max_cmd_len"; then
 5211      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 5212      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 5213    else
 5214      # Make teststring a little bigger before we do anything with it.
 5215      # a 1K string should be a reasonable start.
 5216      for i in 1 2 3 4 5 6 7 8; do
 5217        teststring=$teststring$teststring
 5218      done
 5219      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 5220      # If test is not a shell built-in, we'll probably end up computing a
 5221      # maximum length that is only half of the actual maximum length, but
 5222      # we can't tell.
 5223      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
 5224	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 5225	      test 17 != "$i" # 1/2 MB should be enough
 5226      do
 5227        i=`expr $i + 1`
 5228        teststring=$teststring$teststring
 5229      done
 5230      # Only check the string length outside the loop.
 5231      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 5232      teststring=
 5233      # Add a significant safety factor because C++ compilers can tack on
 5234      # massive amounts of additional arguments before passing them to the
 5235      # linker.  It appears as though 1/2 is a usable value.
 5236      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 5237    fi
 5238    ;;
 5239  esac
 5240
 5241fi
 5242
 5243if test -n "$lt_cv_sys_max_cmd_len"; then
 5244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 5245$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 5246else
 5247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 5248$as_echo "none" >&6; }
 5249fi
 5250max_cmd_len=$lt_cv_sys_max_cmd_len
 5251
 5252
 5253
 5254
 5255
 5256
 5257: ${CP="cp -f"}
 5258: ${MV="mv -f"}
 5259: ${RM="rm -f"}
 5260
 5261if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 5262  lt_unset=unset
 5263else
 5264  lt_unset=false
 5265fi
 5266
 5267
 5268
 5269
 5270
 5271# test EBCDIC or ASCII
 5272case `echo X|tr X '\101'` in
 5273 A) # ASCII based system
 5274    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 5275  lt_SP2NL='tr \040 \012'
 5276  lt_NL2SP='tr \015\012 \040\040'
 5277  ;;
 5278 *) # EBCDIC based system
 5279  lt_SP2NL='tr \100 \n'
 5280  lt_NL2SP='tr \r\n \100\100'
 5281  ;;
 5282esac
 5283
 5284
 5285
 5286
 5287
 5288
 5289
 5290
 5291
 5292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 5293$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 5294if ${lt_cv_to_host_file_cmd+:} false; then :
 5295  $as_echo_n "(cached) " >&6
 5296else
 5297  case $host in
 5298  *-*-mingw* )
 5299    case $build in
 5300      *-*-mingw* ) # actually msys
 5301        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 5302        ;;
 5303      *-*-cygwin* )
 5304        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 5305        ;;
 5306      * ) # otherwise, assume *nix
 5307        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 5308        ;;
 5309    esac
 5310    ;;
 5311  *-*-cygwin* )
 5312    case $build in
 5313      *-*-mingw* ) # actually msys
 5314        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 5315        ;;
 5316      *-*-cygwin* )
 5317        lt_cv_to_host_file_cmd=func_convert_file_noop
 5318        ;;
 5319      * ) # otherwise, assume *nix
 5320        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 5321        ;;
 5322    esac
 5323    ;;
 5324  * ) # unhandled hosts (and "normal" native builds)
 5325    lt_cv_to_host_file_cmd=func_convert_file_noop
 5326    ;;
 5327esac
 5328
 5329fi
 5330
 5331to_host_file_cmd=$lt_cv_to_host_file_cmd
 5332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 5333$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 5334
 5335
 5336
 5337
 5338
 5339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 5340$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 5341if ${lt_cv_to_tool_file_cmd+:} false; then :
 5342  $as_echo_n "(cached) " >&6
 5343else
 5344  #assume ordinary cross tools, or native build.
 5345lt_cv_to_tool_file_cmd=func_convert_file_noop
 5346case $host in
 5347  *-*-mingw* )
 5348    case $build in
 5349      *-*-mingw* ) # actually msys
 5350        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 5351        ;;
 5352    esac
 5353    ;;
 5354esac
 5355
 5356fi
 5357
 5358to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 5359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 5360$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 5361
 5362
 5363
 5364
 5365
 5366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 5367$as_echo_n "checking for $LD option to reload object files... " >&6; }
 5368if ${lt_cv_ld_reload_flag+:} false; then :
 5369  $as_echo_n "(cached) " >&6
 5370else
 5371  lt_cv_ld_reload_flag='-r'
 5372fi
 5373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 5374$as_echo "$lt_cv_ld_reload_flag" >&6; }
 5375reload_flag=$lt_cv_ld_reload_flag
 5376case $reload_flag in
 5377"" | " "*) ;;
 5378*) reload_flag=" $reload_flag" ;;
 5379esac
 5380reload_cmds='$LD$reload_flag -o $output$reload_objs'
 5381case $host_os in
 5382  cygwin* | mingw* | pw32* | cegcc*)
 5383    if test yes != "$GCC"; then
 5384      reload_cmds=false
 5385    fi
 5386    ;;
 5387  darwin*)
 5388    if test yes = "$GCC"; then
 5389      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
 5390    else
 5391      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 5392    fi
 5393    ;;
 5394esac
 5395
 5396
 5397
 5398
 5399
 5400
 5401
 5402
 5403
 5404if test -n "$ac_tool_prefix"; then
 5405  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 5406set dummy ${ac_tool_prefix}objdump; ac_word=$2
 5407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5408$as_echo_n "checking for $ac_word... " >&6; }
 5409if ${ac_cv_prog_OBJDUMP+:} false; then :
 5410  $as_echo_n "(cached) " >&6
 5411else
 5412  if test -n "$OBJDUMP"; then
 5413  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 5414else
 5415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5416for as_dir in $PATH
 5417do
 5418  IFS=$as_save_IFS
 5419  test -z "$as_dir" && as_dir=.
 5420    for ac_exec_ext in '' $ac_executable_extensions; do
 5421  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5422    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 5423    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5424    break 2
 5425  fi
 5426done
 5427  done
 5428IFS=$as_save_IFS
 5429
 5430fi
 5431fi
 5432OBJDUMP=$ac_cv_prog_OBJDUMP
 5433if test -n "$OBJDUMP"; then
 5434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 5435$as_echo "$OBJDUMP" >&6; }
 5436else
 5437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5438$as_echo "no" >&6; }
 5439fi
 5440
 5441
 5442fi
 5443if test -z "$ac_cv_prog_OBJDUMP"; then
 5444  ac_ct_OBJDUMP=$OBJDUMP
 5445  # Extract the first word of "objdump", so it can be a program name with args.
 5446set dummy objdump; ac_word=$2
 5447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5448$as_echo_n "checking for $ac_word... " >&6; }
 5449if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 5450  $as_echo_n "(cached) " >&6
 5451else
 5452  if test -n "$ac_ct_OBJDUMP"; then
 5453  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 5454else
 5455as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5456for as_dir in $PATH
 5457do
 5458  IFS=$as_save_IFS
 5459  test -z "$as_dir" && as_dir=.
 5460    for ac_exec_ext in '' $ac_executable_extensions; do
 5461  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5462    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 5463    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5464    break 2
 5465  fi
 5466done
 5467  done
 5468IFS=$as_save_IFS
 5469
 5470fi
 5471fi
 5472ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 5473if test -n "$ac_ct_OBJDUMP"; then
 5474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 5475$as_echo "$ac_ct_OBJDUMP" >&6; }
 5476else
 5477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5478$as_echo "no" >&6; }
 5479fi
 5480
 5481  if test "x$ac_ct_OBJDUMP" = x; then
 5482    OBJDUMP="false"
 5483  else
 5484    case $cross_compiling:$ac_tool_warned in
 5485yes:)
 5486{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5487$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5488ac_tool_warned=yes ;;
 5489esac
 5490    OBJDUMP=$ac_ct_OBJDUMP
 5491  fi
 5492else
 5493  OBJDUMP="$ac_cv_prog_OBJDUMP"
 5494fi
 5495
 5496test -z "$OBJDUMP" && OBJDUMP=objdump
 5497
 5498
 5499
 5500
 5501
 5502
 5503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 5504$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 5505if ${lt_cv_deplibs_check_method+:} false; then :
 5506  $as_echo_n "(cached) " >&6
 5507else
 5508  lt_cv_file_magic_cmd='$MAGIC_CMD'
 5509lt_cv_file_magic_test_file=
 5510lt_cv_deplibs_check_method='unknown'
 5511# Need to set the preceding variable on all platforms that support
 5512# interlibrary dependencies.
 5513# 'none' -- dependencies not supported.
 5514# 'unknown' -- same as none, but documents that we really don't know.
 5515# 'pass_all' -- all dependencies passed with no checks.
 5516# 'test_compile' -- check by making test program.
 5517# 'file_magic [[regex]]' -- check by looking for files in library path
 5518# that responds to the $file_magic_cmd with a given extended regex.
 5519# If you have 'file' or equivalent on your system and you're not sure
 5520# whether 'pass_all' will *always* work, you probably want this one.
 5521
 5522case $host_os in
 5523aix[4-9]*)
 5524  lt_cv_deplibs_check_method=pass_all
 5525  ;;
 5526
 5527beos*)
 5528  lt_cv_deplibs_check_method=pass_all
 5529  ;;
 5530
 5531bsdi[45]*)
 5532  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 5533  lt_cv_file_magic_cmd='/usr/bin/file -L'
 5534  lt_cv_file_magic_test_file=/shlib/libc.so
 5535  ;;
 5536
 5537cygwin*)
 5538  # func_win32_libid is a shell function defined in ltmain.sh
 5539  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 5540  lt_cv_file_magic_cmd='func_win32_libid'
 5541  ;;
 5542
 5543mingw* | pw32*)
 5544  # Base MSYS/MinGW do not provide the 'file' command needed by
 5545  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 5546  # unless we find 'file', for example because we are cross-compiling.
 5547  if ( file / ) >/dev/null 2>&1; then
 5548    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 5549    lt_cv_file_magic_cmd='func_win32_libid'
 5550  else
 5551    # Keep this pattern in sync with the one in func_win32_libid.
 5552    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 5553    lt_cv_file_magic_cmd='$OBJDUMP -f'
 5554  fi
 5555  ;;
 5556
 5557cegcc*)
 5558  # use the weaker test based on 'objdump'. See mingw*.
 5559  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 5560  lt_cv_file_magic_cmd='$OBJDUMP -f'
 5561  ;;
 5562
 5563darwin* | rhapsody*)
 5564  lt_cv_deplibs_check_method=pass_all
 5565  ;;
 5566
 5567freebsd* | dragonfly*)
 5568  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 5569    case $host_cpu in
 5570    i*86 )
 5571      # Not sure whether the presence of OpenBSD here was a mistake.
 5572      # Let's accept both of them until this is cleared up.
 5573      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 5574      lt_cv_file_magic_cmd=/usr/bin/file
 5575      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 5576      ;;
 5577    esac
 5578  else
 5579    lt_cv_deplibs_check_method=pass_all
 5580  fi
 5581  ;;
 5582
 5583haiku*)
 5584  lt_cv_deplibs_check_method=pass_all
 5585  ;;
 5586
 5587hpux10.20* | hpux11*)
 5588  lt_cv_file_magic_cmd=/usr/bin/file
 5589  case $host_cpu in
 5590  ia64*)
 5591    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 5592    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 5593    ;;
 5594  hppa*64*)
 5595    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]'
 5596    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 5597    ;;
 5598  *)
 5599    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 5600    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 5601    ;;
 5602  esac
 5603  ;;
 5604
 5605interix[3-9]*)
 5606  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 5607  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 5608  ;;
 5609
 5610irix5* | irix6* | nonstopux*)
 5611  case $LD in
 5612  *-32|*"-32 ") libmagic=32-bit;;
 5613  *-n32|*"-n32 ") libmagic=N32;;
 5614  *-64|*"-64 ") libmagic=64-bit;;
 5615  *) libmagic=never-match;;
 5616  esac
 5617  lt_cv_deplibs_check_method=pass_all
 5618  ;;
 5619
 5620# This must be glibc/ELF.
 5621linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 5622  lt_cv_deplibs_check_method=pass_all
 5623  ;;
 5624
 5625netbsd*)
 5626  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 5627    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 5628  else
 5629    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 5630  fi
 5631  ;;
 5632
 5633newos6*)
 5634  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 5635  lt_cv_file_magic_cmd=/usr/bin/file
 5636  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 5637  ;;
 5638
 5639*nto* | *qnx*)
 5640  lt_cv_deplibs_check_method=pass_all
 5641  ;;
 5642
 5643openbsd* | bitrig*)
 5644  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
 5645    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 5646  else
 5647    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 5648  fi
 5649  ;;
 5650
 5651osf3* | osf4* | osf5*)
 5652  lt_cv_deplibs_check_method=pass_all
 5653  ;;
 5654
 5655rdos*)
 5656  lt_cv_deplibs_check_method=pass_all
 5657  ;;
 5658
 5659solaris*)
 5660  lt_cv_deplibs_check_method=pass_all
 5661  ;;
 5662
 5663sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 5664  lt_cv_deplibs_check_method=pass_all
 5665  ;;
 5666
 5667sysv4 | sysv4.3*)
 5668  case $host_vendor in
 5669  motorola)
 5670    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]'
 5671    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 5672    ;;
 5673  ncr)
 5674    lt_cv_deplibs_check_method=pass_all
 5675    ;;
 5676  sequent)
 5677    lt_cv_file_magic_cmd='/bin/file'
 5678    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 5679    ;;
 5680  sni)
 5681    lt_cv_file_magic_cmd='/bin/file'
 5682    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 5683    lt_cv_file_magic_test_file=/lib/libc.so
 5684    ;;
 5685  siemens)
 5686    lt_cv_deplibs_check_method=pass_all
 5687    ;;
 5688  pc)
 5689    lt_cv_deplibs_check_method=pass_all
 5690    ;;
 5691  esac
 5692  ;;
 5693
 5694tpf*)
 5695  lt_cv_deplibs_check_method=pass_all
 5696  ;;
 5697os2*)
 5698  lt_cv_deplibs_check_method=pass_all
 5699  ;;
 5700esac
 5701
 5702fi
 5703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 5704$as_echo "$lt_cv_deplibs_check_method" >&6; }
 5705
 5706file_magic_glob=
 5707want_nocaseglob=no
 5708if test "$build" = "$host"; then
 5709  case $host_os in
 5710  mingw* | pw32*)
 5711    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 5712      want_nocaseglob=yes
 5713    else
 5714      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 5715    fi
 5716    ;;
 5717  esac
 5718fi
 5719
 5720file_magic_cmd=$lt_cv_file_magic_cmd
 5721deplibs_check_method=$lt_cv_deplibs_check_method
 5722test -z "$deplibs_check_method" && deplibs_check_method=unknown
 5723
 5724
 5725
 5726
 5727
 5728
 5729
 5730
 5731
 5732
 5733
 5734
 5735
 5736
 5737
 5738
 5739
 5740
 5741
 5742
 5743
 5744
 5745if test -n "$ac_tool_prefix"; then
 5746  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 5747set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 5748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5749$as_echo_n "checking for $ac_word... " >&6; }
 5750if ${ac_cv_prog_DLLTOOL+:} false; then :
 5751  $as_echo_n "(cached) " >&6
 5752else
 5753  if test -n "$DLLTOOL"; then
 5754  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 5755else
 5756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5757for as_dir in $PATH
 5758do
 5759  IFS=$as_save_IFS
 5760  test -z "$as_dir" && as_dir=.
 5761    for ac_exec_ext in '' $ac_executable_extensions; do
 5762  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5763    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 5764    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5765    break 2
 5766  fi
 5767done
 5768  done
 5769IFS=$as_save_IFS
 5770
 5771fi
 5772fi
 5773DLLTOOL=$ac_cv_prog_DLLTOOL
 5774if test -n "$DLLTOOL"; then
 5775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 5776$as_echo "$DLLTOOL" >&6; }
 5777else
 5778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5779$as_echo "no" >&6; }
 5780fi
 5781
 5782
 5783fi
 5784if test -z "$ac_cv_prog_DLLTOOL"; then
 5785  ac_ct_DLLTOOL=$DLLTOOL
 5786  # Extract the first word of "dlltool", so it can be a program name with args.
 5787set dummy dlltool; ac_word=$2
 5788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5789$as_echo_n "checking for $ac_word... " >&6; }
 5790if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 5791  $as_echo_n "(cached) " >&6
 5792else
 5793  if test -n "$ac_ct_DLLTOOL"; then
 5794  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 5795else
 5796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5797for as_dir in $PATH
 5798do
 5799  IFS=$as_save_IFS
 5800  test -z "$as_dir" && as_dir=.
 5801    for ac_exec_ext in '' $ac_executable_extensions; do
 5802  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5803    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 5804    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5805    break 2
 5806  fi
 5807done
 5808  done
 5809IFS=$as_save_IFS
 5810
 5811fi
 5812fi
 5813ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 5814if test -n "$ac_ct_DLLTOOL"; then
 5815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 5816$as_echo "$ac_ct_DLLTOOL" >&6; }
 5817else
 5818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5819$as_echo "no" >&6; }
 5820fi
 5821
 5822  if test "x$ac_ct_DLLTOOL" = x; then
 5823    DLLTOOL="false"
 5824  else
 5825    case $cross_compiling:$ac_tool_warned in
 5826yes:)
 5827{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5828$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5829ac_tool_warned=yes ;;
 5830esac
 5831    DLLTOOL=$ac_ct_DLLTOOL
 5832  fi
 5833else
 5834  DLLTOOL="$ac_cv_prog_DLLTOOL"
 5835fi
 5836
 5837test -z "$DLLTOOL" && DLLTOOL=dlltool
 5838
 5839
 5840
 5841
 5842
 5843
 5844
 5845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 5846$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 5847if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 5848  $as_echo_n "(cached) " >&6
 5849else
 5850  lt_cv_sharedlib_from_linklib_cmd='unknown'
 5851
 5852case $host_os in
 5853cygwin* | mingw* | pw32* | cegcc*)
 5854  # two different shell functions defined in ltmain.sh;
 5855  # decide which one to use based on capabilities of $DLLTOOL
 5856  case `$DLLTOOL --help 2>&1` in
 5857  *--identify-strict*)
 5858    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 5859    ;;
 5860  *)
 5861    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 5862    ;;
 5863  esac
 5864  ;;
 5865*)
 5866  # fallback: assume linklib IS sharedlib
 5867  lt_cv_sharedlib_from_linklib_cmd=$ECHO
 5868  ;;
 5869esac
 5870
 5871fi
 5872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 5873$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 5874sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 5875test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 5876
 5877
 5878
 5879
 5880
 5881
 5882
 5883
 5884if test -n "$ac_tool_prefix"; then
 5885  for ac_prog in ar
 5886  do
 5887    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 5888set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 5889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5890$as_echo_n "checking for $ac_word... " >&6; }
 5891if ${ac_cv_prog_AR+:} false; then :
 5892  $as_echo_n "(cached) " >&6
 5893else
 5894  if test -n "$AR"; then
 5895  ac_cv_prog_AR="$AR" # Let the user override the test.
 5896else
 5897as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5898for as_dir in $PATH
 5899do
 5900  IFS=$as_save_IFS
 5901  test -z "$as_dir" && as_dir=.
 5902    for ac_exec_ext in '' $ac_executable_extensions; do
 5903  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5904    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 5905    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5906    break 2
 5907  fi
 5908done
 5909  done
 5910IFS=$as_save_IFS
 5911
 5912fi
 5913fi
 5914AR=$ac_cv_prog_AR
 5915if test -n "$AR"; then
 5916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 5917$as_echo "$AR" >&6; }
 5918else
 5919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5920$as_echo "no" >&6; }
 5921fi
 5922
 5923
 5924    test -n "$AR" && break
 5925  done
 5926fi
 5927if test -z "$AR"; then
 5928  ac_ct_AR=$AR
 5929  for ac_prog in ar
 5930do
 5931  # Extract the first word of "$ac_prog", so it can be a program name with args.
 5932set dummy $ac_prog; ac_word=$2
 5933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 5934$as_echo_n "checking for $ac_word... " >&6; }
 5935if ${ac_cv_prog_ac_ct_AR+:} false; then :
 5936  $as_echo_n "(cached) " >&6
 5937else
 5938  if test -n "$ac_ct_AR"; then
 5939  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 5940else
 5941as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 5942for as_dir in $PATH
 5943do
 5944  IFS=$as_save_IFS
 5945  test -z "$as_dir" && as_dir=.
 5946    for ac_exec_ext in '' $ac_executable_extensions; do
 5947  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 5948    ac_cv_prog_ac_ct_AR="$ac_prog"
 5949    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 5950    break 2
 5951  fi
 5952done
 5953  done
 5954IFS=$as_save_IFS
 5955
 5956fi
 5957fi
 5958ac_ct_AR=$ac_cv_prog_ac_ct_AR
 5959if test -n "$ac_ct_AR"; then
 5960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 5961$as_echo "$ac_ct_AR" >&6; }
 5962else
 5963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 5964$as_echo "no" >&6; }
 5965fi
 5966
 5967
 5968  test -n "$ac_ct_AR" && break
 5969done
 5970
 5971  if test "x$ac_ct_AR" = x; then
 5972    AR="false"
 5973  else
 5974    case $cross_compiling:$ac_tool_warned in
 5975yes:)
 5976{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 5977$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 5978ac_tool_warned=yes ;;
 5979esac
 5980    AR=$ac_ct_AR
 5981  fi
 5982fi
 5983
 5984: ${AR=ar}
 5985: ${AR_FLAGS=cru}
 5986
 5987
 5988
 5989
 5990
 5991
 5992
 5993
 5994
 5995
 5996
 5997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 5998$as_echo_n "checking for archiver @FILE support... " >&6; }
 5999if ${lt_cv_ar_at_file+:} false; then :
 6000  $as_echo_n "(cached) " >&6
 6001else
 6002  lt_cv_ar_at_file=no
 6003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6004/* end confdefs.h.  */
 6005
 6006int
 6007main ()
 6008{
 6009
 6010  ;
 6011  return 0;
 6012}
 6013_ACEOF
 6014if ac_fn_c_try_compile "$LINENO"; then :
 6015  echo conftest.$ac_objext > conftest.lst
 6016      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 6017      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 6018  (eval $lt_ar_try) 2>&5
 6019  ac_status=$?
 6020  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6021  test $ac_status = 0; }
 6022      if test 0 -eq "$ac_status"; then
 6023	# Ensure the archiver fails upon bogus file names.
 6024	rm -f conftest.$ac_objext libconftest.a
 6025	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 6026  (eval $lt_ar_try) 2>&5
 6027  ac_status=$?
 6028  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6029  test $ac_status = 0; }
 6030	if test 0 -ne "$ac_status"; then
 6031          lt_cv_ar_at_file=@
 6032        fi
 6033      fi
 6034      rm -f conftest.* libconftest.a
 6035
 6036fi
 6037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 6038
 6039fi
 6040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 6041$as_echo "$lt_cv_ar_at_file" >&6; }
 6042
 6043if test no = "$lt_cv_ar_at_file"; then
 6044  archiver_list_spec=
 6045else
 6046  archiver_list_spec=$lt_cv_ar_at_file
 6047fi
 6048
 6049
 6050
 6051
 6052
 6053
 6054
 6055if test -n "$ac_tool_prefix"; then
 6056  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 6057set dummy ${ac_tool_prefix}strip; ac_word=$2
 6058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6059$as_echo_n "checking for $ac_word... " >&6; }
 6060if ${ac_cv_prog_STRIP+:} false; then :
 6061  $as_echo_n "(cached) " >&6
 6062else
 6063  if test -n "$STRIP"; then
 6064  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 6065else
 6066as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6067for as_dir in $PATH
 6068do
 6069  IFS=$as_save_IFS
 6070  test -z "$as_dir" && as_dir=.
 6071    for ac_exec_ext in '' $ac_executable_extensions; do
 6072  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6073    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 6074    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6075    break 2
 6076  fi
 6077done
 6078  done
 6079IFS=$as_save_IFS
 6080
 6081fi
 6082fi
 6083STRIP=$ac_cv_prog_STRIP
 6084if test -n "$STRIP"; then
 6085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 6086$as_echo "$STRIP" >&6; }
 6087else
 6088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6089$as_echo "no" >&6; }
 6090fi
 6091
 6092
 6093fi
 6094if test -z "$ac_cv_prog_STRIP"; then
 6095  ac_ct_STRIP=$STRIP
 6096  # Extract the first word of "strip", so it can be a program name with args.
 6097set dummy strip; ac_word=$2
 6098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6099$as_echo_n "checking for $ac_word... " >&6; }
 6100if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 6101  $as_echo_n "(cached) " >&6
 6102else
 6103  if test -n "$ac_ct_STRIP"; then
 6104  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 6105else
 6106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6107for as_dir in $PATH
 6108do
 6109  IFS=$as_save_IFS
 6110  test -z "$as_dir" && as_dir=.
 6111    for ac_exec_ext in '' $ac_executable_extensions; do
 6112  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6113    ac_cv_prog_ac_ct_STRIP="strip"
 6114    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6115    break 2
 6116  fi
 6117done
 6118  done
 6119IFS=$as_save_IFS
 6120
 6121fi
 6122fi
 6123ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 6124if test -n "$ac_ct_STRIP"; then
 6125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 6126$as_echo "$ac_ct_STRIP" >&6; }
 6127else
 6128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6129$as_echo "no" >&6; }
 6130fi
 6131
 6132  if test "x$ac_ct_STRIP" = x; then
 6133    STRIP=":"
 6134  else
 6135    case $cross_compiling:$ac_tool_warned in
 6136yes:)
 6137{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6138$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6139ac_tool_warned=yes ;;
 6140esac
 6141    STRIP=$ac_ct_STRIP
 6142  fi
 6143else
 6144  STRIP="$ac_cv_prog_STRIP"
 6145fi
 6146
 6147test -z "$STRIP" && STRIP=:
 6148
 6149
 6150
 6151
 6152
 6153
 6154if test -n "$ac_tool_prefix"; then
 6155  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 6156set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 6157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6158$as_echo_n "checking for $ac_word... " >&6; }
 6159if ${ac_cv_prog_RANLIB+:} false; then :
 6160  $as_echo_n "(cached) " >&6
 6161else
 6162  if test -n "$RANLIB"; then
 6163  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 6164else
 6165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6166for as_dir in $PATH
 6167do
 6168  IFS=$as_save_IFS
 6169  test -z "$as_dir" && as_dir=.
 6170    for ac_exec_ext in '' $ac_executable_extensions; do
 6171  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6172    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 6173    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6174    break 2
 6175  fi
 6176done
 6177  done
 6178IFS=$as_save_IFS
 6179
 6180fi
 6181fi
 6182RANLIB=$ac_cv_prog_RANLIB
 6183if test -n "$RANLIB"; then
 6184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 6185$as_echo "$RANLIB" >&6; }
 6186else
 6187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6188$as_echo "no" >&6; }
 6189fi
 6190
 6191
 6192fi
 6193if test -z "$ac_cv_prog_RANLIB"; then
 6194  ac_ct_RANLIB=$RANLIB
 6195  # Extract the first word of "ranlib", so it can be a program name with args.
 6196set dummy ranlib; ac_word=$2
 6197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 6198$as_echo_n "checking for $ac_word... " >&6; }
 6199if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 6200  $as_echo_n "(cached) " >&6
 6201else
 6202  if test -n "$ac_ct_RANLIB"; then
 6203  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 6204else
 6205as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6206for as_dir in $PATH
 6207do
 6208  IFS=$as_save_IFS
 6209  test -z "$as_dir" && as_dir=.
 6210    for ac_exec_ext in '' $ac_executable_extensions; do
 6211  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 6212    ac_cv_prog_ac_ct_RANLIB="ranlib"
 6213    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 6214    break 2
 6215  fi
 6216done
 6217  done
 6218IFS=$as_save_IFS
 6219
 6220fi
 6221fi
 6222ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 6223if test -n "$ac_ct_RANLIB"; then
 6224  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 6225$as_echo "$ac_ct_RANLIB" >&6; }
 6226else
 6227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 6228$as_echo "no" >&6; }
 6229fi
 6230
 6231  if test "x$ac_ct_RANLIB" = x; then
 6232    RANLIB=":"
 6233  else
 6234    case $cross_compiling:$ac_tool_warned in
 6235yes:)
 6236{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 6237$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 6238ac_tool_warned=yes ;;
 6239esac
 6240    RANLIB=$ac_ct_RANLIB
 6241  fi
 6242else
 6243  RANLIB="$ac_cv_prog_RANLIB"
 6244fi
 6245
 6246test -z "$RANLIB" && RANLIB=:
 6247
 6248
 6249
 6250
 6251
 6252
 6253# Determine commands to create old-style static archives.
 6254old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 6255old_postinstall_cmds='chmod 644 $oldlib'
 6256old_postuninstall_cmds=
 6257
 6258if test -n "$RANLIB"; then
 6259  case $host_os in
 6260  bitrig* | openbsd*)
 6261    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 6262    ;;
 6263  *)
 6264    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 6265    ;;
 6266  esac
 6267  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 6268fi
 6269
 6270case $host_os in
 6271  darwin*)
 6272    lock_old_archive_extraction=yes ;;
 6273  *)
 6274    lock_old_archive_extraction=no ;;
 6275esac
 6276
 6277
 6278
 6279
 6280
 6281
 6282
 6283
 6284
 6285
 6286
 6287
 6288
 6289
 6290
 6291
 6292
 6293
 6294
 6295
 6296
 6297
 6298
 6299
 6300
 6301
 6302
 6303
 6304
 6305
 6306
 6307
 6308
 6309
 6310
 6311
 6312
 6313
 6314
 6315# If no C compiler was specified, use CC.
 6316LTCC=${LTCC-"$CC"}
 6317
 6318# If no C compiler flags were specified, use CFLAGS.
 6319LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 6320
 6321# Allow CC to be a program name with arguments.
 6322compiler=$CC
 6323
 6324
 6325# Check for command to grab the raw symbol name followed by C symbol from nm.
 6326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 6327$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 6328if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 6329  $as_echo_n "(cached) " >&6
 6330else
 6331
 6332# These are sane defaults that work on at least a few old systems.
 6333# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 6334
 6335# Character class describing NM global symbol codes.
 6336symcode='[BCDEGRST]'
 6337
 6338# Regexp to match symbols that can be accessed directly from C.
 6339sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 6340
 6341# Define system-specific variables.
 6342case $host_os in
 6343aix*)
 6344  symcode='[BCDT]'
 6345  ;;
 6346cygwin* | mingw* | pw32* | cegcc*)
 6347  symcode='[ABCDGISTW]'
 6348  ;;
 6349hpux*)
 6350  if test ia64 = "$host_cpu"; then
 6351    symcode='[ABCDEGRST]'
 6352  fi
 6353  ;;
 6354irix* | nonstopux*)
 6355  symcode='[BCDEGRST]'
 6356  ;;
 6357osf*)
 6358  symcode='[BCDEGQRST]'
 6359  ;;
 6360solaris*)
 6361  symcode='[BDRT]'
 6362  ;;
 6363sco3.2v5*)
 6364  symcode='[DT]'
 6365  ;;
 6366sysv4.2uw2*)
 6367  symcode='[DT]'
 6368  ;;
 6369sysv5* | sco5v6* | unixware* | OpenUNIX*)
 6370  symcode='[ABDT]'
 6371  ;;
 6372sysv4)
 6373  symcode='[DFNSTU]'
 6374  ;;
 6375esac
 6376
 6377# If we're using GNU nm, then use its standard symbol codes.
 6378case `$NM -V 2>&1` in
 6379*GNU* | *'with BFD'*)
 6380  symcode='[ABCDGIRSTW]' ;;
 6381esac
 6382
 6383if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 6384  # Gets list of data symbols to import.
 6385  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
 6386  # Adjust the below global symbol transforms to fixup imported variables.
 6387  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
 6388  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
 6389  lt_c_name_lib_hook="\
 6390  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
 6391  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
 6392else
 6393  # Disable hooks by default.
 6394  lt_cv_sys_global_symbol_to_import=
 6395  lt_cdecl_hook=
 6396  lt_c_name_hook=
 6397  lt_c_name_lib_hook=
 6398fi
 6399
 6400# Transform an extracted symbol line into a proper C declaration.
 6401# Some systems (esp. on ia64) link data and code symbols differently,
 6402# so use this general approach.
 6403lt_cv_sys_global_symbol_to_cdecl="sed -n"\
 6404$lt_cdecl_hook\
 6405" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
 6406" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
 6407
 6408# Transform an extracted symbol line into symbol name and symbol address
 6409lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
 6410$lt_c_name_hook\
 6411" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
 6412" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
 6413
 6414# Transform an extracted symbol line into symbol name with lib prefix and
 6415# symbol address.
 6416lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
 6417$lt_c_name_lib_hook\
 6418" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
 6419" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
 6420" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
 6421
 6422# Handle CRLF in mingw tool chain
 6423opt_cr=
 6424case $build_os in
 6425mingw*)
 6426  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 6427  ;;
 6428esac
 6429
 6430# Try without a prefix underscore, then with it.
 6431for ac_symprfx in "" "_"; do
 6432
 6433  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 6434  symxfrm="\\1 $ac_symprfx\\2 \\2"
 6435
 6436  # Write the raw and C identifiers.
 6437  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 6438    # Fake it for dumpbin and say T for any non-static function,
 6439    # D for any global variable and I for any imported variable.
 6440    # Also find C++ and __fastcall symbols from MSVC++,
 6441    # which start with @ or ?.
 6442    lt_cv_sys_global_symbol_pipe="$AWK '"\
 6443"     {last_section=section; section=\$ 3};"\
 6444"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 6445"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 6446"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
 6447"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
 6448"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
 6449"     \$ 0!~/External *\|/{next};"\
 6450"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 6451"     {if(hide[section]) next};"\
 6452"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
 6453"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
 6454"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
 6455"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
 6456"     ' prfx=^$ac_symprfx"
 6457  else
 6458    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 6459  fi
 6460  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 6461
 6462  # Check to see that the pipe works correctly.
 6463  pipe_works=no
 6464
 6465  rm -f conftest*
 6466  cat > conftest.$ac_ext <<_LT_EOF
 6467#ifdef __cplusplus
 6468extern "C" {
 6469#endif
 6470char nm_test_var;
 6471void nm_test_func(void);
 6472void nm_test_func(void){}
 6473#ifdef __cplusplus
 6474}
 6475#endif
 6476int main(){nm_test_var='a';nm_test_func();return(0);}
 6477_LT_EOF
 6478
 6479  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6480  (eval $ac_compile) 2>&5
 6481  ac_status=$?
 6482  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6483  test $ac_status = 0; }; then
 6484    # Now try to grab the symbols.
 6485    nlist=conftest.nm
 6486    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 6487  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 6488  ac_status=$?
 6489  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6490  test $ac_status = 0; } && test -s "$nlist"; then
 6491      # Try sorting and uniquifying the output.
 6492      if sort "$nlist" | uniq > "$nlist"T; then
 6493	mv -f "$nlist"T "$nlist"
 6494      else
 6495	rm -f "$nlist"T
 6496      fi
 6497
 6498      # Make sure that we snagged all the symbols we need.
 6499      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 6500	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 6501	  cat <<_LT_EOF > conftest.$ac_ext
 6502/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 6503#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
 6504/* DATA imports from DLLs on WIN32 can't be const, because runtime
 6505   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 6506# define LT_DLSYM_CONST
 6507#elif defined __osf__
 6508/* This system does not cope well with relocations in const data.  */
 6509# define LT_DLSYM_CONST
 6510#else
 6511# define LT_DLSYM_CONST const
 6512#endif
 6513
 6514#ifdef __cplusplus
 6515extern "C" {
 6516#endif
 6517
 6518_LT_EOF
 6519	  # Now generate the symbol file.
 6520	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 6521
 6522	  cat <<_LT_EOF >> conftest.$ac_ext
 6523
 6524/* The mapping between symbol names and symbols.  */
 6525LT_DLSYM_CONST struct {
 6526  const char *name;
 6527  void       *address;
 6528}
 6529lt__PROGRAM__LTX_preloaded_symbols[] =
 6530{
 6531  { "@PROGRAM@", (void *) 0 },
 6532_LT_EOF
 6533	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 6534	  cat <<\_LT_EOF >> conftest.$ac_ext
 6535  {0, (void *) 0}
 6536};
 6537
 6538/* This works around a problem in FreeBSD linker */
 6539#ifdef FREEBSD_WORKAROUND
 6540static const void *lt_preloaded_setup() {
 6541  return lt__PROGRAM__LTX_preloaded_symbols;
 6542}
 6543#endif
 6544
 6545#ifdef __cplusplus
 6546}
 6547#endif
 6548_LT_EOF
 6549	  # Now try linking the two files.
 6550	  mv conftest.$ac_objext conftstm.$ac_objext
 6551	  lt_globsym_save_LIBS=$LIBS
 6552	  lt_globsym_save_CFLAGS=$CFLAGS
 6553	  LIBS=conftstm.$ac_objext
 6554	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 6555	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 6556  (eval $ac_link) 2>&5
 6557  ac_status=$?
 6558  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6559  test $ac_status = 0; } && test -s conftest$ac_exeext; then
 6560	    pipe_works=yes
 6561	  fi
 6562	  LIBS=$lt_globsym_save_LIBS
 6563	  CFLAGS=$lt_globsym_save_CFLAGS
 6564	else
 6565	  echo "cannot find nm_test_func in $nlist" >&5
 6566	fi
 6567      else
 6568	echo "cannot find nm_test_var in $nlist" >&5
 6569      fi
 6570    else
 6571      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 6572    fi
 6573  else
 6574    echo "$progname: failed program was:" >&5
 6575    cat conftest.$ac_ext >&5
 6576  fi
 6577  rm -rf conftest* conftst*
 6578
 6579  # Do not use the global_symbol_pipe unless it works.
 6580  if test yes = "$pipe_works"; then
 6581    break
 6582  else
 6583    lt_cv_sys_global_symbol_pipe=
 6584  fi
 6585done
 6586
 6587fi
 6588
 6589if test -z "$lt_cv_sys_global_symbol_pipe"; then
 6590  lt_cv_sys_global_symbol_to_cdecl=
 6591fi
 6592if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 6593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 6594$as_echo "failed" >&6; }
 6595else
 6596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 6597$as_echo "ok" >&6; }
 6598fi
 6599
 6600# Response file support.
 6601if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 6602  nm_file_list_spec='@'
 6603elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 6604  nm_file_list_spec='@'
 6605fi
 6606
 6607
 6608
 6609
 6610
 6611
 6612
 6613
 6614
 6615
 6616
 6617
 6618
 6619
 6620
 6621
 6622
 6623
 6624
 6625
 6626
 6627
 6628
 6629
 6630
 6631
 6632
 6633
 6634
 6635
 6636
 6637
 6638
 6639
 6640
 6641
 6642
 6643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 6644$as_echo_n "checking for sysroot... " >&6; }
 6645
 6646# Check whether --with-sysroot was given.
 6647if test "${with_sysroot+set}" = set; then :
 6648  withval=$with_sysroot;
 6649else
 6650  with_sysroot=no
 6651fi
 6652
 6653
 6654lt_sysroot=
 6655case $with_sysroot in #(
 6656 yes)
 6657   if test yes = "$GCC"; then
 6658     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 6659   fi
 6660   ;; #(
 6661 /*)
 6662   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 6663   ;; #(
 6664 no|'')
 6665   ;; #(
 6666 *)
 6667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
 6668$as_echo "$with_sysroot" >&6; }
 6669   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 6670   ;;
 6671esac
 6672
 6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 6674$as_echo "${lt_sysroot:-no}" >&6; }
 6675
 6676
 6677
 6678
 6679
 6680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
 6681$as_echo_n "checking for a working dd... " >&6; }
 6682if ${ac_cv_path_lt_DD+:} false; then :
 6683  $as_echo_n "(cached) " >&6
 6684else
 6685  printf 0123456789abcdef0123456789abcdef >conftest.i
 6686cat conftest.i conftest.i >conftest2.i
 6687: ${lt_DD:=$DD}
 6688if test -z "$lt_DD"; then
 6689  ac_path_lt_DD_found=false
 6690  # Loop through the user's path and test for each of PROGNAME-LIST
 6691  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6692for as_dir in $PATH
 6693do
 6694  IFS=$as_save_IFS
 6695  test -z "$as_dir" && as_dir=.
 6696    for ac_prog in dd; do
 6697    for ac_exec_ext in '' $ac_executable_extensions; do
 6698      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
 6699      as_fn_executable_p "$ac_path_lt_DD" || continue
 6700if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
 6701  cmp -s conftest.i conftest.out \
 6702  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
 6703fi
 6704      $ac_path_lt_DD_found && break 3
 6705    done
 6706  done
 6707  done
 6708IFS=$as_save_IFS
 6709  if test -z "$ac_cv_path_lt_DD"; then
 6710    :
 6711  fi
 6712else
 6713  ac_cv_path_lt_DD=$lt_DD
 6714fi
 6715
 6716rm -f conftest.i conftest2.i conftest.out
 6717fi
 6718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
 6719$as_echo "$ac_cv_path_lt_DD" >&6; }
 6720
 6721
 6722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
 6723$as_echo_n "checking how to truncate binary pipes... " >&6; }
 6724if ${lt_cv_truncate_bin+:} false; then :
 6725  $as_echo_n "(cached) " >&6
 6726else
 6727  printf 0123456789abcdef0123456789abcdef >conftest.i
 6728cat conftest.i conftest.i >conftest2.i
 6729lt_cv_truncate_bin=
 6730if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
 6731  cmp -s conftest.i conftest.out \
 6732  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
 6733fi
 6734rm -f conftest.i conftest2.i conftest.out
 6735test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
 6736fi
 6737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
 6738$as_echo "$lt_cv_truncate_bin" >&6; }
 6739
 6740
 6741
 6742
 6743
 6744
 6745
 6746# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 6747func_cc_basename ()
 6748{
 6749    for cc_temp in $*""; do
 6750      case $cc_temp in
 6751        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 6752        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 6753        \-*) ;;
 6754        *) break;;
 6755      esac
 6756    done
 6757    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 6758}
 6759
 6760# Check whether --enable-libtool-lock was given.
 6761if test "${enable_libtool_lock+set}" = set; then :
 6762  enableval=$enable_libtool_lock;
 6763fi
 6764
 6765test no = "$enable_libtool_lock" || enable_libtool_lock=yes
 6766
 6767# Some flags need to be propagated to the compiler or linker for good
 6768# libtool support.
 6769case $host in
 6770ia64-*-hpux*)
 6771  # Find out what ABI is being produced by ac_compile, and set mode
 6772  # options accordingly.
 6773  echo 'int i;' > conftest.$ac_ext
 6774  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6775  (eval $ac_compile) 2>&5
 6776  ac_status=$?
 6777  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6778  test $ac_status = 0; }; then
 6779    case `/usr/bin/file conftest.$ac_objext` in
 6780      *ELF-32*)
 6781	HPUX_IA64_MODE=32
 6782	;;
 6783      *ELF-64*)
 6784	HPUX_IA64_MODE=64
 6785	;;
 6786    esac
 6787  fi
 6788  rm -rf conftest*
 6789  ;;
 6790*-*-irix6*)
 6791  # Find out what ABI is being produced by ac_compile, and set linker
 6792  # options accordingly.
 6793  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 6794  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6795  (eval $ac_compile) 2>&5
 6796  ac_status=$?
 6797  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6798  test $ac_status = 0; }; then
 6799    if test yes = "$lt_cv_prog_gnu_ld"; then
 6800      case `/usr/bin/file conftest.$ac_objext` in
 6801	*32-bit*)
 6802	  LD="${LD-ld} -melf32bsmip"
 6803	  ;;
 6804	*N32*)
 6805	  LD="${LD-ld} -melf32bmipn32"
 6806	  ;;
 6807	*64-bit*)
 6808	  LD="${LD-ld} -melf64bmip"
 6809	;;
 6810      esac
 6811    else
 6812      case `/usr/bin/file conftest.$ac_objext` in
 6813	*32-bit*)
 6814	  LD="${LD-ld} -32"
 6815	  ;;
 6816	*N32*)
 6817	  LD="${LD-ld} -n32"
 6818	  ;;
 6819	*64-bit*)
 6820	  LD="${LD-ld} -64"
 6821	  ;;
 6822      esac
 6823    fi
 6824  fi
 6825  rm -rf conftest*
 6826  ;;
 6827
 6828mips64*-*linux*)
 6829  # Find out what ABI is being produced by ac_compile, and set linker
 6830  # options accordingly.
 6831  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 6832  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6833  (eval $ac_compile) 2>&5
 6834  ac_status=$?
 6835  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6836  test $ac_status = 0; }; then
 6837    emul=elf
 6838    case `/usr/bin/file conftest.$ac_objext` in
 6839      *32-bit*)
 6840	emul="${emul}32"
 6841	;;
 6842      *64-bit*)
 6843	emul="${emul}64"
 6844	;;
 6845    esac
 6846    case `/usr/bin/file conftest.$ac_objext` in
 6847      *MSB*)
 6848	emul="${emul}btsmip"
 6849	;;
 6850      *LSB*)
 6851	emul="${emul}ltsmip"
 6852	;;
 6853    esac
 6854    case `/usr/bin/file conftest.$ac_objext` in
 6855      *N32*)
 6856	emul="${emul}n32"
 6857	;;
 6858    esac
 6859    LD="${LD-ld} -m $emul"
 6860  fi
 6861  rm -rf conftest*
 6862  ;;
 6863
 6864x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 6865s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 6866  # Find out what ABI is being produced by ac_compile, and set linker
 6867  # options accordingly.  Note that the listed cases only cover the
 6868  # situations where additional linker options are needed (such as when
 6869  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
 6870  # vice versa); the common cases where no linker options are needed do
 6871  # not appear in the list.
 6872  echo 'int i;' > conftest.$ac_ext
 6873  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6874  (eval $ac_compile) 2>&5
 6875  ac_status=$?
 6876  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6877  test $ac_status = 0; }; then
 6878    case `/usr/bin/file conftest.o` in
 6879      *32-bit*)
 6880	case $host in
 6881	  x86_64-*kfreebsd*-gnu)
 6882	    LD="${LD-ld} -m elf_i386_fbsd"
 6883	    ;;
 6884	  x86_64-*linux*)
 6885	    case `/usr/bin/file conftest.o` in
 6886	      *x86-64*)
 6887		LD="${LD-ld} -m elf32_x86_64"
 6888		;;
 6889	      *)
 6890		LD="${LD-ld} -m elf_i386"
 6891		;;
 6892	    esac
 6893	    ;;
 6894	  powerpc64le-*linux*)
 6895	    LD="${LD-ld} -m elf32lppclinux"
 6896	    ;;
 6897	  powerpc64-*linux*)
 6898	    LD="${LD-ld} -m elf32ppclinux"
 6899	    ;;
 6900	  s390x-*linux*)
 6901	    LD="${LD-ld} -m elf_s390"
 6902	    ;;
 6903	  sparc64-*linux*)
 6904	    LD="${LD-ld} -m elf32_sparc"
 6905	    ;;
 6906	esac
 6907	;;
 6908      *64-bit*)
 6909	case $host in
 6910	  x86_64-*kfreebsd*-gnu)
 6911	    LD="${LD-ld} -m elf_x86_64_fbsd"
 6912	    ;;
 6913	  x86_64-*linux*)
 6914	    LD="${LD-ld} -m elf_x86_64"
 6915	    ;;
 6916	  powerpcle-*linux*)
 6917	    LD="${LD-ld} -m elf64lppc"
 6918	    ;;
 6919	  powerpc-*linux*)
 6920	    LD="${LD-ld} -m elf64ppc"
 6921	    ;;
 6922	  s390*-*linux*|s390*-*tpf*)
 6923	    LD="${LD-ld} -m elf64_s390"
 6924	    ;;
 6925	  sparc*-*linux*)
 6926	    LD="${LD-ld} -m elf64_sparc"
 6927	    ;;
 6928	esac
 6929	;;
 6930    esac
 6931  fi
 6932  rm -rf conftest*
 6933  ;;
 6934
 6935*-*-sco3.2v5*)
 6936  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 6937  SAVE_CFLAGS=$CFLAGS
 6938  CFLAGS="$CFLAGS -belf"
 6939  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 6940$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 6941if ${lt_cv_cc_needs_belf+:} false; then :
 6942  $as_echo_n "(cached) " >&6
 6943else
 6944  ac_ext=c
 6945ac_cpp='$CPP $CPPFLAGS'
 6946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6948ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6949
 6950     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 6951/* end confdefs.h.  */
 6952
 6953int
 6954main ()
 6955{
 6956
 6957  ;
 6958  return 0;
 6959}
 6960_ACEOF
 6961if ac_fn_c_try_link "$LINENO"; then :
 6962  lt_cv_cc_needs_belf=yes
 6963else
 6964  lt_cv_cc_needs_belf=no
 6965fi
 6966rm -f core conftest.err conftest.$ac_objext \
 6967    conftest$ac_exeext conftest.$ac_ext
 6968     ac_ext=c
 6969ac_cpp='$CPP $CPPFLAGS'
 6970ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 6971ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 6972ac_compiler_gnu=$ac_cv_c_compiler_gnu
 6973
 6974fi
 6975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 6976$as_echo "$lt_cv_cc_needs_belf" >&6; }
 6977  if test yes != "$lt_cv_cc_needs_belf"; then
 6978    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 6979    CFLAGS=$SAVE_CFLAGS
 6980  fi
 6981  ;;
 6982*-*solaris*)
 6983  # Find out what ABI is being produced by ac_compile, and set linker
 6984  # options accordingly.
 6985  echo 'int i;' > conftest.$ac_ext
 6986  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 6987  (eval $ac_compile) 2>&5
 6988  ac_status=$?
 6989  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 6990  test $ac_status = 0; }; then
 6991    case `/usr/bin/file conftest.o` in
 6992    *64-bit*)
 6993      case $lt_cv_prog_gnu_ld in
 6994      yes*)
 6995        case $host in
 6996        i?86-*-solaris*|x86_64-*-solaris*)
 6997          LD="${LD-ld} -m elf_x86_64"
 6998          ;;
 6999        sparc*-*-solaris*)
 7000          LD="${LD-ld} -m elf64_sparc"
 7001          ;;
 7002        esac
 7003        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 7004        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 7005          LD=${LD-ld}_sol2
 7006        fi
 7007        ;;
 7008      *)
 7009	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 7010	  LD="${LD-ld} -64"
 7011	fi
 7012	;;
 7013      esac
 7014      ;;
 7015    esac
 7016  fi
 7017  rm -rf conftest*
 7018  ;;
 7019esac
 7020
 7021need_locks=$enable_libtool_lock
 7022
 7023if test -n "$ac_tool_prefix"; then
 7024  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 7025set dummy ${ac_tool_prefix}mt; ac_word=$2
 7026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7027$as_echo_n "checking for $ac_word... " >&6; }
 7028if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 7029  $as_echo_n "(cached) " >&6
 7030else
 7031  if test -n "$MANIFEST_TOOL"; then
 7032  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 7033else
 7034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7035for as_dir in $PATH
 7036do
 7037  IFS=$as_save_IFS
 7038  test -z "$as_dir" && as_dir=.
 7039    for ac_exec_ext in '' $ac_executable_extensions; do
 7040  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7041    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 7042    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7043    break 2
 7044  fi
 7045done
 7046  done
 7047IFS=$as_save_IFS
 7048
 7049fi
 7050fi
 7051MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 7052if test -n "$MANIFEST_TOOL"; then
 7053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 7054$as_echo "$MANIFEST_TOOL" >&6; }
 7055else
 7056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7057$as_echo "no" >&6; }
 7058fi
 7059
 7060
 7061fi
 7062if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 7063  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 7064  # Extract the first word of "mt", so it can be a program name with args.
 7065set dummy mt; ac_word=$2
 7066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7067$as_echo_n "checking for $ac_word... " >&6; }
 7068if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 7069  $as_echo_n "(cached) " >&6
 7070else
 7071  if test -n "$ac_ct_MANIFEST_TOOL"; then
 7072  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 7073else
 7074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7075for as_dir in $PATH
 7076do
 7077  IFS=$as_save_IFS
 7078  test -z "$as_dir" && as_dir=.
 7079    for ac_exec_ext in '' $ac_executable_extensions; do
 7080  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7081    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 7082    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7083    break 2
 7084  fi
 7085done
 7086  done
 7087IFS=$as_save_IFS
 7088
 7089fi
 7090fi
 7091ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 7092if test -n "$ac_ct_MANIFEST_TOOL"; then
 7093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 7094$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 7095else
 7096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7097$as_echo "no" >&6; }
 7098fi
 7099
 7100  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 7101    MANIFEST_TOOL=":"
 7102  else
 7103    case $cross_compiling:$ac_tool_warned in
 7104yes:)
 7105{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7106$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7107ac_tool_warned=yes ;;
 7108esac
 7109    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 7110  fi
 7111else
 7112  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 7113fi
 7114
 7115test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 7116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 7117$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 7118if ${lt_cv_path_mainfest_tool+:} false; then :
 7119  $as_echo_n "(cached) " >&6
 7120else
 7121  lt_cv_path_mainfest_tool=no
 7122  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 7123  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 7124  cat conftest.err >&5
 7125  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 7126    lt_cv_path_mainfest_tool=yes
 7127  fi
 7128  rm -f conftest*
 7129fi
 7130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 7131$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 7132if test yes != "$lt_cv_path_mainfest_tool"; then
 7133  MANIFEST_TOOL=:
 7134fi
 7135
 7136
 7137
 7138
 7139
 7140
 7141  case $host_os in
 7142    rhapsody* | darwin*)
 7143    if test -n "$ac_tool_prefix"; then
 7144  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 7145set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 7146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7147$as_echo_n "checking for $ac_word... " >&6; }
 7148if ${ac_cv_prog_DSYMUTIL+:} false; then :
 7149  $as_echo_n "(cached) " >&6
 7150else
 7151  if test -n "$DSYMUTIL"; then
 7152  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 7153else
 7154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7155for as_dir in $PATH
 7156do
 7157  IFS=$as_save_IFS
 7158  test -z "$as_dir" && as_dir=.
 7159    for ac_exec_ext in '' $ac_executable_extensions; do
 7160  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7161    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 7162    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7163    break 2
 7164  fi
 7165done
 7166  done
 7167IFS=$as_save_IFS
 7168
 7169fi
 7170fi
 7171DSYMUTIL=$ac_cv_prog_DSYMUTIL
 7172if test -n "$DSYMUTIL"; then
 7173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 7174$as_echo "$DSYMUTIL" >&6; }
 7175else
 7176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7177$as_echo "no" >&6; }
 7178fi
 7179
 7180
 7181fi
 7182if test -z "$ac_cv_prog_DSYMUTIL"; then
 7183  ac_ct_DSYMUTIL=$DSYMUTIL
 7184  # Extract the first word of "dsymutil", so it can be a program name with args.
 7185set dummy dsymutil; ac_word=$2
 7186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7187$as_echo_n "checking for $ac_word... " >&6; }
 7188if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 7189  $as_echo_n "(cached) " >&6
 7190else
 7191  if test -n "$ac_ct_DSYMUTIL"; then
 7192  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 7193else
 7194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7195for as_dir in $PATH
 7196do
 7197  IFS=$as_save_IFS
 7198  test -z "$as_dir" && as_dir=.
 7199    for ac_exec_ext in '' $ac_executable_extensions; do
 7200  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7201    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 7202    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7203    break 2
 7204  fi
 7205done
 7206  done
 7207IFS=$as_save_IFS
 7208
 7209fi
 7210fi
 7211ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 7212if test -n "$ac_ct_DSYMUTIL"; then
 7213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 7214$as_echo "$ac_ct_DSYMUTIL" >&6; }
 7215else
 7216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7217$as_echo "no" >&6; }
 7218fi
 7219
 7220  if test "x$ac_ct_DSYMUTIL" = x; then
 7221    DSYMUTIL=":"
 7222  else
 7223    case $cross_compiling:$ac_tool_warned in
 7224yes:)
 7225{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7226$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7227ac_tool_warned=yes ;;
 7228esac
 7229    DSYMUTIL=$ac_ct_DSYMUTIL
 7230  fi
 7231else
 7232  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 7233fi
 7234
 7235    if test -n "$ac_tool_prefix"; then
 7236  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 7237set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 7238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7239$as_echo_n "checking for $ac_word... " >&6; }
 7240if ${ac_cv_prog_NMEDIT+:} false; then :
 7241  $as_echo_n "(cached) " >&6
 7242else
 7243  if test -n "$NMEDIT"; then
 7244  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 7245else
 7246as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7247for as_dir in $PATH
 7248do
 7249  IFS=$as_save_IFS
 7250  test -z "$as_dir" && as_dir=.
 7251    for ac_exec_ext in '' $ac_executable_extensions; do
 7252  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7253    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 7254    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7255    break 2
 7256  fi
 7257done
 7258  done
 7259IFS=$as_save_IFS
 7260
 7261fi
 7262fi
 7263NMEDIT=$ac_cv_prog_NMEDIT
 7264if test -n "$NMEDIT"; then
 7265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 7266$as_echo "$NMEDIT" >&6; }
 7267else
 7268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7269$as_echo "no" >&6; }
 7270fi
 7271
 7272
 7273fi
 7274if test -z "$ac_cv_prog_NMEDIT"; then
 7275  ac_ct_NMEDIT=$NMEDIT
 7276  # Extract the first word of "nmedit", so it can be a program name with args.
 7277set dummy nmedit; ac_word=$2
 7278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7279$as_echo_n "checking for $ac_word... " >&6; }
 7280if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 7281  $as_echo_n "(cached) " >&6
 7282else
 7283  if test -n "$ac_ct_NMEDIT"; then
 7284  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 7285else
 7286as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7287for as_dir in $PATH
 7288do
 7289  IFS=$as_save_IFS
 7290  test -z "$as_dir" && as_dir=.
 7291    for ac_exec_ext in '' $ac_executable_extensions; do
 7292  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7293    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 7294    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7295    break 2
 7296  fi
 7297done
 7298  done
 7299IFS=$as_save_IFS
 7300
 7301fi
 7302fi
 7303ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 7304if test -n "$ac_ct_NMEDIT"; then
 7305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 7306$as_echo "$ac_ct_NMEDIT" >&6; }
 7307else
 7308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7309$as_echo "no" >&6; }
 7310fi
 7311
 7312  if test "x$ac_ct_NMEDIT" = x; then
 7313    NMEDIT=":"
 7314  else
 7315    case $cross_compiling:$ac_tool_warned in
 7316yes:)
 7317{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7318$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7319ac_tool_warned=yes ;;
 7320esac
 7321    NMEDIT=$ac_ct_NMEDIT
 7322  fi
 7323else
 7324  NMEDIT="$ac_cv_prog_NMEDIT"
 7325fi
 7326
 7327    if test -n "$ac_tool_prefix"; then
 7328  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 7329set dummy ${ac_tool_prefix}lipo; ac_word=$2
 7330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7331$as_echo_n "checking for $ac_word... " >&6; }
 7332if ${ac_cv_prog_LIPO+:} false; then :
 7333  $as_echo_n "(cached) " >&6
 7334else
 7335  if test -n "$LIPO"; then
 7336  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 7337else
 7338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7339for as_dir in $PATH
 7340do
 7341  IFS=$as_save_IFS
 7342  test -z "$as_dir" && as_dir=.
 7343    for ac_exec_ext in '' $ac_executable_extensions; do
 7344  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7345    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 7346    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7347    break 2
 7348  fi
 7349done
 7350  done
 7351IFS=$as_save_IFS
 7352
 7353fi
 7354fi
 7355LIPO=$ac_cv_prog_LIPO
 7356if test -n "$LIPO"; then
 7357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 7358$as_echo "$LIPO" >&6; }
 7359else
 7360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7361$as_echo "no" >&6; }
 7362fi
 7363
 7364
 7365fi
 7366if test -z "$ac_cv_prog_LIPO"; then
 7367  ac_ct_LIPO=$LIPO
 7368  # Extract the first word of "lipo", so it can be a program name with args.
 7369set dummy lipo; ac_word=$2
 7370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7371$as_echo_n "checking for $ac_word... " >&6; }
 7372if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 7373  $as_echo_n "(cached) " >&6
 7374else
 7375  if test -n "$ac_ct_LIPO"; then
 7376  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 7377else
 7378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7379for as_dir in $PATH
 7380do
 7381  IFS=$as_save_IFS
 7382  test -z "$as_dir" && as_dir=.
 7383    for ac_exec_ext in '' $ac_executable_extensions; do
 7384  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7385    ac_cv_prog_ac_ct_LIPO="lipo"
 7386    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7387    break 2
 7388  fi
 7389done
 7390  done
 7391IFS=$as_save_IFS
 7392
 7393fi
 7394fi
 7395ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 7396if test -n "$ac_ct_LIPO"; then
 7397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 7398$as_echo "$ac_ct_LIPO" >&6; }
 7399else
 7400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7401$as_echo "no" >&6; }
 7402fi
 7403
 7404  if test "x$ac_ct_LIPO" = x; then
 7405    LIPO=":"
 7406  else
 7407    case $cross_compiling:$ac_tool_warned in
 7408yes:)
 7409{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7410$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7411ac_tool_warned=yes ;;
 7412esac
 7413    LIPO=$ac_ct_LIPO
 7414  fi
 7415else
 7416  LIPO="$ac_cv_prog_LIPO"
 7417fi
 7418
 7419    if test -n "$ac_tool_prefix"; then
 7420  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 7421set dummy ${ac_tool_prefix}otool; ac_word=$2
 7422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7423$as_echo_n "checking for $ac_word... " >&6; }
 7424if ${ac_cv_prog_OTOOL+:} false; then :
 7425  $as_echo_n "(cached) " >&6
 7426else
 7427  if test -n "$OTOOL"; then
 7428  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 7429else
 7430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7431for as_dir in $PATH
 7432do
 7433  IFS=$as_save_IFS
 7434  test -z "$as_dir" && as_dir=.
 7435    for ac_exec_ext in '' $ac_executable_extensions; do
 7436  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7437    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 7438    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7439    break 2
 7440  fi
 7441done
 7442  done
 7443IFS=$as_save_IFS
 7444
 7445fi
 7446fi
 7447OTOOL=$ac_cv_prog_OTOOL
 7448if test -n "$OTOOL"; then
 7449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 7450$as_echo "$OTOOL" >&6; }
 7451else
 7452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7453$as_echo "no" >&6; }
 7454fi
 7455
 7456
 7457fi
 7458if test -z "$ac_cv_prog_OTOOL"; then
 7459  ac_ct_OTOOL=$OTOOL
 7460  # Extract the first word of "otool", so it can be a program name with args.
 7461set dummy otool; ac_word=$2
 7462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7463$as_echo_n "checking for $ac_word... " >&6; }
 7464if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 7465  $as_echo_n "(cached) " >&6
 7466else
 7467  if test -n "$ac_ct_OTOOL"; then
 7468  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 7469else
 7470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7471for as_dir in $PATH
 7472do
 7473  IFS=$as_save_IFS
 7474  test -z "$as_dir" && as_dir=.
 7475    for ac_exec_ext in '' $ac_executable_extensions; do
 7476  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7477    ac_cv_prog_ac_ct_OTOOL="otool"
 7478    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7479    break 2
 7480  fi
 7481done
 7482  done
 7483IFS=$as_save_IFS
 7484
 7485fi
 7486fi
 7487ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 7488if test -n "$ac_ct_OTOOL"; then
 7489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 7490$as_echo "$ac_ct_OTOOL" >&6; }
 7491else
 7492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7493$as_echo "no" >&6; }
 7494fi
 7495
 7496  if test "x$ac_ct_OTOOL" = x; then
 7497    OTOOL=":"
 7498  else
 7499    case $cross_compiling:$ac_tool_warned in
 7500yes:)
 7501{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7502$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7503ac_tool_warned=yes ;;
 7504esac
 7505    OTOOL=$ac_ct_OTOOL
 7506  fi
 7507else
 7508  OTOOL="$ac_cv_prog_OTOOL"
 7509fi
 7510
 7511    if test -n "$ac_tool_prefix"; then
 7512  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 7513set dummy ${ac_tool_prefix}otool64; ac_word=$2
 7514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7515$as_echo_n "checking for $ac_word... " >&6; }
 7516if ${ac_cv_prog_OTOOL64+:} false; then :
 7517  $as_echo_n "(cached) " >&6
 7518else
 7519  if test -n "$OTOOL64"; then
 7520  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 7521else
 7522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7523for as_dir in $PATH
 7524do
 7525  IFS=$as_save_IFS
 7526  test -z "$as_dir" && as_dir=.
 7527    for ac_exec_ext in '' $ac_executable_extensions; do
 7528  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7529    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 7530    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7531    break 2
 7532  fi
 7533done
 7534  done
 7535IFS=$as_save_IFS
 7536
 7537fi
 7538fi
 7539OTOOL64=$ac_cv_prog_OTOOL64
 7540if test -n "$OTOOL64"; then
 7541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 7542$as_echo "$OTOOL64" >&6; }
 7543else
 7544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7545$as_echo "no" >&6; }
 7546fi
 7547
 7548
 7549fi
 7550if test -z "$ac_cv_prog_OTOOL64"; then
 7551  ac_ct_OTOOL64=$OTOOL64
 7552  # Extract the first word of "otool64", so it can be a program name with args.
 7553set dummy otool64; ac_word=$2
 7554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7555$as_echo_n "checking for $ac_word... " >&6; }
 7556if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 7557  $as_echo_n "(cached) " >&6
 7558else
 7559  if test -n "$ac_ct_OTOOL64"; then
 7560  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 7561else
 7562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7563for as_dir in $PATH
 7564do
 7565  IFS=$as_save_IFS
 7566  test -z "$as_dir" && as_dir=.
 7567    for ac_exec_ext in '' $ac_executable_extensions; do
 7568  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7569    ac_cv_prog_ac_ct_OTOOL64="otool64"
 7570    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7571    break 2
 7572  fi
 7573done
 7574  done
 7575IFS=$as_save_IFS
 7576
 7577fi
 7578fi
 7579ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 7580if test -n "$ac_ct_OTOOL64"; then
 7581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 7582$as_echo "$ac_ct_OTOOL64" >&6; }
 7583else
 7584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7585$as_echo "no" >&6; }
 7586fi
 7587
 7588  if test "x$ac_ct_OTOOL64" = x; then
 7589    OTOOL64=":"
 7590  else
 7591    case $cross_compiling:$ac_tool_warned in
 7592yes:)
 7593{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 7594$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 7595ac_tool_warned=yes ;;
 7596esac
 7597    OTOOL64=$ac_ct_OTOOL64
 7598  fi
 7599else
 7600  OTOOL64="$ac_cv_prog_OTOOL64"
 7601fi
 7602
 7603
 7604
 7605
 7606
 7607
 7608
 7609
 7610
 7611
 7612
 7613
 7614
 7615
 7616
 7617
 7618
 7619
 7620
 7621
 7622
 7623
 7624
 7625
 7626
 7627
 7628
 7629    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 7630$as_echo_n "checking for -single_module linker flag... " >&6; }
 7631if ${lt_cv_apple_cc_single_mod+:} false; then :
 7632  $as_echo_n "(cached) " >&6
 7633else
 7634  lt_cv_apple_cc_single_mod=no
 7635      if test -z "$LT_MULTI_MODULE"; then
 7636	# By default we will add the -single_module flag. You can override
 7637	# by either setting the environment variable LT_MULTI_MODULE
 7638	# non-empty at configure time, or by adding -multi_module to the
 7639	# link flags.
 7640	rm -rf libconftest.dylib*
 7641	echo "int foo(void){return 1;}" > conftest.c
 7642	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 7643-dynamiclib -Wl,-single_module conftest.c" >&5
 7644	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 7645	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 7646        _lt_result=$?
 7647	# If there is a non-empty error log, and "single_module"
 7648	# appears in it, assume the flag caused a linker warning
 7649        if test -s conftest.err && $GREP single_module conftest.err; then
 7650	  cat conftest.err >&5
 7651	# Otherwise, if the output was created with a 0 exit code from
 7652	# the compiler, it worked.
 7653	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
 7654	  lt_cv_apple_cc_single_mod=yes
 7655	else
 7656	  cat conftest.err >&5
 7657	fi
 7658	rm -rf libconftest.dylib*
 7659	rm -f conftest.*
 7660      fi
 7661fi
 7662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 7663$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 7664
 7665    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 7666$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 7667if ${lt_cv_ld_exported_symbols_list+:} false; then :
 7668  $as_echo_n "(cached) " >&6
 7669else
 7670  lt_cv_ld_exported_symbols_list=no
 7671      save_LDFLAGS=$LDFLAGS
 7672      echo "_main" > conftest.sym
 7673      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 7674      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7675/* end confdefs.h.  */
 7676
 7677int
 7678main ()
 7679{
 7680
 7681  ;
 7682  return 0;
 7683}
 7684_ACEOF
 7685if ac_fn_c_try_link "$LINENO"; then :
 7686  lt_cv_ld_exported_symbols_list=yes
 7687else
 7688  lt_cv_ld_exported_symbols_list=no
 7689fi
 7690rm -f core conftest.err conftest.$ac_objext \
 7691    conftest$ac_exeext conftest.$ac_ext
 7692	LDFLAGS=$save_LDFLAGS
 7693
 7694fi
 7695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 7696$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 7697
 7698    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 7699$as_echo_n "checking for -force_load linker flag... " >&6; }
 7700if ${lt_cv_ld_force_load+:} false; then :
 7701  $as_echo_n "(cached) " >&6
 7702else
 7703  lt_cv_ld_force_load=no
 7704      cat > conftest.c << _LT_EOF
 7705int forced_loaded() { return 2;}
 7706_LT_EOF
 7707      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 7708      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 7709      echo "$AR cru libconftest.a conftest.o" >&5
 7710      $AR cru libconftest.a conftest.o 2>&5
 7711      echo "$RANLIB libconftest.a" >&5
 7712      $RANLIB libconftest.a 2>&5
 7713      cat > conftest.c << _LT_EOF
 7714int main() { return 0;}
 7715_LT_EOF
 7716      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 7717      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 7718      _lt_result=$?
 7719      if test -s conftest.err && $GREP force_load conftest.err; then
 7720	cat conftest.err >&5
 7721      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
 7722	lt_cv_ld_force_load=yes
 7723      else
 7724	cat conftest.err >&5
 7725      fi
 7726        rm -f conftest.err libconftest.a conftest conftest.c
 7727        rm -rf conftest.dSYM
 7728
 7729fi
 7730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 7731$as_echo "$lt_cv_ld_force_load" >&6; }
 7732    case $host_os in
 7733    rhapsody* | darwin1.[012])
 7734      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
 7735    darwin1.*)
 7736      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 7737    darwin*) # darwin 5.x on
 7738      # if running on 10.5 or later, the deployment target defaults
 7739      # to the OS version, if on x86, and 10.4, the deployment
 7740      # target defaults to 10.4. Don't you love it?
 7741      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 7742	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 7743	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 7744	10.[012][,.]*)
 7745	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 7746	10.*)
 7747	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 7748      esac
 7749    ;;
 7750  esac
 7751    if test yes = "$lt_cv_apple_cc_single_mod"; then
 7752      _lt_dar_single_mod='$single_module'
 7753    fi
 7754    if test yes = "$lt_cv_ld_exported_symbols_list"; then
 7755      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
 7756    else
 7757      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
 7758    fi
 7759    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
 7760      _lt_dsymutil='~$DSYMUTIL $lib || :'
 7761    else
 7762      _lt_dsymutil=
 7763    fi
 7764    ;;
 7765  esac
 7766
 7767# func_munge_path_list VARIABLE PATH
 7768# -----------------------------------
 7769# VARIABLE is name of variable containing _space_ separated list of
 7770# directories to be munged by the contents of PATH, which is string
 7771# having a format:
 7772# "DIR[:DIR]:"
 7773#       string "DIR[ DIR]" will be prepended to VARIABLE
 7774# ":DIR[:DIR]"
 7775#       string "DIR[ DIR]" will be appended to VARIABLE
 7776# "DIRP[:DIRP]::[DIRA:]DIRA"
 7777#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 7778#       "DIRA[ DIRA]" will be appended to VARIABLE
 7779# "DIR[:DIR]"
 7780#       VARIABLE will be replaced by "DIR[ DIR]"
 7781func_munge_path_list ()
 7782{
 7783    case x$2 in
 7784    x)
 7785        ;;
 7786    *:)
 7787        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
 7788        ;;
 7789    x:*)
 7790        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
 7791        ;;
 7792    *::*)
 7793        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 7794        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
 7795        ;;
 7796    *)
 7797        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
 7798        ;;
 7799    esac
 7800}
 7801
 7802
 7803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 7804$as_echo_n "checking for ANSI C header files... " >&6; }
 7805if ${ac_cv_header_stdc+:} false; then :
 7806  $as_echo_n "(cached) " >&6
 7807else
 7808  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7809/* end confdefs.h.  */
 7810#include <stdlib.h>
 7811#include <stdarg.h>
 7812#include <string.h>
 7813#include <float.h>
 7814
 7815int
 7816main ()
 7817{
 7818
 7819  ;
 7820  return 0;
 7821}
 7822_ACEOF
 7823if ac_fn_c_try_compile "$LINENO"; then :
 7824  ac_cv_header_stdc=yes
 7825else
 7826  ac_cv_header_stdc=no
 7827fi
 7828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 7829
 7830if test $ac_cv_header_stdc = yes; then
 7831  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 7832  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7833/* end confdefs.h.  */
 7834#include <string.h>
 7835
 7836_ACEOF
 7837if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7838  $EGREP "memchr" >/dev/null 2>&1; then :
 7839
 7840else
 7841  ac_cv_header_stdc=no
 7842fi
 7843rm -f conftest*
 7844
 7845fi
 7846
 7847if test $ac_cv_header_stdc = yes; then
 7848  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 7849  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7850/* end confdefs.h.  */
 7851#include <stdlib.h>
 7852
 7853_ACEOF
 7854if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 7855  $EGREP "free" >/dev/null 2>&1; then :
 7856
 7857else
 7858  ac_cv_header_stdc=no
 7859fi
 7860rm -f conftest*
 7861
 7862fi
 7863
 7864if test $ac_cv_header_stdc = yes; then
 7865  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 7866  if test "$cross_compiling" = yes; then :
 7867  :
 7868else
 7869  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 7870/* end confdefs.h.  */
 7871#include <ctype.h>
 7872#include <stdlib.h>
 7873#if ((' ' & 0x0FF) == 0x020)
 7874# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 7875# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 7876#else
 7877# define ISLOWER(c) \
 7878		   (('a' <= (c) && (c) <= 'i') \
 7879		     || ('j' <= (c) && (c) <= 'r') \
 7880		     || ('s' <= (c) && (c) <= 'z'))
 7881# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 7882#endif
 7883
 7884#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 7885int
 7886main ()
 7887{
 7888  int i;
 7889  for (i = 0; i < 256; i++)
 7890    if (XOR (islower (i), ISLOWER (i))
 7891	|| toupper (i) != TOUPPER (i))
 7892      return 2;
 7893  return 0;
 7894}
 7895_ACEOF
 7896if ac_fn_c_try_run "$LINENO"; then :
 7897
 7898else
 7899  ac_cv_header_stdc=no
 7900fi
 7901rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 7902  conftest.$ac_objext conftest.beam conftest.$ac_ext
 7903fi
 7904
 7905fi
 7906fi
 7907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 7908$as_echo "$ac_cv_header_stdc" >&6; }
 7909if test $ac_cv_header_stdc = yes; then
 7910
 7911$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 7912
 7913fi
 7914
 7915# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 7916for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 7917		  inttypes.h stdint.h unistd.h
 7918do :
 7919  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 7920ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 7921"
 7922if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 7923  cat >>confdefs.h <<_ACEOF
 7924#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 7925_ACEOF
 7926
 7927fi
 7928
 7929done
 7930
 7931
 7932for ac_header in dlfcn.h
 7933do :
 7934  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 7935"
 7936if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 7937  cat >>confdefs.h <<_ACEOF
 7938#define HAVE_DLFCN_H 1
 7939_ACEOF
 7940
 7941fi
 7942
 7943done
 7944
 7945
 7946
 7947
 7948
 7949# Set options
 7950enable_win32_dll=yes
 7951
 7952case $host in
 7953*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
 7954  if test -n "$ac_tool_prefix"; then
 7955  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 7956set dummy ${ac_tool_prefix}as; ac_word=$2
 7957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7958$as_echo_n "checking for $ac_word... " >&6; }
 7959if ${ac_cv_prog_AS+:} false; then :
 7960  $as_echo_n "(cached) " >&6
 7961else
 7962  if test -n "$AS"; then
 7963  ac_cv_prog_AS="$AS" # Let the user override the test.
 7964else
 7965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7966for as_dir in $PATH
 7967do
 7968  IFS=$as_save_IFS
 7969  test -z "$as_dir" && as_dir=.
 7970    for ac_exec_ext in '' $ac_executable_extensions; do
 7971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7972    ac_cv_prog_AS="${ac_tool_prefix}as"
 7973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 7974    break 2
 7975  fi
 7976done
 7977  done
 7978IFS=$as_save_IFS
 7979
 7980fi
 7981fi
 7982AS=$ac_cv_prog_AS
 7983if test -n "$AS"; then
 7984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 7985$as_echo "$AS" >&6; }
 7986else
 7987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 7988$as_echo "no" >&6; }
 7989fi
 7990
 7991
 7992fi
 7993if test -z "$ac_cv_prog_AS"; then
 7994  ac_ct_AS=$AS
 7995  # Extract the first word of "as", so it can be a program name with args.
 7996set dummy as; ac_word=$2
 7997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 7998$as_echo_n "checking for $ac_word... " >&6; }
 7999if ${ac_cv_prog_ac_ct_AS+:} false; then :
 8000  $as_echo_n "(cached) " >&6
 8001else
 8002  if test -n "$ac_ct_AS"; then
 8003  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 8004else
 8005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8006for as_dir in $PATH
 8007do
 8008  IFS=$as_save_IFS
 8009  test -z "$as_dir" && as_dir=.
 8010    for ac_exec_ext in '' $ac_executable_extensions; do
 8011  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8012    ac_cv_prog_ac_ct_AS="as"
 8013    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8014    break 2
 8015  fi
 8016done
 8017  done
 8018IFS=$as_save_IFS
 8019
 8020fi
 8021fi
 8022ac_ct_AS=$ac_cv_prog_ac_ct_AS
 8023if test -n "$ac_ct_AS"; then
 8024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
 8025$as_echo "$ac_ct_AS" >&6; }
 8026else
 8027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8028$as_echo "no" >&6; }
 8029fi
 8030
 8031  if test "x$ac_ct_AS" = x; then
 8032    AS="false"
 8033  else
 8034    case $cross_compiling:$ac_tool_warned in
 8035yes:)
 8036{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8037$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8038ac_tool_warned=yes ;;
 8039esac
 8040    AS=$ac_ct_AS
 8041  fi
 8042else
 8043  AS="$ac_cv_prog_AS"
 8044fi
 8045
 8046  if test -n "$ac_tool_prefix"; then
 8047  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 8048set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 8049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8050$as_echo_n "checking for $ac_word... " >&6; }
 8051if ${ac_cv_prog_DLLTOOL+:} false; then :
 8052  $as_echo_n "(cached) " >&6
 8053else
 8054  if test -n "$DLLTOOL"; then
 8055  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 8056else
 8057as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8058for as_dir in $PATH
 8059do
 8060  IFS=$as_save_IFS
 8061  test -z "$as_dir" && as_dir=.
 8062    for ac_exec_ext in '' $ac_executable_extensions; do
 8063  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8064    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 8065    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8066    break 2
 8067  fi
 8068done
 8069  done
 8070IFS=$as_save_IFS
 8071
 8072fi
 8073fi
 8074DLLTOOL=$ac_cv_prog_DLLTOOL
 8075if test -n "$DLLTOOL"; then
 8076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 8077$as_echo "$DLLTOOL" >&6; }
 8078else
 8079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8080$as_echo "no" >&6; }
 8081fi
 8082
 8083
 8084fi
 8085if test -z "$ac_cv_prog_DLLTOOL"; then
 8086  ac_ct_DLLTOOL=$DLLTOOL
 8087  # Extract the first word of "dlltool", so it can be a program name with args.
 8088set dummy dlltool; ac_word=$2
 8089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8090$as_echo_n "checking for $ac_word... " >&6; }
 8091if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 8092  $as_echo_n "(cached) " >&6
 8093else
 8094  if test -n "$ac_ct_DLLTOOL"; then
 8095  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 8096else
 8097as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8098for as_dir in $PATH
 8099do
 8100  IFS=$as_save_IFS
 8101  test -z "$as_dir" && as_dir=.
 8102    for ac_exec_ext in '' $ac_executable_extensions; do
 8103  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8104    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 8105    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8106    break 2
 8107  fi
 8108done
 8109  done
 8110IFS=$as_save_IFS
 8111
 8112fi
 8113fi
 8114ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 8115if test -n "$ac_ct_DLLTOOL"; then
 8116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 8117$as_echo "$ac_ct_DLLTOOL" >&6; }
 8118else
 8119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8120$as_echo "no" >&6; }
 8121fi
 8122
 8123  if test "x$ac_ct_DLLTOOL" = x; then
 8124    DLLTOOL="false"
 8125  else
 8126    case $cross_compiling:$ac_tool_warned in
 8127yes:)
 8128{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8129$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8130ac_tool_warned=yes ;;
 8131esac
 8132    DLLTOOL=$ac_ct_DLLTOOL
 8133  fi
 8134else
 8135  DLLTOOL="$ac_cv_prog_DLLTOOL"
 8136fi
 8137
 8138  if test -n "$ac_tool_prefix"; then
 8139  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 8140set dummy ${ac_tool_prefix}objdump; ac_word=$2
 8141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8142$as_echo_n "checking for $ac_word... " >&6; }
 8143if ${ac_cv_prog_OBJDUMP+:} false; then :
 8144  $as_echo_n "(cached) " >&6
 8145else
 8146  if test -n "$OBJDUMP"; then
 8147  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 8148else
 8149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8150for as_dir in $PATH
 8151do
 8152  IFS=$as_save_IFS
 8153  test -z "$as_dir" && as_dir=.
 8154    for ac_exec_ext in '' $ac_executable_extensions; do
 8155  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8156    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 8157    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8158    break 2
 8159  fi
 8160done
 8161  done
 8162IFS=$as_save_IFS
 8163
 8164fi
 8165fi
 8166OBJDUMP=$ac_cv_prog_OBJDUMP
 8167if test -n "$OBJDUMP"; then
 8168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 8169$as_echo "$OBJDUMP" >&6; }
 8170else
 8171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8172$as_echo "no" >&6; }
 8173fi
 8174
 8175
 8176fi
 8177if test -z "$ac_cv_prog_OBJDUMP"; then
 8178  ac_ct_OBJDUMP=$OBJDUMP
 8179  # Extract the first word of "objdump", so it can be a program name with args.
 8180set dummy objdump; ac_word=$2
 8181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 8182$as_echo_n "checking for $ac_word... " >&6; }
 8183if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 8184  $as_echo_n "(cached) " >&6
 8185else
 8186  if test -n "$ac_ct_OBJDUMP"; then
 8187  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 8188else
 8189as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8190for as_dir in $PATH
 8191do
 8192  IFS=$as_save_IFS
 8193  test -z "$as_dir" && as_dir=.
 8194    for ac_exec_ext in '' $ac_executable_extensions; do
 8195  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8196    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 8197    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 8198    break 2
 8199  fi
 8200done
 8201  done
 8202IFS=$as_save_IFS
 8203
 8204fi
 8205fi
 8206ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 8207if test -n "$ac_ct_OBJDUMP"; then
 8208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 8209$as_echo "$ac_ct_OBJDUMP" >&6; }
 8210else
 8211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8212$as_echo "no" >&6; }
 8213fi
 8214
 8215  if test "x$ac_ct_OBJDUMP" = x; then
 8216    OBJDUMP="false"
 8217  else
 8218    case $cross_compiling:$ac_tool_warned in
 8219yes:)
 8220{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 8221$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 8222ac_tool_warned=yes ;;
 8223esac
 8224    OBJDUMP=$ac_ct_OBJDUMP
 8225  fi
 8226else
 8227  OBJDUMP="$ac_cv_prog_OBJDUMP"
 8228fi
 8229
 8230  ;;
 8231esac
 8232
 8233test -z "$AS" && AS=as
 8234
 8235
 8236
 8237
 8238
 8239test -z "$DLLTOOL" && DLLTOOL=dlltool
 8240
 8241
 8242
 8243
 8244
 8245test -z "$OBJDUMP" && OBJDUMP=objdump
 8246
 8247
 8248
 8249
 8250
 8251
 8252
 8253        enable_dlopen=no
 8254
 8255
 8256
 8257            # Check whether --enable-shared was given.
 8258if test "${enable_shared+set}" = set; then :
 8259  enableval=$enable_shared; p=${PACKAGE-default}
 8260    case $enableval in
 8261    yes) enable_shared=yes ;;
 8262    no) enable_shared=no ;;
 8263    *)
 8264      enable_shared=no
 8265      # Look at the argument we got.  We use all the common list separators.
 8266      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 8267      for pkg in $enableval; do
 8268	IFS=$lt_save_ifs
 8269	if test "X$pkg" = "X$p"; then
 8270	  enable_shared=yes
 8271	fi
 8272      done
 8273      IFS=$lt_save_ifs
 8274      ;;
 8275    esac
 8276else
 8277  enable_shared=yes
 8278fi
 8279
 8280
 8281
 8282
 8283
 8284
 8285
 8286
 8287
 8288  # Check whether --enable-static was given.
 8289if test "${enable_static+set}" = set; then :
 8290  enableval=$enable_static; p=${PACKAGE-default}
 8291    case $enableval in
 8292    yes) enable_static=yes ;;
 8293    no) enable_static=no ;;
 8294    *)
 8295     enable_static=no
 8296      # Look at the argument we got.  We use all the common list separators.
 8297      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 8298      for pkg in $enableval; do
 8299	IFS=$lt_save_ifs
 8300	if test "X$pkg" = "X$p"; then
 8301	  enable_static=yes
 8302	fi
 8303      done
 8304      IFS=$lt_save_ifs
 8305      ;;
 8306    esac
 8307else
 8308  enable_static=yes
 8309fi
 8310
 8311
 8312
 8313
 8314
 8315
 8316
 8317
 8318
 8319
 8320# Check whether --with-pic was given.
 8321if test "${with_pic+set}" = set; then :
 8322  withval=$with_pic; lt_p=${PACKAGE-default}
 8323    case $withval in
 8324    yes|no) pic_mode=$withval ;;
 8325    *)
 8326      pic_mode=default
 8327      # Look at the argument we got.  We use all the common list separators.
 8328      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 8329      for lt_pkg in $withval; do
 8330	IFS=$lt_save_ifs
 8331	if test "X$lt_pkg" = "X$lt_p"; then
 8332	  pic_mode=yes
 8333	fi
 8334      done
 8335      IFS=$lt_save_ifs
 8336      ;;
 8337    esac
 8338else
 8339  pic_mode=default
 8340fi
 8341
 8342
 8343
 8344
 8345
 8346
 8347
 8348
 8349  # Check whether --enable-fast-install was given.
 8350if test "${enable_fast_install+set}" = set; then :
 8351  enableval=$enable_fast_install; p=${PACKAGE-default}
 8352    case $enableval in
 8353    yes) enable_fast_install=yes ;;
 8354    no) enable_fast_install=no ;;
 8355    *)
 8356      enable_fast_install=no
 8357      # Look at the argument we got.  We use all the common list separators.
 8358      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 8359      for pkg in $enableval; do
 8360	IFS=$lt_save_ifs
 8361	if test "X$pkg" = "X$p"; then
 8362	  enable_fast_install=yes
 8363	fi
 8364      done
 8365      IFS=$lt_save_ifs
 8366      ;;
 8367    esac
 8368else
 8369  enable_fast_install=yes
 8370fi
 8371
 8372
 8373
 8374
 8375
 8376
 8377
 8378
 8379  shared_archive_member_spec=
 8380case $host,$enable_shared in
 8381power*-*-aix[5-9]*,yes)
 8382  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
 8383$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
 8384
 8385# Check whether --with-aix-soname was given.
 8386if test "${with_aix_soname+set}" = set; then :
 8387  withval=$with_aix_soname; case $withval in
 8388    aix|svr4|both)
 8389      ;;
 8390    *)
 8391      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
 8392      ;;
 8393    esac
 8394    lt_cv_with_aix_soname=$with_aix_soname
 8395else
 8396  if ${lt_cv_with_aix_soname+:} false; then :
 8397  $as_echo_n "(cached) " >&6
 8398else
 8399  lt_cv_with_aix_soname=aix
 8400fi
 8401
 8402    with_aix_soname=$lt_cv_with_aix_soname
 8403fi
 8404
 8405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
 8406$as_echo "$with_aix_soname" >&6; }
 8407  if test aix != "$with_aix_soname"; then
 8408    # For the AIX way of multilib, we name the shared archive member
 8409    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
 8410    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
 8411    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
 8412    # the AIX toolchain works better with OBJECT_MODE set (default 32).
 8413    if test 64 = "${OBJECT_MODE-32}"; then
 8414      shared_archive_member_spec=shr_64
 8415    else
 8416      shared_archive_member_spec=shr
 8417    fi
 8418  fi
 8419  ;;
 8420*)
 8421  with_aix_soname=aix
 8422  ;;
 8423esac
 8424
 8425
 8426
 8427
 8428
 8429
 8430
 8431
 8432
 8433
 8434# This can be used to rebuild libtool when needed
 8435LIBTOOL_DEPS=$ltmain
 8436
 8437# Always use our own libtool.
 8438LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 8439
 8440
 8441
 8442
 8443
 8444
 8445
 8446
 8447
 8448
 8449
 8450
 8451
 8452
 8453
 8454
 8455
 8456
 8457
 8458
 8459
 8460
 8461
 8462
 8463
 8464
 8465
 8466
 8467
 8468
 8469test -z "$LN_S" && LN_S="ln -s"
 8470
 8471
 8472
 8473
 8474
 8475
 8476
 8477
 8478
 8479
 8480
 8481
 8482
 8483
 8484if test -n "${ZSH_VERSION+set}"; then
 8485   setopt NO_GLOB_SUBST
 8486fi
 8487
 8488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 8489$as_echo_n "checking for objdir... " >&6; }
 8490if ${lt_cv_objdir+:} false; then :
 8491  $as_echo_n "(cached) " >&6
 8492else
 8493  rm -f .libs 2>/dev/null
 8494mkdir .libs 2>/dev/null
 8495if test -d .libs; then
 8496  lt_cv_objdir=.libs
 8497else
 8498  # MS-DOS does not allow filenames that begin with a dot.
 8499  lt_cv_objdir=_libs
 8500fi
 8501rmdir .libs 2>/dev/null
 8502fi
 8503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 8504$as_echo "$lt_cv_objdir" >&6; }
 8505objdir=$lt_cv_objdir
 8506
 8507
 8508
 8509
 8510
 8511cat >>confdefs.h <<_ACEOF
 8512#define LT_OBJDIR "$lt_cv_objdir/"
 8513_ACEOF
 8514
 8515
 8516
 8517
 8518case $host_os in
 8519aix3*)
 8520  # AIX sometimes has problems with the GCC collect2 program.  For some
 8521  # reason, if we set the COLLECT_NAMES environment variable, the problems
 8522  # vanish in a puff of smoke.
 8523  if test set != "${COLLECT_NAMES+set}"; then
 8524    COLLECT_NAMES=
 8525    export COLLECT_NAMES
 8526  fi
 8527  ;;
 8528esac
 8529
 8530# Global variables:
 8531ofile=libtool
 8532can_build_shared=yes
 8533
 8534# All known linkers require a '.a' archive for static linking (except MSVC,
 8535# which needs '.lib').
 8536libext=a
 8537
 8538with_gnu_ld=$lt_cv_prog_gnu_ld
 8539
 8540old_CC=$CC
 8541old_CFLAGS=$CFLAGS
 8542
 8543# Set sane defaults for various variables
 8544test -z "$CC" && CC=cc
 8545test -z "$LTCC" && LTCC=$CC
 8546test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 8547test -z "$LD" && LD=ld
 8548test -z "$ac_objext" && ac_objext=o
 8549
 8550func_cc_basename $compiler
 8551cc_basename=$func_cc_basename_result
 8552
 8553
 8554# Only perform the check for file, if the check method requires it
 8555test -z "$MAGIC_CMD" && MAGIC_CMD=file
 8556case $deplibs_check_method in
 8557file_magic*)
 8558  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 8559    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 8560$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 8561if ${lt_cv_path_MAGIC_CMD+:} false; then :
 8562  $as_echo_n "(cached) " >&6
 8563else
 8564  case $MAGIC_CMD in
 8565[\\/*] |  ?:[\\/]*)
 8566  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
 8567  ;;
 8568*)
 8569  lt_save_MAGIC_CMD=$MAGIC_CMD
 8570  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 8571  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 8572  for ac_dir in $ac_dummy; do
 8573    IFS=$lt_save_ifs
 8574    test -z "$ac_dir" && ac_dir=.
 8575    if test -f "$ac_dir/${ac_tool_prefix}file"; then
 8576      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
 8577      if test -n "$file_magic_test_file"; then
 8578	case $deplibs_check_method in
 8579	"file_magic "*)
 8580	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 8581	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 8582	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 8583	    $EGREP "$file_magic_regex" > /dev/null; then
 8584	    :
 8585	  else
 8586	    cat <<_LT_EOF 1>&2
 8587
 8588*** Warning: the command libtool uses to detect shared libraries,
 8589*** $file_magic_cmd, produces output that libtool cannot recognize.
 8590*** The result is that libtool may fail to recognize shared libraries
 8591*** as such.  This will affect the creation of libtool libraries that
 8592*** depend on shared libraries, but programs linked with such libtool
 8593*** libraries will work regardless of this problem.  Nevertheless, you
 8594*** may want to report the problem to your system manager and/or to
 8595*** bug-libtool@gnu.org
 8596
 8597_LT_EOF
 8598	  fi ;;
 8599	esac
 8600      fi
 8601      break
 8602    fi
 8603  done
 8604  IFS=$lt_save_ifs
 8605  MAGIC_CMD=$lt_save_MAGIC_CMD
 8606  ;;
 8607esac
 8608fi
 8609
 8610MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 8611if test -n "$MAGIC_CMD"; then
 8612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 8613$as_echo "$MAGIC_CMD" >&6; }
 8614else
 8615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8616$as_echo "no" >&6; }
 8617fi
 8618
 8619
 8620
 8621
 8622
 8623if test -z "$lt_cv_path_MAGIC_CMD"; then
 8624  if test -n "$ac_tool_prefix"; then
 8625    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 8626$as_echo_n "checking for file... " >&6; }
 8627if ${lt_cv_path_MAGIC_CMD+:} false; then :
 8628  $as_echo_n "(cached) " >&6
 8629else
 8630  case $MAGIC_CMD in
 8631[\\/*] |  ?:[\\/]*)
 8632  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
 8633  ;;
 8634*)
 8635  lt_save_MAGIC_CMD=$MAGIC_CMD
 8636  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 8637  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 8638  for ac_dir in $ac_dummy; do
 8639    IFS=$lt_save_ifs
 8640    test -z "$ac_dir" && ac_dir=.
 8641    if test -f "$ac_dir/file"; then
 8642      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
 8643      if test -n "$file_magic_test_file"; then
 8644	case $deplibs_check_method in
 8645	"file_magic "*)
 8646	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 8647	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 8648	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 8649	    $EGREP "$file_magic_regex" > /dev/null; then
 8650	    :
 8651	  else
 8652	    cat <<_LT_EOF 1>&2
 8653
 8654*** Warning: the command libtool uses to detect shared libraries,
 8655*** $file_magic_cmd, produces output that libtool cannot recognize.
 8656*** The result is that libtool may fail to recognize shared libraries
 8657*** as such.  This will affect the creation of libtool libraries that
 8658*** depend on shared libraries, but programs linked with such libtool
 8659*** libraries will work regardless of this problem.  Nevertheless, you
 8660*** may want to report the problem to your system manager and/or to
 8661*** bug-libtool@gnu.org
 8662
 8663_LT_EOF
 8664	  fi ;;
 8665	esac
 8666      fi
 8667      break
 8668    fi
 8669  done
 8670  IFS=$lt_save_ifs
 8671  MAGIC_CMD=$lt_save_MAGIC_CMD
 8672  ;;
 8673esac
 8674fi
 8675
 8676MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 8677if test -n "$MAGIC_CMD"; then
 8678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 8679$as_echo "$MAGIC_CMD" >&6; }
 8680else
 8681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 8682$as_echo "no" >&6; }
 8683fi
 8684
 8685
 8686  else
 8687    MAGIC_CMD=:
 8688  fi
 8689fi
 8690
 8691  fi
 8692  ;;
 8693esac
 8694
 8695# Use C for the default configuration in the libtool script
 8696
 8697lt_save_CC=$CC
 8698ac_ext=c
 8699ac_cpp='$CPP $CPPFLAGS'
 8700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 8701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 8702ac_compiler_gnu=$ac_cv_c_compiler_gnu
 8703
 8704
 8705# Source file extension for C test sources.
 8706ac_ext=c
 8707
 8708# Object file extension for compiled C test sources.
 8709objext=o
 8710objext=$objext
 8711
 8712# Code to be used in simple compile tests
 8713lt_simple_compile_test_code="int some_variable = 0;"
 8714
 8715# Code to be used in simple link tests
 8716lt_simple_link_test_code='int main(){return(0);}'
 8717
 8718
 8719
 8720
 8721
 8722
 8723
 8724# If no C compiler was specified, use CC.
 8725LTCC=${LTCC-"$CC"}
 8726
 8727# If no C compiler flags were specified, use CFLAGS.
 8728LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 8729
 8730# Allow CC to be a program name with arguments.
 8731compiler=$CC
 8732
 8733# Save the default compiler, since it gets overwritten when the other
 8734# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 8735compiler_DEFAULT=$CC
 8736
 8737# save warnings/boilerplate of simple test code
 8738ac_outfile=conftest.$ac_objext
 8739echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 8740eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 8741_lt_compiler_boilerplate=`cat conftest.err`
 8742$RM conftest*
 8743
 8744ac_outfile=conftest.$ac_objext
 8745echo "$lt_simple_link_test_code" >conftest.$ac_ext
 8746eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 8747_lt_linker_boilerplate=`cat conftest.err`
 8748$RM -r conftest*
 8749
 8750
 8751## CAVEAT EMPTOR:
 8752## There is no encapsulation within the following macros, do not change
 8753## the running order or otherwise move them around unless you know exactly
 8754## what you are doing...
 8755if test -n "$compiler"; then
 8756
 8757lt_prog_compiler_no_builtin_flag=
 8758
 8759if test yes = "$GCC"; then
 8760  case $cc_basename in
 8761  nvcc*)
 8762    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 8763  *)
 8764    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 8765  esac
 8766
 8767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 8768$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 8769if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 8770  $as_echo_n "(cached) " >&6
 8771else
 8772  lt_cv_prog_compiler_rtti_exceptions=no
 8773   ac_outfile=conftest.$ac_objext
 8774   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 8775   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
 8776   # Insert the option either (1) after the last *FLAGS variable, or
 8777   # (2) before a word containing "conftest.", or (3) at the end.
 8778   # Note that $ac_compile itself does not contain backslashes and begins
 8779   # with a dollar sign (not a hyphen), so the echo should work correctly.
 8780   # The option is referenced via a variable to avoid confusing sed.
 8781   lt_compile=`echo "$ac_compile" | $SED \
 8782   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 8783   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 8784   -e 's:$: $lt_compiler_flag:'`
 8785   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 8786   (eval "$lt_compile" 2>conftest.err)
 8787   ac_status=$?
 8788   cat conftest.err >&5
 8789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8790   if (exit $ac_status) && test -s "$ac_outfile"; then
 8791     # The compiler can only warn and ignore the option if not recognized
 8792     # So say no if there are warnings other than the usual output.
 8793     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 8794     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 8795     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 8796       lt_cv_prog_compiler_rtti_exceptions=yes
 8797     fi
 8798   fi
 8799   $RM conftest*
 8800
 8801fi
 8802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 8803$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 8804
 8805if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
 8806    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 8807else
 8808    :
 8809fi
 8810
 8811fi
 8812
 8813
 8814
 8815
 8816
 8817
 8818  lt_prog_compiler_wl=
 8819lt_prog_compiler_pic=
 8820lt_prog_compiler_static=
 8821
 8822
 8823  if test yes = "$GCC"; then
 8824    lt_prog_compiler_wl='-Wl,'
 8825    lt_prog_compiler_static='-static'
 8826
 8827    case $host_os in
 8828      aix*)
 8829      # All AIX code is PIC.
 8830      if test ia64 = "$host_cpu"; then
 8831	# AIX 5 now supports IA64 processor
 8832	lt_prog_compiler_static='-Bstatic'
 8833      fi
 8834      lt_prog_compiler_pic='-fPIC'
 8835      ;;
 8836
 8837    amigaos*)
 8838      case $host_cpu in
 8839      powerpc)
 8840            # see comment about AmigaOS4 .so support
 8841            lt_prog_compiler_pic='-fPIC'
 8842        ;;
 8843      m68k)
 8844            # FIXME: we need at least 68020 code to build shared libraries, but
 8845            # adding the '-m68020' flag to GCC prevents building anything better,
 8846            # like '-m68040'.
 8847            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 8848        ;;
 8849      esac
 8850      ;;
 8851
 8852    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 8853      # PIC is the default for these OSes.
 8854      ;;
 8855
 8856    mingw* | cygwin* | pw32* | os2* | cegcc*)
 8857      # This hack is so that the source file can tell whether it is being
 8858      # built for inclusion in a dll (and should export symbols for example).
 8859      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 8860      # (--disable-auto-import) libraries
 8861      lt_prog_compiler_pic='-DDLL_EXPORT'
 8862      case $host_os in
 8863      os2*)
 8864	lt_prog_compiler_static='$wl-static'
 8865	;;
 8866      esac
 8867      ;;
 8868
 8869    darwin* | rhapsody*)
 8870      # PIC is the default on this platform
 8871      # Common symbols not allowed in MH_DYLIB files
 8872      lt_prog_compiler_pic='-fno-common'
 8873      ;;
 8874
 8875    haiku*)
 8876      # PIC is the default for Haiku.
 8877      # The "-static" flag exists, but is broken.
 8878      lt_prog_compiler_static=
 8879      ;;
 8880
 8881    hpux*)
 8882      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 8883      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 8884      # sets the default TLS model and affects inlining.
 8885      case $host_cpu in
 8886      hppa*64*)
 8887	# +Z the default
 8888	;;
 8889      *)
 8890	lt_prog_compiler_pic='-fPIC'
 8891	;;
 8892      esac
 8893      ;;
 8894
 8895    interix[3-9]*)
 8896      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 8897      # Instead, we relocate shared libraries at runtime.
 8898      ;;
 8899
 8900    msdosdjgpp*)
 8901      # Just because we use GCC doesn't mean we suddenly get shared libraries
 8902      # on systems that don't support them.
 8903      lt_prog_compiler_can_build_shared=no
 8904      enable_shared=no
 8905      ;;
 8906
 8907    *nto* | *qnx*)
 8908      # QNX uses GNU C++, but need to define -shared option too, otherwise
 8909      # it will coredump.
 8910      lt_prog_compiler_pic='-fPIC -shared'
 8911      ;;
 8912
 8913    sysv4*MP*)
 8914      if test -d /usr/nec; then
 8915	lt_prog_compiler_pic=-Kconform_pic
 8916      fi
 8917      ;;
 8918
 8919    *)
 8920      lt_prog_compiler_pic='-fPIC'
 8921      ;;
 8922    esac
 8923
 8924    case $cc_basename in
 8925    nvcc*) # Cuda Compiler Driver 2.2
 8926      lt_prog_compiler_wl='-Xlinker '
 8927      if test -n "$lt_prog_compiler_pic"; then
 8928        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 8929      fi
 8930      ;;
 8931    esac
 8932  else
 8933    # PORTME Check for flag to pass linker flags through the system compiler.
 8934    case $host_os in
 8935    aix*)
 8936      lt_prog_compiler_wl='-Wl,'
 8937      if test ia64 = "$host_cpu"; then
 8938	# AIX 5 now supports IA64 processor
 8939	lt_prog_compiler_static='-Bstatic'
 8940      else
 8941	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 8942      fi
 8943      ;;
 8944
 8945    darwin* | rhapsody*)
 8946      # PIC is the default on this platform
 8947      # Common symbols not allowed in MH_DYLIB files
 8948      lt_prog_compiler_pic='-fno-common'
 8949      case $cc_basename in
 8950      nagfor*)
 8951        # NAG Fortran compiler
 8952        lt_prog_compiler_wl='-Wl,-Wl,,'
 8953        lt_prog_compiler_pic='-PIC'
 8954        lt_prog_compiler_static='-Bstatic'
 8955        ;;
 8956      esac
 8957      ;;
 8958
 8959    mingw* | cygwin* | pw32* | os2* | cegcc*)
 8960      # This hack is so that the source file can tell whether it is being
 8961      # built for inclusion in a dll (and should export symbols for example).
 8962      lt_prog_compiler_pic='-DDLL_EXPORT'
 8963      case $host_os in
 8964      os2*)
 8965	lt_prog_compiler_static='$wl-static'
 8966	;;
 8967      esac
 8968      ;;
 8969
 8970    hpux9* | hpux10* | hpux11*)
 8971      lt_prog_compiler_wl='-Wl,'
 8972      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 8973      # not for PA HP-UX.
 8974      case $host_cpu in
 8975      hppa*64*|ia64*)
 8976	# +Z the default
 8977	;;
 8978      *)
 8979	lt_prog_compiler_pic='+Z'
 8980	;;
 8981      esac
 8982      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 8983      lt_prog_compiler_static='$wl-a ${wl}archive'
 8984      ;;
 8985
 8986    irix5* | irix6* | nonstopux*)
 8987      lt_prog_compiler_wl='-Wl,'
 8988      # PIC (with -KPIC) is the default.
 8989      lt_prog_compiler_static='-non_shared'
 8990      ;;
 8991
 8992    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 8993      case $cc_basename in
 8994      # old Intel for x86_64, which still supported -KPIC.
 8995      ecc*)
 8996	lt_prog_compiler_wl='-Wl,'
 8997	lt_prog_compiler_pic='-KPIC'
 8998	lt_prog_compiler_static='-static'
 8999        ;;
 9000      # icc used to be incompatible with GCC.
 9001      # ICC 10 doesn't accept -KPIC any more.
 9002      icc* | ifort*)
 9003	lt_prog_compiler_wl='-Wl,'
 9004	lt_prog_compiler_pic='-fPIC'
 9005	lt_prog_compiler_static='-static'
 9006        ;;
 9007      # Lahey Fortran 8.1.
 9008      lf95*)
 9009	lt_prog_compiler_wl='-Wl,'
 9010	lt_prog_compiler_pic='--shared'
 9011	lt_prog_compiler_static='--static'
 9012	;;
 9013      nagfor*)
 9014	# NAG Fortran compiler
 9015	lt_prog_compiler_wl='-Wl,-Wl,,'
 9016	lt_prog_compiler_pic='-PIC'
 9017	lt_prog_compiler_static='-Bstatic'
 9018	;;
 9019      tcc*)
 9020	# Fabrice Bellard et al's Tiny C Compiler
 9021	lt_prog_compiler_wl='-Wl,'
 9022	lt_prog_compiler_pic='-fPIC'
 9023	lt_prog_compiler_static='-static'
 9024	;;
 9025      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 9026        # Portland Group compilers (*not* the Pentium gcc compiler,
 9027	# which looks to be a dead project)
 9028	lt_prog_compiler_wl='-Wl,'
 9029	lt_prog_compiler_pic='-fpic'
 9030	lt_prog_compiler_static='-Bstatic'
 9031        ;;
 9032      ccc*)
 9033        lt_prog_compiler_wl='-Wl,'
 9034        # All Alpha code is PIC.
 9035        lt_prog_compiler_static='-non_shared'
 9036        ;;
 9037      xl* | bgxl* | bgf* | mpixl*)
 9038	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 9039	lt_prog_compiler_wl='-Wl,'
 9040	lt_prog_compiler_pic='-qpic'
 9041	lt_prog_compiler_static='-qstaticlink'
 9042	;;
 9043      *)
 9044	case `$CC -V 2>&1 | sed 5q` in
 9045	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 9046	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 9047	  lt_prog_compiler_pic='-KPIC'
 9048	  lt_prog_compiler_static='-Bstatic'
 9049	  lt_prog_compiler_wl=''
 9050	  ;;
 9051	*Sun\ F* | *Sun*Fortran*)
 9052	  lt_prog_compiler_pic='-KPIC'
 9053	  lt_prog_compiler_static='-Bstatic'
 9054	  lt_prog_compiler_wl='-Qoption ld '
 9055	  ;;
 9056	*Sun\ C*)
 9057	  # Sun C 5.9
 9058	  lt_prog_compiler_pic='-KPIC'
 9059	  lt_prog_compiler_static='-Bstatic'
 9060	  lt_prog_compiler_wl='-Wl,'
 9061	  ;;
 9062        *Intel*\ [CF]*Compiler*)
 9063	  lt_prog_compiler_wl='-Wl,'
 9064	  lt_prog_compiler_pic='-fPIC'
 9065	  lt_prog_compiler_static='-static'
 9066	  ;;
 9067	*Portland\ Group*)
 9068	  lt_prog_compiler_wl='-Wl,'
 9069	  lt_prog_compiler_pic='-fpic'
 9070	  lt_prog_compiler_static='-Bstatic'
 9071	  ;;
 9072	esac
 9073	;;
 9074      esac
 9075      ;;
 9076
 9077    newsos6)
 9078      lt_prog_compiler_pic='-KPIC'
 9079      lt_prog_compiler_static='-Bstatic'
 9080      ;;
 9081
 9082    *nto* | *qnx*)
 9083      # QNX uses GNU C++, but need to define -shared option too, otherwise
 9084      # it will coredump.
 9085      lt_prog_compiler_pic='-fPIC -shared'
 9086      ;;
 9087
 9088    osf3* | osf4* | osf5*)
 9089      lt_prog_compiler_wl='-Wl,'
 9090      # All OSF/1 code is PIC.
 9091      lt_prog_compiler_static='-non_shared'
 9092      ;;
 9093
 9094    rdos*)
 9095      lt_prog_compiler_static='-non_shared'
 9096      ;;
 9097
 9098    solaris*)
 9099      lt_prog_compiler_pic='-KPIC'
 9100      lt_prog_compiler_static='-Bstatic'
 9101      case $cc_basename in
 9102      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 9103	lt_prog_compiler_wl='-Qoption ld ';;
 9104      *)
 9105	lt_prog_compiler_wl='-Wl,';;
 9106      esac
 9107      ;;
 9108
 9109    sunos4*)
 9110      lt_prog_compiler_wl='-Qoption ld '
 9111      lt_prog_compiler_pic='-PIC'
 9112      lt_prog_compiler_static='-Bstatic'
 9113      ;;
 9114
 9115    sysv4 | sysv4.2uw2* | sysv4.3*)
 9116      lt_prog_compiler_wl='-Wl,'
 9117      lt_prog_compiler_pic='-KPIC'
 9118      lt_prog_compiler_static='-Bstatic'
 9119      ;;
 9120
 9121    sysv4*MP*)
 9122      if test -d /usr/nec; then
 9123	lt_prog_compiler_pic='-Kconform_pic'
 9124	lt_prog_compiler_static='-Bstatic'
 9125      fi
 9126      ;;
 9127
 9128    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 9129      lt_prog_compiler_wl='-Wl,'
 9130      lt_prog_compiler_pic='-KPIC'
 9131      lt_prog_compiler_static='-Bstatic'
 9132      ;;
 9133
 9134    unicos*)
 9135      lt_prog_compiler_wl='-Wl,'
 9136      lt_prog_compiler_can_build_shared=no
 9137      ;;
 9138
 9139    uts4*)
 9140      lt_prog_compiler_pic='-pic'
 9141      lt_prog_compiler_static='-Bstatic'
 9142      ;;
 9143
 9144    *)
 9145      lt_prog_compiler_can_build_shared=no
 9146      ;;
 9147    esac
 9148  fi
 9149
 9150case $host_os in
 9151  # For platforms that do not support PIC, -DPIC is meaningless:
 9152  *djgpp*)
 9153    lt_prog_compiler_pic=
 9154    ;;
 9155  *)
 9156    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 9157    ;;
 9158esac
 9159
 9160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 9161$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 9162if ${lt_cv_prog_compiler_pic+:} false; then :
 9163  $as_echo_n "(cached) " >&6
 9164else
 9165  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 9166fi
 9167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 9168$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 9169lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 9170
 9171#
 9172# Check to make sure the PIC flag actually works.
 9173#
 9174if test -n "$lt_prog_compiler_pic"; then
 9175  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 9176$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 9177if ${lt_cv_prog_compiler_pic_works+:} false; then :
 9178  $as_echo_n "(cached) " >&6
 9179else
 9180  lt_cv_prog_compiler_pic_works=no
 9181   ac_outfile=conftest.$ac_objext
 9182   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9183   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
 9184   # Insert the option either (1) after the last *FLAGS variable, or
 9185   # (2) before a word containing "conftest.", or (3) at the end.
 9186   # Note that $ac_compile itself does not contain backslashes and begins
 9187   # with a dollar sign (not a hyphen), so the echo should work correctly.
 9188   # The option is referenced via a variable to avoid confusing sed.
 9189   lt_compile=`echo "$ac_compile" | $SED \
 9190   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9191   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9192   -e 's:$: $lt_compiler_flag:'`
 9193   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9194   (eval "$lt_compile" 2>conftest.err)
 9195   ac_status=$?
 9196   cat conftest.err >&5
 9197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9198   if (exit $ac_status) && test -s "$ac_outfile"; then
 9199     # The compiler can only warn and ignore the option if not recognized
 9200     # So say no if there are warnings other than the usual output.
 9201     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 9202     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 9203     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 9204       lt_cv_prog_compiler_pic_works=yes
 9205     fi
 9206   fi
 9207   $RM conftest*
 9208
 9209fi
 9210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 9211$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 9212
 9213if test yes = "$lt_cv_prog_compiler_pic_works"; then
 9214    case $lt_prog_compiler_pic in
 9215     "" | " "*) ;;
 9216     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 9217     esac
 9218else
 9219    lt_prog_compiler_pic=
 9220     lt_prog_compiler_can_build_shared=no
 9221fi
 9222
 9223fi
 9224
 9225
 9226
 9227
 9228
 9229
 9230
 9231
 9232
 9233
 9234
 9235#
 9236# Check to make sure the static flag actually works.
 9237#
 9238wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 9239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 9240$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 9241if ${lt_cv_prog_compiler_static_works+:} false; then :
 9242  $as_echo_n "(cached) " >&6
 9243else
 9244  lt_cv_prog_compiler_static_works=no
 9245   save_LDFLAGS=$LDFLAGS
 9246   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 9247   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 9248   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 9249     # The linker can only warn and ignore the option if not recognized
 9250     # So say no if there are warnings
 9251     if test -s conftest.err; then
 9252       # Append any errors to the config.log.
 9253       cat conftest.err 1>&5
 9254       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 9255       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 9256       if diff conftest.exp conftest.er2 >/dev/null; then
 9257         lt_cv_prog_compiler_static_works=yes
 9258       fi
 9259     else
 9260       lt_cv_prog_compiler_static_works=yes
 9261     fi
 9262   fi
 9263   $RM -r conftest*
 9264   LDFLAGS=$save_LDFLAGS
 9265
 9266fi
 9267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 9268$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 9269
 9270if test yes = "$lt_cv_prog_compiler_static_works"; then
 9271    :
 9272else
 9273    lt_prog_compiler_static=
 9274fi
 9275
 9276
 9277
 9278
 9279
 9280
 9281
 9282  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 9283$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 9284if ${lt_cv_prog_compiler_c_o+:} false; then :
 9285  $as_echo_n "(cached) " >&6
 9286else
 9287  lt_cv_prog_compiler_c_o=no
 9288   $RM -r conftest 2>/dev/null
 9289   mkdir conftest
 9290   cd conftest
 9291   mkdir out
 9292   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9293
 9294   lt_compiler_flag="-o out/conftest2.$ac_objext"
 9295   # Insert the option either (1) after the last *FLAGS variable, or
 9296   # (2) before a word containing "conftest.", or (3) at the end.
 9297   # Note that $ac_compile itself does not contain backslashes and begins
 9298   # with a dollar sign (not a hyphen), so the echo should work correctly.
 9299   lt_compile=`echo "$ac_compile" | $SED \
 9300   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9301   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9302   -e 's:$: $lt_compiler_flag:'`
 9303   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9304   (eval "$lt_compile" 2>out/conftest.err)
 9305   ac_status=$?
 9306   cat out/conftest.err >&5
 9307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9308   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 9309   then
 9310     # The compiler can only warn and ignore the option if not recognized
 9311     # So say no if there are warnings
 9312     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 9313     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 9314     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 9315       lt_cv_prog_compiler_c_o=yes
 9316     fi
 9317   fi
 9318   chmod u+w . 2>&5
 9319   $RM conftest*
 9320   # SGI C++ compiler will create directory out/ii_files/ for
 9321   # template instantiation
 9322   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 9323   $RM out/* && rmdir out
 9324   cd ..
 9325   $RM -r conftest
 9326   $RM conftest*
 9327
 9328fi
 9329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 9330$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 9331
 9332
 9333
 9334
 9335
 9336
 9337  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 9338$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 9339if ${lt_cv_prog_compiler_c_o+:} false; then :
 9340  $as_echo_n "(cached) " >&6
 9341else
 9342  lt_cv_prog_compiler_c_o=no
 9343   $RM -r conftest 2>/dev/null
 9344   mkdir conftest
 9345   cd conftest
 9346   mkdir out
 9347   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 9348
 9349   lt_compiler_flag="-o out/conftest2.$ac_objext"
 9350   # Insert the option either (1) after the last *FLAGS variable, or
 9351   # (2) before a word containing "conftest.", or (3) at the end.
 9352   # Note that $ac_compile itself does not contain backslashes and begins
 9353   # with a dollar sign (not a hyphen), so the echo should work correctly.
 9354   lt_compile=`echo "$ac_compile" | $SED \
 9355   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9356   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9357   -e 's:$: $lt_compiler_flag:'`
 9358   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 9359   (eval "$lt_compile" 2>out/conftest.err)
 9360   ac_status=$?
 9361   cat out/conftest.err >&5
 9362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9363   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 9364   then
 9365     # The compiler can only warn and ignore the option if not recognized
 9366     # So say no if there are warnings
 9367     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 9368     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 9369     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 9370       lt_cv_prog_compiler_c_o=yes
 9371     fi
 9372   fi
 9373   chmod u+w . 2>&5
 9374   $RM conftest*
 9375   # SGI C++ compiler will create directory out/ii_files/ for
 9376   # template instantiation
 9377   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 9378   $RM out/* && rmdir out
 9379   cd ..
 9380   $RM -r conftest
 9381   $RM conftest*
 9382
 9383fi
 9384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 9385$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 9386
 9387
 9388
 9389
 9390hard_links=nottested
 9391if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
 9392  # do not overwrite the value of need_locks provided by the user
 9393  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 9394$as_echo_n "checking if we can lock with hard links... " >&6; }
 9395  hard_links=yes
 9396  $RM conftest*
 9397  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 9398  touch conftest.a
 9399  ln conftest.a conftest.b 2>&5 || hard_links=no
 9400  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 9401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 9402$as_echo "$hard_links" >&6; }
 9403  if test no = "$hard_links"; then
 9404    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
 9405$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
 9406    need_locks=warn
 9407  fi
 9408else
 9409  need_locks=no
 9410fi
 9411
 9412
 9413
 9414
 9415
 9416
 9417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 9418$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 9419
 9420  runpath_var=
 9421  allow_undefined_flag=
 9422  always_export_symbols=no
 9423  archive_cmds=
 9424  archive_expsym_cmds=
 9425  compiler_needs_object=no
 9426  enable_shared_with_static_runtimes=no
 9427  export_dynamic_flag_spec=
 9428  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 9429  hardcode_automatic=no
 9430  hardcode_direct=no
 9431  hardcode_direct_absolute=no
 9432  hardcode_libdir_flag_spec=
 9433  hardcode_libdir_separator=
 9434  hardcode_minus_L=no
 9435  hardcode_shlibpath_var=unsupported
 9436  inherit_rpath=no
 9437  link_all_deplibs=unknown
 9438  module_cmds=
 9439  module_expsym_cmds=
 9440  old_archive_from_new_cmds=
 9441  old_archive_from_expsyms_cmds=
 9442  thread_safe_flag_spec=
 9443  whole_archive_flag_spec=
 9444  # include_expsyms should be a list of space-separated symbols to be *always*
 9445  # included in the symbol list
 9446  include_expsyms=
 9447  # exclude_expsyms can be an extended regexp of symbols to exclude
 9448  # it will be wrapped by ' (' and ')$', so one must not match beginning or
 9449  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
 9450  # as well as any symbol that contains 'd'.
 9451  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 9452  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 9453  # platforms (ab)use it in PIC code, but their linkers get confused if
 9454  # the symbol is explicitly referenced.  Since portable code cannot
 9455  # rely on this symbol name, it's probably fine to never include it in
 9456  # preloaded symbol tables.
 9457  # Exclude shared library initialization/finalization symbols.
 9458  extract_expsyms_cmds=
 9459
 9460  case $host_os in
 9461  cygwin* | mingw* | pw32* | cegcc*)
 9462    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 9463    # When not using gcc, we currently assume that we are using
 9464    # Microsoft Visual C++.
 9465    if test yes != "$GCC"; then
 9466      with_gnu_ld=no
 9467    fi
 9468    ;;
 9469  interix*)
 9470    # we just hope/assume this is gcc and not c89 (= MSVC++)
 9471    with_gnu_ld=yes
 9472    ;;
 9473  openbsd* | bitrig*)
 9474    with_gnu_ld=no
 9475    ;;
 9476  esac
 9477
 9478  ld_shlibs=yes
 9479
 9480  # On some targets, GNU ld is compatible enough with the native linker
 9481  # that we're better off using the native interface for both.
 9482  lt_use_gnu_ld_interface=no
 9483  if test yes = "$with_gnu_ld"; then
 9484    case $host_os in
 9485      aix*)
 9486	# The AIX port of GNU ld has always aspired to compatibility
 9487	# with the native linker.  However, as the warning in the GNU ld
 9488	# block says, versions before 2.19.5* couldn't really create working
 9489	# shared libraries, regardless of the interface used.
 9490	case `$LD -v 2>&1` in
 9491	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 9492	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 9493	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 9494	  *)
 9495	    lt_use_gnu_ld_interface=yes
 9496	    ;;
 9497	esac
 9498	;;
 9499      *)
 9500	lt_use_gnu_ld_interface=yes
 9501	;;
 9502    esac
 9503  fi
 9504
 9505  if test yes = "$lt_use_gnu_ld_interface"; then
 9506    # If archive_cmds runs LD, not CC, wlarc should be empty
 9507    wlarc='$wl'
 9508
 9509    # Set some defaults for GNU ld with shared library support. These
 9510    # are reset later if shared libraries are not supported. Putting them
 9511    # here allows them to be overridden if necessary.
 9512    runpath_var=LD_RUN_PATH
 9513    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 9514    export_dynamic_flag_spec='$wl--export-dynamic'
 9515    # ancient GNU ld didn't support --whole-archive et. al.
 9516    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 9517      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
 9518    else
 9519      whole_archive_flag_spec=
 9520    fi
 9521    supports_anon_versioning=no
 9522    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
 9523      *GNU\ gold*) supports_anon_versioning=yes ;;
 9524      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 9525      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 9526      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 9527      *\ 2.11.*) ;; # other 2.11 versions
 9528      *) supports_anon_versioning=yes ;;
 9529    esac
 9530
 9531    # See if GNU ld supports shared libraries.
 9532    case $host_os in
 9533    aix[3-9]*)
 9534      # On AIX/PPC, the GNU linker is very broken
 9535      if test ia64 != "$host_cpu"; then
 9536	ld_shlibs=no
 9537	cat <<_LT_EOF 1>&2
 9538
 9539*** Warning: the GNU linker, at least up to release 2.19, is reported
 9540*** to be unable to reliably create shared libraries on AIX.
 9541*** Therefore, libtool is disabling shared libraries support.  If you
 9542*** really care for shared libraries, you may want to install binutils
 9543*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 9544*** You will then need to restart the configuration process.
 9545
 9546_LT_EOF
 9547      fi
 9548      ;;
 9549
 9550    amigaos*)
 9551      case $host_cpu in
 9552      powerpc)
 9553            # see comment about AmigaOS4 .so support
 9554            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 9555            archive_expsym_cmds=''
 9556        ;;
 9557      m68k)
 9558            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)'
 9559            hardcode_libdir_flag_spec='-L$libdir'
 9560            hardcode_minus_L=yes
 9561        ;;
 9562      esac
 9563      ;;
 9564
 9565    beos*)
 9566      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9567	allow_undefined_flag=unsupported
 9568	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 9569	# support --undefined.  This deserves some investigation.  FIXME
 9570	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 9571      else
 9572	ld_shlibs=no
 9573      fi
 9574      ;;
 9575
 9576    cygwin* | mingw* | pw32* | cegcc*)
 9577      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 9578      # as there is no search path for DLLs.
 9579      hardcode_libdir_flag_spec='-L$libdir'
 9580      export_dynamic_flag_spec='$wl--export-all-symbols'
 9581      allow_undefined_flag=unsupported
 9582      always_export_symbols=no
 9583      enable_shared_with_static_runtimes=yes
 9584      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'
 9585      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 9586
 9587      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 9588        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 9589	# If the export-symbols file already is a .def file, use it as
 9590	# is; otherwise, prepend EXPORTS...
 9591	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
 9592          cp $export_symbols $output_objdir/$soname.def;
 9593        else
 9594          echo EXPORTS > $output_objdir/$soname.def;
 9595          cat $export_symbols >> $output_objdir/$soname.def;
 9596        fi~
 9597        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 9598      else
 9599	ld_shlibs=no
 9600      fi
 9601      ;;
 9602
 9603    haiku*)
 9604      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 9605      link_all_deplibs=yes
 9606      ;;
 9607
 9608    os2*)
 9609      hardcode_libdir_flag_spec='-L$libdir'
 9610      hardcode_minus_L=yes
 9611      allow_undefined_flag=unsupported
 9612      shrext_cmds=.dll
 9613      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 9614	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 9615	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 9616	$ECHO EXPORTS >> $output_objdir/$libname.def~
 9617	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
 9618	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 9619	emximp -o $lib $output_objdir/$libname.def'
 9620      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 9621	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 9622	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 9623	$ECHO EXPORTS >> $output_objdir/$libname.def~
 9624	prefix_cmds="$SED"~
 9625	if test EXPORTS = "`$SED 1q $export_symbols`"; then
 9626	  prefix_cmds="$prefix_cmds -e 1d";
 9627	fi~
 9628	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
 9629	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 9630	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 9631	emximp -o $lib $output_objdir/$libname.def'
 9632      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
 9633      enable_shared_with_static_runtimes=yes
 9634      ;;
 9635
 9636    interix[3-9]*)
 9637      hardcode_direct=no
 9638      hardcode_shlibpath_var=no
 9639      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
 9640      export_dynamic_flag_spec='$wl-E'
 9641      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 9642      # Instead, shared libraries are loaded at an image base (0x10000000 by
 9643      # default) and relocated if they conflict, which is a slow very memory
 9644      # consuming and fragmenting process.  To avoid this, we pick a random,
 9645      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 9646      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 9647      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 9648      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'
 9649      ;;
 9650
 9651    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 9652      tmp_diet=no
 9653      if test linux-dietlibc = "$host_os"; then
 9654	case $cc_basename in
 9655	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
 9656	esac
 9657      fi
 9658      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 9659	 && test no = "$tmp_diet"
 9660      then
 9661	tmp_addflag=' $pic_flag'
 9662	tmp_sharedflag='-shared'
 9663	case $cc_basename,$host_cpu in
 9664        pgcc*)				# Portland Group C compiler
 9665	  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'
 9666	  tmp_addflag=' $pic_flag'
 9667	  ;;
 9668	pgf77* | pgf90* | pgf95* | pgfortran*)
 9669					# Portland Group f77 and f90 compilers
 9670	  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'
 9671	  tmp_addflag=' $pic_flag -Mnomain' ;;
 9672	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 9673	  tmp_addflag=' -i_dynamic' ;;
 9674	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 9675	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 9676	ifc* | ifort*)			# Intel Fortran compiler
 9677	  tmp_addflag=' -nofor_main' ;;
 9678	lf95*)				# Lahey Fortran 8.1
 9679	  whole_archive_flag_spec=
 9680	  tmp_sharedflag='--shared' ;;
 9681        nagfor*)                        # NAGFOR 5.3
 9682          tmp_sharedflag='-Wl,-shared' ;;
 9683	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 9684	  tmp_sharedflag='-qmkshrobj'
 9685	  tmp_addflag= ;;
 9686	nvcc*)	# Cuda Compiler Driver 2.2
 9687	  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'
 9688	  compiler_needs_object=yes
 9689	  ;;
 9690	esac
 9691	case `$CC -V 2>&1 | sed 5q` in
 9692	*Sun\ C*)			# Sun C 5.9
 9693	  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'
 9694	  compiler_needs_object=yes
 9695	  tmp_sharedflag='-G' ;;
 9696	*Sun\ F*)			# Sun Fortran 8.3
 9697	  tmp_sharedflag='-G' ;;
 9698	esac
 9699	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 9700
 9701        if test yes = "$supports_anon_versioning"; then
 9702          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 9703            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 9704            echo "local: *; };" >> $output_objdir/$libname.ver~
 9705            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
 9706        fi
 9707
 9708	case $cc_basename in
 9709	tcc*)
 9710	  export_dynamic_flag_spec='-rdynamic'
 9711	  ;;
 9712	xlf* | bgf* | bgxlf* | mpixlf*)
 9713	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 9714	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 9715	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 9716	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 9717	  if test yes = "$supports_anon_versioning"; then
 9718	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 9719              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 9720              echo "local: *; };" >> $output_objdir/$libname.ver~
 9721              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 9722	  fi
 9723	  ;;
 9724	esac
 9725      else
 9726        ld_shlibs=no
 9727      fi
 9728      ;;
 9729
 9730    netbsd*)
 9731      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 9732	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 9733	wlarc=
 9734      else
 9735	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 9736	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 9737      fi
 9738      ;;
 9739
 9740    solaris*)
 9741      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 9742	ld_shlibs=no
 9743	cat <<_LT_EOF 1>&2
 9744
 9745*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 9746*** create shared libraries on Solaris systems.  Therefore, libtool
 9747*** is disabling shared libraries support.  We urge you to upgrade GNU
 9748*** binutils to release 2.9.1 or newer.  Another option is to modify
 9749*** your PATH or compiler configuration so that the native linker is
 9750*** used, and then restart.
 9751
 9752_LT_EOF
 9753      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9754	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 9755	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 9756      else
 9757	ld_shlibs=no
 9758      fi
 9759      ;;
 9760
 9761    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 9762      case `$LD -v 2>&1` in
 9763        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 9764	ld_shlibs=no
 9765	cat <<_LT_EOF 1>&2
 9766
 9767*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
 9768*** reliably create shared libraries on SCO systems.  Therefore, libtool
 9769*** is disabling shared libraries support.  We urge you to upgrade GNU
 9770*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 9771*** your PATH or compiler configuration so that the native linker is
 9772*** used, and then restart.
 9773
 9774_LT_EOF
 9775	;;
 9776	*)
 9777	  # For security reasons, it is highly recommended that you always
 9778	  # use absolute paths for naming shared libraries, and exclude the
 9779	  # DT_RUNPATH tag from executables and libraries.  But doing so
 9780	  # requires that you compile everything twice, which is a pain.
 9781	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9782	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 9783	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 9784	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 9785	  else
 9786	    ld_shlibs=no
 9787	  fi
 9788	;;
 9789      esac
 9790      ;;
 9791
 9792    sunos4*)
 9793      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 9794      wlarc=
 9795      hardcode_direct=yes
 9796      hardcode_shlibpath_var=no
 9797      ;;
 9798
 9799    *)
 9800      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 9801	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 9802	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 9803      else
 9804	ld_shlibs=no
 9805      fi
 9806      ;;
 9807    esac
 9808
 9809    if test no = "$ld_shlibs"; then
 9810      runpath_var=
 9811      hardcode_libdir_flag_spec=
 9812      export_dynamic_flag_spec=
 9813      whole_archive_flag_spec=
 9814    fi
 9815  else
 9816    # PORTME fill in a description of your system's linker (not GNU ld)
 9817    case $host_os in
 9818    aix3*)
 9819      allow_undefined_flag=unsupported
 9820      always_export_symbols=yes
 9821      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'
 9822      # Note: this linker hardcodes the directories in LIBPATH if there
 9823      # are no directories specified by -L.
 9824      hardcode_minus_L=yes
 9825      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
 9826	# Neither direct hardcoding nor static linking is supported with a
 9827	# broken collect2.
 9828	hardcode_direct=unsupported
 9829      fi
 9830      ;;
 9831
 9832    aix[4-9]*)
 9833      if test ia64 = "$host_cpu"; then
 9834	# On IA64, the linker does run time linking by default, so we don't
 9835	# have to do anything special.
 9836	aix_use_runtimelinking=no
 9837	exp_sym_flag='-Bexport'
 9838	no_entry_flag=
 9839      else
 9840	# If we're using GNU nm, then we don't want the "-C" option.
 9841	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
 9842	# Without the "-l" option, or with the "-B" option, AIX nm treats
 9843	# weak defined symbols like other global defined symbols, whereas
 9844	# GNU nm marks them as "W".
 9845	# While the 'weak' keyword is ignored in the Export File, we need
 9846	# it in the Import File for the 'aix-soname' feature, so we have
 9847	# to replace the "-B" option with "-P" for AIX nm.
 9848	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 9849	  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'
 9850	else
 9851	  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 == "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'
 9852	fi
 9853	aix_use_runtimelinking=no
 9854
 9855	# Test if we are trying to use run time linking or normal
 9856	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 9857	# have runtime linking enabled, and use it for executables.
 9858	# For shared libraries, we enable/disable runtime linking
 9859	# depending on the kind of the shared library created -
 9860	# when "with_aix_soname,aix_use_runtimelinking" is:
 9861	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
 9862	# "aix,yes"  lib.so          shared, rtl:yes, for executables
 9863	#            lib.a           static archive
 9864	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
 9865	#            lib.a(lib.so.V) shared, rtl:no,  for executables
 9866	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
 9867	#            lib.a(lib.so.V) shared, rtl:no
 9868	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
 9869	#            lib.a           static archive
 9870	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 9871	  for ld_flag in $LDFLAGS; do
 9872	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
 9873	    aix_use_runtimelinking=yes
 9874	    break
 9875	  fi
 9876	  done
 9877	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
 9878	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
 9879	    # so we don't have lib.a shared libs to link our executables.
 9880	    # We have to force runtime linking in this case.
 9881	    aix_use_runtimelinking=yes
 9882	    LDFLAGS="$LDFLAGS -Wl,-brtl"
 9883	  fi
 9884	  ;;
 9885	esac
 9886
 9887	exp_sym_flag='-bexport'
 9888	no_entry_flag='-bnoentry'
 9889      fi
 9890
 9891      # When large executables or shared objects are built, AIX ld can
 9892      # have problems creating the table of contents.  If linking a library
 9893      # or program results in "error TOC overflow" add -mminimal-toc to
 9894      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 9895      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 9896
 9897      archive_cmds=''
 9898      hardcode_direct=yes
 9899      hardcode_direct_absolute=yes
 9900      hardcode_libdir_separator=':'
 9901      link_all_deplibs=yes
 9902      file_list_spec='$wl-f,'
 9903      case $with_aix_soname,$aix_use_runtimelinking in
 9904      aix,*) ;; # traditional, no import file
 9905      svr4,* | *,yes) # use import file
 9906	# The Import File defines what to hardcode.
 9907	hardcode_direct=no
 9908	hardcode_direct_absolute=no
 9909	;;
 9910      esac
 9911
 9912      if test yes = "$GCC"; then
 9913	case $host_os in aix4.[012]|aix4.[012].*)
 9914	# We only want to do this on AIX 4.2 and lower, the check
 9915	# below for broken collect2 doesn't work under 4.3+
 9916	  collect2name=`$CC -print-prog-name=collect2`
 9917	  if test -f "$collect2name" &&
 9918	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 9919	  then
 9920	  # We have reworked collect2
 9921	  :
 9922	  else
 9923	  # We have old collect2
 9924	  hardcode_direct=unsupported
 9925	  # It fails to find uninstalled libraries when the uninstalled
 9926	  # path is not listed in the libpath.  Setting hardcode_minus_L
 9927	  # to unsupported forces relinking
 9928	  hardcode_minus_L=yes
 9929	  hardcode_libdir_flag_spec='-L$libdir'
 9930	  hardcode_libdir_separator=
 9931	  fi
 9932	  ;;
 9933	esac
 9934	shared_flag='-shared'
 9935	if test yes = "$aix_use_runtimelinking"; then
 9936	  shared_flag="$shared_flag "'$wl-G'
 9937	fi
 9938	# Need to ensure runtime linking is disabled for the traditional
 9939	# shared library, or the linker may eventually find shared libraries
 9940	# /with/ Import File - we do not want to mix them.
 9941	shared_flag_aix='-shared'
 9942	shared_flag_svr4='-shared $wl-G'
 9943      else
 9944	# not using gcc
 9945	if test ia64 = "$host_cpu"; then
 9946	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 9947	# chokes on -Wl,-G. The following line is correct:
 9948	  shared_flag='-G'
 9949	else
 9950	  if test yes = "$aix_use_runtimelinking"; then
 9951	    shared_flag='$wl-G'
 9952	  else
 9953	    shared_flag='$wl-bM:SRE'
 9954	  fi
 9955	  shared_flag_aix='$wl-bM:SRE'
 9956	  shared_flag_svr4='$wl-G'
 9957	fi
 9958      fi
 9959
 9960      export_dynamic_flag_spec='$wl-bexpall'
 9961      # It seems that -bexpall does not export symbols beginning with
 9962      # underscore (_), so it is better to generate a list of symbols to export.
 9963      always_export_symbols=yes
 9964      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
 9965	# Warning - without using the other runtime loading flags (-brtl),
 9966	# -berok will link without error, but may produce a broken library.
 9967	allow_undefined_flag='-berok'
 9968        # Determine the default libpath from the value encoded in an
 9969        # empty executable.
 9970        if test set = "${lt_cv_aix_libpath+set}"; then
 9971  aix_libpath=$lt_cv_aix_libpath
 9972else
 9973  if ${lt_cv_aix_libpath_+:} false; then :
 9974  $as_echo_n "(cached) " >&6
 9975else
 9976  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 9977/* end confdefs.h.  */
 9978
 9979int
 9980main ()
 9981{
 9982
 9983  ;
 9984  return 0;
 9985}
 9986_ACEOF
 9987if ac_fn_c_try_link "$LINENO"; then :
 9988
 9989  lt_aix_libpath_sed='
 9990      /Import File Strings/,/^$/ {
 9991	  /^0/ {
 9992	      s/^0  *\([^ ]*\) *$/\1/
 9993	      p
 9994	  }
 9995      }'
 9996  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 9997  # Check for a 64-bit object if we didn't find anything.
 9998  if test -z "$lt_cv_aix_libpath_"; then
 9999    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10000  fi
10001fi
10002rm -f core conftest.err conftest.$ac_objext \
10003    conftest$ac_exeext conftest.$ac_ext
10004  if test -z "$lt_cv_aix_libpath_"; then
10005    lt_cv_aix_libpath_=/usr/lib:/lib
10006  fi
10007
10008fi
10009
10010  aix_libpath=$lt_cv_aix_libpath_
10011fi
10012
10013        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10014        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
10015      else
10016	if test ia64 = "$host_cpu"; then
10017	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10018	  allow_undefined_flag="-z nodefs"
10019	  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"
10020	else
10021	 # Determine the default libpath from the value encoded in an
10022	 # empty executable.
10023	 if test set = "${lt_cv_aix_libpath+set}"; then
10024  aix_libpath=$lt_cv_aix_libpath
10025else
10026  if ${lt_cv_aix_libpath_+:} false; then :
10027  $as_echo_n "(cached) " >&6
10028else
10029  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030/* end confdefs.h.  */
10031
10032int
10033main ()
10034{
10035
10036  ;
10037  return 0;
10038}
10039_ACEOF
10040if ac_fn_c_try_link "$LINENO"; then :
10041
10042  lt_aix_libpath_sed='
10043      /Import File Strings/,/^$/ {
10044	  /^0/ {
10045	      s/^0  *\([^ ]*\) *$/\1/
10046	      p
10047	  }
10048      }'
10049  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10050  # Check for a 64-bit object if we didn't find anything.
10051  if test -z "$lt_cv_aix_libpath_"; then
10052    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10053  fi
10054fi
10055rm -f core conftest.err conftest.$ac_objext \
10056    conftest$ac_exeext conftest.$ac_ext
10057  if test -z "$lt_cv_aix_libpath_"; then
10058    lt_cv_aix_libpath_=/usr/lib:/lib
10059  fi
10060
10061fi
10062
10063  aix_libpath=$lt_cv_aix_libpath_
10064fi
10065
10066	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10067	  # Warning - without using the other run time loading flags,
10068	  # -berok will link without error, but may produce a broken library.
10069	  no_undefined_flag=' $wl-bernotok'
10070	  allow_undefined_flag=' $wl-berok'
10071	  if test yes = "$with_gnu_ld"; then
10072	    # We only use this code for GNU lds that support --whole-archive.
10073	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10074	  else
10075	    # Exported symbols can be pulled into shared objects from archives
10076	    whole_archive_flag_spec='$convenience'
10077	  fi
10078	  archive_cmds_need_lc=yes
10079	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10080	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10081	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10082	  if test svr4 != "$with_aix_soname"; then
10083	    # This is similar to how AIX traditionally builds its shared libraries.
10084	    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'
10085	  fi
10086	  if test aix != "$with_aix_soname"; then
10087	    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'
10088	  else
10089	    # used by -dlpreopen to get the symbols
10090	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10091	  fi
10092	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10093	fi
10094      fi
10095      ;;
10096
10097    amigaos*)
10098      case $host_cpu in
10099      powerpc)
10100            # see comment about AmigaOS4 .so support
10101            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10102            archive_expsym_cmds=''
10103        ;;
10104      m68k)
10105            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)'
10106            hardcode_libdir_flag_spec='-L$libdir'
10107            hardcode_minus_L=yes
10108        ;;
10109      esac
10110      ;;
10111
10112    bsdi[45]*)
10113      export_dynamic_flag_spec=-rdynamic
10114      ;;
10115
10116    cygwin* | mingw* | pw32* | cegcc*)
10117      # When not using gcc, we currently assume that we are using
10118      # Microsoft Visual C++.
10119      # hardcode_libdir_flag_spec is actually meaningless, as there is
10120      # no search path for DLLs.
10121      case $cc_basename in
10122      cl*)
10123	# Native MSVC
10124	hardcode_libdir_flag_spec=' '
10125	allow_undefined_flag=unsupported
10126	always_export_symbols=yes
10127	file_list_spec='@'
10128	# Tell ltmain to make .lib files, not .a files.
10129	libext=lib
10130	# Tell ltmain to make .dll files, not .so files.
10131	shrext_cmds=.dll
10132	# FIXME: Setting linknames here is a bad hack.
10133	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10134	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10135            cp "$export_symbols" "$output_objdir/$soname.def";
10136            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10137          else
10138            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10139          fi~
10140          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10141          linknames='
10142	# The linker will not automatically build a static lib if we build a DLL.
10143	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10144	enable_shared_with_static_runtimes=yes
10145	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10146	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10147	# Don't use ranlib
10148	old_postinstall_cmds='chmod 644 $oldlib'
10149	postlink_cmds='lt_outputfile="@OUTPUT@"~
10150          lt_tool_outputfile="@TOOL_OUTPUT@"~
10151          case $lt_outputfile in
10152            *.exe|*.EXE) ;;
10153            *)
10154              lt_outputfile=$lt_outputfile.exe
10155              lt_tool_outputfile=$lt_tool_outputfile.exe
10156              ;;
10157          esac~
10158          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10159            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10160            $RM "$lt_outputfile.manifest";
10161          fi'
10162	;;
10163      *)
10164	# Assume MSVC wrapper
10165	hardcode_libdir_flag_spec=' '
10166	allow_undefined_flag=unsupported
10167	# Tell ltmain to make .lib files, not .a files.
10168	libext=lib
10169	# Tell ltmain to make .dll files, not .so files.
10170	shrext_cmds=.dll
10171	# FIXME: Setting linknames here is a bad hack.
10172	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10173	# The linker will automatically build a .lib file if we build a DLL.
10174	old_archive_from_new_cmds='true'
10175	# FIXME: Should let the user specify the lib program.
10176	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10177	enable_shared_with_static_runtimes=yes
10178	;;
10179      esac
10180      ;;
10181
10182    darwin* | rhapsody*)
10183
10184
10185  archive_cmds_need_lc=no
10186  hardcode_direct=no
10187  hardcode_automatic=yes
10188  hardcode_shlibpath_var=unsupported
10189  if test yes = "$lt_cv_ld_force_load"; then
10190    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\"`'
10191
10192  else
10193    whole_archive_flag_spec=''
10194  fi
10195  link_all_deplibs=yes
10196  allow_undefined_flag=$_lt_dar_allow_undefined
10197  case $cc_basename in
10198     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10199     *) _lt_dar_can_shared=$GCC ;;
10200  esac
10201  if test yes = "$_lt_dar_can_shared"; then
10202    output_verbose_link_cmd=func_echo_all
10203    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10204    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10205    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"
10206    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"
10207
10208  else
10209  ld_shlibs=no
10210  fi
10211
10212      ;;
10213
10214    dgux*)
10215      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10216      hardcode_libdir_flag_spec='-L$libdir'
10217      hardcode_shlibpath_var=no
10218      ;;
10219
10220    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10221    # support.  Future versions do this automatically, but an explicit c++rt0.o
10222    # does not break anything, and helps significantly (at the cost of a little
10223    # extra space).
10224    freebsd2.2*)
10225      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10226      hardcode_libdir_flag_spec='-R$libdir'
10227      hardcode_direct=yes
10228      hardcode_shlibpath_var=no
10229      ;;
10230
10231    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10232    freebsd2.*)
10233      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10234      hardcode_direct=yes
10235      hardcode_minus_L=yes
10236      hardcode_shlibpath_var=no
10237      ;;
10238
10239    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10240    freebsd* | dragonfly*)
10241      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10242      hardcode_libdir_flag_spec='-R$libdir'
10243      hardcode_direct=yes
10244      hardcode_shlibpath_var=no
10245      ;;
10246
10247    hpux9*)
10248      if test yes = "$GCC"; then
10249	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'
10250      else
10251	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'
10252      fi
10253      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10254      hardcode_libdir_separator=:
10255      hardcode_direct=yes
10256
10257      # hardcode_minus_L: Not really in the search PATH,
10258      # but as the default location of the library.
10259      hardcode_minus_L=yes
10260      export_dynamic_flag_spec='$wl-E'
10261      ;;
10262
10263    hpux10*)
10264      if test yes,no = "$GCC,$with_gnu_ld"; then
10265	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10266      else
10267	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10268      fi
10269      if test no = "$with_gnu_ld"; then
10270	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10271	hardcode_libdir_separator=:
10272	hardcode_direct=yes
10273	hardcode_direct_absolute=yes
10274	export_dynamic_flag_spec='$wl-E'
10275	# hardcode_minus_L: Not really in the search PATH,
10276	# but as the default location of the library.
10277	hardcode_minus_L=yes
10278      fi
10279      ;;
10280
10281    hpux11*)
10282      if test yes,no = "$GCC,$with_gnu_ld"; then
10283	case $host_cpu in
10284	hppa*64*)
10285	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10286	  ;;
10287	ia64*)
10288	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10289	  ;;
10290	*)
10291	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10292	  ;;
10293	esac
10294      else
10295	case $host_cpu in
10296	hppa*64*)
10297	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10298	  ;;
10299	ia64*)
10300	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10301	  ;;
10302	*)
10303
10304	  # Older versions of the 11.00 compiler do not understand -b yet
10305	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10306	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10307$as_echo_n "checking if $CC understands -b... " >&6; }
10308if ${lt_cv_prog_compiler__b+:} false; then :
10309  $as_echo_n "(cached) " >&6
10310else
10311  lt_cv_prog_compiler__b=no
10312   save_LDFLAGS=$LDFLAGS
10313   LDFLAGS="$LDFLAGS -b"
10314   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10315   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10316     # The linker can only warn and ignore the option if not recognized
10317     # So say no if there are warnings
10318     if test -s conftest.err; then
10319       # Append any errors to the config.log.
10320       cat conftest.err 1>&5
10321       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10322       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10323       if diff conftest.exp conftest.er2 >/dev/null; then
10324         lt_cv_prog_compiler__b=yes
10325       fi
10326     else
10327       lt_cv_prog_compiler__b=yes
10328     fi
10329   fi
10330   $RM -r conftest*
10331   LDFLAGS=$save_LDFLAGS
10332
10333fi
10334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10335$as_echo "$lt_cv_prog_compiler__b" >&6; }
10336
10337if test yes = "$lt_cv_prog_compiler__b"; then
10338    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10339else
10340    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10341fi
10342
10343	  ;;
10344	esac
10345      fi
10346      if test no = "$with_gnu_ld"; then
10347	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10348	hardcode_libdir_separator=:
10349
10350	case $host_cpu in
10351	hppa*64*|ia64*)
10352	  hardcode_direct=no
10353	  hardcode_shlibpath_var=no
10354	  ;;
10355	*)
10356	  hardcode_direct=yes
10357	  hardcode_direct_absolute=yes
10358	  export_dynamic_flag_spec='$wl-E'
10359
10360	  # hardcode_minus_L: Not really in the search PATH,
10361	  # but as the default location of the library.
10362	  hardcode_minus_L=yes
10363	  ;;
10364	esac
10365      fi
10366      ;;
10367
10368    irix5* | irix6* | nonstopux*)
10369      if test yes = "$GCC"; then
10370	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'
10371	# Try to use the -exported_symbol ld option, if it does not
10372	# work, assume that -exports_file does not work either and
10373	# implicitly export all symbols.
10374	# This should be the same for all languages, so no per-tag cache variable.
10375	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10376$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10377if ${lt_cv_irix_exported_symbol+:} false; then :
10378  $as_echo_n "(cached) " >&6
10379else
10380  save_LDFLAGS=$LDFLAGS
10381	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10382	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10383/* end confdefs.h.  */
10384int foo (void) { return 0; }
10385_ACEOF
10386if ac_fn_c_try_link "$LINENO"; then :
10387  lt_cv_irix_exported_symbol=yes
10388else
10389  lt_cv_irix_exported_symbol=no
10390fi
10391rm -f core conftest.err conftest.$ac_objext \
10392    conftest$ac_exeext conftest.$ac_ext
10393           LDFLAGS=$save_LDFLAGS
10394fi
10395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10396$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10397	if test yes = "$lt_cv_irix_exported_symbol"; then
10398          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'
10399	fi
10400      else
10401	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'
10402	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'
10403      fi
10404      archive_cmds_need_lc='no'
10405      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10406      hardcode_libdir_separator=:
10407      inherit_rpath=yes
10408      link_all_deplibs=yes
10409      ;;
10410
10411    linux*)
10412      case $cc_basename in
10413      tcc*)
10414	# Fabrice Bellard et al's Tiny C Compiler
10415	ld_shlibs=yes
10416	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10417	;;
10418      esac
10419      ;;
10420
10421    netbsd*)
10422      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10423	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10424      else
10425	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10426      fi
10427      hardcode_libdir_flag_spec='-R$libdir'
10428      hardcode_direct=yes
10429      hardcode_shlibpath_var=no
10430      ;;
10431
10432    newsos6)
10433      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10434      hardcode_direct=yes
10435      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10436      hardcode_libdir_separator=:
10437      hardcode_shlibpath_var=no
10438      ;;
10439
10440    *nto* | *qnx*)
10441      ;;
10442
10443    openbsd* | bitrig*)
10444      if test -f /usr/libexec/ld.so; then
10445	hardcode_direct=yes
10446	hardcode_shlibpath_var=no
10447	hardcode_direct_absolute=yes
10448	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10449	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10450	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10451	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10452	  export_dynamic_flag_spec='$wl-E'
10453	else
10454	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10455	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10456	fi
10457      else
10458	ld_shlibs=no
10459      fi
10460      ;;
10461
10462    os2*)
10463      hardcode_libdir_flag_spec='-L$libdir'
10464      hardcode_minus_L=yes
10465      allow_undefined_flag=unsupported
10466      shrext_cmds=.dll
10467      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10468	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10469	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10470	$ECHO EXPORTS >> $output_objdir/$libname.def~
10471	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10472	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10473	emximp -o $lib $output_objdir/$libname.def'
10474      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10475	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10476	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10477	$ECHO EXPORTS >> $output_objdir/$libname.def~
10478	prefix_cmds="$SED"~
10479	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10480	  prefix_cmds="$prefix_cmds -e 1d";
10481	fi~
10482	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10483	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10484	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10485	emximp -o $lib $output_objdir/$libname.def'
10486      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10487      enable_shared_with_static_runtimes=yes
10488      ;;
10489
10490    osf3*)
10491      if test yes = "$GCC"; then
10492	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10493	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'
10494      else
10495	allow_undefined_flag=' -expect_unresolved \*'
10496	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'
10497      fi
10498      archive_cmds_need_lc='no'
10499      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10500      hardcode_libdir_separator=:
10501      ;;
10502
10503    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10504      if test yes = "$GCC"; then
10505	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10506	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'
10507	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10508      else
10509	allow_undefined_flag=' -expect_unresolved \*'
10510	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'
10511	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~
10512          $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'
10513
10514	# Both c and cxx compiler support -rpath directly
10515	hardcode_libdir_flag_spec='-rpath $libdir'
10516      fi
10517      archive_cmds_need_lc='no'
10518      hardcode_libdir_separator=:
10519      ;;
10520
10521    solaris*)
10522      no_undefined_flag=' -z defs'
10523      if test yes = "$GCC"; then
10524	wlarc='$wl'
10525	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10526	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10527          $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'
10528      else
10529	case `$CC -V 2>&1` in
10530	*"Compilers 5.0"*)
10531	  wlarc=''
10532	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10533	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10534            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10535	  ;;
10536	*)
10537	  wlarc='$wl'
10538	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10539	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10540            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10541	  ;;
10542	esac
10543      fi
10544      hardcode_libdir_flag_spec='-R$libdir'
10545      hardcode_shlibpath_var=no
10546      case $host_os in
10547      solaris2.[0-5] | solaris2.[0-5].*) ;;
10548      *)
10549	# The compiler driver will combine and reorder linker options,
10550	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10551	# but is careful enough not to reorder.
10552	# Supported since Solaris 2.6 (maybe 2.5.1?)
10553	if test yes = "$GCC"; then
10554	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10555	else
10556	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10557	fi
10558	;;
10559      esac
10560      link_all_deplibs=yes
10561      ;;
10562
10563    sunos4*)
10564      if test sequent = "$host_vendor"; then
10565	# Use $CC to link under sequent, because it throws in some extra .o
10566	# files that make .init and .fini sections work.
10567	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10568      else
10569	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10570      fi
10571      hardcode_libdir_flag_spec='-L$libdir'
10572      hardcode_direct=yes
10573      hardcode_minus_L=yes
10574      hardcode_shlibpath_var=no
10575      ;;
10576
10577    sysv4)
10578      case $host_vendor in
10579	sni)
10580	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10581	  hardcode_direct=yes # is this really true???
10582	;;
10583	siemens)
10584	  ## LD is ld it makes a PLAMLIB
10585	  ## CC just makes a GrossModule.
10586	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10587	  reload_cmds='$CC -r -o $output$reload_objs'
10588	  hardcode_direct=no
10589        ;;
10590	motorola)
10591	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10592	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10593	;;
10594      esac
10595      runpath_var='LD_RUN_PATH'
10596      hardcode_shlibpath_var=no
10597      ;;
10598
10599    sysv4.3*)
10600      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10601      hardcode_shlibpath_var=no
10602      export_dynamic_flag_spec='-Bexport'
10603      ;;
10604
10605    sysv4*MP*)
10606      if test -d /usr/nec; then
10607	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10608	hardcode_shlibpath_var=no
10609	runpath_var=LD_RUN_PATH
10610	hardcode_runpath_var=yes
10611	ld_shlibs=yes
10612      fi
10613      ;;
10614
10615    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10616      no_undefined_flag='$wl-z,text'
10617      archive_cmds_need_lc=no
10618      hardcode_shlibpath_var=no
10619      runpath_var='LD_RUN_PATH'
10620
10621      if test yes = "$GCC"; then
10622	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10623	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10624      else
10625	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10626	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10627      fi
10628      ;;
10629
10630    sysv5* | sco3.2v5* | sco5v6*)
10631      # Note: We CANNOT use -z defs as we might desire, because we do not
10632      # link with -lc, and that would cause any symbols used from libc to
10633      # always be unresolved, which means just about no library would
10634      # ever link correctly.  If we're not using GNU ld we use -z text
10635      # though, which does catch some bad symbols but isn't as heavy-handed
10636      # as -z defs.
10637      no_undefined_flag='$wl-z,text'
10638      allow_undefined_flag='$wl-z,nodefs'
10639      archive_cmds_need_lc=no
10640      hardcode_shlibpath_var=no
10641      hardcode_libdir_flag_spec='$wl-R,$libdir'
10642      hardcode_libdir_separator=':'
10643      link_all_deplibs=yes
10644      export_dynamic_flag_spec='$wl-Bexport'
10645      runpath_var='LD_RUN_PATH'
10646
10647      if test yes = "$GCC"; then
10648	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10649	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10650      else
10651	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10652	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10653      fi
10654      ;;
10655
10656    uts4*)
10657      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10658      hardcode_libdir_flag_spec='-L$libdir'
10659      hardcode_shlibpath_var=no
10660      ;;
10661
10662    *)
10663      ld_shlibs=no
10664      ;;
10665    esac
10666
10667    if test sni = "$host_vendor"; then
10668      case $host in
10669      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10670	export_dynamic_flag_spec='$wl-Blargedynsym'
10671	;;
10672      esac
10673    fi
10674  fi
10675
10676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10677$as_echo "$ld_shlibs" >&6; }
10678test no = "$ld_shlibs" && can_build_shared=no
10679
10680with_gnu_ld=$with_gnu_ld
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696#
10697# Do we need to explicitly link libc?
10698#
10699case "x$archive_cmds_need_lc" in
10700x|xyes)
10701  # Assume -lc should be added
10702  archive_cmds_need_lc=yes
10703
10704  if test yes,yes = "$GCC,$enable_shared"; then
10705    case $archive_cmds in
10706    *'~'*)
10707      # FIXME: we may have to deal with multi-command sequences.
10708      ;;
10709    '$CC '*)
10710      # Test whether the compiler implicitly links with -lc since on some
10711      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10712      # to ld, don't add -lc before -lgcc.
10713      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10714$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10715if ${lt_cv_archive_cmds_need_lc+:} false; then :
10716  $as_echo_n "(cached) " >&6
10717else
10718  $RM conftest*
10719	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10720
10721	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10722  (eval $ac_compile) 2>&5
10723  ac_status=$?
10724  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10725  test $ac_status = 0; } 2>conftest.err; then
10726	  soname=conftest
10727	  lib=conftest
10728	  libobjs=conftest.$ac_objext
10729	  deplibs=
10730	  wl=$lt_prog_compiler_wl
10731	  pic_flag=$lt_prog_compiler_pic
10732	  compiler_flags=-v
10733	  linker_flags=-v
10734	  verstring=
10735	  output_objdir=.
10736	  libname=conftest
10737	  lt_save_allow_undefined_flag=$allow_undefined_flag
10738	  allow_undefined_flag=
10739	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10740  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10741  ac_status=$?
10742  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10743  test $ac_status = 0; }
10744	  then
10745	    lt_cv_archive_cmds_need_lc=no
10746	  else
10747	    lt_cv_archive_cmds_need_lc=yes
10748	  fi
10749	  allow_undefined_flag=$lt_save_allow_undefined_flag
10750	else
10751	  cat conftest.err 1>&5
10752	fi
10753	$RM conftest*
10754
10755fi
10756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10757$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10758      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10759      ;;
10760    esac
10761  fi
10762  ;;
10763esac
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10917$as_echo_n "checking dynamic linker characteristics... " >&6; }
10918
10919if test yes = "$GCC"; then
10920  case $host_os in
10921    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10922    *) lt_awk_arg='/^libraries:/' ;;
10923  esac
10924  case $host_os in
10925    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10926    *) lt_sed_strip_eq='s|=/|/|g' ;;
10927  esac
10928  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10929  case $lt_search_path_spec in
10930  *\;*)
10931    # if the path contains ";" then we assume it to be the separator
10932    # otherwise default to the standard path separator (i.e. ":") - it is
10933    # assumed that no part of a normal pathname contains ";" but that should
10934    # okay in the real world where ";" in dirpaths is itself problematic.
10935    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10936    ;;
10937  *)
10938    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10939    ;;
10940  esac
10941  # Ok, now we have the path, separated by spaces, we can step through it
10942  # and add multilib dir if necessary...
10943  lt_tmp_lt_search_path_spec=
10944  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10945  # ...but if some path component already ends with the multilib dir we assume
10946  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10947  case "$lt_multi_os_dir; $lt_search_path_spec " in
10948  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10949    lt_multi_os_dir=
10950    ;;
10951  esac
10952  for lt_sys_path in $lt_search_path_spec; do
10953    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10954      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10955    elif test -n "$lt_multi_os_dir"; then
10956      test -d "$lt_sys_path" && \
10957	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10958    fi
10959  done
10960  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10961BEGIN {RS = " "; FS = "/|\n";} {
10962  lt_foo = "";
10963  lt_count = 0;
10964  for (lt_i = NF; lt_i > 0; lt_i--) {
10965    if ($lt_i != "" && $lt_i != ".") {
10966      if ($lt_i == "..") {
10967        lt_count++;
10968      } else {
10969        if (lt_count == 0) {
10970          lt_foo = "/" $lt_i lt_foo;
10971        } else {
10972          lt_count--;
10973        }
10974      }
10975    }
10976  }
10977  if (lt_foo != "") { lt_freq[lt_foo]++; }
10978  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10979}'`
10980  # AWK program above erroneously prepends '/' to C:/dos/paths
10981  # for these hosts.
10982  case $host_os in
10983    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10984      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10985  esac
10986  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10987else
10988  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10989fi
10990library_names_spec=
10991libname_spec='lib$name'
10992soname_spec=
10993shrext_cmds=.so
10994postinstall_cmds=
10995postuninstall_cmds=
10996finish_cmds=
10997finish_eval=
10998shlibpath_var=
10999shlibpath_overrides_runpath=unknown
11000version_type=none
11001dynamic_linker="$host_os ld.so"
11002sys_lib_dlsearch_path_spec="/lib /usr/lib"
11003need_lib_prefix=unknown
11004hardcode_into_libs=no
11005
11006# when you set need_version to no, make sure it does not cause -set_version
11007# flags to be left without arguments
11008need_version=unknown
11009
11010
11011
11012case $host_os in
11013aix3*)
11014  version_type=linux # correct to gnu/linux during the next big refactor
11015  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11016  shlibpath_var=LIBPATH
11017
11018  # AIX 3 has no versioning support, so we append a major version to the name.
11019  soname_spec='$libname$release$shared_ext$major'
11020  ;;
11021
11022aix[4-9]*)
11023  version_type=linux # correct to gnu/linux during the next big refactor
11024  need_lib_prefix=no
11025  need_version=no
11026  hardcode_into_libs=yes
11027  if test ia64 = "$host_cpu"; then
11028    # AIX 5 supports IA64
11029    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11030    shlibpath_var=LD_LIBRARY_PATH
11031  else
11032    # With GCC up to 2.95.x, collect2 would create an import file
11033    # for dependence libraries.  The import file would start with
11034    # the line '#! .'.  This would cause the generated library to
11035    # depend on '.', always an invalid library.  This was fixed in
11036    # development snapshots of GCC prior to 3.0.
11037    case $host_os in
11038      aix4 | aix4.[01] | aix4.[01].*)
11039      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11040	   echo ' yes '
11041	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11042	:
11043      else
11044	can_build_shared=no
11045      fi
11046      ;;
11047    esac
11048    # Using Import Files as archive members, it is possible to support
11049    # filename-based versioning of shared library archives on AIX. While
11050    # this would work for both with and without runtime linking, it will
11051    # prevent static linking of such archives. So we do filename-based
11052    # shared library versioning with .so extension only, which is used
11053    # when both runtime linking and shared linking is enabled.
11054    # Unfortunately, runtime linking may impact performance, so we do
11055    # not want this to be the default eventually. Also, we use the
11056    # versioned .so libs for executables only if there is the -brtl
11057    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11058    # To allow for filename-based versioning support, we need to create
11059    # libNAME.so.V as an archive file, containing:
11060    # *) an Import File, referring to the versioned filename of the
11061    #    archive as well as the shared archive member, telling the
11062    #    bitwidth (32 or 64) of that shared object, and providing the
11063    #    list of exported symbols of that shared object, eventually
11064    #    decorated with the 'weak' keyword
11065    # *) the shared object with the F_LOADONLY flag set, to really avoid
11066    #    it being seen by the linker.
11067    # At run time we better use the real file rather than another symlink,
11068    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11069
11070    case $with_aix_soname,$aix_use_runtimelinking in
11071    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11072    # soname into executable. Probably we can add versioning support to
11073    # collect2, so additional links can be useful in future.
11074    aix,yes) # traditional libtool
11075      dynamic_linker='AIX unversionable lib.so'
11076      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11077      # instead of lib<name>.a to let people know that these are not
11078      # typical AIX shared libraries.
11079      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11080      ;;
11081    aix,no) # traditional AIX only
11082      dynamic_linker='AIX lib.a(lib.so.V)'
11083      # We preserve .a as extension for shared libraries through AIX4.2
11084      # and later when we are not doing run time linking.
11085      library_names_spec='$libname$release.a $libname.a'
11086      soname_spec='$libname$release$shared_ext$major'
11087      ;;
11088    svr4,*) # full svr4 only
11089      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11090      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11091      # We do not specify a path in Import Files, so LIBPATH fires.
11092      shlibpath_overrides_runpath=yes
11093      ;;
11094    *,yes) # both, prefer svr4
11095      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11096      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11097      # unpreferred sharedlib libNAME.a needs extra handling
11098      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"'
11099      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"'
11100      # We do not specify a path in Import Files, so LIBPATH fires.
11101      shlibpath_overrides_runpath=yes
11102      ;;
11103    *,no) # both, prefer aix
11104      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11105      library_names_spec='$libname$release.a $libname.a'
11106      soname_spec='$libname$release$shared_ext$major'
11107      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11108      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)'
11109      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"'
11110      ;;
11111    esac
11112    shlibpath_var=LIBPATH
11113  fi
11114  ;;
11115
11116amigaos*)
11117  case $host_cpu in
11118  powerpc)
11119    # Since July 2007 AmigaOS4 officially supports .so libraries.
11120    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11121    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11122    ;;
11123  m68k)
11124    library_names_spec='$libname.ixlibrary $libname.a'
11125    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11126    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'
11127    ;;
11128  esac
11129  ;;
11130
11131beos*)
11132  library_names_spec='$libname$shared_ext'
11133  dynamic_linker="$host_os ld.so"
11134  shlibpath_var=LIBRARY_PATH
11135  ;;
11136
11137bsdi[45]*)
11138  version_type=linux # correct to gnu/linux during the next big refactor
11139  need_version=no
11140  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11141  soname_spec='$libname$release$shared_ext$major'
11142  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11143  shlibpath_var=LD_LIBRARY_PATH
11144  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11145  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11146  # the default ld.so.conf also contains /usr/contrib/lib and
11147  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11148  # libtool to hard-code these into programs
11149  ;;
11150
11151cygwin* | mingw* | pw32* | cegcc*)
11152  version_type=windows
11153  shrext_cmds=.dll
11154  need_version=no
11155  need_lib_prefix=no
11156
11157  case $GCC,$cc_basename in
11158  yes,*)
11159    # gcc
11160    library_names_spec='$libname.dll.a'
11161    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11162    postinstall_cmds='base_file=`basename \$file`~
11163      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11164      dldir=$destdir/`dirname \$dlpath`~
11165      test -d \$dldir || mkdir -p \$dldir~
11166      $install_prog $dir/$dlname \$dldir/$dlname~
11167      chmod a+x \$dldir/$dlname~
11168      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11169        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11170      fi'
11171    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11172      dlpath=$dir/\$dldll~
11173       $RM \$dlpath'
11174    shlibpath_overrides_runpath=yes
11175
11176    case $host_os in
11177    cygwin*)
11178      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11179      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11180
11181      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11182      ;;
11183    mingw* | cegcc*)
11184      # MinGW DLLs use traditional 'lib' prefix
11185      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11186      ;;
11187    pw32*)
11188      # pw32 DLLs use 'pw' prefix rather than 'lib'
11189      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11190      ;;
11191    esac
11192    dynamic_linker='Win32 ld.exe'
11193    ;;
11194
11195  *,cl*)
11196    # Native MSVC
11197    libname_spec='$name'
11198    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11199    library_names_spec='$libname.dll.lib'
11200
11201    case $build_os in
11202    mingw*)
11203      sys_lib_search_path_spec=
11204      lt_save_ifs=$IFS
11205      IFS=';'
11206      for lt_path in $LIB
11207      do
11208        IFS=$lt_save_ifs
11209        # Let DOS variable expansion print the short 8.3 style file name.
11210        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11211        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11212      done
11213      IFS=$lt_save_ifs
11214      # Convert to MSYS style.
11215      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11216      ;;
11217    cygwin*)
11218      # Convert to unix form, then to dos form, then back to unix form
11219      # but this time dos style (no spaces!) so that the unix form looks
11220      # like /cygdrive/c/PROGRA~1:/cygdr...
11221      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11222      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11223      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11224      ;;
11225    *)
11226      sys_lib_search_path_spec=$LIB
11227      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11228        # It is most probably a Windows format PATH.
11229        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11230      else
11231        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11232      fi
11233      # FIXME: find the short name or the path components, as spaces are
11234      # common. (e.g. "Program Files" -> "PROGRA~1")
11235      ;;
11236    esac
11237
11238    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11239    postinstall_cmds='base_file=`basename \$file`~
11240      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11241      dldir=$destdir/`dirname \$dlpath`~
11242      test -d \$dldir || mkdir -p \$dldir~
11243      $install_prog $dir/$dlname \$dldir/$dlname'
11244    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11245      dlpath=$dir/\$dldll~
11246       $RM \$dlpath'
11247    shlibpath_overrides_runpath=yes
11248    dynamic_linker='Win32 link.exe'
11249    ;;
11250
11251  *)
11252    # Assume MSVC wrapper
11253    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11254    dynamic_linker='Win32 ld.exe'
11255    ;;
11256  esac
11257  # FIXME: first we should search . and the directory the executable is in
11258  shlibpath_var=PATH
11259  ;;
11260
11261darwin* | rhapsody*)
11262  dynamic_linker="$host_os dyld"
11263  version_type=darwin
11264  need_lib_prefix=no
11265  need_version=no
11266  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11267  soname_spec='$libname$release$major$shared_ext'
11268  shlibpath_overrides_runpath=yes
11269  shlibpath_var=DYLD_LIBRARY_PATH
11270  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11271
11272  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11273  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11274  ;;
11275
11276dgux*)
11277  version_type=linux # correct to gnu/linux during the next big refactor
11278  need_lib_prefix=no
11279  need_version=no
11280  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11281  soname_spec='$libname$release$shared_ext$major'
11282  shlibpath_var=LD_LIBRARY_PATH
11283  ;;
11284
11285freebsd* | dragonfly*)
11286  # DragonFly does not have aout.  When/if they implement a new
11287  # versioning mechanism, adjust this.
11288  if test -x /usr/bin/objformat; then
11289    objformat=`/usr/bin/objformat`
11290  else
11291    case $host_os in
11292    freebsd[23].*) objformat=aout ;;
11293    *) objformat=elf ;;
11294    esac
11295  fi
11296  version_type=freebsd-$objformat
11297  case $version_type in
11298    freebsd-elf*)
11299      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11300      soname_spec='$libname$release$shared_ext$major'
11301      need_version=no
11302      need_lib_prefix=no
11303      ;;
11304    freebsd-*)
11305      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11306      need_version=yes
11307      ;;
11308  esac
11309  shlibpath_var=LD_LIBRARY_PATH
11310  case $host_os in
11311  freebsd2.*)
11312    shlibpath_overrides_runpath=yes
11313    ;;
11314  freebsd3.[01]* | freebsdelf3.[01]*)
11315    shlibpath_overrides_runpath=yes
11316    hardcode_into_libs=yes
11317    ;;
11318  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11319  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11320    shlibpath_overrides_runpath=no
11321    hardcode_into_libs=yes
11322    ;;
11323  *) # from 4.6 on, and DragonFly
11324    shlibpath_overrides_runpath=yes
11325    hardcode_into_libs=yes
11326    ;;
11327  esac
11328  ;;
11329
11330haiku*)
11331  version_type=linux # correct to gnu/linux during the next big refactor
11332  need_lib_prefix=no
11333  need_version=no
11334  dynamic_linker="$host_os runtime_loader"
11335  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11336  soname_spec='$libname$release$shared_ext$major'
11337  shlibpath_var=LIBRARY_PATH
11338  shlibpath_overrides_runpath=no
11339  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11340  hardcode_into_libs=yes
11341  ;;
11342
11343hpux9* | hpux10* | hpux11*)
11344  # Give a soname corresponding to the major version so that dld.sl refuses to
11345  # link against other versions.
11346  version_type=sunos
11347  need_lib_prefix=no
11348  need_version=no
11349  case $host_cpu in
11350  ia64*)
11351    shrext_cmds='.so'
11352    hardcode_into_libs=yes
11353    dynamic_linker="$host_os dld.so"
11354    shlibpath_var=LD_LIBRARY_PATH
11355    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11356    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11357    soname_spec='$libname$release$shared_ext$major'
11358    if test 32 = "$HPUX_IA64_MODE"; then
11359      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11360      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11361    else
11362      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11363      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11364    fi
11365    ;;
11366  hppa*64*)
11367    shrext_cmds='.sl'
11368    hardcode_into_libs=yes
11369    dynamic_linker="$host_os dld.sl"
11370    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11371    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11372    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11373    soname_spec='$libname$release$shared_ext$major'
11374    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11375    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11376    ;;
11377  *)
11378    shrext_cmds='.sl'
11379    dynamic_linker="$host_os dld.sl"
11380    shlibpath_var=SHLIB_PATH
11381    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11382    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11383    soname_spec='$libname$release$shared_ext$major'
11384    ;;
11385  esac
11386  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11387  postinstall_cmds='chmod 555 $lib'
11388  # or fails outright, so override atomically:
11389  install_override_mode=555
11390  ;;
11391
11392interix[3-9]*)
11393  version_type=linux # correct to gnu/linux during the next big refactor
11394  need_lib_prefix=no
11395  need_version=no
11396  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11397  soname_spec='$libname$release$shared_ext$major'
11398  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11399  shlibpath_var=LD_LIBRARY_PATH
11400  shlibpath_overrides_runpath=no
11401  hardcode_into_libs=yes
11402  ;;
11403
11404irix5* | irix6* | nonstopux*)
11405  case $host_os in
11406    nonstopux*) version_type=nonstopux ;;
11407    *)
11408	if test yes = "$lt_cv_prog_gnu_ld"; then
11409		version_type=linux # correct to gnu/linux during the next big refactor
11410	else
11411		version_type=irix
11412	fi ;;
11413  esac
11414  need_lib_prefix=no
11415  need_version=no
11416  soname_spec='$libname$release$shared_ext$major'
11417  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11418  case $host_os in
11419  irix5* | nonstopux*)
11420    libsuff= shlibsuff=
11421    ;;
11422  *)
11423    case $LD in # libtool.m4 will add one of these switches to LD
11424    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11425      libsuff= shlibsuff= libmagic=32-bit;;
11426    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11427      libsuff=32 shlibsuff=N32 libmagic=N32;;
11428    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11429      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11430    *) libsuff= shlibsuff= libmagic=never-match;;
11431    esac
11432    ;;
11433  esac
11434  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11435  shlibpath_overrides_runpath=no
11436  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11437  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11438  hardcode_into_libs=yes
11439  ;;
11440
11441# No shared lib support for Linux oldld, aout, or coff.
11442linux*oldld* | linux*aout* | linux*coff*)
11443  dynamic_linker=no
11444  ;;
11445
11446linux*android*)
11447  version_type=none # Android doesn't support versioned libraries.
11448  need_lib_prefix=no
11449  need_version=no
11450  library_names_spec='$libname$release$shared_ext'
11451  soname_spec='$libname$release$shared_ext'
11452  finish_cmds=
11453  shlibpath_var=LD_LIBRARY_PATH
11454  shlibpath_overrides_runpath=yes
11455
11456  # This implies no fast_install, which is unacceptable.
11457  # Some rework will be needed to allow for fast_install
11458  # before this can be enabled.
11459  hardcode_into_libs=yes
11460
11461  dynamic_linker='Android linker'
11462  # Don't embed -rpath directories since the linker doesn't support them.
11463  hardcode_libdir_flag_spec='-L$libdir'
11464  ;;
11465
11466# This must be glibc/ELF.
11467linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11468  version_type=linux # correct to gnu/linux during the next big refactor
11469  need_lib_prefix=no
11470  need_version=no
11471  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11472  soname_spec='$libname$release$shared_ext$major'
11473  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11474  shlibpath_var=LD_LIBRARY_PATH
11475  shlibpath_overrides_runpath=no
11476
11477  # Some binutils ld are patched to set DT_RUNPATH
11478  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11479  $as_echo_n "(cached) " >&6
11480else
11481  lt_cv_shlibpath_overrides_runpath=no
11482    save_LDFLAGS=$LDFLAGS
11483    save_libdir=$libdir
11484    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11485	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11486    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487/* end confdefs.h.  */
11488
11489int
11490main ()
11491{
11492
11493  ;
11494  return 0;
11495}
11496_ACEOF
11497if ac_fn_c_try_link "$LINENO"; then :
11498  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11499  lt_cv_shlibpath_overrides_runpath=yes
11500fi
11501fi
11502rm -f core conftest.err conftest.$ac_objext \
11503    conftest$ac_exeext conftest.$ac_ext
11504    LDFLAGS=$save_LDFLAGS
11505    libdir=$save_libdir
11506
11507fi
11508
11509  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11510
11511  # This implies no fast_install, which is unacceptable.
11512  # Some rework will be needed to allow for fast_install
11513  # before this can be enabled.
11514  hardcode_into_libs=yes
11515
11516  # Ideally, we could use ldconfig to report *all* directores which are
11517  # searched for libraries, however this is still not possible.  Aside from not
11518  # being certain /sbin/ldconfig is available, command
11519  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11520  # even though it is searched at run-time.  Try to do the best guess by
11521  # appending ld.so.conf contents (and includes) to the search path.
11522  if test -f /etc/ld.so.conf; then
11523    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' ' '`
11524    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11525  fi
11526
11527  # We used to test for /lib/ld.so.1 and disable shared libraries on
11528  # powerpc, because MkLinux only supported shared libraries with the
11529  # GNU dynamic linker.  Since this was broken with cross compilers,
11530  # most powerpc-linux boxes support dynamic linking these days and
11531  # people can always --disable-shared, the test was removed, and we
11532  # assume the GNU/Linux dynamic linker is in use.
11533  dynamic_linker='GNU/Linux ld.so'
11534  ;;
11535
11536netbsd*)
11537  version_type=sunos
11538  need_lib_prefix=no
11539  need_version=no
11540  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11541    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11542    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11543    dynamic_linker='NetBSD (a.out) ld.so'
11544  else
11545    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11546    soname_spec='$libname$release$shared_ext$major'
11547    dynamic_linker='NetBSD ld.elf_so'
11548  fi
11549  shlibpath_var=LD_LIBRARY_PATH
11550  shlibpath_overrides_runpath=yes
11551  hardcode_into_libs=yes
11552  ;;
11553
11554newsos6)
11555  version_type=linux # correct to gnu/linux during the next big refactor
11556  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11557  shlibpath_var=LD_LIBRARY_PATH
11558  shlibpath_overrides_runpath=yes
11559  ;;
11560
11561*nto* | *qnx*)
11562  version_type=qnx
11563  need_lib_prefix=no
11564  need_version=no
11565  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11566  soname_spec='$libname$release$shared_ext$major'
11567  shlibpath_var=LD_LIBRARY_PATH
11568  shlibpath_overrides_runpath=no
11569  hardcode_into_libs=yes
11570  dynamic_linker='ldqnx.so'
11571  ;;
11572
11573openbsd* | bitrig*)
11574  version_type=sunos
11575  sys_lib_dlsearch_path_spec=/usr/lib
11576  need_lib_prefix=no
11577  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11578    need_version=no
11579  else
11580    need_version=yes
11581  fi
11582  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11583  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11584  shlibpath_var=LD_LIBRARY_PATH
11585  shlibpath_overrides_runpath=yes
11586  ;;
11587
11588os2*)
11589  libname_spec='$name'
11590  version_type=windows
11591  shrext_cmds=.dll
11592  need_version=no
11593  need_lib_prefix=no
11594  # OS/2 can only load a DLL with a base name of 8 characters or less.
11595  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11596    v=$($ECHO $release$versuffix | tr -d .-);
11597    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11598    $ECHO $n$v`$shared_ext'
11599  library_names_spec='${libname}_dll.$libext'
11600  dynamic_linker='OS/2 ld.exe'
11601  shlibpath_var=BEGINLIBPATH
11602  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11603  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11604  postinstall_cmds='base_file=`basename \$file`~
11605    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11606    dldir=$destdir/`dirname \$dlpath`~
11607    test -d \$dldir || mkdir -p \$dldir~
11608    $install_prog $dir/$dlname \$dldir/$dlname~
11609    chmod a+x \$dldir/$dlname~
11610    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11611      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11612    fi'
11613  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11614    dlpath=$dir/\$dldll~
11615    $RM \$dlpath'
11616  ;;
11617
11618osf3* | osf4* | osf5*)
11619  version_type=osf
11620  need_lib_prefix=no
11621  need_version=no
11622  soname_spec='$libname$release$shared_ext$major'
11623  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11624  shlibpath_var=LD_LIBRARY_PATH
11625  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11626  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11627  ;;
11628
11629rdos*)
11630  dynamic_linker=no
11631  ;;
11632
11633solaris*)
11634  version_type=linux # correct to gnu/linux during the next big refactor
11635  need_lib_prefix=no
11636  need_version=no
11637  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11638  soname_spec='$libname$release$shared_ext$major'
11639  shlibpath_var=LD_LIBRARY_PATH
11640  shlibpath_overrides_runpath=yes
11641  hardcode_into_libs=yes
11642  # ldd complains unless libraries are executable
11643  postinstall_cmds='chmod +x $lib'
11644  ;;
11645
11646sunos4*)
11647  version_type=sunos
11648  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11649  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11650  shlibpath_var=LD_LIBRARY_PATH
11651  shlibpath_overrides_runpath=yes
11652  if test yes = "$with_gnu_ld"; then
11653    need_lib_prefix=no
11654  fi
11655  need_version=yes
11656  ;;
11657
11658sysv4 | sysv4.3*)
11659  version_type=linux # correct to gnu/linux during the next big refactor
11660  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11661  soname_spec='$libname$release$shared_ext$major'
11662  shlibpath_var=LD_LIBRARY_PATH
11663  case $host_vendor in
11664    sni)
11665      shlibpath_overrides_runpath=no
11666      need_lib_prefix=no
11667      runpath_var=LD_RUN_PATH
11668      ;;
11669    siemens)
11670      need_lib_prefix=no
11671      ;;
11672    motorola)
11673      need_lib_prefix=no
11674      need_version=no
11675      shlibpath_overrides_runpath=no
11676      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11677      ;;
11678  esac
11679  ;;
11680
11681sysv4*MP*)
11682  if test -d /usr/nec; then
11683    version_type=linux # correct to gnu/linux during the next big refactor
11684    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11685    soname_spec='$libname$shared_ext.$major'
11686    shlibpath_var=LD_LIBRARY_PATH
11687  fi
11688  ;;
11689
11690sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11691  version_type=sco
11692  need_lib_prefix=no
11693  need_version=no
11694  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11695  soname_spec='$libname$release$shared_ext$major'
11696  shlibpath_var=LD_LIBRARY_PATH
11697  shlibpath_overrides_runpath=yes
11698  hardcode_into_libs=yes
11699  if test yes = "$with_gnu_ld"; then
11700    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11701  else
11702    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11703    case $host_os in
11704      sco3.2v5*)
11705        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11706	;;
11707    esac
11708  fi
11709  sys_lib_dlsearch_path_spec='/usr/lib'
11710  ;;
11711
11712tpf*)
11713  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11714  version_type=linux # correct to gnu/linux during the next big refactor
11715  need_lib_prefix=no
11716  need_version=no
11717  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11718  shlibpath_var=LD_LIBRARY_PATH
11719  shlibpath_overrides_runpath=no
11720  hardcode_into_libs=yes
11721  ;;
11722
11723uts4*)
11724  version_type=linux # correct to gnu/linux during the next big refactor
11725  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11726  soname_spec='$libname$release$shared_ext$major'
11727  shlibpath_var=LD_LIBRARY_PATH
11728  ;;
11729
11730*)
11731  dynamic_linker=no
11732  ;;
11733esac
11734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11735$as_echo "$dynamic_linker" >&6; }
11736test no = "$dynamic_linker" && can_build_shared=no
11737
11738variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11739if test yes = "$GCC"; then
11740  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11741fi
11742
11743if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11744  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11745fi
11746
11747if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11748  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11749fi
11750
11751# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11752configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11753
11754# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11755func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11756
11757# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11758configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11857$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11858hardcode_action=
11859if test -n "$hardcode_libdir_flag_spec" ||
11860   test -n "$runpath_var" ||
11861   test yes = "$hardcode_automatic"; then
11862
11863  # We can hardcode non-existent directories.
11864  if test no != "$hardcode_direct" &&
11865     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11866     # have to relink, otherwise we might link with an installed library
11867     # when we should be linking with a yet-to-be-installed one
11868     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11869     test no != "$hardcode_minus_L"; then
11870    # Linking always hardcodes the temporary library directory.
11871    hardcode_action=relink
11872  else
11873    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11874    hardcode_action=immediate
11875  fi
11876else
11877  # We cannot hardcode anything, or else we can only hardcode existing
11878  # directories.
11879  hardcode_action=unsupported
11880fi
11881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11882$as_echo "$hardcode_action" >&6; }
11883
11884if test relink = "$hardcode_action" ||
11885   test yes = "$inherit_rpath"; then
11886  # Fast installation is not supported
11887  enable_fast_install=no
11888elif test yes = "$shlibpath_overrides_runpath" ||
11889     test no = "$enable_shared"; then
11890  # Fast installation is not necessary
11891  enable_fast_install=needless
11892fi
11893
11894
11895
11896
11897
11898
11899  if test yes != "$enable_dlopen"; then
11900  enable_dlopen=unknown
11901  enable_dlopen_self=unknown
11902  enable_dlopen_self_static=unknown
11903else
11904  lt_cv_dlopen=no
11905  lt_cv_dlopen_libs=
11906
11907  case $host_os in
11908  beos*)
11909    lt_cv_dlopen=load_add_on
11910    lt_cv_dlopen_libs=
11911    lt_cv_dlopen_self=yes
11912    ;;
11913
11914  mingw* | pw32* | cegcc*)
11915    lt_cv_dlopen=LoadLibrary
11916    lt_cv_dlopen_libs=
11917    ;;
11918
11919  cygwin*)
11920    lt_cv_dlopen=dlopen
11921    lt_cv_dlopen_libs=
11922    ;;
11923
11924  darwin*)
11925    # if libdl is installed we need to link against it
11926    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11927$as_echo_n "checking for dlopen in -ldl... " >&6; }
11928if ${ac_cv_lib_dl_dlopen+:} false; then :
11929  $as_echo_n "(cached) " >&6
11930else
11931  ac_check_lib_save_LIBS=$LIBS
11932LIBS="-ldl  $LIBS"
11933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934/* end confdefs.h.  */
11935
11936/* Override any GCC internal prototype to avoid an error.
11937   Use char because int might match the return type of a GCC
11938   builtin and then its argument prototype would still apply.  */
11939#ifdef __cplusplus
11940extern "C"
11941#endif
11942char dlopen ();
11943int
11944main ()
11945{
11946return dlopen ();
11947  ;
11948  return 0;
11949}
11950_ACEOF
11951if ac_fn_c_try_link "$LINENO"; then :
11952  ac_cv_lib_dl_dlopen=yes
11953else
11954  ac_cv_lib_dl_dlopen=no
11955fi
11956rm -f core conftest.err conftest.$ac_objext \
11957    conftest$ac_exeext conftest.$ac_ext
11958LIBS=$ac_check_lib_save_LIBS
11959fi
11960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11961$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11962if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11963  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11964else
11965
11966    lt_cv_dlopen=dyld
11967    lt_cv_dlopen_libs=
11968    lt_cv_dlopen_self=yes
11969
11970fi
11971
11972    ;;
11973
11974  tpf*)
11975    # Don't try to run any link tests for TPF.  We know it's impossible
11976    # because TPF is a cross-compiler, and we know how we open DSOs.
11977    lt_cv_dlopen=dlopen
11978    lt_cv_dlopen_libs=
11979    lt_cv_dlopen_self=no
11980    ;;
11981
11982  *)
11983    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11984if test "x$ac_cv_func_shl_load" = xyes; then :
11985  lt_cv_dlopen=shl_load
11986else
11987  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11988$as_echo_n "checking for shl_load in -ldld... " >&6; }
11989if ${ac_cv_lib_dld_shl_load+:} false; then :
11990  $as_echo_n "(cached) " >&6
11991else
11992  ac_check_lib_save_LIBS=$LIBS
11993LIBS="-ldld  $LIBS"
11994cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995/* end confdefs.h.  */
11996
11997/* Override any GCC internal prototype to avoid an error.
11998   Use char because int might match the return type of a GCC
11999   builtin and then its argument prototype would still apply.  */
12000#ifdef __cplusplus
12001extern "C"
12002#endif
12003char shl_load ();
12004int
12005main ()
12006{
12007return shl_load ();
12008  ;
12009  return 0;
12010}
12011_ACEOF
12012if ac_fn_c_try_link "$LINENO"; then :
12013  ac_cv_lib_dld_shl_load=yes
12014else
12015  ac_cv_lib_dld_shl_load=no
12016fi
12017rm -f core conftest.err conftest.$ac_objext \
12018    conftest$ac_exeext conftest.$ac_ext
12019LIBS=$ac_check_lib_save_LIBS
12020fi
12021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12022$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12023if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12024  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12025else
12026  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12027if test "x$ac_cv_func_dlopen" = xyes; then :
12028  lt_cv_dlopen=dlopen
12029else
12030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12031$as_echo_n "checking for dlopen in -ldl... " >&6; }
12032if ${ac_cv_lib_dl_dlopen+:} false; then :
12033  $as_echo_n "(cached) " >&6
12034else
12035  ac_check_lib_save_LIBS=$LIBS
12036LIBS="-ldl  $LIBS"
12037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038/* end confdefs.h.  */
12039
12040/* Override any GCC internal prototype to avoid an error.
12041   Use char because int might match the return type of a GCC
12042   builtin and then its argument prototype would still apply.  */
12043#ifdef __cplusplus
12044extern "C"
12045#endif
12046char dlopen ();
12047int
12048main ()
12049{
12050return dlopen ();
12051  ;
12052  return 0;
12053}
12054_ACEOF
12055if ac_fn_c_try_link "$LINENO"; then :
12056  ac_cv_lib_dl_dlopen=yes
12057else
12058  ac_cv_lib_dl_dlopen=no
12059fi
12060rm -f core conftest.err conftest.$ac_objext \
12061    conftest$ac_exeext conftest.$ac_ext
12062LIBS=$ac_check_lib_save_LIBS
12063fi
12064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12065$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12066if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12067  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12068else
12069  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12070$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12071if ${ac_cv_lib_svld_dlopen+:} false; then :
12072  $as_echo_n "(cached) " >&6
12073else
12074  ac_check_lib_save_LIBS=$LIBS
12075LIBS="-lsvld  $LIBS"
12076cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077/* end confdefs.h.  */
12078
12079/* Override any GCC internal prototype to avoid an error.
12080   Use char because int might match the return type of a GCC
12081   builtin and then its argument prototype would still apply.  */
12082#ifdef __cplusplus
12083extern "C"
12084#endif
12085char dlopen ();
12086int
12087main ()
12088{
12089return dlopen ();
12090  ;
12091  return 0;
12092}
12093_ACEOF
12094if ac_fn_c_try_link "$LINENO"; then :
12095  ac_cv_lib_svld_dlopen=yes
12096else
12097  ac_cv_lib_svld_dlopen=no
12098fi
12099rm -f core conftest.err conftest.$ac_objext \
12100    conftest$ac_exeext conftest.$ac_ext
12101LIBS=$ac_check_lib_save_LIBS
12102fi
12103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12104$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12105if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12106  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12107else
12108  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12109$as_echo_n "checking for dld_link in -ldld... " >&6; }
12110if ${ac_cv_lib_dld_dld_link+:} false; then :
12111  $as_echo_n "(cached) " >&6
12112else
12113  ac_check_lib_save_LIBS=$LIBS
12114LIBS="-ldld  $LIBS"
12115cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116/* end confdefs.h.  */
12117
12118/* Override any GCC internal prototype to avoid an error.
12119   Use char because int might match the return type of a GCC
12120   builtin and then its argument prototype would still apply.  */
12121#ifdef __cplusplus
12122extern "C"
12123#endif
12124char dld_link ();
12125int
12126main ()
12127{
12128return dld_link ();
12129  ;
12130  return 0;
12131}
12132_ACEOF
12133if ac_fn_c_try_link "$LINENO"; then :
12134  ac_cv_lib_dld_dld_link=yes
12135else
12136  ac_cv_lib_dld_dld_link=no
12137fi
12138rm -f core conftest.err conftest.$ac_objext \
12139    conftest$ac_exeext conftest.$ac_ext
12140LIBS=$ac_check_lib_save_LIBS
12141fi
12142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12143$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12144if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12145  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12146fi
12147
12148
12149fi
12150
12151
12152fi
12153
12154
12155fi
12156
12157
12158fi
12159
12160
12161fi
12162
12163    ;;
12164  esac
12165
12166  if test no = "$lt_cv_dlopen"; then
12167    enable_dlopen=no
12168  else
12169    enable_dlopen=yes
12170  fi
12171
12172  case $lt_cv_dlopen in
12173  dlopen)
12174    save_CPPFLAGS=$CPPFLAGS
12175    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12176
12177    save_LDFLAGS=$LDFLAGS
12178    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12179
12180    save_LIBS=$LIBS
12181    LIBS="$lt_cv_dlopen_libs $LIBS"
12182
12183    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12184$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12185if ${lt_cv_dlopen_self+:} false; then :
12186  $as_echo_n "(cached) " >&6
12187else
12188  	  if test yes = "$cross_compiling"; then :
12189  lt_cv_dlopen_self=cross
12190else
12191  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12192  lt_status=$lt_dlunknown
12193  cat > conftest.$ac_ext <<_LT_EOF
12194#line $LINENO "configure"
12195#include "confdefs.h"
12196
12197#if HAVE_DLFCN_H
12198#include <dlfcn.h>
12199#endif
12200
12201#include <stdio.h>
12202
12203#ifdef RTLD_GLOBAL
12204#  define LT_DLGLOBAL		RTLD_GLOBAL
12205#else
12206#  ifdef DL_GLOBAL
12207#    define LT_DLGLOBAL		DL_GLOBAL
12208#  else
12209#    define LT_DLGLOBAL		0
12210#  endif
12211#endif
12212
12213/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12214   find out it does not work in some platform. */
12215#ifndef LT_DLLAZY_OR_NOW
12216#  ifdef RTLD_LAZY
12217#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12218#  else
12219#    ifdef DL_LAZY
12220#      define LT_DLLAZY_OR_NOW		DL_LAZY
12221#    else
12222#      ifdef RTLD_NOW
12223#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12224#      else
12225#        ifdef DL_NOW
12226#          define LT_DLLAZY_OR_NOW	DL_NOW
12227#        else
12228#          define LT_DLLAZY_OR_NOW	0
12229#        endif
12230#      endif
12231#    endif
12232#  endif
12233#endif
12234
12235/* When -fvisibility=hidden is used, assume the code has been annotated
12236   correspondingly for the symbols needed.  */
12237#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12238int fnord () __attribute__((visibility("default")));
12239#endif
12240
12241int fnord () { return 42; }
12242int main ()
12243{
12244  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12245  int status = $lt_dlunknown;
12246
12247  if (self)
12248    {
12249      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12250      else
12251        {
12252	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12253          else puts (dlerror ());
12254	}
12255      /* dlclose (self); */
12256    }
12257  else
12258    puts (dlerror ());
12259
12260  return status;
12261}
12262_LT_EOF
12263  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12264  (eval $ac_link) 2>&5
12265  ac_status=$?
12266  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12267  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12268    (./conftest; exit; ) >&5 2>/dev/null
12269    lt_status=$?
12270    case x$lt_status in
12271      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12272      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12273      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12274    esac
12275  else :
12276    # compilation failed
12277    lt_cv_dlopen_self=no
12278  fi
12279fi
12280rm -fr conftest*
12281
12282
12283fi
12284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12285$as_echo "$lt_cv_dlopen_self" >&6; }
12286
12287    if test yes = "$lt_cv_dlopen_self"; then
12288      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12289      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12290$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12291if ${lt_cv_dlopen_self_static+:} false; then :
12292  $as_echo_n "(cached) " >&6
12293else
12294  	  if test yes = "$cross_compiling"; then :
12295  lt_cv_dlopen_self_static=cross
12296else
12297  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12298  lt_status=$lt_dlunknown
12299  cat > conftest.$ac_ext <<_LT_EOF
12300#line $LINENO "configure"
12301#include "confdefs.h"
12302
12303#if HAVE_DLFCN_H
12304#include <dlfcn.h>
12305#endif
12306
12307#include <stdio.h>
12308
12309#ifdef RTLD_GLOBAL
12310#  define LT_DLGLOBAL		RTLD_GLOBAL
12311#else
12312#  ifdef DL_GLOBAL
12313#    define LT_DLGLOBAL		DL_GLOBAL
12314#  else
12315#    define LT_DLGLOBAL		0
12316#  endif
12317#endif
12318
12319/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12320   find out it does not work in some platform. */
12321#ifndef LT_DLLAZY_OR_NOW
12322#  ifdef RTLD_LAZY
12323#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12324#  else
12325#    ifdef DL_LAZY
12326#      define LT_DLLAZY_OR_NOW		DL_LAZY
12327#    else
12328#      ifdef RTLD_NOW
12329#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12330#      else
12331#        ifdef DL_NOW
12332#          define LT_DLLAZY_OR_NOW	DL_NOW
12333#        else
12334#          define LT_DLLAZY_OR_NOW	0
12335#        endif
12336#      endif
12337#    endif
12338#  endif
12339#endif
12340
12341/* When -fvisibility=hidden is used, assume the code has been annotated
12342   correspondingly for the symbols needed.  */
12343#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12344int fnord () __attribute__((visibility("default")));
12345#endif
12346
12347int fnord () { return 42; }
12348int main ()
12349{
12350  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12351  int status = $lt_dlunknown;
12352
12353  if (self)
12354    {
12355      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12356      else
12357        {
12358	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12359          else puts (dlerror ());
12360	}
12361      /* dlclose (self); */
12362    }
12363  else
12364    puts (dlerror ());
12365
12366  return status;
12367}
12368_LT_EOF
12369  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12370  (eval $ac_link) 2>&5
12371  ac_status=$?
12372  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12373  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12374    (./conftest; exit; ) >&5 2>/dev/null
12375    lt_status=$?
12376    case x$lt_status in
12377      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12378      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12379      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12380    esac
12381  else :
12382    # compilation failed
12383    lt_cv_dlopen_self_static=no
12384  fi
12385fi
12386rm -fr conftest*
12387
12388
12389fi
12390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12391$as_echo "$lt_cv_dlopen_self_static" >&6; }
12392    fi
12393
12394    CPPFLAGS=$save_CPPFLAGS
12395    LDFLAGS=$save_LDFLAGS
12396    LIBS=$save_LIBS
12397    ;;
12398  esac
12399
12400  case $lt_cv_dlopen_self in
12401  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12402  *) enable_dlopen_self=unknown ;;
12403  esac
12404
12405  case $lt_cv_dlopen_self_static in
12406  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12407  *) enable_dlopen_self_static=unknown ;;
12408  esac
12409fi
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427striplib=
12428old_striplib=
12429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12430$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12431if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12432  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12433  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12435$as_echo "yes" >&6; }
12436else
12437# FIXME - insert some real tests, host_os isn't really good enough
12438  case $host_os in
12439  darwin*)
12440    if test -n "$STRIP"; then
12441      striplib="$STRIP -x"
12442      old_striplib="$STRIP -S"
12443      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12444$as_echo "yes" >&6; }
12445    else
12446      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12447$as_echo "no" >&6; }
12448    fi
12449    ;;
12450  *)
12451    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12452$as_echo "no" >&6; }
12453    ;;
12454  esac
12455fi
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468  # Report what library types will actually be built
12469  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12470$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12472$as_echo "$can_build_shared" >&6; }
12473
12474  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12475$as_echo_n "checking whether to build shared libraries... " >&6; }
12476  test no = "$can_build_shared" && enable_shared=no
12477
12478  # On AIX, shared libraries and static libraries use the same namespace, and
12479  # are all built from PIC.
12480  case $host_os in
12481  aix3*)
12482    test yes = "$enable_shared" && enable_static=no
12483    if test -n "$RANLIB"; then
12484      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12485      postinstall_cmds='$RANLIB $lib'
12486    fi
12487    ;;
12488
12489  aix[4-9]*)
12490    if test ia64 != "$host_cpu"; then
12491      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12492      yes,aix,yes) ;;			# shared object as lib.so file only
12493      yes,svr4,*) ;;			# shared object as lib.so archive member only
12494      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12495      esac
12496    fi
12497    ;;
12498  esac
12499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12500$as_echo "$enable_shared" >&6; }
12501
12502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12503$as_echo_n "checking whether to build static libraries... " >&6; }
12504  # Make sure either enable_shared or enable_static is yes.
12505  test yes = "$enable_shared" || enable_static=yes
12506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12507$as_echo "$enable_static" >&6; }
12508
12509
12510
12511
12512fi
12513ac_ext=c
12514ac_cpp='$CPP $CPPFLAGS'
12515ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12516ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12517ac_compiler_gnu=$ac_cv_c_compiler_gnu
12518
12519CC=$lt_save_CC
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535        ac_config_commands="$ac_config_commands libtool"
12536
12537
12538
12539
12540# Only expand once:
12541
12542
12543
12544
12545# Some awks crash when confronted with pnglibconf.dfa, do a test run now
12546# to make sure this doesn't happen
12547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that AWK works" >&5
12548$as_echo_n "checking that AWK works... " >&6; }
12549if ${AWK} -f ${srcdir}/scripts/options.awk out="/dev/null" version=search\
12550   ${srcdir}/pngconf.h ${srcdir}/scripts/pnglibconf.dfa\
12551   ${srcdir}/pngusr.dfa 1>&2
12552then
12553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12554$as_echo "ok" >&6; }
12555else
12556   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12557$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12558as_fn_error 1 "failed
12559See \`config.log' for more details" "$LINENO" 5; }
12560fi
12561
12562# This is a remnant of the old cc -E validation, where it may have been
12563# necessary to use a different preprocessor for .dfn files
12564DFNCPP="$CPP"
12565
12566
12567# -Werror cannot be passed to GCC in CFLAGS because configure will fail (it
12568# checks the compiler with a program that generates a warning), add the
12569# following option to deal with this
12570
12571# Check whether --enable-werror was given.
12572if test "${enable_werror+set}" = set; then :
12573  enableval=$enable_werror; test "$enable_werror" = "yes" && enable_werror="-Werror"
12574    if test "$enable_werror" != "no"; then
12575      sav_CFLAGS="$CFLAGS"
12576      CFLAGS="$enable_werror $CFLAGS"
12577      { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler allows $enable_werror" >&5
12578$as_echo_n "checking if the compiler allows $enable_werror... " >&6; }
12579      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580/* end confdefs.h.  */
12581
12582            int main(int argc, char **argv){
12583            return argv[argc-1][0];
12584            }
12585_ACEOF
12586if ac_fn_c_try_compile "$LINENO"; then :
12587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12588$as_echo "yes" >&6; }
12589         PNG_COPTS="$PNG_COPTS $enable_werror"
12590else
12591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12592$as_echo "no" >&6; }
12593fi
12594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12595      CFLAGS="$sav_CFLAGS"
12596    fi
12597fi
12598
12599
12600# Checks for header files.
12601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12602$as_echo_n "checking for ANSI C header files... " >&6; }
12603if ${ac_cv_header_stdc+:} false; then :
12604  $as_echo_n "(cached) " >&6
12605else
12606  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12607/* end confdefs.h.  */
12608#include <stdlib.h>
12609#include <stdarg.h>
12610#include <string.h>
12611#include <float.h>
12612
12613int
12614main ()
12615{
12616
12617  ;
12618  return 0;
12619}
12620_ACEOF
12621if ac_fn_c_try_compile "$LINENO"; then :
12622  ac_cv_header_stdc=yes
12623else
12624  ac_cv_header_stdc=no
12625fi
12626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12627
12628if test $ac_cv_header_stdc = yes; then
12629  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631/* end confdefs.h.  */
12632#include <string.h>
12633
12634_ACEOF
12635if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12636  $EGREP "memchr" >/dev/null 2>&1; then :
12637
12638else
12639  ac_cv_header_stdc=no
12640fi
12641rm -f conftest*
12642
12643fi
12644
12645if test $ac_cv_header_stdc = yes; then
12646  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12647  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12648/* end confdefs.h.  */
12649#include <stdlib.h>
12650
12651_ACEOF
12652if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12653  $EGREP "free" >/dev/null 2>&1; then :
12654
12655else
12656  ac_cv_header_stdc=no
12657fi
12658rm -f conftest*
12659
12660fi
12661
12662if test $ac_cv_header_stdc = yes; then
12663  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12664  if test "$cross_compiling" = yes; then :
12665  :
12666else
12667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12668/* end confdefs.h.  */
12669#include <ctype.h>
12670#include <stdlib.h>
12671#if ((' ' & 0x0FF) == 0x020)
12672# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12673# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12674#else
12675# define ISLOWER(c) \
12676		   (('a' <= (c) && (c) <= 'i') \
12677		     || ('j' <= (c) && (c) <= 'r') \
12678		     || ('s' <= (c) && (c) <= 'z'))
12679# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12680#endif
12681
12682#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12683int
12684main ()
12685{
12686  int i;
12687  for (i = 0; i < 256; i++)
12688    if (XOR (islower (i), ISLOWER (i))
12689	|| toupper (i) != TOUPPER (i))
12690      return 2;
12691  return 0;
12692}
12693_ACEOF
12694if ac_fn_c_try_run "$LINENO"; then :
12695
12696else
12697  ac_cv_header_stdc=no
12698fi
12699rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12700  conftest.$ac_objext conftest.beam conftest.$ac_ext
12701fi
12702
12703fi
12704fi
12705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12706$as_echo "$ac_cv_header_stdc" >&6; }
12707if test $ac_cv_header_stdc = yes; then
12708
12709$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12710
12711fi
12712
12713
12714# Checks for typedefs, structures, and compiler characteristics.
12715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12716$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12717if ${ac_cv_c_const+:} false; then :
12718  $as_echo_n "(cached) " >&6
12719else
12720  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721/* end confdefs.h.  */
12722
12723int
12724main ()
12725{
12726
12727#ifndef __cplusplus
12728  /* Ultrix mips cc rejects this sort of thing.  */
12729  typedef int charset[2];
12730  const charset cs = { 0, 0 };
12731  /* SunOS 4.1.1 cc rejects this.  */
12732  char const *const *pcpcc;
12733  char **ppc;
12734  /* NEC SVR4.0.2 mips cc rejects this.  */
12735  struct point {int x, y;};
12736  static struct point const zero = {0,0};
12737  /* AIX XL C 1.02.0.0 rejects this.
12738     It does not let you subtract one const X* pointer from another in
12739     an arm of an if-expression whose if-part is not a constant
12740     expression */
12741  const char *g = "string";
12742  pcpcc = &g + (g ? g-g : 0);
12743  /* HPUX 7.0 cc rejects these. */
12744  ++pcpcc;
12745  ppc = (char**) pcpcc;
12746  pcpcc = (char const *const *) ppc;
12747  { /* SCO 3.2v4 cc rejects this sort of thing.  */
12748    char tx;
12749    char *t = &tx;
12750    char const *s = 0 ? (char *) 0 : (char const *) 0;
12751
12752    *t++ = 0;
12753    if (s) return 0;
12754  }
12755  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12756    int x[] = {25, 17};
12757    const int *foo = &x[0];
12758    ++foo;
12759  }
12760  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12761    typedef const int *iptr;
12762    iptr p = 0;
12763    ++p;
12764  }
12765  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12766       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12767    struct s { int j; const int *ap[3]; } bx;
12768    struct s *b = &bx; b->j = 5;
12769  }
12770  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12771    const int foo = 10;
12772    if (!foo) return 0;
12773  }
12774  return !cs[0] && !zero.x;
12775#endif
12776
12777  ;
12778  return 0;
12779}
12780_ACEOF
12781if ac_fn_c_try_compile "$LINENO"; then :
12782  ac_cv_c_const=yes
12783else
12784  ac_cv_c_const=no
12785fi
12786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12787fi
12788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12789$as_echo "$ac_cv_c_const" >&6; }
12790if test $ac_cv_c_const = no; then
12791
12792$as_echo "#define const /**/" >>confdefs.h
12793
12794fi
12795
12796ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12797if test "x$ac_cv_type_size_t" = xyes; then :
12798
12799else
12800
12801cat >>confdefs.h <<_ACEOF
12802#define size_t unsigned int
12803_ACEOF
12804
12805fi
12806
12807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12808$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12809if ${ac_cv_struct_tm+:} false; then :
12810  $as_echo_n "(cached) " >&6
12811else
12812  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813/* end confdefs.h.  */
12814#include <sys/types.h>
12815#include <time.h>
12816
12817int
12818main ()
12819{
12820struct tm tm;
12821				     int *p = &tm.tm_sec;
12822				     return !p;
12823  ;
12824  return 0;
12825}
12826_ACEOF
12827if ac_fn_c_try_compile "$LINENO"; then :
12828  ac_cv_struct_tm=time.h
12829else
12830  ac_cv_struct_tm=sys/time.h
12831fi
12832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12833fi
12834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12835$as_echo "$ac_cv_struct_tm" >&6; }
12836if test $ac_cv_struct_tm = sys/time.h; then
12837
12838$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12839
12840fi
12841
12842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
12843$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
12844if ${ac_cv_c_restrict+:} false; then :
12845  $as_echo_n "(cached) " >&6
12846else
12847  ac_cv_c_restrict=no
12848   # The order here caters to the fact that C++ does not require restrict.
12849   for ac_kw in __restrict __restrict__ _Restrict restrict; do
12850     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851/* end confdefs.h.  */
12852typedef int * int_ptr;
12853	int foo (int_ptr $ac_kw ip) {
12854	return ip[0];
12855       }
12856int
12857main ()
12858{
12859int s[1];
12860	int * $ac_kw t = s;
12861	t[0] = 0;
12862	return foo(t)
12863  ;
12864  return 0;
12865}
12866_ACEOF
12867if ac_fn_c_try_compile "$LINENO"; then :
12868  ac_cv_c_restrict=$ac_kw
12869fi
12870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12871     test "$ac_cv_c_restrict" != no && break
12872   done
12873
12874fi
12875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
12876$as_echo "$ac_cv_c_restrict" >&6; }
12877
12878 case $ac_cv_c_restrict in
12879   restrict) ;;
12880   no) $as_echo "#define restrict /**/" >>confdefs.h
12881 ;;
12882   *)  cat >>confdefs.h <<_ACEOF
12883#define restrict $ac_cv_c_restrict
12884_ACEOF
12885 ;;
12886 esac
12887
12888
12889# Checks for library functions.
12890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
12891$as_echo_n "checking for working strtod... " >&6; }
12892if ${ac_cv_func_strtod+:} false; then :
12893  $as_echo_n "(cached) " >&6
12894else
12895  if test "$cross_compiling" = yes; then :
12896  ac_cv_func_strtod=no
12897else
12898  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12899/* end confdefs.h.  */
12900
12901$ac_includes_default
12902#ifndef strtod
12903double strtod ();
12904#endif
12905int
12906main()
12907{
12908  {
12909    /* Some versions of Linux strtod mis-parse strings with leading '+'.  */
12910    char *string = " +69";
12911    char *term;
12912    double value;
12913    value = strtod (string, &term);
12914    if (value != 69 || term != (string + 4))
12915      return 1;
12916  }
12917
12918  {
12919    /* Under Solaris 2.4, strtod returns the wrong value for the
12920       terminating character under some conditions.  */
12921    char *string = "NaN";
12922    char *term;
12923    strtod (string, &term);
12924    if (term != string && *(term - 1) == 0)
12925      return 1;
12926  }
12927  return 0;
12928}
12929
12930_ACEOF
12931if ac_fn_c_try_run "$LINENO"; then :
12932  ac_cv_func_strtod=yes
12933else
12934  ac_cv_func_strtod=no
12935fi
12936rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12937  conftest.$ac_objext conftest.beam conftest.$ac_ext
12938fi
12939
12940fi
12941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
12942$as_echo "$ac_cv_func_strtod" >&6; }
12943if test $ac_cv_func_strtod = no; then
12944  case " $LIBOBJS " in
12945  *" strtod.$ac_objext "* ) ;;
12946  *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
12947 ;;
12948esac
12949
12950ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
12951if test "x$ac_cv_func_pow" = xyes; then :
12952
12953fi
12954
12955if test $ac_cv_func_pow = no; then
12956  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
12957$as_echo_n "checking for pow in -lm... " >&6; }
12958if ${ac_cv_lib_m_pow+:} false; then :
12959  $as_echo_n "(cached) " >&6
12960else
12961  ac_check_lib_save_LIBS=$LIBS
12962LIBS="-lm  $LIBS"
12963cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12964/* end confdefs.h.  */
12965
12966/* Override any GCC internal prototype to avoid an error.
12967   Use char because int might match the return type of a GCC
12968   builtin and then its argument prototype would still apply.  */
12969#ifdef __cplusplus
12970extern "C"
12971#endif
12972char pow ();
12973int
12974main ()
12975{
12976return pow ();
12977  ;
12978  return 0;
12979}
12980_ACEOF
12981if ac_fn_c_try_link "$LINENO"; then :
12982  ac_cv_lib_m_pow=yes
12983else
12984  ac_cv_lib_m_pow=no
12985fi
12986rm -f core conftest.err conftest.$ac_objext \
12987    conftest$ac_exeext conftest.$ac_ext
12988LIBS=$ac_check_lib_save_LIBS
12989fi
12990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
12991$as_echo "$ac_cv_lib_m_pow" >&6; }
12992if test "x$ac_cv_lib_m_pow" = xyes; then :
12993  POW_LIB=-lm
12994else
12995  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
12996$as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
12997fi
12998
12999fi
13000
13001fi
13002
13003for ac_func in memset
13004do :
13005  ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
13006if test "x$ac_cv_func_memset" = xyes; then :
13007  cat >>confdefs.h <<_ACEOF
13008#define HAVE_MEMSET 1
13009_ACEOF
13010
13011else
13012  as_fn_error $? "memset not found in libc" "$LINENO" 5
13013fi
13014done
13015
13016for ac_func in pow
13017do :
13018  ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
13019if test "x$ac_cv_func_pow" = xyes; then :
13020  cat >>confdefs.h <<_ACEOF
13021#define HAVE_POW 1
13022_ACEOF
13023
13024else
13025  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
13026$as_echo_n "checking for pow in -lm... " >&6; }
13027if ${ac_cv_lib_m_pow+:} false; then :
13028  $as_echo_n "(cached) " >&6
13029else
13030  ac_check_lib_save_LIBS=$LIBS
13031LIBS="-lm  $LIBS"
13032cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033/* end confdefs.h.  */
13034
13035/* Override any GCC internal prototype to avoid an error.
13036   Use char because int might match the return type of a GCC
13037   builtin and then its argument prototype would still apply.  */
13038#ifdef __cplusplus
13039extern "C"
13040#endif
13041char pow ();
13042int
13043main ()
13044{
13045return pow ();
13046  ;
13047  return 0;
13048}
13049_ACEOF
13050if ac_fn_c_try_link "$LINENO"; then :
13051  ac_cv_lib_m_pow=yes
13052else
13053  ac_cv_lib_m_pow=no
13054fi
13055rm -f core conftest.err conftest.$ac_objext \
13056    conftest$ac_exeext conftest.$ac_ext
13057LIBS=$ac_check_lib_save_LIBS
13058fi
13059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
13060$as_echo "$ac_cv_lib_m_pow" >&6; }
13061if test "x$ac_cv_lib_m_pow" = xyes; then :
13062  cat >>confdefs.h <<_ACEOF
13063#define HAVE_LIBM 1
13064_ACEOF
13065
13066  LIBS="-lm $LIBS"
13067
13068else
13069  as_fn_error $? "cannot find pow" "$LINENO" 5
13070fi
13071
13072fi
13073done
13074
13075
13076# Check whether --with-zlib-prefix was given.
13077if test "${with_zlib_prefix+set}" = set; then :
13078  withval=$with_zlib_prefix; ZPREFIX=${withval}
13079else
13080  ZPREFIX='z_'
13081fi
13082
13083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
13084$as_echo_n "checking for zlibVersion in -lz... " >&6; }
13085if ${ac_cv_lib_z_zlibVersion+:} false; then :
13086  $as_echo_n "(cached) " >&6
13087else
13088  ac_check_lib_save_LIBS=$LIBS
13089LIBS="-lz  $LIBS"
13090cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13091/* end confdefs.h.  */
13092
13093/* Override any GCC internal prototype to avoid an error.
13094   Use char because int might match the return type of a GCC
13095   builtin and then its argument prototype would still apply.  */
13096#ifdef __cplusplus
13097extern "C"
13098#endif
13099char zlibVersion ();
13100int
13101main ()
13102{
13103return zlibVersion ();
13104  ;
13105  return 0;
13106}
13107_ACEOF
13108if ac_fn_c_try_link "$LINENO"; then :
13109  ac_cv_lib_z_zlibVersion=yes
13110else
13111  ac_cv_lib_z_zlibVersion=no
13112fi
13113rm -f core conftest.err conftest.$ac_objext \
13114    conftest$ac_exeext conftest.$ac_ext
13115LIBS=$ac_check_lib_save_LIBS
13116fi
13117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
13118$as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
13119if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
13120  cat >>confdefs.h <<_ACEOF
13121#define HAVE_LIBZ 1
13122_ACEOF
13123
13124  LIBS="-lz $LIBS"
13125
13126else
13127  as_ac_Lib=`$as_echo "ac_cv_lib_z_${ZPREFIX}zlibVersion" | $as_tr_sh`
13128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ZPREFIX}zlibVersion in -lz" >&5
13129$as_echo_n "checking for ${ZPREFIX}zlibVersion in -lz... " >&6; }
13130if eval \${$as_ac_Lib+:} false; then :
13131  $as_echo_n "(cached) " >&6
13132else
13133  ac_check_lib_save_LIBS=$LIBS
13134LIBS="-lz  $LIBS"
13135cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13136/* end confdefs.h.  */
13137
13138/* Override any GCC internal prototype to avoid an error.
13139   Use char because int might match the return type of a GCC
13140   builtin and then its argument prototype would still apply.  */
13141#ifdef __cplusplus
13142extern "C"
13143#endif
13144char ${ZPREFIX}zlibVersion ();
13145int
13146main ()
13147{
13148return ${ZPREFIX}zlibVersion ();
13149  ;
13150  return 0;
13151}
13152_ACEOF
13153if ac_fn_c_try_link "$LINENO"; then :
13154  eval "$as_ac_Lib=yes"
13155else
13156  eval "$as_ac_Lib=no"
13157fi
13158rm -f core conftest.err conftest.$ac_objext \
13159    conftest$ac_exeext conftest.$ac_ext
13160LIBS=$ac_check_lib_save_LIBS
13161fi
13162eval ac_res=\$$as_ac_Lib
13163	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13164$as_echo "$ac_res" >&6; }
13165if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
13166  cat >>confdefs.h <<_ACEOF
13167#define HAVE_LIBZ 1
13168_ACEOF
13169
13170  LIBS="-lz $LIBS"
13171
13172else
13173  as_fn_error $? "zlib not installed" "$LINENO" 5
13174fi
13175
13176fi
13177
13178
13179# The following is for pngvalid, to ensure it catches FP errors even on
13180# platforms that don't enable FP exceptions, the function appears in the math
13181# library (typically), it's not an error if it is not found.
13182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
13183$as_echo_n "checking for feenableexcept in -lm... " >&6; }
13184if ${ac_cv_lib_m_feenableexcept+:} false; then :
13185  $as_echo_n "(cached) " >&6
13186else
13187  ac_check_lib_save_LIBS=$LIBS
13188LIBS="-lm  $LIBS"
13189cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13190/* end confdefs.h.  */
13191
13192/* Override any GCC internal prototype to avoid an error.
13193   Use char because int might match the return type of a GCC
13194   builtin and then its argument prototype would still apply.  */
13195#ifdef __cplusplus
13196extern "C"
13197#endif
13198char feenableexcept ();
13199int
13200main ()
13201{
13202return feenableexcept ();
13203  ;
13204  return 0;
13205}
13206_ACEOF
13207if ac_fn_c_try_link "$LINENO"; then :
13208  ac_cv_lib_m_feenableexcept=yes
13209else
13210  ac_cv_lib_m_feenableexcept=no
13211fi
13212rm -f core conftest.err conftest.$ac_objext \
13213    conftest$ac_exeext conftest.$ac_ext
13214LIBS=$ac_check_lib_save_LIBS
13215fi
13216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
13217$as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
13218if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
13219  cat >>confdefs.h <<_ACEOF
13220#define HAVE_LIBM 1
13221_ACEOF
13222
13223  LIBS="-lm $LIBS"
13224
13225fi
13226
13227for ac_func in feenableexcept
13228do :
13229  ac_fn_c_check_func "$LINENO" "feenableexcept" "ac_cv_func_feenableexcept"
13230if test "x$ac_cv_func_feenableexcept" = xyes; then :
13231  cat >>confdefs.h <<_ACEOF
13232#define HAVE_FEENABLEEXCEPT 1
13233_ACEOF
13234
13235fi
13236done
13237
13238
13239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if using Solaris linker" >&5
13240$as_echo_n "checking if using Solaris linker... " >&6; }
13241SLD=`$LD --version 2>&1 | grep Solaris`
13242if test "$SLD"; then
13243    have_solaris_ld=yes
13244    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13245$as_echo "yes" >&6; }
13246else
13247    have_solaris_ld=no
13248    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13249$as_echo "no" >&6; }
13250fi
13251 if test "$have_solaris_ld" = "yes"; then
13252  HAVE_SOLARIS_LD_TRUE=
13253  HAVE_SOLARIS_LD_FALSE='#'
13254else
13255  HAVE_SOLARIS_LD_TRUE='#'
13256  HAVE_SOLARIS_LD_FALSE=
13257fi
13258
13259
13260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5
13261$as_echo_n "checking if libraries can be versioned... " >&6; }
13262# Special case for PE/COFF platforms: ld reports
13263# support for version-script, but doesn't actually
13264# DO anything with it.
13265case $host in
13266*cygwin* | *mingw32* | *interix* )
13267    have_ld_version_script=no
13268    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13269$as_echo "no" >&6; }
13270;;
13271* )
13272
13273if test "$have_solaris_ld" = "yes"; then
13274    GLD=`$LD --help < /dev/null 2>&1 | grep 'M mapfile'`
13275else
13276    GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
13277fi
13278
13279if test "$GLD"; then
13280    have_ld_version_script=yes
13281    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13282$as_echo "yes" >&6; }
13283else
13284    have_ld_version_script=no
13285    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13286$as_echo "no" >&6; }
13287    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** You have not enabled versioned symbols." >&5
13288$as_echo "$as_me: WARNING: *** You have not enabled versioned symbols." >&2;}
13289fi
13290;;
13291esac
13292
13293 if test "$have_ld_version_script" = "yes"; then
13294  HAVE_LD_VERSION_SCRIPT_TRUE=
13295  HAVE_LD_VERSION_SCRIPT_FALSE='#'
13296else
13297  HAVE_LD_VERSION_SCRIPT_TRUE='#'
13298  HAVE_LD_VERSION_SCRIPT_FALSE=
13299fi
13300
13301
13302if test "$have_ld_version_script" = "yes"; then
13303    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol prefix" >&5
13304$as_echo_n "checking for symbol prefix... " >&6; }
13305    SYMBOL_PREFIX=`echo "PREFIX=__USER_LABEL_PREFIX__" \
13306                  | ${CPP-${CC-gcc} -E} - 2>&1 \
13307                  | ${EGREP-grep} "^PREFIX=" \
13308                  | ${SED-sed} -e "s:^PREFIX=::" -e "s:__USER_LABEL_PREFIX__::"`
13309
13310    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYMBOL_PREFIX" >&5
13311$as_echo "$SYMBOL_PREFIX" >&6; }
13312fi
13313
13314# Substitutions for .in files
13315
13316
13317
13318
13319
13320# Additional arguments (and substitutions)
13321# Allow the pkg-config directory to be set
13322
13323# Check whether --with-pkgconfigdir was given.
13324if test "${with_pkgconfigdir+set}" = set; then :
13325  withval=$with_pkgconfigdir; pkgconfigdir=${withval}
13326else
13327  pkgconfigdir='${libdir}/pkgconfig'
13328fi
13329
13330
13331
13332{ $as_echo "$as_me:${as_lineno-$LINENO}: pkgconfig directory is ${pkgconfigdir}" >&5
13333$as_echo "$as_me: pkgconfig directory is ${pkgconfigdir}" >&6;}
13334
13335# Make the *-config binary config scripts optional
13336
13337# Check whether --with-binconfigs was given.
13338if test "${with_binconfigs+set}" = set; then :
13339  withval=$with_binconfigs; if test "${withval}" = no; then
13340      binconfigs=
13341      { $as_echo "$as_me:${as_lineno-$LINENO}: libpng-config scripts will not be built" >&5
13342$as_echo "$as_me: libpng-config scripts will not be built" >&6;}
13343    else
13344      binconfigs='${binconfigs}'
13345    fi
13346else
13347  binconfigs='${binconfigs}'
13348fi
13349
13350
13351
13352# Support for prefixes to the API function names; this will generate defines
13353# at the start of the build to rename exported library functions
13354
13355# Check whether --with-libpng-prefix was given.
13356if test "${with_libpng_prefix+set}" = set; then :
13357  withval=$with_libpng_prefix; if test "${withval:-no}" != "no"; then
13358      PNG_PREFIX=${withval}
13359
13360    fi
13361fi
13362
13363 if test "${with_libpng_prefix:-no}" != "no"; then
13364  DO_PNG_PREFIX_TRUE=
13365  DO_PNG_PREFIX_FALSE='#'
13366else
13367  DO_PNG_PREFIX_TRUE='#'
13368  DO_PNG_PREFIX_FALSE=
13369fi
13370
13371
13372# Control over what links are made for installed files.  Versioned files are
13373# always installed, when the following options are turned on corresponding
13374# unversioned links are also created (normally as symbolic links):
13375# Check whether --enable-unversioned-links was given.
13376if test "${enable_unversioned_links+set}" = set; then :
13377  enableval=$enable_unversioned_links;
13378fi
13379
13380
13381# The AM_CONDITIONAL test is written so that the default is enabled;
13382# --disable-unversioned-links must be given to turn the option off.
13383 if test "$enable_unversioned_links" != "no"; then
13384  DO_INSTALL_LINKS_TRUE=
13385  DO_INSTALL_LINKS_FALSE='#'
13386else
13387  DO_INSTALL_LINKS_TRUE='#'
13388  DO_INSTALL_LINKS_FALSE=
13389fi
13390
13391
13392# Check whether --enable-unversioned-libpng-pc was given.
13393if test "${enable_unversioned_libpng_pc+set}" = set; then :
13394  enableval=$enable_unversioned_libpng_pc;
13395fi
13396
13397 if test "$enable_unversioned_libpng_pc" != "no"; then
13398  DO_INSTALL_LIBPNG_PC_TRUE=
13399  DO_INSTALL_LIBPNG_PC_FALSE='#'
13400else
13401  DO_INSTALL_LIBPNG_PC_TRUE='#'
13402  DO_INSTALL_LIBPNG_PC_FALSE=
13403fi
13404
13405
13406# Check whether --enable-unversioned-libpng-config was given.
13407if test "${enable_unversioned_libpng_config+set}" = set; then :
13408  enableval=$enable_unversioned_libpng_config;
13409fi
13410
13411 if test "$enable_unversioned_libpng_config" != "no"; then
13412  DO_INSTALL_LIBPNG_CONFIG_TRUE=
13413  DO_INSTALL_LIBPNG_CONFIG_FALSE='#'
13414else
13415  DO_INSTALL_LIBPNG_CONFIG_TRUE='#'
13416  DO_INSTALL_LIBPNG_CONFIG_FALSE=
13417fi
13418
13419
13420# HOST SPECIFIC OPTIONS
13421# =====================
13422#
13423# ARM
13424# ===
13425#
13426# ARM NEON (SIMD) support.
13427
13428# Check whether --enable-arm-neon was given.
13429if test "${enable_arm_neon+set}" = set; then :
13430  enableval=$enable_arm_neon; case "$enableval" in
13431      no|off)
13432         # disable the default enabling on __ARM_NEON__ systems:
13433
13434$as_echo "#define PNG_ARM_NEON_OPT 0" >>confdefs.h
13435
13436         # Prevent inclusion of the assembler files below:
13437         enable_arm_neon=no;;
13438      check)
13439
13440$as_echo "#define PNG_ARM_NEON_CHECK_SUPPORTED /**/" >>confdefs.h
13441;;
13442      api)
13443
13444$as_echo "#define PNG_ARM_NEON_API_SUPPORTED /**/" >>confdefs.h
13445;;
13446      yes|on)
13447
13448$as_echo "#define PNG_ARM_NEON_OPT 2" >>confdefs.h
13449
13450         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-arm-neon: please specify 'check' or 'api', if
13451            you want the optimizations unconditionally pass -mfpu=neon
13452            to the compiler." >&5
13453$as_echo "$as_me: WARNING: --enable-arm-neon: please specify 'check' or 'api', if
13454            you want the optimizations unconditionally pass -mfpu=neon
13455            to the compiler." >&2;};;
13456      *)
13457         as_fn_error $? "--enable-arm-neon=${enable_arm_neon}: invalid value" "$LINENO" 5
13458   esac
13459fi
13460
13461
13462# Add ARM specific files to all builds where the host_cpu is arm ('arm*') or
13463# where ARM optimizations were explicitly requested (this allows a fallback if a
13464# future host CPU does not match 'arm*')
13465
13466 if test "$enable_arm_neon" != 'no' &&
13467    case "$host_cpu" in
13468      arm*|aarch64*) :;;
13469      *)    test "$enable_arm_neon" != '';;
13470    esac; then
13471  PNG_ARM_NEON_TRUE=
13472  PNG_ARM_NEON_FALSE='#'
13473else
13474  PNG_ARM_NEON_TRUE='#'
13475  PNG_ARM_NEON_FALSE=
13476fi
13477
13478
13479{ $as_echo "$as_me:${as_lineno-$LINENO}: Extra options for compiler: $PNG_COPTS" >&5
13480$as_echo "$as_me: Extra options for compiler: $PNG_COPTS" >&6;}
13481
13482# Config files, substituting as above
13483ac_config_files="$ac_config_files Makefile libpng.pc:libpng.pc.in"
13484
13485ac_config_files="$ac_config_files libpng-config:libpng-config.in"
13486
13487
13488cat >confcache <<\_ACEOF
13489# This file is a shell script that caches the results of configure
13490# tests run on this system so they can be shared between configure
13491# scripts and configure runs, see configure's option --config-cache.
13492# It is not useful on other systems.  If it contains results you don't
13493# want to keep, you may remove or edit it.
13494#
13495# config.status only pays attention to the cache file if you give it
13496# the --recheck option to rerun configure.
13497#
13498# `ac_cv_env_foo' variables (set or unset) will be overridden when
13499# loading this file, other *unset* `ac_cv_foo' will be assigned the
13500# following values.
13501
13502_ACEOF
13503
13504# The following way of writing the cache mishandles newlines in values,
13505# but we know of no workaround that is simple, portable, and efficient.
13506# So, we kill variables containing newlines.
13507# Ultrix sh set writes to stderr and can't be redirected directly,
13508# and sets the high bit in the cache file unless we assign to the vars.
13509(
13510  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13511    eval ac_val=\$$ac_var
13512    case $ac_val in #(
13513    *${as_nl}*)
13514      case $ac_var in #(
13515      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13516$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13517      esac
13518      case $ac_var in #(
13519      _ | IFS | as_nl) ;; #(
13520      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13521      *) { eval $ac_var=; unset $ac_var;} ;;
13522      esac ;;
13523    esac
13524  done
13525
13526  (set) 2>&1 |
13527    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13528    *${as_nl}ac_space=\ *)
13529      # `set' does not quote correctly, so add quotes: double-quote
13530      # substitution turns \\\\ into \\, and sed turns \\ into \.
13531      sed -n \
13532	"s/'/'\\\\''/g;
13533	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13534      ;; #(
13535    *)
13536      # `set' quotes correctly as required by POSIX, so do not add quotes.
13537      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13538      ;;
13539    esac |
13540    sort
13541) |
13542  sed '
13543     /^ac_cv_env_/b end
13544     t clear
13545     :clear
13546     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13547     t end
13548     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13549     :end' >>confcache
13550if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13551  if test -w "$cache_file"; then
13552    if test "x$cache_file" != "x/dev/null"; then
13553      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13554$as_echo "$as_me: updating cache $cache_file" >&6;}
13555      if test ! -f "$cache_file" || test -h "$cache_file"; then
13556	cat confcache >"$cache_file"
13557      else
13558        case $cache_file in #(
13559        */* | ?:*)
13560	  mv -f confcache "$cache_file"$$ &&
13561	  mv -f "$cache_file"$$ "$cache_file" ;; #(
13562        *)
13563	  mv -f confcache "$cache_file" ;;
13564	esac
13565      fi
13566    fi
13567  else
13568    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13569$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13570  fi
13571fi
13572rm -f confcache
13573
13574test "x$prefix" = xNONE && prefix=$ac_default_prefix
13575# Let make expand exec_prefix.
13576test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13577
13578DEFS=-DHAVE_CONFIG_H
13579
13580ac_libobjs=
13581ac_ltlibobjs=
13582U=
13583for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13584  # 1. Remove the extension, and $U if already installed.
13585  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13586  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13587  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13588  #    will be set to the directory where LIBOBJS objects are built.
13589  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13590  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13591done
13592LIBOBJS=$ac_libobjs
13593
13594LTLIBOBJS=$ac_ltlibobjs
13595
13596
13597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13598$as_echo_n "checking that generated files are newer than configure... " >&6; }
13599   if test -n "$am_sleep_pid"; then
13600     # Hide warnings about reused PIDs.
13601     wait $am_sleep_pid 2>/dev/null
13602   fi
13603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13604$as_echo "done" >&6; }
13605 if test -n "$EXEEXT"; then
13606  am__EXEEXT_TRUE=
13607  am__EXEEXT_FALSE='#'
13608else
13609  am__EXEEXT_TRUE='#'
13610  am__EXEEXT_FALSE=
13611fi
13612
13613if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13614  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13615Usually this means the macro was only invoked conditionally." "$LINENO" 5
13616fi
13617if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13618  as_fn_error $? "conditional \"AMDEP\" was never defined.
13619Usually this means the macro was only invoked conditionally." "$LINENO" 5
13620fi
13621if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13622  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13623Usually this means the macro was only invoked conditionally." "$LINENO" 5
13624fi
13625if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
13626  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
13627Usually this means the macro was only invoked conditionally." "$LINENO" 5
13628fi
13629if test -z "${HAVE_SOLARIS_LD_TRUE}" && test -z "${HAVE_SOLARIS_LD_FALSE}"; then
13630  as_fn_error $? "conditional \"HAVE_SOLARIS_LD\" was never defined.
13631Usually this means the macro was only invoked conditionally." "$LINENO" 5
13632fi
13633if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then
13634  as_fn_error $? "conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined.
13635Usually this means the macro was only invoked conditionally." "$LINENO" 5
13636fi
13637if test -z "${DO_PNG_PREFIX_TRUE}" && test -z "${DO_PNG_PREFIX_FALSE}"; then
13638  as_fn_error $? "conditional \"DO_PNG_PREFIX\" was never defined.
13639Usually this means the macro was only invoked conditionally." "$LINENO" 5
13640fi
13641if test -z "${DO_INSTALL_LINKS_TRUE}" && test -z "${DO_INSTALL_LINKS_FALSE}"; then
13642  as_fn_error $? "conditional \"DO_INSTALL_LINKS\" was never defined.
13643Usually this means the macro was only invoked conditionally." "$LINENO" 5
13644fi
13645if test -z "${DO_INSTALL_LIBPNG_PC_TRUE}" && test -z "${DO_INSTALL_LIBPNG_PC_FALSE}"; then
13646  as_fn_error $? "conditional \"DO_INSTALL_LIBPNG_PC\" was never defined.
13647Usually this means the macro was only invoked conditionally." "$LINENO" 5
13648fi
13649if test -z "${DO_INSTALL_LIBPNG_CONFIG_TRUE}" && test -z "${DO_INSTALL_LIBPNG_CONFIG_FALSE}"; then
13650  as_fn_error $? "conditional \"DO_INSTALL_LIBPNG_CONFIG\" was never defined.
13651Usually this means the macro was only invoked conditionally." "$LINENO" 5
13652fi
13653if test -z "${PNG_ARM_NEON_TRUE}" && test -z "${PNG_ARM_NEON_FALSE}"; then
13654  as_fn_error $? "conditional \"PNG_ARM_NEON\" was never defined.
13655Usually this means the macro was only invoked conditionally." "$LINENO" 5
13656fi
13657
13658: "${CONFIG_STATUS=./config.status}"
13659ac_write_fail=0
13660ac_clean_files_save=$ac_clean_files
13661ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13662{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13663$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13664as_write_fail=0
13665cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13666#! $SHELL
13667# Generated by $as_me.
13668# Run this file to recreate the current configuration.
13669# Compiler output produced by configure, useful for debugging
13670# configure, is in config.log if it exists.
13671
13672debug=false
13673ac_cs_recheck=false
13674ac_cs_silent=false
13675
13676SHELL=\${CONFIG_SHELL-$SHELL}
13677export SHELL
13678_ASEOF
13679cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13680## -------------------- ##
13681## M4sh Initialization. ##
13682## -------------------- ##
13683
13684# Be more Bourne compatible
13685DUALCASE=1; export DUALCASE # for MKS sh
13686if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13687  emulate sh
13688  NULLCMD=:
13689  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13690  # is contrary to our usage.  Disable this feature.
13691  alias -g '${1+"$@"}'='"$@"'
13692  setopt NO_GLOB_SUBST
13693else
13694  case `(set -o) 2>/dev/null` in #(
13695  *posix*) :
13696    set -o posix ;; #(
13697  *) :
13698     ;;
13699esac
13700fi
13701
13702
13703as_nl='
13704'
13705export as_nl
13706# Printing a long string crashes Solaris 7 /usr/bin/printf.
13707as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13708as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13709as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13710# Prefer a ksh shell builtin over an external printf program on Solaris,
13711# but without wasting forks for bash or zsh.
13712if test -z "$BASH_VERSION$ZSH_VERSION" \
13713    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13714  as_echo='print -r --'
13715  as_echo_n='print -rn --'
13716elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13717  as_echo='printf %s\n'
13718  as_echo_n='printf %s'
13719else
13720  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13721    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13722    as_echo_n='/usr/ucb/echo -n'
13723  else
13724    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13725    as_echo_n_body='eval
13726      arg=$1;
13727      case $arg in #(
13728      *"$as_nl"*)
13729	expr "X$arg" : "X\\(.*\\)$as_nl";
13730	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13731      esac;
13732      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13733    '
13734    export as_echo_n_body
13735    as_echo_n='sh -c $as_echo_n_body as_echo'
13736  fi
13737  export as_echo_body
13738  as_echo='sh -c $as_echo_body as_echo'
13739fi
13740
13741# The user is always right.
13742if test "${PATH_SEPARATOR+set}" != set; then
13743  PATH_SEPARATOR=:
13744  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13745    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13746      PATH_SEPARATOR=';'
13747  }
13748fi
13749
13750
13751# IFS
13752# We need space, tab and new line, in precisely that order.  Quoting is
13753# there to prevent editors from complaining about space-tab.
13754# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13755# splitting by setting IFS to empty value.)
13756IFS=" ""	$as_nl"
13757
13758# Find who we are.  Look in the path if we contain no directory separator.
13759as_myself=
13760case $0 in #((
13761  *[\\/]* ) as_myself=$0 ;;
13762  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13763for as_dir in $PATH
13764do
13765  IFS=$as_save_IFS
13766  test -z "$as_dir" && as_dir=.
13767    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13768  done
13769IFS=$as_save_IFS
13770
13771     ;;
13772esac
13773# We did not find ourselves, most probably we were run as `sh COMMAND'
13774# in which case we are not to be found in the path.
13775if test "x$as_myself" = x; then
13776  as_myself=$0
13777fi
13778if test ! -f "$as_myself"; then
13779  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13780  exit 1
13781fi
13782
13783# Unset variables that we do not need and which cause bugs (e.g. in
13784# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13785# suppresses any "Segmentation fault" message there.  '((' could
13786# trigger a bug in pdksh 5.2.14.
13787for as_var in BASH_ENV ENV MAIL MAILPATH
13788do eval test x\${$as_var+set} = xset \
13789  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13790done
13791PS1='$ '
13792PS2='> '
13793PS4='+ '
13794
13795# NLS nuisances.
13796LC_ALL=C
13797export LC_ALL
13798LANGUAGE=C
13799export LANGUAGE
13800
13801# CDPATH.
13802(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13803
13804
13805# as_fn_error STATUS ERROR [LINENO LOG_FD]
13806# ----------------------------------------
13807# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13808# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13809# script with STATUS, using 1 if that was 0.
13810as_fn_error ()
13811{
13812  as_status=$1; test $as_status -eq 0 && as_status=1
13813  if test "$4"; then
13814    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13815    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13816  fi
13817  $as_echo "$as_me: error: $2" >&2
13818  as_fn_exit $as_status
13819} # as_fn_error
13820
13821
13822# as_fn_set_status STATUS
13823# -----------------------
13824# Set $? to STATUS, without forking.
13825as_fn_set_status ()
13826{
13827  return $1
13828} # as_fn_set_status
13829
13830# as_fn_exit STATUS
13831# -----------------
13832# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13833as_fn_exit ()
13834{
13835  set +e
13836  as_fn_set_status $1
13837  exit $1
13838} # as_fn_exit
13839
13840# as_fn_unset VAR
13841# ---------------
13842# Portably unset VAR.
13843as_fn_unset ()
13844{
13845  { eval $1=; unset $1;}
13846}
13847as_unset=as_fn_unset
13848# as_fn_append VAR VALUE
13849# ----------------------
13850# Append the text in VALUE to the end of the definition contained in VAR. Take
13851# advantage of any shell optimizations that allow amortized linear growth over
13852# repeated appends, instead of the typical quadratic growth present in naive
13853# implementations.
13854if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13855  eval 'as_fn_append ()
13856  {
13857    eval $1+=\$2
13858  }'
13859else
13860  as_fn_append ()
13861  {
13862    eval $1=\$$1\$2
13863  }
13864fi # as_fn_append
13865
13866# as_fn_arith ARG...
13867# ------------------
13868# Perform arithmetic evaluation on the ARGs, and store the result in the
13869# global $as_val. Take advantage of shells that can avoid forks. The arguments
13870# must be portable across $(()) and expr.
13871if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13872  eval 'as_fn_arith ()
13873  {
13874    as_val=$(( $* ))
13875  }'
13876else
13877  as_fn_arith ()
13878  {
13879    as_val=`expr "$@" || test $? -eq 1`
13880  }
13881fi # as_fn_arith
13882
13883
13884if expr a : '\(a\)' >/dev/null 2>&1 &&
13885   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13886  as_expr=expr
13887else
13888  as_expr=false
13889fi
13890
13891if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13892  as_basename=basename
13893else
13894  as_basename=false
13895fi
13896
13897if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13898  as_dirname=dirname
13899else
13900  as_dirname=false
13901fi
13902
13903as_me=`$as_basename -- "$0" ||
13904$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13905	 X"$0" : 'X\(//\)$' \| \
13906	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13907$as_echo X/"$0" |
13908    sed '/^.*\/\([^/][^/]*\)\/*$/{
13909	    s//\1/
13910	    q
13911	  }
13912	  /^X\/\(\/\/\)$/{
13913	    s//\1/
13914	    q
13915	  }
13916	  /^X\/\(\/\).*/{
13917	    s//\1/
13918	    q
13919	  }
13920	  s/.*/./; q'`
13921
13922# Avoid depending upon Character Ranges.
13923as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13924as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13925as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13926as_cr_digits='0123456789'
13927as_cr_alnum=$as_cr_Letters$as_cr_digits
13928
13929ECHO_C= ECHO_N= ECHO_T=
13930case `echo -n x` in #(((((
13931-n*)
13932  case `echo 'xy\c'` in
13933  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13934  xy)  ECHO_C='\c';;
13935  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13936       ECHO_T='	';;
13937  esac;;
13938*)
13939  ECHO_N='-n';;
13940esac
13941
13942rm -f conf$$ conf$$.exe conf$$.file
13943if test -d conf$$.dir; then
13944  rm -f conf$$.dir/conf$$.file
13945else
13946  rm -f conf$$.dir
13947  mkdir conf$$.dir 2>/dev/null
13948fi
13949if (echo >conf$$.file) 2>/dev/null; then
13950  if ln -s conf$$.file conf$$ 2>/dev/null; then
13951    as_ln_s='ln -s'
13952    # ... but there are two gotchas:
13953    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13954    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13955    # In both cases, we have to default to `cp -pR'.
13956    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13957      as_ln_s='cp -pR'
13958  elif ln conf$$.file conf$$ 2>/dev/null; then
13959    as_ln_s=ln
13960  else
13961    as_ln_s='cp -pR'
13962  fi
13963else
13964  as_ln_s='cp -pR'
13965fi
13966rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13967rmdir conf$$.dir 2>/dev/null
13968
13969
13970# as_fn_mkdir_p
13971# -------------
13972# Create "$as_dir" as a directory, including parents if necessary.
13973as_fn_mkdir_p ()
13974{
13975
13976  case $as_dir in #(
13977  -*) as_dir=./$as_dir;;
13978  esac
13979  test -d "$as_dir" || eval $as_mkdir_p || {
13980    as_dirs=
13981    while :; do
13982      case $as_dir in #(
13983      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13984      *) as_qdir=$as_dir;;
13985      esac
13986      as_dirs="'$as_qdir' $as_dirs"
13987      as_dir=`$as_dirname -- "$as_dir" ||
13988$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13989	 X"$as_dir" : 'X\(//\)[^/]' \| \
13990	 X"$as_dir" : 'X\(//\)$' \| \
13991	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13992$as_echo X"$as_dir" |
13993    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13994	    s//\1/
13995	    q
13996	  }
13997	  /^X\(\/\/\)[^/].*/{
13998	    s//\1/
13999	    q
14000	  }
14001	  /^X\(\/\/\)$/{
14002	    s//\1/
14003	    q
14004	  }
14005	  /^X\(\/\).*/{
14006	    s//\1/
14007	    q
14008	  }
14009	  s/.*/./; q'`
14010      test -d "$as_dir" && break
14011    done
14012    test -z "$as_dirs" || eval "mkdir $as_dirs"
14013  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14014
14015
14016} # as_fn_mkdir_p
14017if mkdir -p . 2>/dev/null; then
14018  as_mkdir_p='mkdir -p "$as_dir"'
14019else
14020  test -d ./-p && rmdir ./-p
14021  as_mkdir_p=false
14022fi
14023
14024
14025# as_fn_executable_p FILE
14026# -----------------------
14027# Test if FILE is an executable regular file.
14028as_fn_executable_p ()
14029{
14030  test -f "$1" && test -x "$1"
14031} # as_fn_executable_p
14032as_test_x='test -x'
14033as_executable_p=as_fn_executable_p
14034
14035# Sed expression to map a string onto a valid CPP name.
14036as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14037
14038# Sed expression to map a string onto a valid variable name.
14039as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14040
14041
14042exec 6>&1
14043## ----------------------------------- ##
14044## Main body of $CONFIG_STATUS script. ##
14045## ----------------------------------- ##
14046_ASEOF
14047test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14048
14049cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14050# Save the log message, to keep $0 and so on meaningful, and to
14051# report actual input values of CONFIG_FILES etc. instead of their
14052# values after options handling.
14053ac_log="
14054This file was extended by libpng $as_me 1.6.17, which was
14055generated by GNU Autoconf 2.69.  Invocation command line was
14056
14057  CONFIG_FILES    = $CONFIG_FILES
14058  CONFIG_HEADERS  = $CONFIG_HEADERS
14059  CONFIG_LINKS    = $CONFIG_LINKS
14060  CONFIG_COMMANDS = $CONFIG_COMMANDS
14061  $ $0 $@
14062
14063on `(hostname || uname -n) 2>/dev/null | sed 1q`
14064"
14065
14066_ACEOF
14067
14068case $ac_config_files in *"
14069"*) set x $ac_config_files; shift; ac_config_files=$*;;
14070esac
14071
14072case $ac_config_headers in *"
14073"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14074esac
14075
14076
14077cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14078# Files that config.status was made for.
14079config_files="$ac_config_files"
14080config_headers="$ac_config_headers"
14081config_commands="$ac_config_commands"
14082
14083_ACEOF
14084
14085cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14086ac_cs_usage="\
14087\`$as_me' instantiates files and other configuration actions
14088from templates according to the current configuration.  Unless the files
14089and actions are specified as TAGs, all are instantiated by default.
14090
14091Usage: $0 [OPTION]... [TAG]...
14092
14093  -h, --help       print this help, then exit
14094  -V, --version    print version number and configuration settings, then exit
14095      --config     print configuration, then exit
14096  -q, --quiet, --silent
14097                   do not print progress messages
14098  -d, --debug      don't remove temporary files
14099      --recheck    update $as_me by reconfiguring in the same conditions
14100      --file=FILE[:TEMPLATE]
14101                   instantiate the configuration file FILE
14102      --header=FILE[:TEMPLATE]
14103                   instantiate the configuration header FILE
14104
14105Configuration files:
14106$config_files
14107
14108Configuration headers:
14109$config_headers
14110
14111Configuration commands:
14112$config_commands
14113
14114Report bugs to <png-mng-implement@lists.sourceforge.net>."
14115
14116_ACEOF
14117cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14118ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14119ac_cs_version="\\
14120libpng config.status 1.6.17
14121configured by $0, generated by GNU Autoconf 2.69,
14122  with options \\"\$ac_cs_config\\"
14123
14124Copyright (C) 2012 Free Software Foundation, Inc.
14125This config.status script is free software; the Free Software Foundation
14126gives unlimited permission to copy, distribute and modify it."
14127
14128ac_pwd='$ac_pwd'
14129srcdir='$srcdir'
14130INSTALL='$INSTALL'
14131MKDIR_P='$MKDIR_P'
14132AWK='$AWK'
14133test -n "\$AWK" || AWK=awk
14134_ACEOF
14135
14136cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14137# The default lists apply if the user does not specify any file.
14138ac_need_defaults=:
14139while test $# != 0
14140do
14141  case $1 in
14142  --*=?*)
14143    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14144    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14145    ac_shift=:
14146    ;;
14147  --*=)
14148    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14149    ac_optarg=
14150    ac_shift=:
14151    ;;
14152  *)
14153    ac_option=$1
14154    ac_optarg=$2
14155    ac_shift=shift
14156    ;;
14157  esac
14158
14159  case $ac_option in
14160  # Handling of the options.
14161  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14162    ac_cs_recheck=: ;;
14163  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14164    $as_echo "$ac_cs_version"; exit ;;
14165  --config | --confi | --conf | --con | --co | --c )
14166    $as_echo "$ac_cs_config"; exit ;;
14167  --debug | --debu | --deb | --de | --d | -d )
14168    debug=: ;;
14169  --file | --fil | --fi | --f )
14170    $ac_shift
14171    case $ac_optarg in
14172    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14173    '') as_fn_error $? "missing file argument" ;;
14174    esac
14175    as_fn_append CONFIG_FILES " '$ac_optarg'"
14176    ac_need_defaults=false;;
14177  --header | --heade | --head | --hea )
14178    $ac_shift
14179    case $ac_optarg in
14180    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14181    esac
14182    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14183    ac_need_defaults=false;;
14184  --he | --h)
14185    # Conflict between --help and --header
14186    as_fn_error $? "ambiguous option: \`$1'
14187Try \`$0 --help' for more information.";;
14188  --help | --hel | -h )
14189    $as_echo "$ac_cs_usage"; exit ;;
14190  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14191  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14192    ac_cs_silent=: ;;
14193
14194  # This is an error.
14195  -*) as_fn_error $? "unrecognized option: \`$1'
14196Try \`$0 --help' for more information." ;;
14197
14198  *) as_fn_append ac_config_targets " $1"
14199     ac_need_defaults=false ;;
14200
14201  esac
14202  shift
14203done
14204
14205ac_configure_extra_args=
14206
14207if $ac_cs_silent; then
14208  exec 6>/dev/null
14209  ac_configure_extra_args="$ac_configure_extra_args --silent"
14210fi
14211
14212_ACEOF
14213cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14214if \$ac_cs_recheck; then
14215  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14216  shift
14217  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14218  CONFIG_SHELL='$SHELL'
14219  export CONFIG_SHELL
14220  exec "\$@"
14221fi
14222
14223_ACEOF
14224cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14225exec 5>>config.log
14226{
14227  echo
14228  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14229## Running $as_me. ##
14230_ASBOX
14231  $as_echo "$ac_log"
14232} >&5
14233
14234_ACEOF
14235cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14236#
14237# INIT-COMMANDS
14238#
14239AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14240
14241
14242# The HP-UX ksh and POSIX shell print the target directory to stdout
14243# if CDPATH is set.
14244(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14245
14246sed_quote_subst='$sed_quote_subst'
14247double_quote_subst='$double_quote_subst'
14248delay_variable_subst='$delay_variable_subst'
14249SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14250Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14251GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14252EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14253FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14254SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14255ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14256LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14257macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14258macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14259AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14260DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14261OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14262enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14263enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14264pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14265enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14266shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14267PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14268host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14269host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14270host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14271build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14272build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14273build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14274NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14275LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14276max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14277ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14278exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14279lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14280lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14281lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14282lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14283lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14284reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14285reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14286deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14287file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14288file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14289want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14290sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14291AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14292AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14293archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14294STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14295RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14296old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14297old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14298old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14299lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14300CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14301CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14302compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14303GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14304lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14305lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14306lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14307lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14308lt_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"`'
14309lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14310nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14311lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14312lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14313objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14314MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14315lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14316lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14317lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14318lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14319lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14320need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14321MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14322DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14323NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14324LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14325OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14326OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14327libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14328shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14329extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14330archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14331enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14332export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14333whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14334compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14335old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14336old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14337archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14338archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14339module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14340module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14341with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14342allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14343no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14344hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14345hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14346hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14347hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14348hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14349hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14350hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14351inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14352link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14353always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14354export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14355exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14356include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14357prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14358postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14359file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14360variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14361need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14362need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14363version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14364runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14365shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14366shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14367libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14368library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14369soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14370install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14371postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14372postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14373finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14374finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14375hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14376sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14377configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14378configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14379hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14380enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14381enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14382enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14383old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14384striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14385
14386LTCC='$LTCC'
14387LTCFLAGS='$LTCFLAGS'
14388compiler='$compiler_DEFAULT'
14389
14390# A function that is used when there is no print builtin or printf.
14391func_fallback_echo ()
14392{
14393  eval 'cat <<_LTECHO_EOF
14394\$1
14395_LTECHO_EOF'
14396}
14397
14398# Quote evaled strings.
14399for var in SED \
14400GREP \
14401EGREP \
14402FGREP \
14403SHELL \
14404ECHO \
14405LD \
14406AS \
14407DLLTOOL \
14408OBJDUMP \
14409PATH_SEPARATOR \
14410NM \
14411LN_S \
14412lt_SP2NL \
14413lt_NL2SP \
14414reload_flag \
14415deplibs_check_method \
14416file_magic_cmd \
14417file_magic_glob \
14418want_nocaseglob \
14419sharedlib_from_linklib_cmd \
14420AR \
14421AR_FLAGS \
14422archiver_list_spec \
14423STRIP \
14424RANLIB \
14425CC \
14426CFLAGS \
14427compiler \
14428lt_cv_sys_global_symbol_pipe \
14429lt_cv_sys_global_symbol_to_cdecl \
14430lt_cv_sys_global_symbol_to_import \
14431lt_cv_sys_global_symbol_to_c_name_address \
14432lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14433lt_cv_nm_interface \
14434nm_file_list_spec \
14435lt_cv_truncate_bin \
14436lt_prog_compiler_no_builtin_flag \
14437lt_prog_compiler_pic \
14438lt_prog_compiler_wl \
14439lt_prog_compiler_static \
14440lt_cv_prog_compiler_c_o \
14441need_locks \
14442MANIFEST_TOOL \
14443DSYMUTIL \
14444NMEDIT \
14445LIPO \
14446OTOOL \
14447OTOOL64 \
14448shrext_cmds \
14449export_dynamic_flag_spec \
14450whole_archive_flag_spec \
14451compiler_needs_object \
14452with_gnu_ld \
14453allow_undefined_flag \
14454no_undefined_flag \
14455hardcode_libdir_flag_spec \
14456hardcode_libdir_separator \
14457exclude_expsyms \
14458include_expsyms \
14459file_list_spec \
14460variables_saved_for_relink \
14461libname_spec \
14462library_names_spec \
14463soname_spec \
14464install_override_mode \
14465finish_eval \
14466old_striplib \
14467striplib; do
14468    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14469    *[\\\\\\\`\\"\\\$]*)
14470      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14471      ;;
14472    *)
14473      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14474      ;;
14475    esac
14476done
14477
14478# Double-quote double-evaled strings.
14479for var in reload_cmds \
14480old_postinstall_cmds \
14481old_postuninstall_cmds \
14482old_archive_cmds \
14483extract_expsyms_cmds \
14484old_archive_from_new_cmds \
14485old_archive_from_expsyms_cmds \
14486archive_cmds \
14487archive_expsym_cmds \
14488module_cmds \
14489module_expsym_cmds \
14490export_symbols_cmds \
14491prelink_cmds \
14492postlink_cmds \
14493postinstall_cmds \
14494postuninstall_cmds \
14495finish_cmds \
14496sys_lib_search_path_spec \
14497configure_time_dlsearch_path \
14498configure_time_lt_sys_library_path; do
14499    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14500    *[\\\\\\\`\\"\\\$]*)
14501      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14502      ;;
14503    *)
14504      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14505      ;;
14506    esac
14507done
14508
14509ac_aux_dir='$ac_aux_dir'
14510
14511# See if we are running on zsh, and set the options that allow our
14512# commands through without removal of \ escapes INIT.
14513if test -n "\${ZSH_VERSION+set}"; then
14514   setopt NO_GLOB_SUBST
14515fi
14516
14517
14518    PACKAGE='$PACKAGE'
14519    VERSION='$VERSION'
14520    RM='$RM'
14521    ofile='$ofile'
14522
14523
14524
14525
14526_ACEOF
14527
14528cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14529
14530# Handling of arguments.
14531for ac_config_target in $ac_config_targets
14532do
14533  case $ac_config_target in
14534    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14535    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14536    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14537    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14538    "libpng.pc") CONFIG_FILES="$CONFIG_FILES libpng.pc:libpng.pc.in" ;;
14539    "libpng-config") CONFIG_FILES="$CONFIG_FILES libpng-config:libpng-config.in" ;;
14540
14541  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14542  esac
14543done
14544
14545
14546# If the user did not use the arguments to specify the items to instantiate,
14547# then the envvar interface is used.  Set only those that are not.
14548# We use the long form for the default assignment because of an extremely
14549# bizarre bug on SunOS 4.1.3.
14550if $ac_need_defaults; then
14551  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14552  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14553  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14554fi
14555
14556# Have a temporary directory for convenience.  Make it in the build tree
14557# simply because there is no reason against having it here, and in addition,
14558# creating and moving files from /tmp can sometimes cause problems.
14559# Hook for its removal unless debugging.
14560# Note that there is a small window in which the directory will not be cleaned:
14561# after its creation but before its name has been assigned to `$tmp'.
14562$debug ||
14563{
14564  tmp= ac_tmp=
14565  trap 'exit_status=$?
14566  : "${ac_tmp:=$tmp}"
14567  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14568' 0
14569  trap 'as_fn_exit 1' 1 2 13 15
14570}
14571# Create a (secure) tmp directory for tmp files.
14572
14573{
14574  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14575  test -d "$tmp"
14576}  ||
14577{
14578  tmp=./conf$$-$RANDOM
14579  (umask 077 && mkdir "$tmp")
14580} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14581ac_tmp=$tmp
14582
14583# Set up the scripts for CONFIG_FILES section.
14584# No need to generate them if there are no CONFIG_FILES.
14585# This happens for instance with `./config.status config.h'.
14586if test -n "$CONFIG_FILES"; then
14587
14588
14589ac_cr=`echo X | tr X '\015'`
14590# On cygwin, bash can eat \r inside `` if the user requested igncr.
14591# But we know of no other shell where ac_cr would be empty at this
14592# point, so we can use a bashism as a fallback.
14593if test "x$ac_cr" = x; then
14594  eval ac_cr=\$\'\\r\'
14595fi
14596ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14597if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14598  ac_cs_awk_cr='\\r'
14599else
14600  ac_cs_awk_cr=$ac_cr
14601fi
14602
14603echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14604_ACEOF
14605
14606
14607{
14608  echo "cat >conf$$subs.awk <<_ACEOF" &&
14609  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14610  echo "_ACEOF"
14611} >conf$$subs.sh ||
14612  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14613ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14614ac_delim='%!_!# '
14615for ac_last_try in false false false false false :; do
14616  . ./conf$$subs.sh ||
14617    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14618
14619  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14620  if test $ac_delim_n = $ac_delim_num; then
14621    break
14622  elif $ac_last_try; then
14623    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14624  else
14625    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14626  fi
14627done
14628rm -f conf$$subs.sh
14629
14630cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14631cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14632_ACEOF
14633sed -n '
14634h
14635s/^/S["/; s/!.*/"]=/
14636p
14637g
14638s/^[^!]*!//
14639:repl
14640t repl
14641s/'"$ac_delim"'$//
14642t delim
14643:nl
14644h
14645s/\(.\{148\}\)..*/\1/
14646t more1
14647s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14648p
14649n
14650b repl
14651:more1
14652s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14653p
14654g
14655s/.\{148\}//
14656t nl
14657:delim
14658h
14659s/\(.\{148\}\)..*/\1/
14660t more2
14661s/["\\]/\\&/g; s/^/"/; s/$/"/
14662p
14663b
14664:more2
14665s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14666p
14667g
14668s/.\{148\}//
14669t delim
14670' <conf$$subs.awk | sed '
14671/^[^""]/{
14672  N
14673  s/\n//
14674}
14675' >>$CONFIG_STATUS || ac_write_fail=1
14676rm -f conf$$subs.awk
14677cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14678_ACAWK
14679cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14680  for (key in S) S_is_set[key] = 1
14681  FS = ""
14682
14683}
14684{
14685  line = $ 0
14686  nfields = split(line, field, "@")
14687  substed = 0
14688  len = length(field[1])
14689  for (i = 2; i < nfields; i++) {
14690    key = field[i]
14691    keylen = length(key)
14692    if (S_is_set[key]) {
14693      value = S[key]
14694      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14695      len += length(value) + length(field[++i])
14696      substed = 1
14697    } else
14698      len += 1 + keylen
14699  }
14700
14701  print line
14702}
14703
14704_ACAWK
14705_ACEOF
14706cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14707if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14708  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14709else
14710  cat
14711fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14712  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14713_ACEOF
14714
14715# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14716# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14717# trailing colons and then remove the whole line if VPATH becomes empty
14718# (actually we leave an empty line to preserve line numbers).
14719if test "x$srcdir" = x.; then
14720  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
14721h
14722s///
14723s/^/:/
14724s/[	 ]*$/:/
14725s/:\$(srcdir):/:/g
14726s/:\${srcdir}:/:/g
14727s/:@srcdir@:/:/g
14728s/^:*//
14729s/:*$//
14730x
14731s/\(=[	 ]*\).*/\1/
14732G
14733s/\n//
14734s/^[^=]*=[	 ]*$//
14735}'
14736fi
14737
14738cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14739fi # test -n "$CONFIG_FILES"
14740
14741# Set up the scripts for CONFIG_HEADERS section.
14742# No need to generate them if there are no CONFIG_HEADERS.
14743# This happens for instance with `./config.status Makefile'.
14744if test -n "$CONFIG_HEADERS"; then
14745cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14746BEGIN {
14747_ACEOF
14748
14749# Transform confdefs.h into an awk script `defines.awk', embedded as
14750# here-document in config.status, that substitutes the proper values into
14751# config.h.in to produce config.h.
14752
14753# Create a delimiter string that does not exist in confdefs.h, to ease
14754# handling of long lines.
14755ac_delim='%!_!# '
14756for ac_last_try in false false :; do
14757  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14758  if test -z "$ac_tt"; then
14759    break
14760  elif $ac_last_try; then
14761    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14762  else
14763    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14764  fi
14765done
14766
14767# For the awk script, D is an array of macro values keyed by name,
14768# likewise P contains macro parameters if any.  Preserve backslash
14769# newline sequences.
14770
14771ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14772sed -n '
14773s/.\{148\}/&'"$ac_delim"'/g
14774t rset
14775:rset
14776s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14777t def
14778d
14779:def
14780s/\\$//
14781t bsnl
14782s/["\\]/\\&/g
14783s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14784D["\1"]=" \3"/p
14785s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14786d
14787:bsnl
14788s/["\\]/\\&/g
14789s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14790D["\1"]=" \3\\\\\\n"\\/p
14791t cont
14792s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14793t cont
14794d
14795:cont
14796n
14797s/.\{148\}/&'"$ac_delim"'/g
14798t clear
14799:clear
14800s/\\$//
14801t bsnlc
14802s/["\\]/\\&/g; s/^/"/; s/$/"/p
14803d
14804:bsnlc
14805s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14806b cont
14807' <confdefs.h | sed '
14808s/'"$ac_delim"'/"\\\
14809"/g' >>$CONFIG_STATUS || ac_write_fail=1
14810
14811cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14812  for (key in D) D_is_set[key] = 1
14813  FS = ""
14814}
14815/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14816  line = \$ 0
14817  split(line, arg, " ")
14818  if (arg[1] == "#") {
14819    defundef = arg[2]
14820    mac1 = arg[3]
14821  } else {
14822    defundef = substr(arg[1], 2)
14823    mac1 = arg[2]
14824  }
14825  split(mac1, mac2, "(") #)
14826  macro = mac2[1]
14827  prefix = substr(line, 1, index(line, defundef) - 1)
14828  if (D_is_set[macro]) {
14829    # Preserve the white space surrounding the "#".
14830    print prefix "define", macro P[macro] D[macro]
14831    next
14832  } else {
14833    # Replace #undef with comments.  This is necessary, for example,
14834    # in the case of _POSIX_SOURCE, which is predefined and required
14835    # on some systems where configure will not decide to define it.
14836    if (defundef == "undef") {
14837      print "/*", prefix defundef, macro, "*/"
14838      next
14839    }
14840  }
14841}
14842{ print }
14843_ACAWK
14844_ACEOF
14845cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14846  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14847fi # test -n "$CONFIG_HEADERS"
14848
14849
14850eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14851shift
14852for ac_tag
14853do
14854  case $ac_tag in
14855  :[FHLC]) ac_mode=$ac_tag; continue;;
14856  esac
14857  case $ac_mode$ac_tag in
14858  :[FHL]*:*);;
14859  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14860  :[FH]-) ac_tag=-:-;;
14861  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14862  esac
14863  ac_save_IFS=$IFS
14864  IFS=:
14865  set x $ac_tag
14866  IFS=$ac_save_IFS
14867  shift
14868  ac_file=$1
14869  shift
14870
14871  case $ac_mode in
14872  :L) ac_source=$1;;
14873  :[FH])
14874    ac_file_inputs=
14875    for ac_f
14876    do
14877      case $ac_f in
14878      -) ac_f="$ac_tmp/stdin";;
14879      *) # Look for the file first in the build tree, then in the source tree
14880	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14881	 # because $ac_f cannot contain `:'.
14882	 test -f "$ac_f" ||
14883	   case $ac_f in
14884	   [\\/$]*) false;;
14885	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14886	   esac ||
14887	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14888      esac
14889      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14890      as_fn_append ac_file_inputs " '$ac_f'"
14891    done
14892
14893    # Let's still pretend it is `configure' which instantiates (i.e., don't
14894    # use $as_me), people would be surprised to read:
14895    #    /* config.h.  Generated by config.status.  */
14896    configure_input='Generated from '`
14897	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14898	`' by configure.'
14899    if test x"$ac_file" != x-; then
14900      configure_input="$ac_file.  $configure_input"
14901      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14902$as_echo "$as_me: creating $ac_file" >&6;}
14903    fi
14904    # Neutralize special characters interpreted by sed in replacement strings.
14905    case $configure_input in #(
14906    *\&* | *\|* | *\\* )
14907       ac_sed_conf_input=`$as_echo "$configure_input" |
14908       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14909    *) ac_sed_conf_input=$configure_input;;
14910    esac
14911
14912    case $ac_tag in
14913    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14914      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14915    esac
14916    ;;
14917  esac
14918
14919  ac_dir=`$as_dirname -- "$ac_file" ||
14920$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14921	 X"$ac_file" : 'X\(//\)[^/]' \| \
14922	 X"$ac_file" : 'X\(//\)$' \| \
14923	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14924$as_echo X"$ac_file" |
14925    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14926	    s//\1/
14927	    q
14928	  }
14929	  /^X\(\/\/\)[^/].*/{
14930	    s//\1/
14931	    q
14932	  }
14933	  /^X\(\/\/\)$/{
14934	    s//\1/
14935	    q
14936	  }
14937	  /^X\(\/\).*/{
14938	    s//\1/
14939	    q
14940	  }
14941	  s/.*/./; q'`
14942  as_dir="$ac_dir"; as_fn_mkdir_p
14943  ac_builddir=.
14944
14945case "$ac_dir" in
14946.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14947*)
14948  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14949  # A ".." for each directory in $ac_dir_suffix.
14950  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14951  case $ac_top_builddir_sub in
14952  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14953  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14954  esac ;;
14955esac
14956ac_abs_top_builddir=$ac_pwd
14957ac_abs_builddir=$ac_pwd$ac_dir_suffix
14958# for backward compatibility:
14959ac_top_builddir=$ac_top_build_prefix
14960
14961case $srcdir in
14962  .)  # We are building in place.
14963    ac_srcdir=.
14964    ac_top_srcdir=$ac_top_builddir_sub
14965    ac_abs_top_srcdir=$ac_pwd ;;
14966  [\\/]* | ?:[\\/]* )  # Absolute name.
14967    ac_srcdir=$srcdir$ac_dir_suffix;
14968    ac_top_srcdir=$srcdir
14969    ac_abs_top_srcdir=$srcdir ;;
14970  *) # Relative name.
14971    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14972    ac_top_srcdir=$ac_top_build_prefix$srcdir
14973    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14974esac
14975ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14976
14977
14978  case $ac_mode in
14979  :F)
14980  #
14981  # CONFIG_FILE
14982  #
14983
14984  case $INSTALL in
14985  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14986  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14987  esac
14988  ac_MKDIR_P=$MKDIR_P
14989  case $MKDIR_P in
14990  [\\/$]* | ?:[\\/]* ) ;;
14991  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14992  esac
14993_ACEOF
14994
14995cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14996# If the template does not know about datarootdir, expand it.
14997# FIXME: This hack should be removed a few years after 2.60.
14998ac_datarootdir_hack=; ac_datarootdir_seen=
14999ac_sed_dataroot='
15000/datarootdir/ {
15001  p
15002  q
15003}
15004/@datadir@/p
15005/@docdir@/p
15006/@infodir@/p
15007/@localedir@/p
15008/@mandir@/p'
15009case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15010*datarootdir*) ac_datarootdir_seen=yes;;
15011*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15012  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15013$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15014_ACEOF
15015cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15016  ac_datarootdir_hack='
15017  s&@datadir@&$datadir&g
15018  s&@docdir@&$docdir&g
15019  s&@infodir@&$infodir&g
15020  s&@localedir@&$localedir&g
15021  s&@mandir@&$mandir&g
15022  s&\\\${datarootdir}&$datarootdir&g' ;;
15023esac
15024_ACEOF
15025
15026# Neutralize VPATH when `$srcdir' = `.'.
15027# Shell code in configure.ac might set extrasub.
15028# FIXME: do we really want to maintain this feature?
15029cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15030ac_sed_extra="$ac_vpsub
15031$extrasub
15032_ACEOF
15033cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15034:t
15035/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15036s|@configure_input@|$ac_sed_conf_input|;t t
15037s&@top_builddir@&$ac_top_builddir_sub&;t t
15038s&@top_build_prefix@&$ac_top_build_prefix&;t t
15039s&@srcdir@&$ac_srcdir&;t t
15040s&@abs_srcdir@&$ac_abs_srcdir&;t t
15041s&@top_srcdir@&$ac_top_srcdir&;t t
15042s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15043s&@builddir@&$ac_builddir&;t t
15044s&@abs_builddir@&$ac_abs_builddir&;t t
15045s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15046s&@INSTALL@&$ac_INSTALL&;t t
15047s&@MKDIR_P@&$ac_MKDIR_P&;t t
15048$ac_datarootdir_hack
15049"
15050eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15051  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15052
15053test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15054  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15055  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
15056      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15057  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15058which seems to be undefined.  Please make sure it is defined" >&5
15059$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15060which seems to be undefined.  Please make sure it is defined" >&2;}
15061
15062  rm -f "$ac_tmp/stdin"
15063  case $ac_file in
15064  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15065  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15066  esac \
15067  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15068 ;;
15069  :H)
15070  #
15071  # CONFIG_HEADER
15072  #
15073  if test x"$ac_file" != x-; then
15074    {
15075      $as_echo "/* $configure_input  */" \
15076      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15077    } >"$ac_tmp/config.h" \
15078      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15079    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15080      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15081$as_echo "$as_me: $ac_file is unchanged" >&6;}
15082    else
15083      rm -f "$ac_file"
15084      mv "$ac_tmp/config.h" "$ac_file" \
15085	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15086    fi
15087  else
15088    $as_echo "/* $configure_input  */" \
15089      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15090      || as_fn_error $? "could not create -" "$LINENO" 5
15091  fi
15092# Compute "$ac_file"'s index in $config_headers.
15093_am_arg="$ac_file"
15094_am_stamp_count=1
15095for _am_header in $config_headers :; do
15096  case $_am_header in
15097    $_am_arg | $_am_arg:* )
15098      break ;;
15099    * )
15100      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15101  esac
15102done
15103echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15104$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15105	 X"$_am_arg" : 'X\(//\)[^/]' \| \
15106	 X"$_am_arg" : 'X\(//\)$' \| \
15107	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15108$as_echo X"$_am_arg" |
15109    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15110	    s//\1/
15111	    q
15112	  }
15113	  /^X\(\/\/\)[^/].*/{
15114	    s//\1/
15115	    q
15116	  }
15117	  /^X\(\/\/\)$/{
15118	    s//\1/
15119	    q
15120	  }
15121	  /^X\(\/\).*/{
15122	    s//\1/
15123	    q
15124	  }
15125	  s/.*/./; q'`/stamp-h$_am_stamp_count
15126 ;;
15127
15128  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15129$as_echo "$as_me: executing $ac_file commands" >&6;}
15130 ;;
15131  esac
15132
15133
15134  case $ac_file$ac_mode in
15135    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15136  # Older Autoconf quotes --file arguments for eval, but not when files
15137  # are listed without --file.  Let's play safe and only enable the eval
15138  # if we detect the quoting.
15139  case $CONFIG_FILES in
15140  *\'*) eval set x "$CONFIG_FILES" ;;
15141  *)   set x $CONFIG_FILES ;;
15142  esac
15143  shift
15144  for mf
15145  do
15146    # Strip MF so we end up with the name of the file.
15147    mf=`echo "$mf" | sed -e 's/:.*$//'`
15148    # Check whether this is an Automake generated Makefile or not.
15149    # We used to match only the files named 'Makefile.in', but
15150    # some people rename them; so instead we look at the file content.
15151    # Grep'ing the first line is not enough: some people post-process
15152    # each Makefile.in and add a new line on top of each file to say so.
15153    # Grep'ing the whole file is not good either: AIX grep has a line
15154    # limit of 2048, but all sed's we know have understand at least 4000.
15155    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15156      dirpart=`$as_dirname -- "$mf" ||
15157$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15158	 X"$mf" : 'X\(//\)[^/]' \| \
15159	 X"$mf" : 'X\(//\)$' \| \
15160	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15161$as_echo X"$mf" |
15162    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15163	    s//\1/
15164	    q
15165	  }
15166	  /^X\(\/\/\)[^/].*/{
15167	    s//\1/
15168	    q
15169	  }
15170	  /^X\(\/\/\)$/{
15171	    s//\1/
15172	    q
15173	  }
15174	  /^X\(\/\).*/{
15175	    s//\1/
15176	    q
15177	  }
15178	  s/.*/./; q'`
15179    else
15180      continue
15181    fi
15182    # Extract the definition of DEPDIR, am__include, and am__quote
15183    # from the Makefile without running 'make'.
15184    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15185    test -z "$DEPDIR" && continue
15186    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15187    test -z "$am__include" && continue
15188    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15189    # Find all dependency output files, they are included files with
15190    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15191    # simplest approach to changing $(DEPDIR) to its actual value in the
15192    # expansion.
15193    for file in `sed -n "
15194      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15195	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15196      # Make sure the directory exists.
15197      test -f "$dirpart/$file" && continue
15198      fdir=`$as_dirname -- "$file" ||
15199$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15200	 X"$file" : 'X\(//\)[^/]' \| \
15201	 X"$file" : 'X\(//\)$' \| \
15202	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15203$as_echo X"$file" |
15204    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15205	    s//\1/
15206	    q
15207	  }
15208	  /^X\(\/\/\)[^/].*/{
15209	    s//\1/
15210	    q
15211	  }
15212	  /^X\(\/\/\)$/{
15213	    s//\1/
15214	    q
15215	  }
15216	  /^X\(\/\).*/{
15217	    s//\1/
15218	    q
15219	  }
15220	  s/.*/./; q'`
15221      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15222      # echo "creating $dirpart/$file"
15223      echo '# dummy' > "$dirpart/$file"
15224    done
15225  done
15226}
15227 ;;
15228    "libtool":C)
15229
15230    # See if we are running on zsh, and set the options that allow our
15231    # commands through without removal of \ escapes.
15232    if test -n "${ZSH_VERSION+set}"; then
15233      setopt NO_GLOB_SUBST
15234    fi
15235
15236    cfgfile=${ofile}T
15237    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15238    $RM "$cfgfile"
15239
15240    cat <<_LT_EOF >> "$cfgfile"
15241#! $SHELL
15242# Generated automatically by $as_me ($PACKAGE) $VERSION
15243# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15244# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15245
15246# Provide generalized library-building support services.
15247# Written by Gordon Matzigkeit, 1996
15248
15249# Copyright (C) 2014 Free Software Foundation, Inc.
15250# This is free software; see the source for copying conditions.  There is NO
15251# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15252
15253# GNU Libtool is free software; you can redistribute it and/or modify
15254# it under the terms of the GNU General Public License as published by
15255# the Free Software Foundation; either version 2 of of the License, or
15256# (at your option) any later version.
15257#
15258# As a special exception to the GNU General Public License, if you
15259# distribute this file as part of a program or library that is built
15260# using GNU Libtool, you may include this file under the  same
15261# distribution terms that you use for the rest of that program.
15262#
15263# GNU Libtool is distributed in the hope that it will be useful, but
15264# WITHOUT ANY WARRANTY; without even the implied warranty of
15265# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15266# GNU General Public License for more details.
15267#
15268# You should have received a copy of the GNU General Public License
15269# along with this program.  If not, see <http://www.gnu.org/licenses/>.
15270
15271
15272# The names of the tagged configurations supported by this script.
15273available_tags=''
15274
15275# Configured defaults for sys_lib_dlsearch_path munging.
15276: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15277
15278# ### BEGIN LIBTOOL CONFIG
15279
15280# A sed program that does not truncate output.
15281SED=$lt_SED
15282
15283# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15284Xsed="\$SED -e 1s/^X//"
15285
15286# A grep program that handles long lines.
15287GREP=$lt_GREP
15288
15289# An ERE matcher.
15290EGREP=$lt_EGREP
15291
15292# A literal string matcher.
15293FGREP=$lt_FGREP
15294
15295# Shell to use when invoking shell scripts.
15296SHELL=$lt_SHELL
15297
15298# An echo program that protects backslashes.
15299ECHO=$lt_ECHO
15300
15301# Which release of libtool.m4 was used?
15302macro_version=$macro_version
15303macro_revision=$macro_revision
15304
15305# Assembler program.
15306AS=$lt_AS
15307
15308# DLL creation program.
15309DLLTOOL=$lt_DLLTOOL
15310
15311# Object dumper program.
15312OBJDUMP=$lt_OBJDUMP
15313
15314# Whether or not to build shared libraries.
15315build_libtool_libs=$enable_shared
15316
15317# Whether or not to build static libraries.
15318build_old_libs=$enable_static
15319
15320# What type of objects to build.
15321pic_mode=$pic_mode
15322
15323# Whether or not to optimize for fast installation.
15324fast_install=$enable_fast_install
15325
15326# Shared archive member basename,for filename based shared library versioning on AIX.
15327shared_archive_member_spec=$shared_archive_member_spec
15328
15329# The PATH separator for the build system.
15330PATH_SEPARATOR=$lt_PATH_SEPARATOR
15331
15332# The host system.
15333host_alias=$host_alias
15334host=$host
15335host_os=$host_os
15336
15337# The build system.
15338build_alias=$build_alias
15339build=$build
15340build_os=$build_os
15341
15342# A BSD- or MS-compatible name lister.
15343NM=$lt_NM
15344
15345# Whether we need soft or hard links.
15346LN_S=$lt_LN_S
15347
15348# What is the maximum length of a command?
15349max_cmd_len=$max_cmd_len
15350
15351# Object file suffix (normally "o").
15352objext=$ac_objext
15353
15354# Executable file suffix (normally "").
15355exeext=$exeext
15356
15357# whether the shell understands "unset".
15358lt_unset=$lt_unset
15359
15360# turn spaces into newlines.
15361SP2NL=$lt_lt_SP2NL
15362
15363# turn newlines into spaces.
15364NL2SP=$lt_lt_NL2SP
15365
15366# convert \$build file names to \$host format.
15367to_host_file_cmd=$lt_cv_to_host_file_cmd
15368
15369# convert \$build files to toolchain format.
15370to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15371
15372# Method to check whether dependent libraries are shared objects.
15373deplibs_check_method=$lt_deplibs_check_method
15374
15375# Command to use when deplibs_check_method = "file_magic".
15376file_magic_cmd=$lt_file_magic_cmd
15377
15378# How to find potential files when deplibs_check_method = "file_magic".
15379file_magic_glob=$lt_file_magic_glob
15380
15381# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15382want_nocaseglob=$lt_want_nocaseglob
15383
15384# Command to associate shared and link libraries.
15385sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15386
15387# The archiver.
15388AR=$lt_AR
15389
15390# Flags to create an archive.
15391AR_FLAGS=$lt_AR_FLAGS
15392
15393# How to feed a file listing to the archiver.
15394archiver_list_spec=$lt_archiver_list_spec
15395
15396# A symbol stripping program.
15397STRIP=$lt_STRIP
15398
15399# Commands used to install an old-style archive.
15400RANLIB=$lt_RANLIB
15401old_postinstall_cmds=$lt_old_postinstall_cmds
15402old_postuninstall_cmds=$lt_old_postuninstall_cmds
15403
15404# Whether to use a lock for old archive extraction.
15405lock_old_archive_extraction=$lock_old_archive_extraction
15406
15407# A C compiler.
15408LTCC=$lt_CC
15409
15410# LTCC compiler flags.
15411LTCFLAGS=$lt_CFLAGS
15412
15413# Take the output of nm and produce a listing of raw symbols and C names.
15414global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15415
15416# Transform the output of nm in a proper C declaration.
15417global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15418
15419# Transform the output of nm into a list of symbols to manually relocate.
15420global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15421
15422# Transform the output of nm in a C name address pair.
15423global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15424
15425# Transform the output of nm in a C name address pair when lib prefix is needed.
15426global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15427
15428# The name lister interface.
15429nm_interface=$lt_lt_cv_nm_interface
15430
15431# Specify filename containing input files for \$NM.
15432nm_file_list_spec=$lt_nm_file_list_spec
15433
15434# The root where to search for dependent libraries,and where our libraries should be installed.
15435lt_sysroot=$lt_sysroot
15436
15437# Command to truncate a binary pipe.
15438lt_truncate_bin=$lt_lt_cv_truncate_bin
15439
15440# The name of the directory that contains temporary libtool files.
15441objdir=$objdir
15442
15443# Used to examine libraries when file_magic_cmd begins with "file".
15444MAGIC_CMD=$MAGIC_CMD
15445
15446# Must we lock files when doing compilation?
15447need_locks=$lt_need_locks
15448
15449# Manifest tool.
15450MANIFEST_TOOL=$lt_MANIFEST_TOOL
15451
15452# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15453DSYMUTIL=$lt_DSYMUTIL
15454
15455# Tool to change global to local symbols on Mac OS X.
15456NMEDIT=$lt_NMEDIT
15457
15458# Tool to manipulate fat objects and archives on Mac OS X.
15459LIPO=$lt_LIPO
15460
15461# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15462OTOOL=$lt_OTOOL
15463
15464# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15465OTOOL64=$lt_OTOOL64
15466
15467# Old archive suffix (normally "a").
15468libext=$libext
15469
15470# Shared library suffix (normally ".so").
15471shrext_cmds=$lt_shrext_cmds
15472
15473# The commands to extract the exported symbol list from a shared archive.
15474extract_expsyms_cmds=$lt_extract_expsyms_cmds
15475
15476# Variables whose values should be saved in libtool wrapper scripts and
15477# restored at link time.
15478variables_saved_for_relink=$lt_variables_saved_for_relink
15479
15480# Do we need the "lib" prefix for modules?
15481need_lib_prefix=$need_lib_prefix
15482
15483# Do we need a version for libraries?
15484need_version=$need_version
15485
15486# Library versioning type.
15487version_type=$version_type
15488
15489# Shared library runtime path variable.
15490runpath_var=$runpath_var
15491
15492# Shared library path variable.
15493shlibpath_var=$shlibpath_var
15494
15495# Is shlibpath searched before the hard-coded library search path?
15496shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15497
15498# Format of library name prefix.
15499libname_spec=$lt_libname_spec
15500
15501# List of archive names.  First name is the real one, the rest are links.
15502# The last name is the one that the linker finds with -lNAME
15503library_names_spec=$lt_library_names_spec
15504
15505# The coded name of the library, if different from the real name.
15506soname_spec=$lt_soname_spec
15507
15508# Permission mode override for installation of shared libraries.
15509install_override_mode=$lt_install_override_mode
15510
15511# Command to use after installation of a shared archive.
15512postinstall_cmds=$lt_postinstall_cmds
15513
15514# Command to use after uninstallation of a shared archive.
15515postuninstall_cmds=$lt_postuninstall_cmds
15516
15517# Commands used to finish a libtool library installation in a directory.
15518finish_cmds=$lt_finish_cmds
15519
15520# As "finish_cmds", except a single script fragment to be evaled but
15521# not shown.
15522finish_eval=$lt_finish_eval
15523
15524# Whether we should hardcode library paths into libraries.
15525hardcode_into_libs=$hardcode_into_libs
15526
15527# Compile-time system search path for libraries.
15528sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15529
15530# Detected run-time system search path for libraries.
15531sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15532
15533# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15534configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15535
15536# Whether dlopen is supported.
15537dlopen_support=$enable_dlopen
15538
15539# Whether dlopen of programs is supported.
15540dlopen_self=$enable_dlopen_self
15541
15542# Whether dlopen of statically linked programs is supported.
15543dlopen_self_static=$enable_dlopen_self_static
15544
15545# Commands to strip libraries.
15546old_striplib=$lt_old_striplib
15547striplib=$lt_striplib
15548
15549
15550# The linker used to build libraries.
15551LD=$lt_LD
15552
15553# How to create reloadable object files.
15554reload_flag=$lt_reload_flag
15555reload_cmds=$lt_reload_cmds
15556
15557# Commands used to build an old-style archive.
15558old_archive_cmds=$lt_old_archive_cmds
15559
15560# A language specific compiler.
15561CC=$lt_compiler
15562
15563# Is the compiler the GNU compiler?
15564with_gcc=$GCC
15565
15566# Compiler flag to turn off builtin functions.
15567no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15568
15569# Additional compiler flags for building library objects.
15570pic_flag=$lt_lt_prog_compiler_pic
15571
15572# How to pass a linker flag through the compiler.
15573wl=$lt_lt_prog_compiler_wl
15574
15575# Compiler flag to prevent dynamic linking.
15576link_static_flag=$lt_lt_prog_compiler_static
15577
15578# Does compiler simultaneously support -c and -o options?
15579compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15580
15581# Whether or not to add -lc for building shared libraries.
15582build_libtool_need_lc=$archive_cmds_need_lc
15583
15584# Whether or not to disallow shared libs when runtime libs are static.
15585allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15586
15587# Compiler flag to allow reflexive dlopens.
15588export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15589
15590# Compiler flag to generate shared objects directly from archives.
15591whole_archive_flag_spec=$lt_whole_archive_flag_spec
15592
15593# Whether the compiler copes with passing no objects directly.
15594compiler_needs_object=$lt_compiler_needs_object
15595
15596# Create an old-style archive from a shared archive.
15597old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15598
15599# Create a temporary old-style archive to link instead of a shared archive.
15600old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15601
15602# Commands used to build a shared archive.
15603archive_cmds=$lt_archive_cmds
15604archive_expsym_cmds=$lt_archive_expsym_cmds
15605
15606# Commands used to build a loadable module if different from building
15607# a shared archive.
15608module_cmds=$lt_module_cmds
15609module_expsym_cmds=$lt_module_expsym_cmds
15610
15611# Whether we are building with GNU ld or not.
15612with_gnu_ld=$lt_with_gnu_ld
15613
15614# Flag that allows shared libraries with undefined symbols to be built.
15615allow_undefined_flag=$lt_allow_undefined_flag
15616
15617# Flag that enforces no undefined symbols.
15618no_undefined_flag=$lt_no_undefined_flag
15619
15620# Flag to hardcode \$libdir into a binary during linking.
15621# This must work even if \$libdir does not exist
15622hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15623
15624# Whether we need a single "-rpath" flag with a separated argument.
15625hardcode_libdir_separator=$lt_hardcode_libdir_separator
15626
15627# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15628# DIR into the resulting binary.
15629hardcode_direct=$hardcode_direct
15630
15631# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15632# DIR into the resulting binary and the resulting library dependency is
15633# "absolute",i.e impossible to change by setting \$shlibpath_var if the
15634# library is relocated.
15635hardcode_direct_absolute=$hardcode_direct_absolute
15636
15637# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15638# into the resulting binary.
15639hardcode_minus_L=$hardcode_minus_L
15640
15641# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15642# into the resulting binary.
15643hardcode_shlibpath_var=$hardcode_shlibpath_var
15644
15645# Set to "yes" if building a shared library automatically hardcodes DIR
15646# into the library and all subsequent libraries and executables linked
15647# against it.
15648hardcode_automatic=$hardcode_automatic
15649
15650# Set to yes if linker adds runtime paths of dependent libraries
15651# to runtime path list.
15652inherit_rpath=$inherit_rpath
15653
15654# Whether libtool must link a program against all its dependency libraries.
15655link_all_deplibs=$link_all_deplibs
15656
15657# Set to "yes" if exported symbols are required.
15658always_export_symbols=$always_export_symbols
15659
15660# The commands to list exported symbols.
15661export_symbols_cmds=$lt_export_symbols_cmds
15662
15663# Symbols that should not be listed in the preloaded symbols.
15664exclude_expsyms=$lt_exclude_expsyms
15665
15666# Symbols that must always be exported.
15667include_expsyms=$lt_include_expsyms
15668
15669# Commands necessary for linking programs (against libraries) with templates.
15670prelink_cmds=$lt_prelink_cmds
15671
15672# Commands necessary for finishing linking programs.
15673postlink_cmds=$lt_postlink_cmds
15674
15675# Specify filename containing input files.
15676file_list_spec=$lt_file_list_spec
15677
15678# How to hardcode a shared library path into an executable.
15679hardcode_action=$hardcode_action
15680
15681# ### END LIBTOOL CONFIG
15682
15683_LT_EOF
15684
15685    cat <<'_LT_EOF' >> "$cfgfile"
15686
15687# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15688
15689# func_munge_path_list VARIABLE PATH
15690# -----------------------------------
15691# VARIABLE is name of variable containing _space_ separated list of
15692# directories to be munged by the contents of PATH, which is string
15693# having a format:
15694# "DIR[:DIR]:"
15695#       string "DIR[ DIR]" will be prepended to VARIABLE
15696# ":DIR[:DIR]"
15697#       string "DIR[ DIR]" will be appended to VARIABLE
15698# "DIRP[:DIRP]::[DIRA:]DIRA"
15699#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15700#       "DIRA[ DIRA]" will be appended to VARIABLE
15701# "DIR[:DIR]"
15702#       VARIABLE will be replaced by "DIR[ DIR]"
15703func_munge_path_list ()
15704{
15705    case x$2 in
15706    x)
15707        ;;
15708    *:)
15709        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15710        ;;
15711    x:*)
15712        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15713        ;;
15714    *::*)
15715        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15716        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15717        ;;
15718    *)
15719        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15720        ;;
15721    esac
15722}
15723
15724
15725# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
15726func_cc_basename ()
15727{
15728    for cc_temp in $*""; do
15729      case $cc_temp in
15730        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15731        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15732        \-*) ;;
15733        *) break;;
15734      esac
15735    done
15736    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15737}
15738
15739
15740# ### END FUNCTIONS SHARED WITH CONFIGURE
15741
15742_LT_EOF
15743
15744  case $host_os in
15745  aix3*)
15746    cat <<\_LT_EOF >> "$cfgfile"
15747# AIX sometimes has problems with the GCC collect2 program.  For some
15748# reason, if we set the COLLECT_NAMES environment variable, the problems
15749# vanish in a puff of smoke.
15750if test set != "${COLLECT_NAMES+set}"; then
15751  COLLECT_NAMES=
15752  export COLLECT_NAMES
15753fi
15754_LT_EOF
15755    ;;
15756  esac
15757
15758
15759ltmain=$ac_aux_dir/ltmain.sh
15760
15761
15762  # We use sed instead of cat because bash on DJGPP gets confused if
15763  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15764  # text mode, it properly converts lines to CR/LF.  This bash problem
15765  # is reportedly fixed, but why not run on old versions too?
15766  sed '$q' "$ltmain" >> "$cfgfile" \
15767     || (rm -f "$cfgfile"; exit 1)
15768
15769   mv -f "$cfgfile" "$ofile" ||
15770    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15771  chmod +x "$ofile"
15772
15773 ;;
15774    "libpng-config":F) chmod +x libpng-config ;;
15775
15776  esac
15777done # for ac_tag
15778
15779
15780as_fn_exit 0
15781_ACEOF
15782ac_clean_files=$ac_clean_files_save
15783
15784test $ac_write_fail = 0 ||
15785  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15786
15787
15788# configure is writing to config.log, and then calls config.status.
15789# config.status does its own redirection, appending to config.log.
15790# Unfortunately, on DOS this fails, as config.log is still kept open
15791# by configure, so config.status won't be able to write to it; its
15792# output is simply discarded.  So we exec the FD to /dev/null,
15793# effectively closing config.log, so it can be properly (re)opened and
15794# appended to by config.status.  When coming back to configure, we
15795# need to make the FD available again.
15796if test "$no_create" != yes; then
15797  ac_cs_success=:
15798  ac_config_status_args=
15799  test "$silent" = yes &&
15800    ac_config_status_args="$ac_config_status_args --quiet"
15801  exec 5>/dev/null
15802  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15803  exec 5>>config.log
15804  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15805  # would make configure fail if this is the last instruction.
15806  $ac_cs_success || as_fn_exit 1
15807fi
15808if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15809  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15810$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15811fi
15812