recipes

packages recipes for the <noname> package manager
Log | Files | Refs

output.2 (535417B)


      1 @%:@! /bin/sh
      2 @%:@ Guess values for system-dependent variables and create Makefiles.
      3 @%:@ Generated by GNU Autoconf 2.69 for tox 0.2.7.
      4 @%:@ 
      5 @%:@ 
      6 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      7 @%:@ 
      8 @%:@ 
      9 @%:@ This configure script is free software; the Free Software Foundation
     10 @%:@ gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in @%:@(
     26   *posix*) :
     27     set -o posix ;; @%:@(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in @%:@(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 as_myself=
     91 case $0 in @%:@((
     92   *[\\/]* ) as_myself=$0 ;;
     93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94 for as_dir in $PATH
     95 do
     96   IFS=$as_save_IFS
     97   test -z "$as_dir" && as_dir=.
     98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99   done
    100 IFS=$as_save_IFS
    101 
    102      ;;
    103 esac
    104 # We did not find ourselves, most probably we were run as `sh COMMAND'
    105 # in which case we are not to be found in the path.
    106 if test "x$as_myself" = x; then
    107   as_myself=$0
    108 fi
    109 if test ! -f "$as_myself"; then
    110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111   exit 1
    112 fi
    113 
    114 # Unset variables that we do not need and which cause bugs (e.g. in
    115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    116 # suppresses any "Segmentation fault" message there.  '((' could
    117 # trigger a bug in pdksh 5.2.14.
    118 for as_var in BASH_ENV ENV MAIL MAILPATH
    119 do eval test x\${$as_var+set} = xset \
    120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    121 done
    122 PS1='$ '
    123 PS2='> '
    124 PS4='+ '
    125 
    126 # NLS nuisances.
    127 LC_ALL=C
    128 export LC_ALL
    129 LANGUAGE=C
    130 export LANGUAGE
    131 
    132 # CDPATH.
    133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    134 
    135 # Use a proper internal environment variable to ensure we don't fall
    136   # into an infinite loop, continuously re-executing ourselves.
    137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    138     _as_can_reexec=no; export _as_can_reexec;
    139     # We cannot yet assume a decent shell, so we have to provide a
    140 # neutralization value for shells without unset; and this also
    141 # works around shells that cannot unset nonexistent variables.
    142 # Preserve -v and -x to the replacement shell.
    143 BASH_ENV=/dev/null
    144 ENV=/dev/null
    145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    146 case $- in @%:@ ((((
    147   *v*x* | *x*v* ) as_opts=-vx ;;
    148   *v* ) as_opts=-v ;;
    149   *x* ) as_opts=-x ;;
    150   * ) as_opts= ;;
    151 esac
    152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    153 # Admittedly, this is quite paranoid, since all the known shells bail
    154 # out after a failed `exec'.
    155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    156 as_fn_exit 255
    157   fi
    158   # We don't want this to propagate to other subprocesses.
    159           { _as_can_reexec=; unset _as_can_reexec;}
    160 if test "x$CONFIG_SHELL" = x; then
    161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    162   emulate sh
    163   NULLCMD=:
    164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    165   # is contrary to our usage.  Disable this feature.
    166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    167   setopt NO_GLOB_SUBST
    168 else
    169   case \`(set -o) 2>/dev/null\` in @%:@(
    170   *posix*) :
    171     set -o posix ;; @%:@(
    172   *) :
    173      ;;
    174 esac
    175 fi
    176 "
    177   as_required="as_fn_return () { (exit \$1); }
    178 as_fn_success () { as_fn_return 0; }
    179 as_fn_failure () { as_fn_return 1; }
    180 as_fn_ret_success () { return 0; }
    181 as_fn_ret_failure () { return 1; }
    182 
    183 exitcode=0
    184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    189   
    190 else
    191   exitcode=1; echo positional parameters were not saved.
    192 fi
    193 test x\$exitcode = x0 || exit 1
    194 test -x / || exit 1"
    195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    199 test \$(( 1 + 1 )) = 2 || exit 1
    200 
    201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     PATH=/empty FPATH=/empty; export PATH FPATH
    206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    208   if (eval "$as_required") 2>/dev/null; then :
    209   as_have_required=yes
    210 else
    211   as_have_required=no
    212 fi
    213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    214   
    215 else
    216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    217 as_found=false
    218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    219 do
    220   IFS=$as_save_IFS
    221   test -z "$as_dir" && as_dir=.
    222   as_found=:
    223   case $as_dir in @%:@(
    224 	 /*)
    225 	   for as_base in sh bash ksh sh5; do
    226 	     # Try only shells that exist, to save several forks.
    227 	     as_shell=$as_dir/$as_base
    228 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    229 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    230   CONFIG_SHELL=$as_shell as_have_required=yes
    231 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    241   CONFIG_SHELL=$SHELL as_have_required=yes
    242 fi; }
    243 IFS=$as_save_IFS
    244 
    245 
    246       if test "x$CONFIG_SHELL" != x; then :
    247   export CONFIG_SHELL
    248              # We cannot yet assume a decent shell, so we have to provide a
    249 # neutralization value for shells without unset; and this also
    250 # works around shells that cannot unset nonexistent variables.
    251 # Preserve -v and -x to the replacement shell.
    252 BASH_ENV=/dev/null
    253 ENV=/dev/null
    254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    255 case $- in @%:@ ((((
    256   *v*x* | *x*v* ) as_opts=-vx ;;
    257   *v* ) as_opts=-v ;;
    258   *x* ) as_opts=-x ;;
    259   * ) as_opts= ;;
    260 esac
    261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    262 # Admittedly, this is quite paranoid, since all the known shells bail
    263 # out after a failed `exec'.
    264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    265 exit 255
    266 fi
    267 
    268     if test x$as_have_required = xno; then :
    269   $as_echo "$0: This script requires a shell more modern than all"
    270   $as_echo "$0: the shells that I found on your system."
    271   if test x${ZSH_VERSION+set} = xset ; then
    272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    274   else
    275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
    276 $0: including any error possibly output before this
    277 $0: message. Then install a modern shell, or manually run
    278 $0: the script under such a shell if you do have one."
    279   fi
    280   exit 1
    281 fi
    282 fi
    283 fi
    284 SHELL=${CONFIG_SHELL-/bin/sh}
    285 export SHELL
    286 # Unset more variables known to interfere with behavior of common tools.
    287 CLICOLOR_FORCE= GREP_OPTIONS=
    288 unset CLICOLOR_FORCE GREP_OPTIONS
    289 
    290 ## --------------------- ##
    291 ## M4sh Shell Functions. ##
    292 ## --------------------- ##
    293 @%:@ as_fn_unset VAR
    294 @%:@ ---------------
    295 @%:@ Portably unset VAR.
    296 as_fn_unset ()
    297 {
    298   { eval $1=; unset $1;}
    299 }
    300 as_unset=as_fn_unset
    301 
    302 @%:@ as_fn_set_status STATUS
    303 @%:@ -----------------------
    304 @%:@ Set @S|@? to STATUS, without forking.
    305 as_fn_set_status ()
    306 {
    307   return $1
    308 } @%:@ as_fn_set_status
    309 
    310 @%:@ as_fn_exit STATUS
    311 @%:@ -----------------
    312 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    313 as_fn_exit ()
    314 {
    315   set +e
    316   as_fn_set_status $1
    317   exit $1
    318 } @%:@ as_fn_exit
    319 
    320 @%:@ as_fn_mkdir_p
    321 @%:@ -------------
    322 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
    323 as_fn_mkdir_p ()
    324 {
    325 
    326   case $as_dir in #(
    327   -*) as_dir=./$as_dir;;
    328   esac
    329   test -d "$as_dir" || eval $as_mkdir_p || {
    330     as_dirs=
    331     while :; do
    332       case $as_dir in #(
    333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    334       *) as_qdir=$as_dir;;
    335       esac
    336       as_dirs="'$as_qdir' $as_dirs"
    337       as_dir=`$as_dirname -- "$as_dir" ||
    338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    340 	 X"$as_dir" : 'X\(//\)$' \| \
    341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    342 $as_echo X"$as_dir" |
    343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)[^/].*/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)$/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\).*/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  s/.*/./; q'`
    360       test -d "$as_dir" && break
    361     done
    362     test -z "$as_dirs" || eval "mkdir $as_dirs"
    363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    364 
    365 
    366 } @%:@ as_fn_mkdir_p
    367 
    368 @%:@ as_fn_executable_p FILE
    369 @%:@ -----------------------
    370 @%:@ Test if FILE is an executable regular file.
    371 as_fn_executable_p ()
    372 {
    373   test -f "$1" && test -x "$1"
    374 } @%:@ as_fn_executable_p
    375 @%:@ as_fn_append VAR VALUE
    376 @%:@ ----------------------
    377 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
    378 @%:@ advantage of any shell optimizations that allow amortized linear growth over
    379 @%:@ repeated appends, instead of the typical quadratic growth present in naive
    380 @%:@ implementations.
    381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    382   eval 'as_fn_append ()
    383   {
    384     eval $1+=\$2
    385   }'
    386 else
    387   as_fn_append ()
    388   {
    389     eval $1=\$$1\$2
    390   }
    391 fi # as_fn_append
    392 
    393 @%:@ as_fn_arith ARG...
    394 @%:@ ------------------
    395 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
    396 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
    397 @%:@ must be portable across @S|@(()) and expr.
    398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    399   eval 'as_fn_arith ()
    400   {
    401     as_val=$(( $* ))
    402   }'
    403 else
    404   as_fn_arith ()
    405   {
    406     as_val=`expr "$@" || test $? -eq 1`
    407   }
    408 fi # as_fn_arith
    409 
    410 
    411 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
    412 @%:@ ----------------------------------------
    413 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    414 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    415 @%:@ script with STATUS, using 1 if that was 0.
    416 as_fn_error ()
    417 {
    418   as_status=$1; test $as_status -eq 0 && as_status=1
    419   if test "$4"; then
    420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    422   fi
    423   $as_echo "$as_me: error: $2" >&2
    424   as_fn_exit $as_status
    425 } @%:@ as_fn_error
    426 
    427 if expr a : '\(a\)' >/dev/null 2>&1 &&
    428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    429   as_expr=expr
    430 else
    431   as_expr=false
    432 fi
    433 
    434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    435   as_basename=basename
    436 else
    437   as_basename=false
    438 fi
    439 
    440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    441   as_dirname=dirname
    442 else
    443   as_dirname=false
    444 fi
    445 
    446 as_me=`$as_basename -- "$0" ||
    447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    448 	 X"$0" : 'X\(//\)$' \| \
    449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    450 $as_echo X/"$0" |
    451     sed '/^.*\/\([^/][^/]*\)\/*$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\/\)$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\).*/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  s/.*/./; q'`
    464 
    465 # Avoid depending upon Character Ranges.
    466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    469 as_cr_digits='0123456789'
    470 as_cr_alnum=$as_cr_Letters$as_cr_digits
    471 
    472 
    473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    478   sed -n '
    479     p
    480     /[$]LINENO/=
    481   ' <$as_myself |
    482     sed '
    483       s/[$]LINENO.*/&-/
    484       t lineno
    485       b
    486       :lineno
    487       N
    488       :loop
    489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    490       t loop
    491       s/-\n.*//
    492     ' >$as_me.lineno &&
    493   chmod +x "$as_me.lineno" ||
    494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    495 
    496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    497   # already done that, so ensure we don't try to do so again and fall
    498   # in an infinite loop.  This has already happened in practice.
    499   _as_can_reexec=no; export _as_can_reexec
    500   # Don't try to exec as it changes $[0], causing all sort of problems
    501   # (the dirname of $[0] is not the place where we might find the
    502   # original and so on.  Autoconf is especially sensitive to this).
    503   . "./$as_me.lineno"
    504   # Exit status is that of the last command.
    505   exit
    506 }
    507 
    508 ECHO_C= ECHO_N= ECHO_T=
    509 case `echo -n x` in @%:@(((((
    510 -n*)
    511   case `echo 'xy\c'` in
    512   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    513   xy)  ECHO_C='\c';;
    514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    515        ECHO_T='	';;
    516   esac;;
    517 *)
    518   ECHO_N='-n';;
    519 esac
    520 
    521 rm -f conf$$ conf$$.exe conf$$.file
    522 if test -d conf$$.dir; then
    523   rm -f conf$$.dir/conf$$.file
    524 else
    525   rm -f conf$$.dir
    526   mkdir conf$$.dir 2>/dev/null
    527 fi
    528 if (echo >conf$$.file) 2>/dev/null; then
    529   if ln -s conf$$.file conf$$ 2>/dev/null; then
    530     as_ln_s='ln -s'
    531     # ... but there are two gotchas:
    532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    534     # In both cases, we have to default to `cp -pR'.
    535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    536       as_ln_s='cp -pR'
    537   elif ln conf$$.file conf$$ 2>/dev/null; then
    538     as_ln_s=ln
    539   else
    540     as_ln_s='cp -pR'
    541   fi
    542 else
    543   as_ln_s='cp -pR'
    544 fi
    545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    546 rmdir conf$$.dir 2>/dev/null
    547 
    548 if mkdir -p . 2>/dev/null; then
    549   as_mkdir_p='mkdir -p "$as_dir"'
    550 else
    551   test -d ./-p && rmdir ./-p
    552   as_mkdir_p=false
    553 fi
    554 
    555 as_test_x='test -x'
    556 as_executable_p=as_fn_executable_p
    557 
    558 # Sed expression to map a string onto a valid CPP name.
    559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    560 
    561 # Sed expression to map a string onto a valid variable name.
    562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 SHELL=${CONFIG_SHELL-/bin/sh}
    565 
    566 
    567 test -n "$DJDIR" || exec 7<&0 </dev/null
    568 exec 6>&1
    569 
    570 # Name of the host.
    571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    572 # so uname gets run too.
    573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    574 
    575 #
    576 # Initializations.
    577 #
    578 ac_default_prefix=/usr/local
    579 ac_clean_files=
    580 ac_config_libobj_dir=.
    581 LIB@&t@OBJS=
    582 cross_compiling=no
    583 subdirs=
    584 MFLAGS=
    585 MAKEFLAGS=
    586 
    587 # Identity of this package.
    588 DEFAGE_NAME='tox'
    589 DEFAGE_TARNAME='tox'
    590 DEFAGE_VERSION='0.2.7'
    591 DEFAGE_STRING='tox 0.2.7'
    592 DEFAGE_BUGREPORT=''
    593 DEFAGE_URL=''
    594 
    595 ac_unique_file="toxcore/net_crypto.c"
    596 # Factoring default headers for most tests.
    597 ac_includes_default="\
    598 #include <stdio.h>
    599 #ifdef HAVE_SYS_TYPES_H
    600 # include <sys/types.h>
    601 #endif
    602 #ifdef HAVE_SYS_STAT_H
    603 # include <sys/stat.h>
    604 #endif
    605 #ifdef STDC_HEADERS
    606 # include <stdlib.h>
    607 # include <stddef.h>
    608 #else
    609 # ifdef HAVE_STDLIB_H
    610 #  include <stdlib.h>
    611 # endif
    612 #endif
    613 #ifdef HAVE_STRING_H
    614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    615 #  include <memory.h>
    616 # endif
    617 # include <string.h>
    618 #endif
    619 #ifdef HAVE_STRINGS_H
    620 # include <strings.h>
    621 #endif
    622 #ifdef HAVE_INTTYPES_H
    623 # include <inttypes.h>
    624 #endif
    625 #ifdef HAVE_STDINT_H
    626 # include <stdint.h>
    627 #endif
    628 #ifdef HAVE_UNISTD_H
    629 # include <unistd.h>
    630 #endif"
    631 
    632 ac_subst_vars='am__EXEEXT_FALSE
    633 am__EXEEXT_TRUE
    634 LTLIBOBJS
    635 LIB@&t@OBJS
    636 WITH_NACL_FALSE
    637 WITH_NACL_TRUE
    638 BUILD_TESTING_FALSE
    639 BUILD_TESTING_TRUE
    640 BUILD_AV_FALSE
    641 BUILD_AV_TRUE
    642 BUILD_TESTS_FALSE
    643 BUILD_TESTS_TRUE
    644 BUILD_DHT_BOOTSTRAP_FALSE
    645 BUILD_DHT_BOOTSTRAP_TRUE
    646 BUILD_DHT_BOOTSTRAP_DAEMON_FALSE
    647 BUILD_DHT_BOOTSTRAP_DAEMON_TRUE
    648 WINSOCK2_LIBS
    649 LIBCONFIG_LIBS
    650 LIBCONFIG_CFLAGS
    651 AV_CFLAGS
    652 AV_LIBS
    653 VPX_LIBS
    654 VPX_CFLAGS
    655 OPUS_LIBS
    656 OPUS_CFLAGS
    657 PTHREAD_LDFLAGS
    658 PTHREAD_CFLAGS
    659 PTHREAD_LIBS
    660 PTHREAD_CC
    661 ax_pthread_config
    662 RT_LIBS
    663 NACL_CFLAGS
    664 LIBSODIUM_LDFLAGS
    665 NACL_OBJECTS_PKGCONFIG
    666 NACL_OBJECTS
    667 NACL_LDFLAGS
    668 NACL_LIBS
    669 LIBSODIUM_LIBS
    670 LIBSODIUM_CFLAGS
    671 MATH_LDFLAGS
    672 EXTRA_LT_LDFLAGS
    673 WIN32_FALSE
    674 WIN32_TRUE
    675 LT_SYS_LIBRARY_PATH
    676 OTOOL64
    677 OTOOL
    678 LIPO
    679 NMEDIT
    680 DSYMUTIL
    681 MANIFEST_TOOL
    682 RANLIB
    683 LN_S
    684 NM
    685 ac_ct_DUMPBIN
    686 DUMPBIN
    687 LD
    688 FGREP
    689 SED
    690 LIBTOOL
    691 OBJDUMP
    692 DLLTOOL
    693 AS
    694 host_os
    695 host_vendor
    696 host_cpu
    697 host
    698 build_os
    699 build_vendor
    700 build_cpu
    701 build
    702 ac_ct_AR
    703 AR
    704 EGREP
    705 GREP
    706 CPP
    707 am__fastdepCC_FALSE
    708 am__fastdepCC_TRUE
    709 CCDEPMODE
    710 am__nodep
    711 AMDEPBACKSLASH
    712 AMDEP_FALSE
    713 AMDEP_TRUE
    714 am__include
    715 DEPDIR
    716 OBJEXT
    717 EXEEXT
    718 ac_ct_CC
    719 CPPFLAGS
    720 LDFLAGS
    721 CFLAGS
    722 CC
    723 PKG_CONFIG_LIBDIR
    724 PKG_CONFIG_PATH
    725 PKG_CONFIG
    726 SET_SO_VERSION_FALSE
    727 SET_SO_VERSION_TRUE
    728 AM_BACKSLASH
    729 AM_DEFAULT_VERBOSITY
    730 AM_DEFAULT_V
    731 AM_V
    732 am__untar
    733 am__tar
    734 AMTAR
    735 am__leading_dot
    736 SET_MAKE
    737 AWK
    738 mkdir_p
    739 MKDIR_P
    740 INSTALL_STRIP_PROGRAM
    741 STRIP
    742 install_sh
    743 MAKEINFO
    744 AUTOHEADER
    745 AUTOMAKE
    746 AUTOCONF
    747 ACLOCAL
    748 VERSION
    749 DEFAGE
    750 CYGPATH_W
    751 am__isrc
    752 INSTALL_DATA
    753 INSTALL_SCRIPT
    754 INSTALL_PROGRAM
    755 target_alias
    756 host_alias
    757 build_alias
    758 LIBS
    759 ECHO_T
    760 ECHO_N
    761 ECHO_C
    762 DEFS
    763 mandir
    764 localedir
    765 libdir
    766 psdir
    767 pdfdir
    768 dvidir
    769 htmldir
    770 infodir
    771 docdir
    772 oldincludedir
    773 includedir
    774 localstatedir
    775 sharedstatedir
    776 sysconfdir
    777 datadir
    778 datarootdir
    779 libexecdir
    780 sbindir
    781 bindir
    782 program_transform_name
    783 prefix
    784 exec_prefix
    785 DEFAGE_URL
    786 DEFAGE_BUGREPORT
    787 DEFAGE_STRING
    788 DEFAGE_VERSION
    789 DEFAGE_TARNAME
    790 DEFAGE_NAME
    791 PATH_SEPARATOR
    792 SHELL
    793 am__quote'
    794 ac_subst_files=''
    795 ac_user_opts='
    796 enable_option_checking
    797 enable_silent_rules
    798 enable_soname_versions
    799 enable_nacl
    800 enable_randombytes_stir
    801 enable_logging
    802 with_log_level
    803 enable_av
    804 enable_tests
    805 enable_daemon
    806 enable_dht_bootstrap
    807 enable_rt
    808 enable_testing
    809 enable_epoll
    810 enable_ipv6
    811 enable_dependency_tracking
    812 with_dependency_search
    813 with_nacl_headers
    814 with_nacl_libs
    815 with_libsodium_headers
    816 with_libsodium_libs
    817 enable_shared
    818 enable_static
    819 with_pic
    820 enable_fast_install
    821 with_aix_soname
    822 with_gnu_ld
    823 with_libtool_sysroot
    824 enable_libtool_lock
    825 '
    826       ac_precious_vars='build_alias
    827 host_alias
    828 target_alias
    829 PKG_CONFIG
    830 PKG_CONFIG_PATH
    831 PKG_CONFIG_LIBDIR
    832 CC
    833 CFLAGS
    834 LDFLAGS
    835 LIBS
    836 CPPFLAGS
    837 CPP
    838 LT_SYS_LIBRARY_PATH
    839 LIBSODIUM_CFLAGS
    840 LIBSODIUM_LIBS
    841 OPUS_CFLAGS
    842 OPUS_LIBS
    843 VPX_CFLAGS
    844 VPX_LIBS
    845 LIBCONFIG_CFLAGS
    846 LIBCONFIG_LIBS'
    847 
    848 
    849 # Initialize some variables set by options.
    850 ac_init_help=
    851 ac_init_version=false
    852 ac_unrecognized_opts=
    853 ac_unrecognized_sep=
    854 # The variables have the same names as the options, with
    855 # dashes changed to underlines.
    856 cache_file=/dev/null
    857 exec_prefix=NONE
    858 no_create=
    859 no_recursion=
    860 prefix=NONE
    861 program_prefix=NONE
    862 program_suffix=NONE
    863 program_transform_name=s,x,x,
    864 silent=
    865 site=
    866 srcdir=
    867 verbose=
    868 x_includes=NONE
    869 x_libraries=NONE
    870 
    871 # Installation directory options.
    872 # These are left unexpanded so users can "make install exec_prefix=/foo"
    873 # and all the variables that are supposed to be based on exec_prefix
    874 # by default will actually change.
    875 # Use braces instead of parens because sh, perl, etc. also accept them.
    876 # (The list follows the same order as the GNU Coding Standards.)
    877 bindir='${exec_prefix}/bin'
    878 sbindir='${exec_prefix}/sbin'
    879 libexecdir='${exec_prefix}/libexec'
    880 datarootdir='${prefix}/share'
    881 datadir='${datarootdir}'
    882 sysconfdir='${prefix}/etc'
    883 sharedstatedir='${prefix}/com'
    884 localstatedir='${prefix}/var'
    885 includedir='${prefix}/include'
    886 oldincludedir='/usr/include'
    887 docdir='${datarootdir}/doc/${DEFAGE_TARNAME}'
    888 infodir='${datarootdir}/info'
    889 htmldir='${docdir}'
    890 dvidir='${docdir}'
    891 pdfdir='${docdir}'
    892 psdir='${docdir}'
    893 libdir='${exec_prefix}/lib'
    894 localedir='${datarootdir}/locale'
    895 mandir='${datarootdir}/man'
    896 
    897 ac_prev=
    898 ac_dashdash=
    899 for ac_option
    900 do
    901   # If the previous option needs an argument, assign it.
    902   if test -n "$ac_prev"; then
    903     eval $ac_prev=\$ac_option
    904     ac_prev=
    905     continue
    906   fi
    907 
    908   case $ac_option in
    909   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    910   *=)   ac_optarg= ;;
    911   *)    ac_optarg=yes ;;
    912   esac
    913 
    914   # Accept the important Cygnus configure options, so we can diagnose typos.
    915 
    916   case $ac_dashdash$ac_option in
    917   --)
    918     ac_dashdash=yes ;;
    919 
    920   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    921     ac_prev=bindir ;;
    922   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    923     bindir=$ac_optarg ;;
    924 
    925   -build | --build | --buil | --bui | --bu)
    926     ac_prev=build_alias ;;
    927   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    928     build_alias=$ac_optarg ;;
    929 
    930   -cache-file | --cache-file | --cache-fil | --cache-fi \
    931   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    932     ac_prev=cache_file ;;
    933   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    934   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    935     cache_file=$ac_optarg ;;
    936 
    937   --config-cache | -C)
    938     cache_file=config.cache ;;
    939 
    940   -datadir | --datadir | --datadi | --datad)
    941     ac_prev=datadir ;;
    942   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    943     datadir=$ac_optarg ;;
    944 
    945   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    946   | --dataroo | --dataro | --datar)
    947     ac_prev=datarootdir ;;
    948   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    949   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    950     datarootdir=$ac_optarg ;;
    951 
    952   -disable-* | --disable-*)
    953     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    954     # Reject names that are not valid shell variable names.
    955     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    956       as_fn_error $? "invalid feature name: $ac_useropt"
    957     ac_useropt_orig=$ac_useropt
    958     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    959     case $ac_user_opts in
    960       *"
    961 "enable_$ac_useropt"
    962 "*) ;;
    963       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    964 	 ac_unrecognized_sep=', ';;
    965     esac
    966     eval enable_$ac_useropt=no ;;
    967 
    968   -docdir | --docdir | --docdi | --doc | --do)
    969     ac_prev=docdir ;;
    970   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    971     docdir=$ac_optarg ;;
    972 
    973   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    974     ac_prev=dvidir ;;
    975   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    976     dvidir=$ac_optarg ;;
    977 
    978   -enable-* | --enable-*)
    979     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    980     # Reject names that are not valid shell variable names.
    981     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    982       as_fn_error $? "invalid feature name: $ac_useropt"
    983     ac_useropt_orig=$ac_useropt
    984     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    985     case $ac_user_opts in
    986       *"
    987 "enable_$ac_useropt"
    988 "*) ;;
    989       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    990 	 ac_unrecognized_sep=', ';;
    991     esac
    992     eval enable_$ac_useropt=\$ac_optarg ;;
    993 
    994   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    995   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    996   | --exec | --exe | --ex)
    997     ac_prev=exec_prefix ;;
    998   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    999   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1000   | --exec=* | --exe=* | --ex=*)
   1001     exec_prefix=$ac_optarg ;;
   1002 
   1003   -gas | --gas | --ga | --g)
   1004     # Obsolete; use --with-gas.
   1005     with_gas=yes ;;
   1006 
   1007   -help | --help | --hel | --he | -h)
   1008     ac_init_help=long ;;
   1009   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1010     ac_init_help=recursive ;;
   1011   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1012     ac_init_help=short ;;
   1013 
   1014   -host | --host | --hos | --ho)
   1015     ac_prev=host_alias ;;
   1016   -host=* | --host=* | --hos=* | --ho=*)
   1017     host_alias=$ac_optarg ;;
   1018 
   1019   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1020     ac_prev=htmldir ;;
   1021   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1022   | --ht=*)
   1023     htmldir=$ac_optarg ;;
   1024 
   1025   -includedir | --includedir | --includedi | --included | --include \
   1026   | --includ | --inclu | --incl | --inc)
   1027     ac_prev=includedir ;;
   1028   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1029   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1030     includedir=$ac_optarg ;;
   1031 
   1032   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1033     ac_prev=infodir ;;
   1034   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1035     infodir=$ac_optarg ;;
   1036 
   1037   -libdir | --libdir | --libdi | --libd)
   1038     ac_prev=libdir ;;
   1039   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1040     libdir=$ac_optarg ;;
   1041 
   1042   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1043   | --libexe | --libex | --libe)
   1044     ac_prev=libexecdir ;;
   1045   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1046   | --libexe=* | --libex=* | --libe=*)
   1047     libexecdir=$ac_optarg ;;
   1048 
   1049   -localedir | --localedir | --localedi | --localed | --locale)
   1050     ac_prev=localedir ;;
   1051   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1052     localedir=$ac_optarg ;;
   1053 
   1054   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1055   | --localstate | --localstat | --localsta | --localst | --locals)
   1056     ac_prev=localstatedir ;;
   1057   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1058   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1059     localstatedir=$ac_optarg ;;
   1060 
   1061   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1062     ac_prev=mandir ;;
   1063   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1064     mandir=$ac_optarg ;;
   1065 
   1066   -nfp | --nfp | --nf)
   1067     # Obsolete; use --without-fp.
   1068     with_fp=no ;;
   1069 
   1070   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1071   | --no-cr | --no-c | -n)
   1072     no_create=yes ;;
   1073 
   1074   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1075   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1076     no_recursion=yes ;;
   1077 
   1078   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1079   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1080   | --oldin | --oldi | --old | --ol | --o)
   1081     ac_prev=oldincludedir ;;
   1082   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1083   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1084   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1085     oldincludedir=$ac_optarg ;;
   1086 
   1087   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1088     ac_prev=prefix ;;
   1089   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1090     prefix=$ac_optarg ;;
   1091 
   1092   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1093   | --program-pre | --program-pr | --program-p)
   1094     ac_prev=program_prefix ;;
   1095   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1096   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1097     program_prefix=$ac_optarg ;;
   1098 
   1099   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1100   | --program-suf | --program-su | --program-s)
   1101     ac_prev=program_suffix ;;
   1102   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1103   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1104     program_suffix=$ac_optarg ;;
   1105 
   1106   -program-transform-name | --program-transform-name \
   1107   | --program-transform-nam | --program-transform-na \
   1108   | --program-transform-n | --program-transform- \
   1109   | --program-transform | --program-transfor \
   1110   | --program-transfo | --program-transf \
   1111   | --program-trans | --program-tran \
   1112   | --progr-tra | --program-tr | --program-t)
   1113     ac_prev=program_transform_name ;;
   1114   -program-transform-name=* | --program-transform-name=* \
   1115   | --program-transform-nam=* | --program-transform-na=* \
   1116   | --program-transform-n=* | --program-transform-=* \
   1117   | --program-transform=* | --program-transfor=* \
   1118   | --program-transfo=* | --program-transf=* \
   1119   | --program-trans=* | --program-tran=* \
   1120   | --progr-tra=* | --program-tr=* | --program-t=*)
   1121     program_transform_name=$ac_optarg ;;
   1122 
   1123   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1124     ac_prev=pdfdir ;;
   1125   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1126     pdfdir=$ac_optarg ;;
   1127 
   1128   -psdir | --psdir | --psdi | --psd | --ps)
   1129     ac_prev=psdir ;;
   1130   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1131     psdir=$ac_optarg ;;
   1132 
   1133   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1134   | -silent | --silent | --silen | --sile | --sil)
   1135     silent=yes ;;
   1136 
   1137   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1138     ac_prev=sbindir ;;
   1139   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1140   | --sbi=* | --sb=*)
   1141     sbindir=$ac_optarg ;;
   1142 
   1143   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1144   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1145   | --sharedst | --shareds | --shared | --share | --shar \
   1146   | --sha | --sh)
   1147     ac_prev=sharedstatedir ;;
   1148   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1149   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1150   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1151   | --sha=* | --sh=*)
   1152     sharedstatedir=$ac_optarg ;;
   1153 
   1154   -site | --site | --sit)
   1155     ac_prev=site ;;
   1156   -site=* | --site=* | --sit=*)
   1157     site=$ac_optarg ;;
   1158 
   1159   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1160     ac_prev=srcdir ;;
   1161   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1162     srcdir=$ac_optarg ;;
   1163 
   1164   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1165   | --syscon | --sysco | --sysc | --sys | --sy)
   1166     ac_prev=sysconfdir ;;
   1167   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1168   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1169     sysconfdir=$ac_optarg ;;
   1170 
   1171   -target | --target | --targe | --targ | --tar | --ta | --t)
   1172     ac_prev=target_alias ;;
   1173   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1174     target_alias=$ac_optarg ;;
   1175 
   1176   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1177     verbose=yes ;;
   1178 
   1179   -version | --version | --versio | --versi | --vers | -V)
   1180     ac_init_version=: ;;
   1181 
   1182   -with-* | --with-*)
   1183     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1184     # Reject names that are not valid shell variable names.
   1185     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1186       as_fn_error $? "invalid package name: $ac_useropt"
   1187     ac_useropt_orig=$ac_useropt
   1188     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1189     case $ac_user_opts in
   1190       *"
   1191 "with_$ac_useropt"
   1192 "*) ;;
   1193       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1194 	 ac_unrecognized_sep=', ';;
   1195     esac
   1196     eval with_$ac_useropt=\$ac_optarg ;;
   1197 
   1198   -without-* | --without-*)
   1199     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1200     # Reject names that are not valid shell variable names.
   1201     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1202       as_fn_error $? "invalid package name: $ac_useropt"
   1203     ac_useropt_orig=$ac_useropt
   1204     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1205     case $ac_user_opts in
   1206       *"
   1207 "with_$ac_useropt"
   1208 "*) ;;
   1209       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1210 	 ac_unrecognized_sep=', ';;
   1211     esac
   1212     eval with_$ac_useropt=no ;;
   1213 
   1214   --x)
   1215     # Obsolete; use --with-x.
   1216     with_x=yes ;;
   1217 
   1218   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1219   | --x-incl | --x-inc | --x-in | --x-i)
   1220     ac_prev=x_includes ;;
   1221   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1222   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1223     x_includes=$ac_optarg ;;
   1224 
   1225   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1226   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1227     ac_prev=x_libraries ;;
   1228   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1229   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1230     x_libraries=$ac_optarg ;;
   1231 
   1232   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1233 Try \`$0 --help' for more information"
   1234     ;;
   1235 
   1236   *=*)
   1237     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1238     # Reject names that are not valid shell variable names.
   1239     case $ac_envvar in #(
   1240       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1241       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1242     esac
   1243     eval $ac_envvar=\$ac_optarg
   1244     export $ac_envvar ;;
   1245 
   1246   *)
   1247     # FIXME: should be removed in autoconf 3.0.
   1248     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1249     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1250       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1251     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1252     ;;
   1253 
   1254   esac
   1255 done
   1256 
   1257 if test -n "$ac_prev"; then
   1258   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1259   as_fn_error $? "missing argument to $ac_option"
   1260 fi
   1261 
   1262 if test -n "$ac_unrecognized_opts"; then
   1263   case $enable_option_checking in
   1264     no) ;;
   1265     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1266     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1267   esac
   1268 fi
   1269 
   1270 # Check all directory arguments for consistency.
   1271 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1272 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1273 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1274 		libdir localedir mandir
   1275 do
   1276   eval ac_val=\$$ac_var
   1277   # Remove trailing slashes.
   1278   case $ac_val in
   1279     */ )
   1280       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1281       eval $ac_var=\$ac_val;;
   1282   esac
   1283   # Be sure to have absolute directory names.
   1284   case $ac_val in
   1285     [\\/$]* | ?:[\\/]* )  continue;;
   1286     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1287   esac
   1288   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1289 done
   1290 
   1291 # There might be people who depend on the old broken behavior: `$host'
   1292 # used to hold the argument of --host etc.
   1293 # FIXME: To remove some day.
   1294 build=$build_alias
   1295 host=$host_alias
   1296 target=$target_alias
   1297 
   1298 # FIXME: To remove some day.
   1299 if test "x$host_alias" != x; then
   1300   if test "x$build_alias" = x; then
   1301     cross_compiling=maybe
   1302   elif test "x$build_alias" != "x$host_alias"; then
   1303     cross_compiling=yes
   1304   fi
   1305 fi
   1306 
   1307 ac_tool_prefix=
   1308 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1309 
   1310 test "$silent" = yes && exec 6>/dev/null
   1311 
   1312 
   1313 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1314 ac_ls_di=`ls -di .` &&
   1315 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1316   as_fn_error $? "working directory cannot be determined"
   1317 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1318   as_fn_error $? "pwd does not report name of working directory"
   1319 
   1320 
   1321 # Find the source files, if location was not specified.
   1322 if test -z "$srcdir"; then
   1323   ac_srcdir_defaulted=yes
   1324   # Try the directory containing this script, then the parent directory.
   1325   ac_confdir=`$as_dirname -- "$as_myself" ||
   1326 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1327 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1328 	 X"$as_myself" : 'X\(//\)$' \| \
   1329 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1330 $as_echo X"$as_myself" |
   1331     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1332 	    s//\1/
   1333 	    q
   1334 	  }
   1335 	  /^X\(\/\/\)[^/].*/{
   1336 	    s//\1/
   1337 	    q
   1338 	  }
   1339 	  /^X\(\/\/\)$/{
   1340 	    s//\1/
   1341 	    q
   1342 	  }
   1343 	  /^X\(\/\).*/{
   1344 	    s//\1/
   1345 	    q
   1346 	  }
   1347 	  s/.*/./; q'`
   1348   srcdir=$ac_confdir
   1349   if test ! -r "$srcdir/$ac_unique_file"; then
   1350     srcdir=..
   1351   fi
   1352 else
   1353   ac_srcdir_defaulted=no
   1354 fi
   1355 if test ! -r "$srcdir/$ac_unique_file"; then
   1356   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1357   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1358 fi
   1359 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1360 ac_abs_confdir=`(
   1361 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1362 	pwd)`
   1363 # When building in place, set srcdir=.
   1364 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1365   srcdir=.
   1366 fi
   1367 # Remove unnecessary trailing slashes from srcdir.
   1368 # Double slashes in file names in object file debugging info
   1369 # mess up M-x gdb in Emacs.
   1370 case $srcdir in
   1371 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1372 esac
   1373 for ac_var in $ac_precious_vars; do
   1374   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1375   eval ac_env_${ac_var}_value=\$${ac_var}
   1376   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1377   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1378 done
   1379 
   1380 #
   1381 # Report the --help message.
   1382 #
   1383 if test "$ac_init_help" = "long"; then
   1384   # Omit some internal or obsolete options to make the list less imposing.
   1385   # This message is too long to be a string in the A/UX 3.1 sh.
   1386   cat <<_ACEOF
   1387 \`configure' configures tox 0.2.7 to adapt to many kinds of systems.
   1388 
   1389 Usage: $0 [OPTION]... [VAR=VALUE]...
   1390 
   1391 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1392 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1393 
   1394 Defaults for the options are specified in brackets.
   1395 
   1396 Configuration:
   1397   -h, --help              display this help and exit
   1398       --help=short        display options specific to this package
   1399       --help=recursive    display the short help of all the included packages
   1400   -V, --version           display version information and exit
   1401   -q, --quiet, --silent   do not print \`checking ...' messages
   1402       --cache-file=FILE   cache test results in FILE [disabled]
   1403   -C, --config-cache      alias for \`--cache-file=config.cache'
   1404   -n, --no-create         do not create output files
   1405       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1406 
   1407 Installation directories:
   1408   --prefix=PREFIX         install architecture-independent files in PREFIX
   1409                           @<:@@S|@ac_default_prefix@:>@
   1410   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1411                           @<:@PREFIX@:>@
   1412 
   1413 By default, \`make install' will install all the files in
   1414 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1415 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1416 for instance \`--prefix=\$HOME'.
   1417 
   1418 For better control, use the options below.
   1419 
   1420 Fine tuning of the installation directories:
   1421   --bindir=DIR            user executables [EPREFIX/bin]
   1422   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1423   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1424   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1425   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1426   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1427   --libdir=DIR            object code libraries [EPREFIX/lib]
   1428   --includedir=DIR        C header files [PREFIX/include]
   1429   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1430   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1431   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1432   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1433   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1434   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1435   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/tox@:>@
   1436   --htmldir=DIR           html documentation [DOCDIR]
   1437   --dvidir=DIR            dvi documentation [DOCDIR]
   1438   --pdfdir=DIR            pdf documentation [DOCDIR]
   1439   --psdir=DIR             ps documentation [DOCDIR]
   1440 _ACEOF
   1441 
   1442   cat <<\_ACEOF
   1443 
   1444 Program names:
   1445   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1446   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1447   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1448 
   1449 System types:
   1450   --build=BUILD     configure for building on BUILD [guessed]
   1451   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1452 _ACEOF
   1453 fi
   1454 
   1455 if test -n "$ac_init_help"; then
   1456   case $ac_init_help in
   1457      short | recursive ) echo "Configuration of tox 0.2.7:";;
   1458    esac
   1459   cat <<\_ACEOF
   1460 
   1461 Optional Features:
   1462   --disable-option-checking  ignore unrecognized --enable/--with options
   1463   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1464   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1465   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1466   --disable-silent-rules  verbose build output (undo: "make V=0")
   1467   --enable-soname-versions 
   1468                           enable soname versions (must be disabled for
   1469                           android) (default: enabled) 
   1470   --enable-nacl           use nacl instead of libsodium (default: disabled) 
   1471   --enable-randombytes-stir 
   1472                           use randombytes_stir() instead of sodium_init() for
   1473                           faster startup on android (default: disabled) 
   1474   --enable-logging        enable logging (default: auto) 
   1475   --disable-av            build AV support libraries (default: auto) 
   1476   --disable-tests         build unit tests (default: auto) 
   1477   --enable-daemon         build DHT bootstrap daemon (default: auto) 
   1478   --enable-dht-bootstrap  build DHT bootstrap utility (default: disabled) 
   1479   --disable-rt            Disables the librt check (default: auto) 
   1480   --disable-testing       build various testing tools (default: auto) 
   1481   --enable-epoll[=ARG]    enable epoll support (yes, no, auto) @<:@auto@:>@
   1482   --disable-ipv6[=ARG]    use ipv4 in tests (yes, no, auto) @<:@auto@:>@
   1483   --enable-dependency-tracking 
   1484                           do not reject slow dependency extractors
   1485   --disable-dependency-tracking 
   1486                           speeds up one-time build
   1487   --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
   1488   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
   1489   --enable-fast-install@<:@=PKGS@:>@ 
   1490                           optimize for fast installation @<:@default=yes@:>@
   1491   --disable-libtool-lock  avoid locking (might break parallel builds)
   1492 
   1493 Optional Packages:
   1494   --with-DEFAGE[=ARG]    use DEFAGE [ARG=yes]
   1495   --without-DEFAGE       do not use DEFAGE (same as --with-DEFAGE=no)
   1496   --with-log-level=LEVEL  Logger levels: TRACE; DEBUG; INFO; WARNING; ERROR
   1497   --with-dependency-search=DIR 
   1498                           search for dependencies in DIR, i.e., look for
   1499                           libraries in DIR/lib and for headers in DIR/include
   1500   --with-nacl-headers=DIR search for nacl<F2> header files in DIR
   1501   --with-nacl-libs=DIR    search for nacl libraries in DIR
   1502   --with-libsodium-headers=DIR 
   1503                           search for libsodium header files in DIR
   1504   --with-libsodium-libs=DIR 
   1505                           search for libsodium libraries in DIR
   1506   --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
   1507                           both@:>@
   1508   --with-aix-soname=aix|svr4|both 
   1509                           shared library versioning (aka "SONAME") variant to
   1510                           provide on AIX, @<:@default=aix@:>@.
   1511   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
   1512   --with-libtool-sysroot@<:@=DIR@:>@ 
   1513                           Search for dependent libraries within DIR (or the
   1514                           compiler's sysroot if not specified).
   1515 
   1516 Some influential environment variables:
   1517   PKG_CONFIG  path to pkg-config utility
   1518   PKG_CONFIG_PATH 
   1519               directories to add to pkg-config's search path
   1520   PKG_CONFIG_LIBDIR 
   1521               path overriding pkg-config's built-in search path
   1522   CC          C compiler command
   1523   CFLAGS      C compiler flags
   1524   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1525               nonstandard directory <lib dir>
   1526   LIBS        libraries to pass to the linker, e.g. -l<library>
   1527   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1528               you have headers in a nonstandard directory <include dir>
   1529   CPP         C preprocessor
   1530   LT_SYS_LIBRARY_PATH 
   1531               User-defined run-time library search path.
   1532   LIBSODIUM_CFLAGS 
   1533               C compiler flags for LIBSODIUM, overriding pkg-config
   1534   LIBSODIUM_LIBS 
   1535               linker flags for LIBSODIUM, overriding pkg-config
   1536   OPUS_CFLAGS C compiler flags for OPUS, overriding pkg-config
   1537   OPUS_LIBS   linker flags for OPUS, overriding pkg-config
   1538   VPX_CFLAGS  C compiler flags for VPX, overriding pkg-config
   1539   VPX_LIBS    linker flags for VPX, overriding pkg-config
   1540   LIBCONFIG_CFLAGS 
   1541               C compiler flags for LIBCONFIG, overriding pkg-config
   1542   LIBCONFIG_LIBS 
   1543               linker flags for LIBCONFIG, overriding pkg-config
   1544 
   1545 Use these variables to override the choices made by `configure' or to help
   1546 it to find libraries and programs with nonstandard names/locations.
   1547 
   1548 Report bugs to the package provider.
   1549 _ACEOF
   1550 ac_status=$?
   1551 fi
   1552 
   1553 if test "$ac_init_help" = "recursive"; then
   1554   # If there are subdirs, report their specific --help.
   1555   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1556     test -d "$ac_dir" ||
   1557       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1558       continue
   1559     ac_builddir=.
   1560 
   1561 case "$ac_dir" in
   1562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1563 *)
   1564   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1565   # A ".." for each directory in $ac_dir_suffix.
   1566   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1567   case $ac_top_builddir_sub in
   1568   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1569   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1570   esac ;;
   1571 esac
   1572 ac_abs_top_builddir=$ac_pwd
   1573 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1574 # for backward compatibility:
   1575 ac_top_builddir=$ac_top_build_prefix
   1576 
   1577 case $srcdir in
   1578   .)  # We are building in place.
   1579     ac_srcdir=.
   1580     ac_top_srcdir=$ac_top_builddir_sub
   1581     ac_abs_top_srcdir=$ac_pwd ;;
   1582   [\\/]* | ?:[\\/]* )  # Absolute name.
   1583     ac_srcdir=$srcdir$ac_dir_suffix;
   1584     ac_top_srcdir=$srcdir
   1585     ac_abs_top_srcdir=$srcdir ;;
   1586   *) # Relative name.
   1587     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1588     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1589     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1590 esac
   1591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1592 
   1593     cd "$ac_dir" || { ac_status=$?; continue; }
   1594     # Check for guested configure.
   1595     if test -f "$ac_srcdir/configure.gnu"; then
   1596       echo &&
   1597       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1598     elif test -f "$ac_srcdir/configure"; then
   1599       echo &&
   1600       $SHELL "$ac_srcdir/configure" --help=recursive
   1601     else
   1602       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1603     fi || ac_status=$?
   1604     cd "$ac_pwd" || { ac_status=$?; break; }
   1605   done
   1606 fi
   1607 
   1608 test -n "$ac_init_help" && exit $ac_status
   1609 if $ac_init_version; then
   1610   cat <<\_ACEOF
   1611 tox configure 0.2.7
   1612 generated by GNU Autoconf 2.69
   1613 
   1614 Copyright (C) 2012 Free Software Foundation, Inc.
   1615 This configure script is free software; the Free Software Foundation
   1616 gives unlimited permission to copy, distribute and modify it.
   1617 _ACEOF
   1618   exit
   1619 fi
   1620 
   1621 ## ------------------------ ##
   1622 ## Autoconf initialization. ##
   1623 ## ------------------------ ##
   1624 
   1625 @%:@ ac_fn_c_try_compile LINENO
   1626 @%:@ --------------------------
   1627 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
   1628 ac_fn_c_try_compile ()
   1629 {
   1630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1631   rm -f conftest.$ac_objext
   1632   if { { ac_try="$ac_compile"
   1633 case "(($ac_try" in
   1634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1635   *) ac_try_echo=$ac_try;;
   1636 esac
   1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1638 $as_echo "$ac_try_echo"; } >&5
   1639   (eval "$ac_compile") 2>conftest.err
   1640   ac_status=$?
   1641   if test -s conftest.err; then
   1642     grep -v '^ *+' conftest.err >conftest.er1
   1643     cat conftest.er1 >&5
   1644     mv -f conftest.er1 conftest.err
   1645   fi
   1646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1647   test $ac_status = 0; } && {
   1648 	 test -z "$ac_c_werror_flag" ||
   1649 	 test ! -s conftest.err
   1650        } && test -s conftest.$ac_objext; then :
   1651   ac_retval=0
   1652 else
   1653   $as_echo "$as_me: failed program was:" >&5
   1654 sed 's/^/| /' conftest.$ac_ext >&5
   1655 
   1656 	ac_retval=1
   1657 fi
   1658   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1659   as_fn_set_status $ac_retval
   1660 
   1661 } @%:@ ac_fn_c_try_compile
   1662 
   1663 @%:@ ac_fn_c_try_cpp LINENO
   1664 @%:@ ----------------------
   1665 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
   1666 ac_fn_c_try_cpp ()
   1667 {
   1668   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1669   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1670 case "(($ac_try" in
   1671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1672   *) ac_try_echo=$ac_try;;
   1673 esac
   1674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1675 $as_echo "$ac_try_echo"; } >&5
   1676   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1677   ac_status=$?
   1678   if test -s conftest.err; then
   1679     grep -v '^ *+' conftest.err >conftest.er1
   1680     cat conftest.er1 >&5
   1681     mv -f conftest.er1 conftest.err
   1682   fi
   1683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1684   test $ac_status = 0; } > conftest.i && {
   1685 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1686 	 test ! -s conftest.err
   1687        }; then :
   1688   ac_retval=0
   1689 else
   1690   $as_echo "$as_me: failed program was:" >&5
   1691 sed 's/^/| /' conftest.$ac_ext >&5
   1692 
   1693     ac_retval=1
   1694 fi
   1695   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1696   as_fn_set_status $ac_retval
   1697 
   1698 } @%:@ ac_fn_c_try_cpp
   1699 
   1700 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1701 @%:@ -------------------------------------------------------
   1702 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1703 @%:@ the include files in INCLUDES and setting the cache variable VAR
   1704 @%:@ accordingly.
   1705 ac_fn_c_check_header_mongrel ()
   1706 {
   1707   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1708   if eval \${$3+:} false; then :
   1709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1710 $as_echo_n "checking for $2... " >&6; }
   1711 if eval \${$3+:} false; then :
   1712   $as_echo_n "(cached) " >&6
   1713 fi
   1714 eval ac_res=\$$3
   1715 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1716 $as_echo "$ac_res" >&6; }
   1717 else
   1718   # Is the header compilable?
   1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1720 $as_echo_n "checking $2 usability... " >&6; }
   1721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1722 /* end confdefs.h.  */
   1723 $4
   1724 @%:@include <$2>
   1725 _ACEOF
   1726 if ac_fn_c_try_compile "$LINENO"; then :
   1727   ac_header_compiler=yes
   1728 else
   1729   ac_header_compiler=no
   1730 fi
   1731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1733 $as_echo "$ac_header_compiler" >&6; }
   1734 
   1735 # Is the header present?
   1736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1737 $as_echo_n "checking $2 presence... " >&6; }
   1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1739 /* end confdefs.h.  */
   1740 @%:@include <$2>
   1741 _ACEOF
   1742 if ac_fn_c_try_cpp "$LINENO"; then :
   1743   ac_header_preproc=yes
   1744 else
   1745   ac_header_preproc=no
   1746 fi
   1747 rm -f conftest.err conftest.i conftest.$ac_ext
   1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1749 $as_echo "$ac_header_preproc" >&6; }
   1750 
   1751 # So?  What about this header?
   1752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1753   yes:no: )
   1754     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1755 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1756     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1757 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1758     ;;
   1759   no:yes:* )
   1760     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1761 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1762     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1763 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1764     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1765 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1766     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1767 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1768     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1769 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1770     ;;
   1771 esac
   1772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1773 $as_echo_n "checking for $2... " >&6; }
   1774 if eval \${$3+:} false; then :
   1775   $as_echo_n "(cached) " >&6
   1776 else
   1777   eval "$3=\$ac_header_compiler"
   1778 fi
   1779 eval ac_res=\$$3
   1780 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1781 $as_echo "$ac_res" >&6; }
   1782 fi
   1783   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1784 
   1785 } @%:@ ac_fn_c_check_header_mongrel
   1786 
   1787 @%:@ ac_fn_c_try_run LINENO
   1788 @%:@ ----------------------
   1789 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
   1790 @%:@ that executables *can* be run.
   1791 ac_fn_c_try_run ()
   1792 {
   1793   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1794   if { { ac_try="$ac_link"
   1795 case "(($ac_try" in
   1796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1797   *) ac_try_echo=$ac_try;;
   1798 esac
   1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1800 $as_echo "$ac_try_echo"; } >&5
   1801   (eval "$ac_link") 2>&5
   1802   ac_status=$?
   1803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1804   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1805   { { case "(($ac_try" in
   1806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1807   *) ac_try_echo=$ac_try;;
   1808 esac
   1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1810 $as_echo "$ac_try_echo"; } >&5
   1811   (eval "$ac_try") 2>&5
   1812   ac_status=$?
   1813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1814   test $ac_status = 0; }; }; then :
   1815   ac_retval=0
   1816 else
   1817   $as_echo "$as_me: program exited with status $ac_status" >&5
   1818        $as_echo "$as_me: failed program was:" >&5
   1819 sed 's/^/| /' conftest.$ac_ext >&5
   1820 
   1821        ac_retval=$ac_status
   1822 fi
   1823   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1824   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1825   as_fn_set_status $ac_retval
   1826 
   1827 } @%:@ ac_fn_c_try_run
   1828 
   1829 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1830 @%:@ -------------------------------------------------------
   1831 @%:@ Tests whether HEADER exists and can be compiled using the include files in
   1832 @%:@ INCLUDES, setting the cache variable VAR accordingly.
   1833 ac_fn_c_check_header_compile ()
   1834 {
   1835   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1837 $as_echo_n "checking for $2... " >&6; }
   1838 if eval \${$3+:} false; then :
   1839   $as_echo_n "(cached) " >&6
   1840 else
   1841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1842 /* end confdefs.h.  */
   1843 $4
   1844 @%:@include <$2>
   1845 _ACEOF
   1846 if ac_fn_c_try_compile "$LINENO"; then :
   1847   eval "$3=yes"
   1848 else
   1849   eval "$3=no"
   1850 fi
   1851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1852 fi
   1853 eval ac_res=\$$3
   1854 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1855 $as_echo "$ac_res" >&6; }
   1856   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1857 
   1858 } @%:@ ac_fn_c_check_header_compile
   1859 
   1860 @%:@ ac_fn_c_try_link LINENO
   1861 @%:@ -----------------------
   1862 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
   1863 ac_fn_c_try_link ()
   1864 {
   1865   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1866   rm -f conftest.$ac_objext conftest$ac_exeext
   1867   if { { ac_try="$ac_link"
   1868 case "(($ac_try" in
   1869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1870   *) ac_try_echo=$ac_try;;
   1871 esac
   1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1873 $as_echo "$ac_try_echo"; } >&5
   1874   (eval "$ac_link") 2>conftest.err
   1875   ac_status=$?
   1876   if test -s conftest.err; then
   1877     grep -v '^ *+' conftest.err >conftest.er1
   1878     cat conftest.er1 >&5
   1879     mv -f conftest.er1 conftest.err
   1880   fi
   1881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1882   test $ac_status = 0; } && {
   1883 	 test -z "$ac_c_werror_flag" ||
   1884 	 test ! -s conftest.err
   1885        } && test -s conftest$ac_exeext && {
   1886 	 test "$cross_compiling" = yes ||
   1887 	 test -x conftest$ac_exeext
   1888        }; then :
   1889   ac_retval=0
   1890 else
   1891   $as_echo "$as_me: failed program was:" >&5
   1892 sed 's/^/| /' conftest.$ac_ext >&5
   1893 
   1894 	ac_retval=1
   1895 fi
   1896   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1897   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1898   # interfere with the next link command; also delete a directory that is
   1899   # left behind by Apple's compiler.  We do this before executing the actions.
   1900   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1901   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1902   as_fn_set_status $ac_retval
   1903 
   1904 } @%:@ ac_fn_c_try_link
   1905 
   1906 @%:@ ac_fn_c_check_func LINENO FUNC VAR
   1907 @%:@ ----------------------------------
   1908 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
   1909 ac_fn_c_check_func ()
   1910 {
   1911   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1913 $as_echo_n "checking for $2... " >&6; }
   1914 if eval \${$3+:} false; then :
   1915   $as_echo_n "(cached) " >&6
   1916 else
   1917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1918 /* end confdefs.h.  */
   1919 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1920    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1921 #define $2 innocuous_$2
   1922 
   1923 /* System header to define __stub macros and hopefully few prototypes,
   1924     which can conflict with char $2 (); below.
   1925     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1926     <limits.h> exists even on freestanding compilers.  */
   1927 
   1928 #ifdef __STDC__
   1929 # include <limits.h>
   1930 #else
   1931 # include <assert.h>
   1932 #endif
   1933 
   1934 #undef $2
   1935 
   1936 /* Override any GCC internal prototype to avoid an error.
   1937    Use char because int might match the return type of a GCC
   1938    builtin and then its argument prototype would still apply.  */
   1939 #ifdef __cplusplus
   1940 extern "C"
   1941 #endif
   1942 char $2 ();
   1943 /* The GNU C library defines this for functions which it implements
   1944     to always fail with ENOSYS.  Some functions are actually named
   1945     something starting with __ and the normal name is an alias.  */
   1946 #if defined __stub_$2 || defined __stub___$2
   1947 choke me
   1948 #endif
   1949 
   1950 int
   1951 main ()
   1952 {
   1953 return $2 ();
   1954   ;
   1955   return 0;
   1956 }
   1957 _ACEOF
   1958 if ac_fn_c_try_link "$LINENO"; then :
   1959   eval "$3=yes"
   1960 else
   1961   eval "$3=no"
   1962 fi
   1963 rm -f core conftest.err conftest.$ac_objext \
   1964     conftest$ac_exeext conftest.$ac_ext
   1965 fi
   1966 eval ac_res=\$$3
   1967 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1968 $as_echo "$ac_res" >&6; }
   1969   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1970 
   1971 } @%:@ ac_fn_c_check_func
   1972 
   1973 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1974 @%:@ -------------------------------------------
   1975 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
   1976 @%:@ variable VAR accordingly.
   1977 ac_fn_c_check_type ()
   1978 {
   1979   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1981 $as_echo_n "checking for $2... " >&6; }
   1982 if eval \${$3+:} false; then :
   1983   $as_echo_n "(cached) " >&6
   1984 else
   1985   eval "$3=no"
   1986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1987 /* end confdefs.h.  */
   1988 $4
   1989 int
   1990 main ()
   1991 {
   1992 if (sizeof ($2))
   1993 	 return 0;
   1994   ;
   1995   return 0;
   1996 }
   1997 _ACEOF
   1998 if ac_fn_c_try_compile "$LINENO"; then :
   1999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2000 /* end confdefs.h.  */
   2001 $4
   2002 int
   2003 main ()
   2004 {
   2005 if (sizeof (($2)))
   2006 	    return 0;
   2007   ;
   2008   return 0;
   2009 }
   2010 _ACEOF
   2011 if ac_fn_c_try_compile "$LINENO"; then :
   2012   
   2013 else
   2014   eval "$3=yes"
   2015 fi
   2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2017 fi
   2018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2019 fi
   2020 eval ac_res=\$$3
   2021 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2022 $as_echo "$ac_res" >&6; }
   2023   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2024 
   2025 } @%:@ ac_fn_c_check_type
   2026 
   2027 @%:@ ac_fn_c_find_intX_t LINENO BITS VAR
   2028 @%:@ -----------------------------------
   2029 @%:@ Finds a signed integer type with width BITS, setting cache variable VAR
   2030 @%:@ accordingly.
   2031 ac_fn_c_find_intX_t ()
   2032 {
   2033   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
   2035 $as_echo_n "checking for int$2_t... " >&6; }
   2036 if eval \${$3+:} false; then :
   2037   $as_echo_n "(cached) " >&6
   2038 else
   2039   eval "$3=no"
   2040      # Order is important - never check a type that is potentially smaller
   2041      # than half of the expected target width.
   2042      for ac_type in int$2_t 'int' 'long int' \
   2043 	 'long long int' 'short int' 'signed char'; do
   2044        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2045 /* end confdefs.h.  */
   2046 $ac_includes_default
   2047 	     enum { N = $2 / 2 - 1 };
   2048 int
   2049 main ()
   2050 {
   2051 static int test_array @<:@1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))@:>@;
   2052 test_array @<:@0@:>@ = 0;
   2053 return test_array @<:@0@:>@;
   2054 
   2055   ;
   2056   return 0;
   2057 }
   2058 _ACEOF
   2059 if ac_fn_c_try_compile "$LINENO"; then :
   2060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2061 /* end confdefs.h.  */
   2062 $ac_includes_default
   2063 	        enum { N = $2 / 2 - 1 };
   2064 int
   2065 main ()
   2066 {
   2067 static int test_array @<:@1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
   2068 		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))@:>@;
   2069 test_array @<:@0@:>@ = 0;
   2070 return test_array @<:@0@:>@;
   2071 
   2072   ;
   2073   return 0;
   2074 }
   2075 _ACEOF
   2076 if ac_fn_c_try_compile "$LINENO"; then :
   2077   
   2078 else
   2079   case $ac_type in @%:@(
   2080   int$2_t) :
   2081     eval "$3=yes" ;; @%:@(
   2082   *) :
   2083     eval "$3=\$ac_type" ;;
   2084 esac
   2085 fi
   2086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2087 fi
   2088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2089        if eval test \"x\$"$3"\" = x"no"; then :
   2090   
   2091 else
   2092   break
   2093 fi
   2094      done
   2095 fi
   2096 eval ac_res=\$$3
   2097 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2098 $as_echo "$ac_res" >&6; }
   2099   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2100 
   2101 } @%:@ ac_fn_c_find_intX_t
   2102 
   2103 @%:@ ac_fn_c_find_uintX_t LINENO BITS VAR
   2104 @%:@ ------------------------------------
   2105 @%:@ Finds an unsigned integer type with width BITS, setting cache variable VAR
   2106 @%:@ accordingly.
   2107 ac_fn_c_find_uintX_t ()
   2108 {
   2109   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
   2111 $as_echo_n "checking for uint$2_t... " >&6; }
   2112 if eval \${$3+:} false; then :
   2113   $as_echo_n "(cached) " >&6
   2114 else
   2115   eval "$3=no"
   2116      # Order is important - never check a type that is potentially smaller
   2117      # than half of the expected target width.
   2118      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
   2119 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   2120        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2121 /* end confdefs.h.  */
   2122 $ac_includes_default
   2123 int
   2124 main ()
   2125 {
   2126 static int test_array @<:@1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)@:>@;
   2127 test_array @<:@0@:>@ = 0;
   2128 return test_array @<:@0@:>@;
   2129 
   2130   ;
   2131   return 0;
   2132 }
   2133 _ACEOF
   2134 if ac_fn_c_try_compile "$LINENO"; then :
   2135   case $ac_type in @%:@(
   2136   uint$2_t) :
   2137     eval "$3=yes" ;; @%:@(
   2138   *) :
   2139     eval "$3=\$ac_type" ;;
   2140 esac
   2141 fi
   2142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2143        if eval test \"x\$"$3"\" = x"no"; then :
   2144   
   2145 else
   2146   break
   2147 fi
   2148      done
   2149 fi
   2150 eval ac_res=\$$3
   2151 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2152 $as_echo "$ac_res" >&6; }
   2153   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2154 
   2155 } @%:@ ac_fn_c_find_uintX_t
   2156 cat >config.log <<_ACEOF
   2157 This file contains any messages produced by compilers while
   2158 running configure, to aid debugging if configure makes a mistake.
   2159 
   2160 It was created by tox $as_me 0.2.7, which was
   2161 generated by GNU Autoconf 2.69.  Invocation command line was
   2162 
   2163   $ $0 $@
   2164 
   2165 _ACEOF
   2166 exec 5>>config.log
   2167 {
   2168 cat <<_ASUNAME
   2169 ## --------- ##
   2170 ## Platform. ##
   2171 ## --------- ##
   2172 
   2173 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2174 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2175 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2176 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2177 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2178 
   2179 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2180 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2181 
   2182 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2183 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2184 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2185 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2186 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2187 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2188 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2189 
   2190 _ASUNAME
   2191 
   2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2193 for as_dir in $PATH
   2194 do
   2195   IFS=$as_save_IFS
   2196   test -z "$as_dir" && as_dir=.
   2197     $as_echo "PATH: $as_dir"
   2198   done
   2199 IFS=$as_save_IFS
   2200 
   2201 } >&5
   2202 
   2203 cat >&5 <<_ACEOF
   2204 
   2205 
   2206 ## ----------- ##
   2207 ## Core tests. ##
   2208 ## ----------- ##
   2209 
   2210 _ACEOF
   2211 
   2212 
   2213 # Keep a trace of the command line.
   2214 # Strip out --no-create and --no-recursion so they do not pile up.
   2215 # Strip out --silent because we don't want to record it for future runs.
   2216 # Also quote any args containing shell meta-characters.
   2217 # Make two passes to allow for proper duplicate-argument suppression.
   2218 ac_configure_args=
   2219 ac_configure_args0=
   2220 ac_configure_args1=
   2221 ac_must_keep_next=false
   2222 for ac_pass in 1 2
   2223 do
   2224   for ac_arg
   2225   do
   2226     case $ac_arg in
   2227     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2228     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2229     | -silent | --silent | --silen | --sile | --sil)
   2230       continue ;;
   2231     *\'*)
   2232       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2233     esac
   2234     case $ac_pass in
   2235     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2236     2)
   2237       as_fn_append ac_configure_args1 " '$ac_arg'"
   2238       if test $ac_must_keep_next = true; then
   2239 	ac_must_keep_next=false # Got value, back to normal.
   2240       else
   2241 	case $ac_arg in
   2242 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2243 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2244 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2245 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2246 	    case "$ac_configure_args0 " in
   2247 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2248 	    esac
   2249 	    ;;
   2250 	  -* ) ac_must_keep_next=true ;;
   2251 	esac
   2252       fi
   2253       as_fn_append ac_configure_args " '$ac_arg'"
   2254       ;;
   2255     esac
   2256   done
   2257 done
   2258 { ac_configure_args0=; unset ac_configure_args0;}
   2259 { ac_configure_args1=; unset ac_configure_args1;}
   2260 
   2261 # When interrupted or exit'd, cleanup temporary files, and complete
   2262 # config.log.  We remove comments because anyway the quotes in there
   2263 # would cause problems or look ugly.
   2264 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2265 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2266 trap 'exit_status=$?
   2267   # Save into config.log some information that might help in debugging.
   2268   {
   2269     echo
   2270 
   2271     $as_echo "## ---------------- ##
   2272 ## Cache variables. ##
   2273 ## ---------------- ##"
   2274     echo
   2275     # The following way of writing the cache mishandles newlines in values,
   2276 (
   2277   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2278     eval ac_val=\$$ac_var
   2279     case $ac_val in #(
   2280     *${as_nl}*)
   2281       case $ac_var in #(
   2282       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2283 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2284       esac
   2285       case $ac_var in #(
   2286       _ | IFS | as_nl) ;; #(
   2287       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2288       *) { eval $ac_var=; unset $ac_var;} ;;
   2289       esac ;;
   2290     esac
   2291   done
   2292   (set) 2>&1 |
   2293     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2294     *${as_nl}ac_space=\ *)
   2295       sed -n \
   2296 	"s/'\''/'\''\\\\'\'''\''/g;
   2297 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2298       ;; #(
   2299     *)
   2300       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2301       ;;
   2302     esac |
   2303     sort
   2304 )
   2305     echo
   2306 
   2307     $as_echo "## ----------------- ##
   2308 ## Output variables. ##
   2309 ## ----------------- ##"
   2310     echo
   2311     for ac_var in $ac_subst_vars
   2312     do
   2313       eval ac_val=\$$ac_var
   2314       case $ac_val in
   2315       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2316       esac
   2317       $as_echo "$ac_var='\''$ac_val'\''"
   2318     done | sort
   2319     echo
   2320 
   2321     if test -n "$ac_subst_files"; then
   2322       $as_echo "## ------------------- ##
   2323 ## File substitutions. ##
   2324 ## ------------------- ##"
   2325       echo
   2326       for ac_var in $ac_subst_files
   2327       do
   2328 	eval ac_val=\$$ac_var
   2329 	case $ac_val in
   2330 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2331 	esac
   2332 	$as_echo "$ac_var='\''$ac_val'\''"
   2333       done | sort
   2334       echo
   2335     fi
   2336 
   2337     if test -s confdefs.h; then
   2338       $as_echo "## ----------- ##
   2339 ## confdefs.h. ##
   2340 ## ----------- ##"
   2341       echo
   2342       cat confdefs.h
   2343       echo
   2344     fi
   2345     test "$ac_signal" != 0 &&
   2346       $as_echo "$as_me: caught signal $ac_signal"
   2347     $as_echo "$as_me: exit $exit_status"
   2348   } >&5
   2349   rm -f core *.core core.conftest.* &&
   2350     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2351     exit $exit_status
   2352 ' 0
   2353 for ac_signal in 1 2 13 15; do
   2354   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2355 done
   2356 ac_signal=0
   2357 
   2358 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2359 rm -f -r conftest* confdefs.h
   2360 
   2361 $as_echo "/* confdefs.h */" > confdefs.h
   2362 
   2363 # Predefined preprocessor variables.
   2364 
   2365 cat >>confdefs.h <<_ACEOF
   2366 @%:@define DEFAGE_NAME "$DEFAGE_NAME"
   2367 _ACEOF
   2368 
   2369 cat >>confdefs.h <<_ACEOF
   2370 @%:@define DEFAGE_TARNAME "$DEFAGE_TARNAME"
   2371 _ACEOF
   2372 
   2373 cat >>confdefs.h <<_ACEOF
   2374 @%:@define DEFAGE_VERSION "$DEFAGE_VERSION"
   2375 _ACEOF
   2376 
   2377 cat >>confdefs.h <<_ACEOF
   2378 @%:@define DEFAGE_STRING "$DEFAGE_STRING"
   2379 _ACEOF
   2380 
   2381 cat >>confdefs.h <<_ACEOF
   2382 @%:@define DEFAGE_BUGREPORT "$DEFAGE_BUGREPORT"
   2383 _ACEOF
   2384 
   2385 cat >>confdefs.h <<_ACEOF
   2386 @%:@define DEFAGE_URL "$DEFAGE_URL"
   2387 _ACEOF
   2388 
   2389 
   2390 # Let the site file select an alternate cache file if it wants to.
   2391 # Prefer an explicitly selected file to automatically selected ones.
   2392 ac_site_file1=NONE
   2393 ac_site_file2=NONE
   2394 if test -n "$CONFIG_SITE"; then
   2395   # We do not want a PATH search for config.site.
   2396   case $CONFIG_SITE in @%:@((
   2397     -*)  ac_site_file1=./$CONFIG_SITE;;
   2398     */*) ac_site_file1=$CONFIG_SITE;;
   2399     *)   ac_site_file1=./$CONFIG_SITE;;
   2400   esac
   2401 elif test "x$prefix" != xNONE; then
   2402   ac_site_file1=$prefix/share/config.site
   2403   ac_site_file2=$prefix/etc/config.site
   2404 else
   2405   ac_site_file1=$ac_default_prefix/share/config.site
   2406   ac_site_file2=$ac_default_prefix/etc/config.site
   2407 fi
   2408 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2409 do
   2410   test "x$ac_site_file" = xNONE && continue
   2411   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2412     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2413 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2414     sed 's/^/| /' "$ac_site_file" >&5
   2415     . "$ac_site_file" \
   2416       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2418 as_fn_error $? "failed to load site script $ac_site_file
   2419 See \`config.log' for more details" "$LINENO" 5; }
   2420   fi
   2421 done
   2422 
   2423 if test -r "$cache_file"; then
   2424   # Some versions of bash will fail to source /dev/null (special files
   2425   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2426   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2427     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2428 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2429     case $cache_file in
   2430       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2431       *)                      . "./$cache_file";;
   2432     esac
   2433   fi
   2434 else
   2435   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2436 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2437   >$cache_file
   2438 fi
   2439 
   2440 # Check that the precious variables saved in the cache have kept the same
   2441 # value.
   2442 ac_cache_corrupted=false
   2443 for ac_var in $ac_precious_vars; do
   2444   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2445   eval ac_new_set=\$ac_env_${ac_var}_set
   2446   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2447   eval ac_new_val=\$ac_env_${ac_var}_value
   2448   case $ac_old_set,$ac_new_set in
   2449     set,)
   2450       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2451 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2452       ac_cache_corrupted=: ;;
   2453     ,set)
   2454       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2455 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2456       ac_cache_corrupted=: ;;
   2457     ,);;
   2458     *)
   2459       if test "x$ac_old_val" != "x$ac_new_val"; then
   2460 	# differences in whitespace do not lead to failure.
   2461 	ac_old_val_w=`echo x $ac_old_val`
   2462 	ac_new_val_w=`echo x $ac_new_val`
   2463 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2464 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2465 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2466 	  ac_cache_corrupted=:
   2467 	else
   2468 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2469 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2470 	  eval $ac_var=\$ac_old_val
   2471 	fi
   2472 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2473 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2474 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2475 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2476       fi;;
   2477   esac
   2478   # Pass precious variables to config.status.
   2479   if test "$ac_new_set" = set; then
   2480     case $ac_new_val in
   2481     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2482     *) ac_arg=$ac_var=$ac_new_val ;;
   2483     esac
   2484     case " $ac_configure_args " in
   2485       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2486       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2487     esac
   2488   fi
   2489 done
   2490 if $ac_cache_corrupted; then
   2491   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2493   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2494 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2495   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2496 fi
   2497 ## -------------------- ##
   2498 ## Main body of script. ##
   2499 ## -------------------- ##
   2500 
   2501 ac_ext=c
   2502 ac_cpp='$CPP $CPPFLAGS'
   2503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2506 
   2507 
   2508 ac_aux_dir=
   2509 for ac_dir in configure_aux "$srcdir"/configure_aux; do
   2510   if test -f "$ac_dir/install-sh"; then
   2511     ac_aux_dir=$ac_dir
   2512     ac_install_sh="$ac_aux_dir/install-sh -c"
   2513     break
   2514   elif test -f "$ac_dir/install.sh"; then
   2515     ac_aux_dir=$ac_dir
   2516     ac_install_sh="$ac_aux_dir/install.sh -c"
   2517     break
   2518   elif test -f "$ac_dir/shtool"; then
   2519     ac_aux_dir=$ac_dir
   2520     ac_install_sh="$ac_aux_dir/shtool install -c"
   2521     break
   2522   fi
   2523 done
   2524 if test -z "$ac_aux_dir"; then
   2525   as_fn_error $? "cannot find install-sh, install.sh, or shtool in configure_aux \"$srcdir\"/configure_aux" "$LINENO" 5
   2526 fi
   2527 
   2528 # These three variables are undocumented and unsupported,
   2529 # and are intended to be withdrawn in a future Autoconf release.
   2530 # They can cause serious problems if a builder's source tree is in a directory
   2531 # whose full name contains unusual characters.
   2532 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2533 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2534 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2535 
   2536 
   2537 
   2538 ac_config_headers="$ac_config_headers config.h"
   2539 
   2540 am__api_version='1.16'
   2541 
   2542 # Find a good install program.  We prefer a C program (faster),
   2543 # so one script is as good as another.  But avoid the broken or
   2544 # incompatible versions:
   2545 # SysV /etc/install, /usr/sbin/install
   2546 # SunOS /usr/etc/install
   2547 # IRIX /sbin/install
   2548 # AIX /bin/install
   2549 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2550 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2551 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2552 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2553 # OS/2's system install, which has a completely different semantic
   2554 # ./install, which can be erroneously created by make from ./install.sh.
   2555 # Reject install programs that cannot install multiple files.
   2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2557 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2558 if test -z "$INSTALL"; then
   2559 if ${ac_cv_path_install+:} false; then :
   2560   $as_echo_n "(cached) " >&6
   2561 else
   2562   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2563 for as_dir in $PATH
   2564 do
   2565   IFS=$as_save_IFS
   2566   test -z "$as_dir" && as_dir=.
   2567     # Account for people who put trailing slashes in PATH elements.
   2568 case $as_dir/ in @%:@((
   2569   ./ | .// | /[cC]/* | \
   2570   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2571   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2572   /usr/ucb/* ) ;;
   2573   *)
   2574     # OSF1 and SCO ODT 3.0 have their own names for install.
   2575     # Don't use installbsd from OSF since it installs stuff as root
   2576     # by default.
   2577     for ac_prog in ginstall scoinst install; do
   2578       for ac_exec_ext in '' $ac_executable_extensions; do
   2579 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2580 	  if test $ac_prog = install &&
   2581 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2582 	    # AIX install.  It has an incompatible calling convention.
   2583 	    :
   2584 	  elif test $ac_prog = install &&
   2585 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2586 	    # program-specific install script used by HP pwplus--don't use.
   2587 	    :
   2588 	  else
   2589 	    rm -rf conftest.one conftest.two conftest.dir
   2590 	    echo one > conftest.one
   2591 	    echo two > conftest.two
   2592 	    mkdir conftest.dir
   2593 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2594 	      test -s conftest.one && test -s conftest.two &&
   2595 	      test -s conftest.dir/conftest.one &&
   2596 	      test -s conftest.dir/conftest.two
   2597 	    then
   2598 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2599 	      break 3
   2600 	    fi
   2601 	  fi
   2602 	fi
   2603       done
   2604     done
   2605     ;;
   2606 esac
   2607 
   2608   done
   2609 IFS=$as_save_IFS
   2610 
   2611 rm -rf conftest.one conftest.two conftest.dir
   2612 
   2613 fi
   2614   if test "${ac_cv_path_install+set}" = set; then
   2615     INSTALL=$ac_cv_path_install
   2616   else
   2617     # As a last resort, use the slow shell script.  Don't cache a
   2618     # value for INSTALL within a source directory, because that will
   2619     # break other packages using the cache if that directory is
   2620     # removed, or if the value is a relative name.
   2621     INSTALL=$ac_install_sh
   2622   fi
   2623 fi
   2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2625 $as_echo "$INSTALL" >&6; }
   2626 
   2627 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2628 # It thinks the first close brace ends the variable substitution.
   2629 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2630 
   2631 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2632 
   2633 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2634 
   2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2636 $as_echo_n "checking whether build environment is sane... " >&6; }
   2637 # Reject unsafe characters in $srcdir or the absolute working directory
   2638 # name.  Accept space and tab only in the latter.
   2639 am_lf='
   2640 '
   2641 case `pwd` in
   2642   *[\\\"\#\$\&\'\`$am_lf]*)
   2643     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2644 esac
   2645 case $srcdir in
   2646   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2647     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2648 esac
   2649 
   2650 # Do 'set' in a subshell so we don't clobber the current shell's
   2651 # arguments.  Must try -L first in case configure is actually a
   2652 # symlink; some systems play weird games with the mod time of symlinks
   2653 # (eg FreeBSD returns the mod time of the symlink's containing
   2654 # directory).
   2655 if (
   2656    am_has_slept=no
   2657    for am_try in 1 2; do
   2658      echo "timestamp, slept: $am_has_slept" > conftest.file
   2659      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2660      if test "$*" = "X"; then
   2661 	# -L didn't work.
   2662 	set X `ls -t "$srcdir/configure" conftest.file`
   2663      fi
   2664      if test "$*" != "X $srcdir/configure conftest.file" \
   2665 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2666 
   2667 	# If neither matched, then we have a broken ls.  This can happen
   2668 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2669 	# broken ls alias from the environment.  This has actually
   2670 	# happened.  Such a system could not be considered "sane".
   2671 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2672   alias in your environment" "$LINENO" 5
   2673      fi
   2674      if test "$2" = conftest.file || test $am_try -eq 2; then
   2675        break
   2676      fi
   2677      # Just in case.
   2678      sleep 1
   2679      am_has_slept=yes
   2680    done
   2681    test "$2" = conftest.file
   2682    )
   2683 then
   2684    # Ok.
   2685    :
   2686 else
   2687    as_fn_error $? "newly created file is older than distributed files!
   2688 Check your system clock" "$LINENO" 5
   2689 fi
   2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2691 $as_echo "yes" >&6; }
   2692 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2693 # generated files are strictly newer.
   2694 am_sleep_pid=
   2695 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2696   ( sleep 1 ) &
   2697   am_sleep_pid=$!
   2698 fi
   2699 
   2700 rm -f conftest.file
   2701 
   2702 test "$program_prefix" != NONE &&
   2703   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2704 # Use a double $ so make ignores it.
   2705 test "$program_suffix" != NONE &&
   2706   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2707 # Double any \ or $.
   2708 # By default was `s,x,x', remove it if useless.
   2709 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2710 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2711 
   2712 # Expand $ac_aux_dir to an absolute path.
   2713 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2714 
   2715 if test x"${MISSING+set}" != xset; then
   2716   case $am_aux_dir in
   2717   *\ * | *\	*)
   2718     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2719   *)
   2720     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2721   esac
   2722 fi
   2723 # Use eval to expand $SHELL
   2724 if eval "$MISSING --is-lightweight"; then
   2725   am_missing_run="$MISSING "
   2726 else
   2727   am_missing_run=
   2728   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2729 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2730 fi
   2731 
   2732 if test x"${install_sh+set}" != xset; then
   2733   case $am_aux_dir in
   2734   *\ * | *\	*)
   2735     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2736   *)
   2737     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2738   esac
   2739 fi
   2740 
   2741 # Installed binaries are usually stripped using 'strip' when the user
   2742 # run "make install-strip".  However 'strip' might not be the right
   2743 # tool to use in cross-compilation environments, therefore Automake
   2744 # will honor the 'STRIP' environment variable to overrule this program.
   2745 if test "$cross_compiling" != no; then
   2746   if test -n "$ac_tool_prefix"; then
   2747   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2748 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2750 $as_echo_n "checking for $ac_word... " >&6; }
   2751 if ${ac_cv_prog_STRIP+:} false; then :
   2752   $as_echo_n "(cached) " >&6
   2753 else
   2754   if test -n "$STRIP"; then
   2755   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2756 else
   2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2758 for as_dir in $PATH
   2759 do
   2760   IFS=$as_save_IFS
   2761   test -z "$as_dir" && as_dir=.
   2762     for ac_exec_ext in '' $ac_executable_extensions; do
   2763   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2764     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2766     break 2
   2767   fi
   2768 done
   2769   done
   2770 IFS=$as_save_IFS
   2771 
   2772 fi
   2773 fi
   2774 STRIP=$ac_cv_prog_STRIP
   2775 if test -n "$STRIP"; then
   2776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2777 $as_echo "$STRIP" >&6; }
   2778 else
   2779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2780 $as_echo "no" >&6; }
   2781 fi
   2782 
   2783 
   2784 fi
   2785 if test -z "$ac_cv_prog_STRIP"; then
   2786   ac_ct_STRIP=$STRIP
   2787   # Extract the first word of "strip", so it can be a program name with args.
   2788 set dummy strip; ac_word=$2
   2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2790 $as_echo_n "checking for $ac_word... " >&6; }
   2791 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2792   $as_echo_n "(cached) " >&6
   2793 else
   2794   if test -n "$ac_ct_STRIP"; then
   2795   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2796 else
   2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2798 for as_dir in $PATH
   2799 do
   2800   IFS=$as_save_IFS
   2801   test -z "$as_dir" && as_dir=.
   2802     for ac_exec_ext in '' $ac_executable_extensions; do
   2803   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2804     ac_cv_prog_ac_ct_STRIP="strip"
   2805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2806     break 2
   2807   fi
   2808 done
   2809   done
   2810 IFS=$as_save_IFS
   2811 
   2812 fi
   2813 fi
   2814 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2815 if test -n "$ac_ct_STRIP"; then
   2816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2817 $as_echo "$ac_ct_STRIP" >&6; }
   2818 else
   2819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2820 $as_echo "no" >&6; }
   2821 fi
   2822 
   2823   if test "x$ac_ct_STRIP" = x; then
   2824     STRIP=":"
   2825   else
   2826     case $cross_compiling:$ac_tool_warned in
   2827 yes:)
   2828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2830 ac_tool_warned=yes ;;
   2831 esac
   2832     STRIP=$ac_ct_STRIP
   2833   fi
   2834 else
   2835   STRIP="$ac_cv_prog_STRIP"
   2836 fi
   2837 
   2838 fi
   2839 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2840 
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2842 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2843 if test -z "$MKDIR_P"; then
   2844   if ${ac_cv_path_mkdir+:} false; then :
   2845   $as_echo_n "(cached) " >&6
   2846 else
   2847   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2848 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2849 do
   2850   IFS=$as_save_IFS
   2851   test -z "$as_dir" && as_dir=.
   2852     for ac_prog in mkdir gmkdir; do
   2853 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2854 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2855 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2856 	     'mkdir (GNU coreutils) '* | \
   2857 	     'mkdir (coreutils) '* | \
   2858 	     'mkdir (fileutils) '4.1*)
   2859 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2860 	       break 3;;
   2861 	   esac
   2862 	 done
   2863        done
   2864   done
   2865 IFS=$as_save_IFS
   2866 
   2867 fi
   2868 
   2869   test -d ./--version && rmdir ./--version
   2870   if test "${ac_cv_path_mkdir+set}" = set; then
   2871     MKDIR_P="$ac_cv_path_mkdir -p"
   2872   else
   2873     # As a last resort, use the slow shell script.  Don't cache a
   2874     # value for MKDIR_P within a source directory, because that will
   2875     # break other packages using the cache if that directory is
   2876     # removed, or if the value is a relative name.
   2877     MKDIR_P="$ac_install_sh -d"
   2878   fi
   2879 fi
   2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2881 $as_echo "$MKDIR_P" >&6; }
   2882 
   2883 for ac_prog in gawk mawk nawk awk
   2884 do
   2885   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2886 set dummy $ac_prog; ac_word=$2
   2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2888 $as_echo_n "checking for $ac_word... " >&6; }
   2889 if ${ac_cv_prog_AWK+:} false; then :
   2890   $as_echo_n "(cached) " >&6
   2891 else
   2892   if test -n "$AWK"; then
   2893   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2894 else
   2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2896 for as_dir in $PATH
   2897 do
   2898   IFS=$as_save_IFS
   2899   test -z "$as_dir" && as_dir=.
   2900     for ac_exec_ext in '' $ac_executable_extensions; do
   2901   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2902     ac_cv_prog_AWK="$ac_prog"
   2903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2904     break 2
   2905   fi
   2906 done
   2907   done
   2908 IFS=$as_save_IFS
   2909 
   2910 fi
   2911 fi
   2912 AWK=$ac_cv_prog_AWK
   2913 if test -n "$AWK"; then
   2914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2915 $as_echo "$AWK" >&6; }
   2916 else
   2917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2918 $as_echo "no" >&6; }
   2919 fi
   2920 
   2921 
   2922   test -n "$AWK" && break
   2923 done
   2924 
   2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2926 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2927 set x ${MAKE-make}
   2928 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2929 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2930   $as_echo_n "(cached) " >&6
   2931 else
   2932   cat >conftest.make <<\_ACEOF
   2933 SHELL = /bin/sh
   2934 all:
   2935 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2936 _ACEOF
   2937 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2938 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2939   *@@@%%%=?*=@@@%%%*)
   2940     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2941   *)
   2942     eval ac_cv_prog_make_${ac_make}_set=no;;
   2943 esac
   2944 rm -f conftest.make
   2945 fi
   2946 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2948 $as_echo "yes" >&6; }
   2949   SET_MAKE=
   2950 else
   2951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2952 $as_echo "no" >&6; }
   2953   SET_MAKE="MAKE=${MAKE-make}"
   2954 fi
   2955 
   2956 rm -rf .tst 2>/dev/null
   2957 mkdir .tst 2>/dev/null
   2958 if test -d .tst; then
   2959   am__leading_dot=.
   2960 else
   2961   am__leading_dot=_
   2962 fi
   2963 rmdir .tst 2>/dev/null
   2964 
   2965 @%:@ Check whether --enable-silent-rules was given.
   2966 if test "${enable_silent_rules+set}" = set; then :
   2967   enableval=$enable_silent_rules; 
   2968 fi
   2969 
   2970 case $enable_silent_rules in @%:@ (((
   2971   yes) AM_DEFAULT_VERBOSITY=0;;
   2972    no) AM_DEFAULT_VERBOSITY=1;;
   2973     *) AM_DEFAULT_VERBOSITY=1;;
   2974 esac
   2975 am_make=${MAKE-make}
   2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2977 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2978 if ${am_cv_make_support_nested_variables+:} false; then :
   2979   $as_echo_n "(cached) " >&6
   2980 else
   2981   if $as_echo 'TRUE=$(BAR$(V))
   2982 BAR0=false
   2983 BAR1=true
   2984 V=1
   2985 am__doit:
   2986 	@$(TRUE)
   2987 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2988   am_cv_make_support_nested_variables=yes
   2989 else
   2990   am_cv_make_support_nested_variables=no
   2991 fi
   2992 fi
   2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2994 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2995 if test $am_cv_make_support_nested_variables = yes; then
   2996     AM_V='$(V)'
   2997   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2998 else
   2999   AM_V=$AM_DEFAULT_VERBOSITY
   3000   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3001 fi
   3002 AM_BACKSLASH='\'
   3003 
   3004 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3005   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3006   # is not polluted with repeated "-I."
   3007   am__isrc=' -I$(srcdir)'
   3008   # test to see if srcdir already configured
   3009   if test -f $srcdir/config.status; then
   3010     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3011   fi
   3012 fi
   3013 
   3014 # test whether we have cygpath
   3015 if test -z "$CYGPATH_W"; then
   3016   if (cygpath --version) >/dev/null 2>/dev/null; then
   3017     CYGPATH_W='cygpath -w'
   3018   else
   3019     CYGPATH_W=echo
   3020   fi
   3021 fi
   3022 
   3023 
   3024 # Define the identity of the package.
   3025  DEFAGE='tox'
   3026  VERSION='0.2.7'
   3027 
   3028 
   3029 cat >>confdefs.h <<_ACEOF
   3030 @%:@define DEFAGE "$DEFAGE"
   3031 _ACEOF
   3032 
   3033  
   3034 cat >>confdefs.h <<_ACEOF
   3035 @%:@define VERSION "$VERSION"
   3036 _ACEOF
   3037 
   3038 # Some tools Automake needs.
   3039 
   3040 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3041 
   3042 
   3043 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3044 
   3045 
   3046 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3047 
   3048 
   3049 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3050 
   3051 
   3052 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3053 
   3054 # For better backward compatibility.  To be removed once Automake 1.9.x
   3055 # dies out for good.  For more background, see:
   3056 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3057 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3058 mkdir_p='$(MKDIR_P)'
   3059 
   3060 # We need awk for the "check" target (and possibly the TAP driver).  The
   3061 # system "awk" is bad on some platforms.
   3062 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3063 # in the wild :-(  We should find a proper way to deprecate it ...
   3064 AMTAR='$${TAR-tar}'
   3065 
   3066 
   3067 # We'll loop over all known methods to create a tar archive until one works.
   3068 _am_tools='gnutar plaintar pax cpio none'
   3069 
   3070 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3071       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3072       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3073       # and bug#13588).
   3074       am_max_uid=2097151 # 2^21 - 1
   3075       am_max_gid=$am_max_uid
   3076       # The $UID and $GID variables are not portable, so we need to resort
   3077       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3078       # below are definitely unexpected, so allow the users to see them
   3079       # (that is, avoid stderr redirection).
   3080       am_uid=`id -u || echo unknown`
   3081       am_gid=`id -g || echo unknown`
   3082       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3083 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3084       if test $am_uid -le $am_max_uid; then
   3085          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3086 $as_echo "yes" >&6; }
   3087       else
   3088          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3089 $as_echo "no" >&6; }
   3090          _am_tools=none
   3091       fi
   3092       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3093 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3094       if test $am_gid -le $am_max_gid; then
   3095          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3096 $as_echo "yes" >&6; }
   3097       else
   3098         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3099 $as_echo "no" >&6; }
   3100         _am_tools=none
   3101       fi
   3102 
   3103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3104 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
   3105 
   3106   # Go ahead even if we have the value already cached.  We do so because we
   3107   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3108   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3109 
   3110   for _am_tool in $_am_tools; do
   3111     case $_am_tool in
   3112     gnutar)
   3113       for _am_tar in tar gnutar gtar; do
   3114         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3115    ($_am_tar --version) >&5 2>&5
   3116    ac_status=$?
   3117    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3118    (exit $ac_status); } && break
   3119       done
   3120       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3121       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3122       am__untar="$_am_tar -xf -"
   3123       ;;
   3124     plaintar)
   3125       # Must skip GNU tar: if it does not support --format= it doesn't create
   3126       # ustar tarball either.
   3127       (tar --version) >/dev/null 2>&1 && continue
   3128       am__tar='tar chf - "$$tardir"'
   3129       am__tar_='tar chf - "$tardir"'
   3130       am__untar='tar xf -'
   3131       ;;
   3132     pax)
   3133       am__tar='pax -L -x ustar -w "$$tardir"'
   3134       am__tar_='pax -L -x ustar -w "$tardir"'
   3135       am__untar='pax -r'
   3136       ;;
   3137     cpio)
   3138       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3139       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3140       am__untar='cpio -i -H ustar -d'
   3141       ;;
   3142     none)
   3143       am__tar=false
   3144       am__tar_=false
   3145       am__untar=false
   3146       ;;
   3147     esac
   3148 
   3149     # If the value was cached, stop now.  We just wanted to have am__tar
   3150     # and am__untar set.
   3151     test -n "${am_cv_prog_tar_ustar}" && break
   3152 
   3153     # tar/untar a dummy directory, and stop if the command works.
   3154     rm -rf conftest.dir
   3155     mkdir conftest.dir
   3156     echo GrepMe > conftest.dir/file
   3157     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3158    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3159    ac_status=$?
   3160    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3161    (exit $ac_status); }
   3162     rm -rf conftest.dir
   3163     if test -s conftest.tar; then
   3164       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3165    ($am__untar <conftest.tar) >&5 2>&5
   3166    ac_status=$?
   3167    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3168    (exit $ac_status); }
   3169       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3170    (cat conftest.dir/file) >&5 2>&5
   3171    ac_status=$?
   3172    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3173    (exit $ac_status); }
   3174       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3175     fi
   3176   done
   3177   rm -rf conftest.dir
   3178 
   3179   if ${am_cv_prog_tar_ustar+:} false; then :
   3180   $as_echo_n "(cached) " >&6
   3181 else
   3182   am_cv_prog_tar_ustar=$_am_tool
   3183 fi
   3184 
   3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3186 $as_echo "$am_cv_prog_tar_ustar" >&6; }
   3187 
   3188 
   3189 
   3190 
   3191 
   3192 
   3193 # POSIX will say in a future version that running "rm -f" with no argument
   3194 # is OK; and we want to be able to make that assumption in our Makefile
   3195 # recipes.  So use an aggressive probe to check that the usage we want is
   3196 # actually supported "in the wild" to an acceptable degree.
   3197 # See automake bug#10828.
   3198 # To make any issue more visible, cause the running configure to be aborted
   3199 # by default if the 'rm' program in use doesn't match our expectations; the
   3200 # user can still override this though.
   3201 if rm -f && rm -fr && rm -rf; then : OK; else
   3202   cat >&2 <<'END'
   3203 Oops!
   3204 
   3205 Your 'rm' program seems unable to run without file operands specified
   3206 on the command line, even when the '-f' option is present.  This is contrary
   3207 to the behaviour of most rm programs out there, and not conforming with
   3208 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3209 
   3210 Please tell bug-automake@gnu.org about your system, including the value
   3211 of your $PATH and any error possibly output before this message.  This
   3212 can help us improve future automake versions.
   3213 
   3214 END
   3215   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3216     echo 'Configuration will proceed anyway, since you have set the' >&2
   3217     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3218     echo >&2
   3219   else
   3220     cat >&2 <<'END'
   3221 Aborting the configuration process, to ensure you take notice of the issue.
   3222 
   3223 You can download and install GNU coreutils to get an 'rm' implementation
   3224 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3225 
   3226 If you want to complete the configuration process using your problematic
   3227 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3228 to "yes", and re-run configure.
   3229 
   3230 END
   3231     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3232   fi
   3233 fi
   3234 
   3235 @%:@ Check whether --enable-silent-rules was given.
   3236 if test "${enable_silent_rules+set}" = set; then :
   3237   enableval=$enable_silent_rules; 
   3238 fi
   3239 
   3240 case $enable_silent_rules in @%:@ (((
   3241   yes) AM_DEFAULT_VERBOSITY=0;;
   3242    no) AM_DEFAULT_VERBOSITY=1;;
   3243     *) AM_DEFAULT_VERBOSITY=0;;
   3244 esac
   3245 am_make=${MAKE-make}
   3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3247 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3248 if ${am_cv_make_support_nested_variables+:} false; then :
   3249   $as_echo_n "(cached) " >&6
   3250 else
   3251   if $as_echo 'TRUE=$(BAR$(V))
   3252 BAR0=false
   3253 BAR1=true
   3254 V=1
   3255 am__doit:
   3256 	@$(TRUE)
   3257 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3258   am_cv_make_support_nested_variables=yes
   3259 else
   3260   am_cv_make_support_nested_variables=no
   3261 fi
   3262 fi
   3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3264 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3265 if test $am_cv_make_support_nested_variables = yes; then
   3266     AM_V='$(V)'
   3267   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3268 else
   3269   AM_V=$AM_DEFAULT_VERBOSITY
   3270   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3271 fi
   3272 AM_BACKSLASH='\'
   3273 
   3274 
   3275 
   3276 EXTRA_LT_LDFLAGS=
   3277 
   3278 if test "x${prefix}" = "xNONE"; then
   3279     prefix="${ac_default_prefix}"
   3280 fi
   3281 
   3282 BUILD_DHT_BOOTSTRAP_DAEMON="no"
   3283 BUILD_DHT_BOOTSTRAP="no"
   3284 BUILD_TESTS="yes"
   3285 BUILD_AV="yes"
   3286 BUILD_TESTING="yes"
   3287 
   3288 TOX_LOGGER="no"
   3289 
   3290 NCURSES_FOUND="no"
   3291 LIBCONFIG_FOUND="no"
   3292 WANT_NACL="no"
   3293 ADD_NACL_OBJECTS_TO_PKGCONFIG="yes"
   3294 SET_SO_VERSION="yes"
   3295 
   3296 @%:@ Check whether --enable-soname-versions was given.
   3297 if test "${enable_soname_versions+set}" = set; then :
   3298   enableval=$enable_soname_versions; 
   3299         if test "x$enableval" = "xno"; then
   3300             SET_SO_VERSION="no"
   3301         elif test "x$enableval" = "xyes"; then
   3302             SET_SO_VERSION="yes"
   3303         fi
   3304     
   3305 
   3306 fi
   3307 
   3308  if test "x$SET_SO_VERSION" = "xyes"; then
   3309   SET_SO_VERSION_TRUE=
   3310   SET_SO_VERSION_FALSE='#'
   3311 else
   3312   SET_SO_VERSION_TRUE='#'
   3313   SET_SO_VERSION_FALSE=
   3314 fi
   3315 
   3316 
   3317 @%:@ Check whether --enable-nacl was given.
   3318 if test "${enable_nacl+set}" = set; then :
   3319   enableval=$enable_nacl; 
   3320         if test "x$enableval" = "xno"; then
   3321             WANT_NACL="no"
   3322         elif test "x$enableval" = "xyes"; then
   3323             WANT_NACL="yes"
   3324         fi
   3325     
   3326 
   3327 fi
   3328 
   3329 
   3330 @%:@ Check whether --enable-randombytes-stir was given.
   3331 if test "${enable_randombytes_stir+set}" = set; then :
   3332   enableval=$enable_randombytes_stir; 
   3333         if test "x$enableval" = "xyes"; then
   3334             if test "x$WANT_NACL" = "xyes"; then
   3335                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: randombytes_stir() is not available with NaCl library" >&5
   3336 $as_echo "$as_me: WARNING: randombytes_stir() is not available with NaCl library" >&2;}
   3337             else
   3338                 
   3339 $as_echo "@%:@define USE_RANDOMBYTES_STIR 1" >>confdefs.h
   3340 
   3341             fi
   3342         fi
   3343     
   3344 
   3345 fi
   3346 
   3347 
   3348 @%:@ Check whether --enable-logging was given.
   3349 if test "${enable_logging+set}" = set; then :
   3350   enableval=$enable_logging; 
   3351         if test "x$enableval" = "xyes"; then
   3352             TOX_LOGGER="yes"
   3353 
   3354             
   3355 $as_echo "@%:@define MIN_LOGGER_LEVEL LOGGER_LEVEL_DEBUG" >>confdefs.h
   3356 
   3357         fi
   3358     
   3359 
   3360 fi
   3361 
   3362 
   3363 
   3364 @%:@ Check whether --with-log-level was given.
   3365 if test "${with_log_level+set}" = set; then :
   3366   withval=$with_log_level; 
   3367         if test "x$TOX_LOGGER" = "xno"; then
   3368             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Logging disabled!" >&5
   3369 $as_echo "$as_me: WARNING: Logging disabled!" >&2;}
   3370         else
   3371             if test "x$withval" = "xTRACE"; then
   3372                 
   3373 $as_echo "@%:@define MIN_LOGGER_LEVEL LOGGER_LEVEL_TRACE" >>confdefs.h
   3374 
   3375 
   3376             elif test "x$withval" = "xDEBUG"; then
   3377                 
   3378 $as_echo "@%:@define MIN_LOGGER_LEVEL LOGGER_LEVEL_DEBUG" >>confdefs.h
   3379 
   3380 
   3381             elif test "x$withval" = "xINFO"; then
   3382                 
   3383 $as_echo "@%:@define MIN_LOGGER_LEVEL LOGGER_LEVEL_INFO" >>confdefs.h
   3384 
   3385 
   3386             elif test "x$withval" = "xWARNING"; then
   3387                 
   3388 $as_echo "@%:@define MIN_LOGGER_LEVEL LOGGER_LEVEL_WARNING" >>confdefs.h
   3389 
   3390 
   3391             elif test "x$withval" = "xERROR"; then
   3392                 
   3393 $as_echo "@%:@define MIN_LOGGER_LEVEL LOGGER_LEVEL_ERROR" >>confdefs.h
   3394 
   3395             else
   3396                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid logger level: $withval. Using default 'DEBUG'" >&5
   3397 $as_echo "$as_me: WARNING: Invalid logger level: $withval. Using default 'DEBUG'" >&2;}
   3398             fi
   3399         fi
   3400     
   3401 
   3402 fi
   3403 
   3404 
   3405 
   3406 
   3407 
   3408 
   3409 
   3410 
   3411 
   3412 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   3413 	if test -n "$ac_tool_prefix"; then
   3414   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   3415 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3417 $as_echo_n "checking for $ac_word... " >&6; }
   3418 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   3419   $as_echo_n "(cached) " >&6
   3420 else
   3421   case $PKG_CONFIG in
   3422   [\\/]* | ?:[\\/]*)
   3423   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   3424   ;;
   3425   *)
   3426   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3427 for as_dir in $PATH
   3428 do
   3429   IFS=$as_save_IFS
   3430   test -z "$as_dir" && as_dir=.
   3431     for ac_exec_ext in '' $ac_executable_extensions; do
   3432   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3433     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   3434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3435     break 2
   3436   fi
   3437 done
   3438   done
   3439 IFS=$as_save_IFS
   3440 
   3441   ;;
   3442 esac
   3443 fi
   3444 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   3445 if test -n "$PKG_CONFIG"; then
   3446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   3447 $as_echo "$PKG_CONFIG" >&6; }
   3448 else
   3449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3450 $as_echo "no" >&6; }
   3451 fi
   3452 
   3453 
   3454 fi
   3455 if test -z "$ac_cv_path_PKG_CONFIG"; then
   3456   ac_pt_PKG_CONFIG=$PKG_CONFIG
   3457   # Extract the first word of "pkg-config", so it can be a program name with args.
   3458 set dummy pkg-config; ac_word=$2
   3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3460 $as_echo_n "checking for $ac_word... " >&6; }
   3461 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   3462   $as_echo_n "(cached) " >&6
   3463 else
   3464   case $ac_pt_PKG_CONFIG in
   3465   [\\/]* | ?:[\\/]*)
   3466   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   3467   ;;
   3468   *)
   3469   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3470 for as_dir in $PATH
   3471 do
   3472   IFS=$as_save_IFS
   3473   test -z "$as_dir" && as_dir=.
   3474     for ac_exec_ext in '' $ac_executable_extensions; do
   3475   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3476     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   3477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3478     break 2
   3479   fi
   3480 done
   3481   done
   3482 IFS=$as_save_IFS
   3483 
   3484   ;;
   3485 esac
   3486 fi
   3487 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   3488 if test -n "$ac_pt_PKG_CONFIG"; then
   3489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   3490 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   3491 else
   3492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3493 $as_echo "no" >&6; }
   3494 fi
   3495 
   3496   if test "x$ac_pt_PKG_CONFIG" = x; then
   3497     PKG_CONFIG=""
   3498   else
   3499     case $cross_compiling:$ac_tool_warned in
   3500 yes:)
   3501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3503 ac_tool_warned=yes ;;
   3504 esac
   3505     PKG_CONFIG=$ac_pt_PKG_CONFIG
   3506   fi
   3507 else
   3508   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   3509 fi
   3510 
   3511 fi
   3512 if test -n "$PKG_CONFIG"; then
   3513 	_pkg_min_version=0.9.0
   3514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   3515 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   3516 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   3517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3518 $as_echo "yes" >&6; }
   3519 	else
   3520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3521 $as_echo "no" >&6; }
   3522 		PKG_CONFIG=""
   3523 	fi
   3524 fi
   3525 
   3526 @%:@ Check whether --enable-av was given.
   3527 if test "${enable_av+set}" = set; then :
   3528   enableval=$enable_av; 
   3529         if test "x$enableval" = "xno"; then
   3530             BUILD_AV="no"
   3531         elif test "x$enableval" = "xyes"; then
   3532             BUILD_AV="yes"
   3533         fi
   3534     
   3535 
   3536 fi
   3537 
   3538 
   3539 @%:@ Check whether --enable-tests was given.
   3540 if test "${enable_tests+set}" = set; then :
   3541   enableval=$enable_tests; 
   3542         if test "x$enableval" = "xno"; then
   3543             BUILD_TESTS="no"
   3544         elif test "x$enableval" = "xyes"; then
   3545             BUILD_TESTS="yes"
   3546         fi
   3547     
   3548 
   3549 fi
   3550 
   3551 
   3552 @%:@ Check whether --enable-daemon was given.
   3553 if test "${enable_daemon+set}" = set; then :
   3554   enableval=$enable_daemon; 
   3555         if test "x$enableval" = "xno"; then
   3556             BUILD_DHT_BOOTSTRAP_DAEMON="no"
   3557         elif test "x$enableval" = "xyes"; then
   3558             BUILD_DHT_BOOTSTRAP_DAEMON="yes"
   3559         fi
   3560     
   3561 
   3562 fi
   3563 
   3564 
   3565 @%:@ Check whether --enable-dht-bootstrap was given.
   3566 if test "${enable_dht_bootstrap+set}" = set; then :
   3567   enableval=$enable_dht_bootstrap; 
   3568         if test "x$enableval" = "xno"; then
   3569             BUILD_DHT_BOOTSTRAP="no"
   3570         elif test "x$enableval" = "xyes"; then
   3571             BUILD_DHT_BOOTSTRAP="yes"
   3572         fi
   3573     
   3574 
   3575 fi
   3576 
   3577 
   3578 
   3579 @%:@ Check whether --enable-rt was given.
   3580 if test "${enable_rt+set}" = set; then :
   3581   enableval=$enable_rt; 
   3582         if test "x$enableval" = "xno"; then
   3583             DISABLE_RT="yes"
   3584         elif test "x$enableval" = "xyes"; then
   3585             DISABLE_RT="no"
   3586         fi
   3587     
   3588 
   3589 fi
   3590 
   3591 
   3592 @%:@ Check whether --enable-testing was given.
   3593 if test "${enable_testing+set}" = set; then :
   3594   enableval=$enable_testing; 
   3595         if test "x$enableval" = "xno"; then
   3596             BUILD_TESTING="no"
   3597         elif test "x$enableval" = "xyes"; then
   3598             BUILD_TESTING="yes"
   3599         fi
   3600     
   3601 
   3602 fi
   3603 
   3604 
   3605 @%:@ Check whether --enable-epoll was given.
   3606 if test "${enable_epoll+set}" = set; then :
   3607   enableval=$enable_epoll; enable_epoll=${enableval}
   3608 else
   3609   enable_epoll='auto'
   3610   
   3611 fi
   3612 
   3613 
   3614 @%:@ Check whether --enable-ipv6 was given.
   3615 if test "${enable_ipv6+set}" = set; then :
   3616   enableval=$enable_ipv6; use_ipv6=${enableval}
   3617 else
   3618   use_ipv6='auto'
   3619   
   3620 fi
   3621 
   3622 
   3623 if test "$use_ipv6" != "yes"; then
   3624   
   3625 $as_echo "@%:@define USE_IPV6 0" >>confdefs.h
   3626 
   3627 fi
   3628 
   3629 DEPDIR="${am__leading_dot}deps"
   3630 
   3631 ac_config_commands="$ac_config_commands depfiles"
   3632 
   3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3634 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3635 cat > confinc.mk << 'END'
   3636 am__doit:
   3637 	@echo this is the am__doit target >confinc.out
   3638 .PHONY: am__doit
   3639 END
   3640 am__include="#"
   3641 am__quote=
   3642 # BSD make does it like this.
   3643 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3644 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3645 echo 'include confinc.mk # ignored' > confmf.GNU
   3646 _am_result=no
   3647 for s in GNU BSD; do
   3648   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3649    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3650    ac_status=$?
   3651    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3652    (exit $ac_status); }
   3653   case $?:`cat confinc.out 2>/dev/null` in @%:@(
   3654   '0:this is the am__doit target') :
   3655     case $s in @%:@(
   3656   BSD) :
   3657     am__include='.include' am__quote='"' ;; @%:@(
   3658   *) :
   3659     am__include='include' am__quote='' ;;
   3660 esac ;; @%:@(
   3661   *) :
   3662      ;;
   3663 esac
   3664   if test "$am__include" != "#"; then
   3665     _am_result="yes ($s style)"
   3666     break
   3667   fi
   3668 done
   3669 rm -f confinc.* confmf.*
   3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3671 $as_echo "${_am_result}" >&6; }
   3672 
   3673 @%:@ Check whether --enable-dependency-tracking was given.
   3674 if test "${enable_dependency_tracking+set}" = set; then :
   3675   enableval=$enable_dependency_tracking; 
   3676 fi
   3677 
   3678 if test "x$enable_dependency_tracking" != xno; then
   3679   am_depcomp="$ac_aux_dir/depcomp"
   3680   AMDEPBACKSLASH='\'
   3681   am__nodep='_no'
   3682 fi
   3683  if test "x$enable_dependency_tracking" != xno; then
   3684   AMDEP_TRUE=
   3685   AMDEP_FALSE='#'
   3686 else
   3687   AMDEP_TRUE='#'
   3688   AMDEP_FALSE=
   3689 fi
   3690 
   3691 
   3692 ac_ext=c
   3693 ac_cpp='$CPP $CPPFLAGS'
   3694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3697 if test -n "$ac_tool_prefix"; then
   3698   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3699 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3701 $as_echo_n "checking for $ac_word... " >&6; }
   3702 if ${ac_cv_prog_CC+:} false; then :
   3703   $as_echo_n "(cached) " >&6
   3704 else
   3705   if test -n "$CC"; then
   3706   ac_cv_prog_CC="$CC" # Let the user override the test.
   3707 else
   3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3709 for as_dir in $PATH
   3710 do
   3711   IFS=$as_save_IFS
   3712   test -z "$as_dir" && as_dir=.
   3713     for ac_exec_ext in '' $ac_executable_extensions; do
   3714   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3715     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3717     break 2
   3718   fi
   3719 done
   3720   done
   3721 IFS=$as_save_IFS
   3722 
   3723 fi
   3724 fi
   3725 CC=$ac_cv_prog_CC
   3726 if test -n "$CC"; then
   3727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3728 $as_echo "$CC" >&6; }
   3729 else
   3730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3731 $as_echo "no" >&6; }
   3732 fi
   3733 
   3734 
   3735 fi
   3736 if test -z "$ac_cv_prog_CC"; then
   3737   ac_ct_CC=$CC
   3738   # Extract the first word of "gcc", so it can be a program name with args.
   3739 set dummy gcc; ac_word=$2
   3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3741 $as_echo_n "checking for $ac_word... " >&6; }
   3742 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3743   $as_echo_n "(cached) " >&6
   3744 else
   3745   if test -n "$ac_ct_CC"; then
   3746   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3747 else
   3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3749 for as_dir in $PATH
   3750 do
   3751   IFS=$as_save_IFS
   3752   test -z "$as_dir" && as_dir=.
   3753     for ac_exec_ext in '' $ac_executable_extensions; do
   3754   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3755     ac_cv_prog_ac_ct_CC="gcc"
   3756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3757     break 2
   3758   fi
   3759 done
   3760   done
   3761 IFS=$as_save_IFS
   3762 
   3763 fi
   3764 fi
   3765 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3766 if test -n "$ac_ct_CC"; then
   3767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3768 $as_echo "$ac_ct_CC" >&6; }
   3769 else
   3770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3771 $as_echo "no" >&6; }
   3772 fi
   3773 
   3774   if test "x$ac_ct_CC" = x; then
   3775     CC=""
   3776   else
   3777     case $cross_compiling:$ac_tool_warned in
   3778 yes:)
   3779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3781 ac_tool_warned=yes ;;
   3782 esac
   3783     CC=$ac_ct_CC
   3784   fi
   3785 else
   3786   CC="$ac_cv_prog_CC"
   3787 fi
   3788 
   3789 if test -z "$CC"; then
   3790           if test -n "$ac_tool_prefix"; then
   3791     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3792 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3794 $as_echo_n "checking for $ac_word... " >&6; }
   3795 if ${ac_cv_prog_CC+:} false; then :
   3796   $as_echo_n "(cached) " >&6
   3797 else
   3798   if test -n "$CC"; then
   3799   ac_cv_prog_CC="$CC" # Let the user override the test.
   3800 else
   3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3802 for as_dir in $PATH
   3803 do
   3804   IFS=$as_save_IFS
   3805   test -z "$as_dir" && as_dir=.
   3806     for ac_exec_ext in '' $ac_executable_extensions; do
   3807   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3808     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3810     break 2
   3811   fi
   3812 done
   3813   done
   3814 IFS=$as_save_IFS
   3815 
   3816 fi
   3817 fi
   3818 CC=$ac_cv_prog_CC
   3819 if test -n "$CC"; then
   3820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3821 $as_echo "$CC" >&6; }
   3822 else
   3823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3824 $as_echo "no" >&6; }
   3825 fi
   3826 
   3827 
   3828   fi
   3829 fi
   3830 if test -z "$CC"; then
   3831   # Extract the first word of "cc", so it can be a program name with args.
   3832 set dummy cc; ac_word=$2
   3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3834 $as_echo_n "checking for $ac_word... " >&6; }
   3835 if ${ac_cv_prog_CC+:} false; then :
   3836   $as_echo_n "(cached) " >&6
   3837 else
   3838   if test -n "$CC"; then
   3839   ac_cv_prog_CC="$CC" # Let the user override the test.
   3840 else
   3841   ac_prog_rejected=no
   3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3843 for as_dir in $PATH
   3844 do
   3845   IFS=$as_save_IFS
   3846   test -z "$as_dir" && as_dir=.
   3847     for ac_exec_ext in '' $ac_executable_extensions; do
   3848   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3849     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3850        ac_prog_rejected=yes
   3851        continue
   3852      fi
   3853     ac_cv_prog_CC="cc"
   3854     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3855     break 2
   3856   fi
   3857 done
   3858   done
   3859 IFS=$as_save_IFS
   3860 
   3861 if test $ac_prog_rejected = yes; then
   3862   # We found a bogon in the path, so make sure we never use it.
   3863   set dummy $ac_cv_prog_CC
   3864   shift
   3865   if test $@%:@ != 0; then
   3866     # We chose a different compiler from the bogus one.
   3867     # However, it has the same basename, so the bogon will be chosen
   3868     # first if we set CC to just the basename; use the full file name.
   3869     shift
   3870     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3871   fi
   3872 fi
   3873 fi
   3874 fi
   3875 CC=$ac_cv_prog_CC
   3876 if test -n "$CC"; then
   3877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3878 $as_echo "$CC" >&6; }
   3879 else
   3880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3881 $as_echo "no" >&6; }
   3882 fi
   3883 
   3884 
   3885 fi
   3886 if test -z "$CC"; then
   3887   if test -n "$ac_tool_prefix"; then
   3888   for ac_prog in cl.exe
   3889   do
   3890     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3891 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3893 $as_echo_n "checking for $ac_word... " >&6; }
   3894 if ${ac_cv_prog_CC+:} false; then :
   3895   $as_echo_n "(cached) " >&6
   3896 else
   3897   if test -n "$CC"; then
   3898   ac_cv_prog_CC="$CC" # Let the user override the test.
   3899 else
   3900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3901 for as_dir in $PATH
   3902 do
   3903   IFS=$as_save_IFS
   3904   test -z "$as_dir" && as_dir=.
   3905     for ac_exec_ext in '' $ac_executable_extensions; do
   3906   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3907     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3909     break 2
   3910   fi
   3911 done
   3912   done
   3913 IFS=$as_save_IFS
   3914 
   3915 fi
   3916 fi
   3917 CC=$ac_cv_prog_CC
   3918 if test -n "$CC"; then
   3919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3920 $as_echo "$CC" >&6; }
   3921 else
   3922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3923 $as_echo "no" >&6; }
   3924 fi
   3925 
   3926 
   3927     test -n "$CC" && break
   3928   done
   3929 fi
   3930 if test -z "$CC"; then
   3931   ac_ct_CC=$CC
   3932   for ac_prog in cl.exe
   3933 do
   3934   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3935 set dummy $ac_prog; ac_word=$2
   3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3937 $as_echo_n "checking for $ac_word... " >&6; }
   3938 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3939   $as_echo_n "(cached) " >&6
   3940 else
   3941   if test -n "$ac_ct_CC"; then
   3942   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3943 else
   3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3945 for as_dir in $PATH
   3946 do
   3947   IFS=$as_save_IFS
   3948   test -z "$as_dir" && as_dir=.
   3949     for ac_exec_ext in '' $ac_executable_extensions; do
   3950   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3951     ac_cv_prog_ac_ct_CC="$ac_prog"
   3952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3953     break 2
   3954   fi
   3955 done
   3956   done
   3957 IFS=$as_save_IFS
   3958 
   3959 fi
   3960 fi
   3961 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3962 if test -n "$ac_ct_CC"; then
   3963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3964 $as_echo "$ac_ct_CC" >&6; }
   3965 else
   3966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3967 $as_echo "no" >&6; }
   3968 fi
   3969 
   3970 
   3971   test -n "$ac_ct_CC" && break
   3972 done
   3973 
   3974   if test "x$ac_ct_CC" = x; then
   3975     CC=""
   3976   else
   3977     case $cross_compiling:$ac_tool_warned in
   3978 yes:)
   3979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3981 ac_tool_warned=yes ;;
   3982 esac
   3983     CC=$ac_ct_CC
   3984   fi
   3985 fi
   3986 
   3987 fi
   3988 
   3989 
   3990 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3992 as_fn_error $? "no acceptable C compiler found in \$PATH
   3993 See \`config.log' for more details" "$LINENO" 5; }
   3994 
   3995 # Provide some information about the compiler.
   3996 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3997 set X $ac_compile
   3998 ac_compiler=$2
   3999 for ac_option in --version -v -V -qversion; do
   4000   { { ac_try="$ac_compiler $ac_option >&5"
   4001 case "(($ac_try" in
   4002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4003   *) ac_try_echo=$ac_try;;
   4004 esac
   4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4006 $as_echo "$ac_try_echo"; } >&5
   4007   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4008   ac_status=$?
   4009   if test -s conftest.err; then
   4010     sed '10a\
   4011 ... rest of stderr output deleted ...
   4012          10q' conftest.err >conftest.er1
   4013     cat conftest.er1 >&5
   4014   fi
   4015   rm -f conftest.er1 conftest.err
   4016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4017   test $ac_status = 0; }
   4018 done
   4019 
   4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4021 /* end confdefs.h.  */
   4022 
   4023 int
   4024 main ()
   4025 {
   4026 
   4027   ;
   4028   return 0;
   4029 }
   4030 _ACEOF
   4031 ac_clean_files_save=$ac_clean_files
   4032 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4033 # Try to create an executable without -o first, disregard a.out.
   4034 # It will help us diagnose broken compilers, and finding out an intuition
   4035 # of exeext.
   4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4037 $as_echo_n "checking whether the C compiler works... " >&6; }
   4038 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4039 
   4040 # The possible output files:
   4041 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4042 
   4043 ac_rmfiles=
   4044 for ac_file in $ac_files
   4045 do
   4046   case $ac_file in
   4047     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4048     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4049   esac
   4050 done
   4051 rm -f $ac_rmfiles
   4052 
   4053 if { { ac_try="$ac_link_default"
   4054 case "(($ac_try" in
   4055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4056   *) ac_try_echo=$ac_try;;
   4057 esac
   4058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4059 $as_echo "$ac_try_echo"; } >&5
   4060   (eval "$ac_link_default") 2>&5
   4061   ac_status=$?
   4062   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4063   test $ac_status = 0; }; then :
   4064   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4065 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4066 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4067 # so that the user can short-circuit this test for compilers unknown to
   4068 # Autoconf.
   4069 for ac_file in $ac_files ''
   4070 do
   4071   test -f "$ac_file" || continue
   4072   case $ac_file in
   4073     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4074 	;;
   4075     [ab].out )
   4076 	# We found the default executable, but exeext='' is most
   4077 	# certainly right.
   4078 	break;;
   4079     *.* )
   4080 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   4081 	then :; else
   4082 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4083 	fi
   4084 	# We set ac_cv_exeext here because the later test for it is not
   4085 	# safe: cross compilers may not add the suffix if given an `-o'
   4086 	# argument, so we may need to know it at that point already.
   4087 	# Even if this section looks crufty: it has the advantage of
   4088 	# actually working.
   4089 	break;;
   4090     * )
   4091 	break;;
   4092   esac
   4093 done
   4094 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4095 
   4096 else
   4097   ac_file=''
   4098 fi
   4099 if test -z "$ac_file"; then :
   4100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4101 $as_echo "no" >&6; }
   4102 $as_echo "$as_me: failed program was:" >&5
   4103 sed 's/^/| /' conftest.$ac_ext >&5
   4104 
   4105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4107 as_fn_error 77 "C compiler cannot create executables
   4108 See \`config.log' for more details" "$LINENO" 5; }
   4109 else
   4110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4111 $as_echo "yes" >&6; }
   4112 fi
   4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4114 $as_echo_n "checking for C compiler default output file name... " >&6; }
   4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4116 $as_echo "$ac_file" >&6; }
   4117 ac_exeext=$ac_cv_exeext
   4118 
   4119 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4120 ac_clean_files=$ac_clean_files_save
   4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4122 $as_echo_n "checking for suffix of executables... " >&6; }
   4123 if { { ac_try="$ac_link"
   4124 case "(($ac_try" in
   4125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4126   *) ac_try_echo=$ac_try;;
   4127 esac
   4128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4129 $as_echo "$ac_try_echo"; } >&5
   4130   (eval "$ac_link") 2>&5
   4131   ac_status=$?
   4132   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4133   test $ac_status = 0; }; then :
   4134   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4135 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4136 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4137 # `rm'.
   4138 for ac_file in conftest.exe conftest conftest.*; do
   4139   test -f "$ac_file" || continue
   4140   case $ac_file in
   4141     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4142     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4143 	  break;;
   4144     * ) break;;
   4145   esac
   4146 done
   4147 else
   4148   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4150 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4151 See \`config.log' for more details" "$LINENO" 5; }
   4152 fi
   4153 rm -f conftest conftest$ac_cv_exeext
   4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4155 $as_echo "$ac_cv_exeext" >&6; }
   4156 
   4157 rm -f conftest.$ac_ext
   4158 EXEEXT=$ac_cv_exeext
   4159 ac_exeext=$EXEEXT
   4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4161 /* end confdefs.h.  */
   4162 @%:@include <stdio.h>
   4163 int
   4164 main ()
   4165 {
   4166 FILE *f = fopen ("conftest.out", "w");
   4167  return ferror (f) || fclose (f) != 0;
   4168 
   4169   ;
   4170   return 0;
   4171 }
   4172 _ACEOF
   4173 ac_clean_files="$ac_clean_files conftest.out"
   4174 # Check that the compiler produces executables we can run.  If not, either
   4175 # the compiler is broken, or we cross compile.
   4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4177 $as_echo_n "checking whether we are cross compiling... " >&6; }
   4178 if test "$cross_compiling" != yes; then
   4179   { { ac_try="$ac_link"
   4180 case "(($ac_try" in
   4181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4182   *) ac_try_echo=$ac_try;;
   4183 esac
   4184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4185 $as_echo "$ac_try_echo"; } >&5
   4186   (eval "$ac_link") 2>&5
   4187   ac_status=$?
   4188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4189   test $ac_status = 0; }
   4190   if { ac_try='./conftest$ac_cv_exeext'
   4191   { { case "(($ac_try" in
   4192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4193   *) ac_try_echo=$ac_try;;
   4194 esac
   4195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4196 $as_echo "$ac_try_echo"; } >&5
   4197   (eval "$ac_try") 2>&5
   4198   ac_status=$?
   4199   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4200   test $ac_status = 0; }; }; then
   4201     cross_compiling=no
   4202   else
   4203     if test "$cross_compiling" = maybe; then
   4204 	cross_compiling=yes
   4205     else
   4206 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4208 as_fn_error $? "cannot run C compiled programs.
   4209 If you meant to cross compile, use \`--host'.
   4210 See \`config.log' for more details" "$LINENO" 5; }
   4211     fi
   4212   fi
   4213 fi
   4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4215 $as_echo "$cross_compiling" >&6; }
   4216 
   4217 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4218 ac_clean_files=$ac_clean_files_save
   4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4220 $as_echo_n "checking for suffix of object files... " >&6; }
   4221 if ${ac_cv_objext+:} false; then :
   4222   $as_echo_n "(cached) " >&6
   4223 else
   4224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4225 /* end confdefs.h.  */
   4226 
   4227 int
   4228 main ()
   4229 {
   4230 
   4231   ;
   4232   return 0;
   4233 }
   4234 _ACEOF
   4235 rm -f conftest.o conftest.obj
   4236 if { { ac_try="$ac_compile"
   4237 case "(($ac_try" in
   4238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4239   *) ac_try_echo=$ac_try;;
   4240 esac
   4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4242 $as_echo "$ac_try_echo"; } >&5
   4243   (eval "$ac_compile") 2>&5
   4244   ac_status=$?
   4245   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4246   test $ac_status = 0; }; then :
   4247   for ac_file in conftest.o conftest.obj conftest.*; do
   4248   test -f "$ac_file" || continue;
   4249   case $ac_file in
   4250     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4251     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4252        break;;
   4253   esac
   4254 done
   4255 else
   4256   $as_echo "$as_me: failed program was:" >&5
   4257 sed 's/^/| /' conftest.$ac_ext >&5
   4258 
   4259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4261 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4262 See \`config.log' for more details" "$LINENO" 5; }
   4263 fi
   4264 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4265 fi
   4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4267 $as_echo "$ac_cv_objext" >&6; }
   4268 OBJEXT=$ac_cv_objext
   4269 ac_objext=$OBJEXT
   4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4271 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4272 if ${ac_cv_c_compiler_gnu+:} false; then :
   4273   $as_echo_n "(cached) " >&6
   4274 else
   4275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4276 /* end confdefs.h.  */
   4277 
   4278 int
   4279 main ()
   4280 {
   4281 #ifndef __GNUC__
   4282        choke me
   4283 #endif
   4284 
   4285   ;
   4286   return 0;
   4287 }
   4288 _ACEOF
   4289 if ac_fn_c_try_compile "$LINENO"; then :
   4290   ac_compiler_gnu=yes
   4291 else
   4292   ac_compiler_gnu=no
   4293 fi
   4294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4295 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4296 
   4297 fi
   4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4299 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4300 if test $ac_compiler_gnu = yes; then
   4301   GCC=yes
   4302 else
   4303   GCC=
   4304 fi
   4305 ac_test_CFLAGS=${CFLAGS+set}
   4306 ac_save_CFLAGS=$CFLAGS
   4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4308 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4309 if ${ac_cv_prog_cc_g+:} false; then :
   4310   $as_echo_n "(cached) " >&6
   4311 else
   4312   ac_save_c_werror_flag=$ac_c_werror_flag
   4313    ac_c_werror_flag=yes
   4314    ac_cv_prog_cc_g=no
   4315    CFLAGS="-g"
   4316    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4317 /* end confdefs.h.  */
   4318 
   4319 int
   4320 main ()
   4321 {
   4322 
   4323   ;
   4324   return 0;
   4325 }
   4326 _ACEOF
   4327 if ac_fn_c_try_compile "$LINENO"; then :
   4328   ac_cv_prog_cc_g=yes
   4329 else
   4330   CFLAGS=""
   4331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4332 /* end confdefs.h.  */
   4333 
   4334 int
   4335 main ()
   4336 {
   4337 
   4338   ;
   4339   return 0;
   4340 }
   4341 _ACEOF
   4342 if ac_fn_c_try_compile "$LINENO"; then :
   4343   
   4344 else
   4345   ac_c_werror_flag=$ac_save_c_werror_flag
   4346 	 CFLAGS="-g"
   4347 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4348 /* end confdefs.h.  */
   4349 
   4350 int
   4351 main ()
   4352 {
   4353 
   4354   ;
   4355   return 0;
   4356 }
   4357 _ACEOF
   4358 if ac_fn_c_try_compile "$LINENO"; then :
   4359   ac_cv_prog_cc_g=yes
   4360 fi
   4361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4362 fi
   4363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4364 fi
   4365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4366    ac_c_werror_flag=$ac_save_c_werror_flag
   4367 fi
   4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4369 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4370 if test "$ac_test_CFLAGS" = set; then
   4371   CFLAGS=$ac_save_CFLAGS
   4372 elif test $ac_cv_prog_cc_g = yes; then
   4373   if test "$GCC" = yes; then
   4374     CFLAGS="-g -O2"
   4375   else
   4376     CFLAGS="-g"
   4377   fi
   4378 else
   4379   if test "$GCC" = yes; then
   4380     CFLAGS="-O2"
   4381   else
   4382     CFLAGS=
   4383   fi
   4384 fi
   4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4386 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4387 if ${ac_cv_prog_cc_c89+:} false; then :
   4388   $as_echo_n "(cached) " >&6
   4389 else
   4390   ac_cv_prog_cc_c89=no
   4391 ac_save_CC=$CC
   4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4393 /* end confdefs.h.  */
   4394 #include <stdarg.h>
   4395 #include <stdio.h>
   4396 struct stat;
   4397 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4398 struct buf { int x; };
   4399 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4400 static char *e (p, i)
   4401      char **p;
   4402      int i;
   4403 {
   4404   return p[i];
   4405 }
   4406 static char *f (char * (*g) (char **, int), char **p, ...)
   4407 {
   4408   char *s;
   4409   va_list v;
   4410   va_start (v,p);
   4411   s = g (p, va_arg (v,int));
   4412   va_end (v);
   4413   return s;
   4414 }
   4415 
   4416 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4417    function prototypes and stuff, but not '\xHH' hex character constants.
   4418    These don't provoke an error unfortunately, instead are silently treated
   4419    as 'x'.  The following induces an error, until -std is added to get
   4420    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4421    array size at least.  It's necessary to write '\x00'==0 to get something
   4422    that's true only with -std.  */
   4423 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4424 
   4425 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4426    inside strings and character constants.  */
   4427 #define FOO(x) 'x'
   4428 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4429 
   4430 int test (int i, double x);
   4431 struct s1 {int (*f) (int a);};
   4432 struct s2 {int (*f) (double a);};
   4433 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4434 int argc;
   4435 char **argv;
   4436 int
   4437 main ()
   4438 {
   4439 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4440   ;
   4441   return 0;
   4442 }
   4443 _ACEOF
   4444 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4445 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4446 do
   4447   CC="$ac_save_CC $ac_arg"
   4448   if ac_fn_c_try_compile "$LINENO"; then :
   4449   ac_cv_prog_cc_c89=$ac_arg
   4450 fi
   4451 rm -f core conftest.err conftest.$ac_objext
   4452   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4453 done
   4454 rm -f conftest.$ac_ext
   4455 CC=$ac_save_CC
   4456 
   4457 fi
   4458 # AC_CACHE_VAL
   4459 case "x$ac_cv_prog_cc_c89" in
   4460   x)
   4461     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4462 $as_echo "none needed" >&6; } ;;
   4463   xno)
   4464     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4465 $as_echo "unsupported" >&6; } ;;
   4466   *)
   4467     CC="$CC $ac_cv_prog_cc_c89"
   4468     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4469 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4470 esac
   4471 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4472   
   4473 fi
   4474 
   4475 ac_ext=c
   4476 ac_cpp='$CPP $CPPFLAGS'
   4477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4480 
   4481 ac_ext=c
   4482 ac_cpp='$CPP $CPPFLAGS'
   4483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4487 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4488 if ${am_cv_prog_cc_c_o+:} false; then :
   4489   $as_echo_n "(cached) " >&6
   4490 else
   4491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4492 /* end confdefs.h.  */
   4493 
   4494 int
   4495 main ()
   4496 {
   4497 
   4498   ;
   4499   return 0;
   4500 }
   4501 _ACEOF
   4502   # Make sure it works both with $CC and with simple cc.
   4503   # Following AC_PROG_CC_C_O, we do the test twice because some
   4504   # compilers refuse to overwrite an existing .o file with -o,
   4505   # though they will create one.
   4506   am_cv_prog_cc_c_o=yes
   4507   for am_i in 1 2; do
   4508     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4509    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4510    ac_status=$?
   4511    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4512    (exit $ac_status); } \
   4513          && test -f conftest2.$ac_objext; then
   4514       : OK
   4515     else
   4516       am_cv_prog_cc_c_o=no
   4517       break
   4518     fi
   4519   done
   4520   rm -f core conftest*
   4521   unset am_i
   4522 fi
   4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4524 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4525 if test "$am_cv_prog_cc_c_o" != yes; then
   4526    # Losing compiler, so override with the script.
   4527    # FIXME: It is wrong to rewrite CC.
   4528    # But if we don't then we get into trouble of one sort or another.
   4529    # A longer-term fix would be to have automake use am__CC in this case,
   4530    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4531    CC="$am_aux_dir/compile $CC"
   4532 fi
   4533 ac_ext=c
   4534 ac_cpp='$CPP $CPPFLAGS'
   4535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4538 
   4539 
   4540 depcc="$CC"   am_compiler_list=
   4541 
   4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4543 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4544 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4545   $as_echo_n "(cached) " >&6
   4546 else
   4547   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4548   # We make a subdir and do the tests there.  Otherwise we can end up
   4549   # making bogus files that we don't know about and never remove.  For
   4550   # instance it was reported that on HP-UX the gcc test will end up
   4551   # making a dummy file named 'D' -- because '-MD' means "put the output
   4552   # in D".
   4553   rm -rf conftest.dir
   4554   mkdir conftest.dir
   4555   # Copy depcomp to subdir because otherwise we won't find it if we're
   4556   # using a relative directory.
   4557   cp "$am_depcomp" conftest.dir
   4558   cd conftest.dir
   4559   # We will build objects and dependencies in a subdirectory because
   4560   # it helps to detect inapplicable dependency modes.  For instance
   4561   # both Tru64's cc and ICC support -MD to output dependencies as a
   4562   # side effect of compilation, but ICC will put the dependencies in
   4563   # the current directory while Tru64 will put them in the object
   4564   # directory.
   4565   mkdir sub
   4566 
   4567   am_cv_CC_dependencies_compiler_type=none
   4568   if test "$am_compiler_list" = ""; then
   4569      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4570   fi
   4571   am__universal=false
   4572   case " $depcc " in #(
   4573      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4574      esac
   4575 
   4576   for depmode in $am_compiler_list; do
   4577     # Setup a source with many dependencies, because some compilers
   4578     # like to wrap large dependency lists on column 80 (with \), and
   4579     # we should not choose a depcomp mode which is confused by this.
   4580     #
   4581     # We need to recreate these files for each test, as the compiler may
   4582     # overwrite some of them when testing with obscure command lines.
   4583     # This happens at least with the AIX C compiler.
   4584     : > sub/conftest.c
   4585     for i in 1 2 3 4 5 6; do
   4586       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4587       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4588       # Solaris 10 /bin/sh.
   4589       echo '/* dummy */' > sub/conftst$i.h
   4590     done
   4591     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4592 
   4593     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4594     # mode.  It turns out that the SunPro C++ compiler does not properly
   4595     # handle '-M -o', and we need to detect this.  Also, some Intel
   4596     # versions had trouble with output in subdirs.
   4597     am__obj=sub/conftest.${OBJEXT-o}
   4598     am__minus_obj="-o $am__obj"
   4599     case $depmode in
   4600     gcc)
   4601       # This depmode causes a compiler race in universal mode.
   4602       test "$am__universal" = false || continue
   4603       ;;
   4604     nosideeffect)
   4605       # After this tag, mechanisms are not by side-effect, so they'll
   4606       # only be used when explicitly requested.
   4607       if test "x$enable_dependency_tracking" = xyes; then
   4608 	continue
   4609       else
   4610 	break
   4611       fi
   4612       ;;
   4613     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4614       # This compiler won't grok '-c -o', but also, the minuso test has
   4615       # not run yet.  These depmodes are late enough in the game, and
   4616       # so weak that their functioning should not be impacted.
   4617       am__obj=conftest.${OBJEXT-o}
   4618       am__minus_obj=
   4619       ;;
   4620     none) break ;;
   4621     esac
   4622     if depmode=$depmode \
   4623        source=sub/conftest.c object=$am__obj \
   4624        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4625        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4626          >/dev/null 2>conftest.err &&
   4627        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4628        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4629        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4630        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4631       # icc doesn't choke on unknown options, it will just issue warnings
   4632       # or remarks (even with -Werror).  So we grep stderr for any message
   4633       # that says an option was ignored or not supported.
   4634       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4635       #   icc: Command line warning: ignoring option '-M'; no argument required
   4636       # The diagnosis changed in icc 8.0:
   4637       #   icc: Command line remark: option '-MP' not supported
   4638       if (grep 'ignoring option' conftest.err ||
   4639           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4640         am_cv_CC_dependencies_compiler_type=$depmode
   4641         break
   4642       fi
   4643     fi
   4644   done
   4645 
   4646   cd ..
   4647   rm -rf conftest.dir
   4648 else
   4649   am_cv_CC_dependencies_compiler_type=none
   4650 fi
   4651 
   4652 fi
   4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4654 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4655 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4656 
   4657  if 
   4658   test "x$enable_dependency_tracking" != xno \
   4659   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4660   am__fastdepCC_TRUE=
   4661   am__fastdepCC_FALSE='#'
   4662 else
   4663   am__fastdepCC_TRUE='#'
   4664   am__fastdepCC_FALSE=
   4665 fi
   4666 
   4667 
   4668 
   4669 ac_ext=c
   4670 ac_cpp='$CPP $CPPFLAGS'
   4671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4675 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4676 # On Suns, sometimes $CPP names a directory.
   4677 if test -n "$CPP" && test -d "$CPP"; then
   4678   CPP=
   4679 fi
   4680 if test -z "$CPP"; then
   4681   if ${ac_cv_prog_CPP+:} false; then :
   4682   $as_echo_n "(cached) " >&6
   4683 else
   4684       # Double quotes because CPP needs to be expanded
   4685     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4686     do
   4687       ac_preproc_ok=false
   4688 for ac_c_preproc_warn_flag in '' yes
   4689 do
   4690   # Use a header file that comes with gcc, so configuring glibc
   4691   # with a fresh cross-compiler works.
   4692   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4693   # <limits.h> exists even on freestanding compilers.
   4694   # On the NeXT, cc -E runs the code through the compiler's parser,
   4695   # not just through cpp. "Syntax error" is here to catch this case.
   4696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4697 /* end confdefs.h.  */
   4698 @%:@ifdef __STDC__
   4699 @%:@ include <limits.h>
   4700 @%:@else
   4701 @%:@ include <assert.h>
   4702 @%:@endif
   4703 		     Syntax error
   4704 _ACEOF
   4705 if ac_fn_c_try_cpp "$LINENO"; then :
   4706   
   4707 else
   4708   # Broken: fails on valid input.
   4709 continue
   4710 fi
   4711 rm -f conftest.err conftest.i conftest.$ac_ext
   4712 
   4713   # OK, works on sane cases.  Now check whether nonexistent headers
   4714   # can be detected and how.
   4715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4716 /* end confdefs.h.  */
   4717 @%:@include <ac_nonexistent.h>
   4718 _ACEOF
   4719 if ac_fn_c_try_cpp "$LINENO"; then :
   4720   # Broken: success on invalid input.
   4721 continue
   4722 else
   4723   # Passes both tests.
   4724 ac_preproc_ok=:
   4725 break
   4726 fi
   4727 rm -f conftest.err conftest.i conftest.$ac_ext
   4728 
   4729 done
   4730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4731 rm -f conftest.i conftest.err conftest.$ac_ext
   4732 if $ac_preproc_ok; then :
   4733   break
   4734 fi
   4735 
   4736     done
   4737     ac_cv_prog_CPP=$CPP
   4738   
   4739 fi
   4740   CPP=$ac_cv_prog_CPP
   4741 else
   4742   ac_cv_prog_CPP=$CPP
   4743 fi
   4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4745 $as_echo "$CPP" >&6; }
   4746 ac_preproc_ok=false
   4747 for ac_c_preproc_warn_flag in '' yes
   4748 do
   4749   # Use a header file that comes with gcc, so configuring glibc
   4750   # with a fresh cross-compiler works.
   4751   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4752   # <limits.h> exists even on freestanding compilers.
   4753   # On the NeXT, cc -E runs the code through the compiler's parser,
   4754   # not just through cpp. "Syntax error" is here to catch this case.
   4755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4756 /* end confdefs.h.  */
   4757 @%:@ifdef __STDC__
   4758 @%:@ include <limits.h>
   4759 @%:@else
   4760 @%:@ include <assert.h>
   4761 @%:@endif
   4762 		     Syntax error
   4763 _ACEOF
   4764 if ac_fn_c_try_cpp "$LINENO"; then :
   4765   
   4766 else
   4767   # Broken: fails on valid input.
   4768 continue
   4769 fi
   4770 rm -f conftest.err conftest.i conftest.$ac_ext
   4771 
   4772   # OK, works on sane cases.  Now check whether nonexistent headers
   4773   # can be detected and how.
   4774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4775 /* end confdefs.h.  */
   4776 @%:@include <ac_nonexistent.h>
   4777 _ACEOF
   4778 if ac_fn_c_try_cpp "$LINENO"; then :
   4779   # Broken: success on invalid input.
   4780 continue
   4781 else
   4782   # Passes both tests.
   4783 ac_preproc_ok=:
   4784 break
   4785 fi
   4786 rm -f conftest.err conftest.i conftest.$ac_ext
   4787 
   4788 done
   4789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4790 rm -f conftest.i conftest.err conftest.$ac_ext
   4791 if $ac_preproc_ok; then :
   4792   
   4793 else
   4794   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4796 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4797 See \`config.log' for more details" "$LINENO" 5; }
   4798 fi
   4799 
   4800 ac_ext=c
   4801 ac_cpp='$CPP $CPPFLAGS'
   4802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4805 
   4806 
   4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4808 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4809 if ${ac_cv_path_GREP+:} false; then :
   4810   $as_echo_n "(cached) " >&6
   4811 else
   4812   if test -z "$GREP"; then
   4813   ac_path_GREP_found=false
   4814   # Loop through the user's path and test for each of PROGNAME-LIST
   4815   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4816 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4817 do
   4818   IFS=$as_save_IFS
   4819   test -z "$as_dir" && as_dir=.
   4820     for ac_prog in grep ggrep; do
   4821     for ac_exec_ext in '' $ac_executable_extensions; do
   4822       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4823       as_fn_executable_p "$ac_path_GREP" || continue
   4824 # Check for GNU ac_path_GREP and select it if it is found.
   4825   # Check for GNU $ac_path_GREP
   4826 case `"$ac_path_GREP" --version 2>&1` in
   4827 *GNU*)
   4828   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4829 *)
   4830   ac_count=0
   4831   $as_echo_n 0123456789 >"conftest.in"
   4832   while :
   4833   do
   4834     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4835     mv "conftest.tmp" "conftest.in"
   4836     cp "conftest.in" "conftest.nl"
   4837     $as_echo 'GREP' >> "conftest.nl"
   4838     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4839     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4840     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4841     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4842       # Best one so far, save it but keep looking for a better one
   4843       ac_cv_path_GREP="$ac_path_GREP"
   4844       ac_path_GREP_max=$ac_count
   4845     fi
   4846     # 10*(2^10) chars as input seems more than enough
   4847     test $ac_count -gt 10 && break
   4848   done
   4849   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4850 esac
   4851 
   4852       $ac_path_GREP_found && break 3
   4853     done
   4854   done
   4855   done
   4856 IFS=$as_save_IFS
   4857   if test -z "$ac_cv_path_GREP"; then
   4858     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4859   fi
   4860 else
   4861   ac_cv_path_GREP=$GREP
   4862 fi
   4863 
   4864 fi
   4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4866 $as_echo "$ac_cv_path_GREP" >&6; }
   4867  GREP="$ac_cv_path_GREP"
   4868  
   4869 
   4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4871 $as_echo_n "checking for egrep... " >&6; }
   4872 if ${ac_cv_path_EGREP+:} false; then :
   4873   $as_echo_n "(cached) " >&6
   4874 else
   4875   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4876    then ac_cv_path_EGREP="$GREP -E"
   4877    else
   4878      if test -z "$EGREP"; then
   4879   ac_path_EGREP_found=false
   4880   # Loop through the user's path and test for each of PROGNAME-LIST
   4881   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4882 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4883 do
   4884   IFS=$as_save_IFS
   4885   test -z "$as_dir" && as_dir=.
   4886     for ac_prog in egrep; do
   4887     for ac_exec_ext in '' $ac_executable_extensions; do
   4888       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4889       as_fn_executable_p "$ac_path_EGREP" || continue
   4890 # Check for GNU ac_path_EGREP and select it if it is found.
   4891   # Check for GNU $ac_path_EGREP
   4892 case `"$ac_path_EGREP" --version 2>&1` in
   4893 *GNU*)
   4894   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4895 *)
   4896   ac_count=0
   4897   $as_echo_n 0123456789 >"conftest.in"
   4898   while :
   4899   do
   4900     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4901     mv "conftest.tmp" "conftest.in"
   4902     cp "conftest.in" "conftest.nl"
   4903     $as_echo 'EGREP' >> "conftest.nl"
   4904     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4905     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4906     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4907     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4908       # Best one so far, save it but keep looking for a better one
   4909       ac_cv_path_EGREP="$ac_path_EGREP"
   4910       ac_path_EGREP_max=$ac_count
   4911     fi
   4912     # 10*(2^10) chars as input seems more than enough
   4913     test $ac_count -gt 10 && break
   4914   done
   4915   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4916 esac
   4917 
   4918       $ac_path_EGREP_found && break 3
   4919     done
   4920   done
   4921   done
   4922 IFS=$as_save_IFS
   4923   if test -z "$ac_cv_path_EGREP"; then
   4924     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4925   fi
   4926 else
   4927   ac_cv_path_EGREP=$EGREP
   4928 fi
   4929 
   4930    fi
   4931 fi
   4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4933 $as_echo "$ac_cv_path_EGREP" >&6; }
   4934  EGREP="$ac_cv_path_EGREP"
   4935  
   4936 
   4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4938 $as_echo_n "checking for ANSI C header files... " >&6; }
   4939 if ${ac_cv_header_stdc+:} false; then :
   4940   $as_echo_n "(cached) " >&6
   4941 else
   4942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4943 /* end confdefs.h.  */
   4944 #include <stdlib.h>
   4945 #include <stdarg.h>
   4946 #include <string.h>
   4947 #include <float.h>
   4948 
   4949 int
   4950 main ()
   4951 {
   4952 
   4953   ;
   4954   return 0;
   4955 }
   4956 _ACEOF
   4957 if ac_fn_c_try_compile "$LINENO"; then :
   4958   ac_cv_header_stdc=yes
   4959 else
   4960   ac_cv_header_stdc=no
   4961 fi
   4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4963 
   4964 if test $ac_cv_header_stdc = yes; then
   4965   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4967 /* end confdefs.h.  */
   4968 #include <string.h>
   4969 
   4970 _ACEOF
   4971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4972   $EGREP "memchr" >/dev/null 2>&1; then :
   4973   
   4974 else
   4975   ac_cv_header_stdc=no
   4976 fi
   4977 rm -f conftest*
   4978 
   4979 fi
   4980 
   4981 if test $ac_cv_header_stdc = yes; then
   4982   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4984 /* end confdefs.h.  */
   4985 #include <stdlib.h>
   4986 
   4987 _ACEOF
   4988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4989   $EGREP "free" >/dev/null 2>&1; then :
   4990   
   4991 else
   4992   ac_cv_header_stdc=no
   4993 fi
   4994 rm -f conftest*
   4995 
   4996 fi
   4997 
   4998 if test $ac_cv_header_stdc = yes; then
   4999   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5000   if test "$cross_compiling" = yes; then :
   5001   :
   5002 else
   5003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5004 /* end confdefs.h.  */
   5005 #include <ctype.h>
   5006 #include <stdlib.h>
   5007 #if ((' ' & 0x0FF) == 0x020)
   5008 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5009 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5010 #else
   5011 # define ISLOWER(c) \
   5012 		   (('a' <= (c) && (c) <= 'i') \
   5013 		     || ('j' <= (c) && (c) <= 'r') \
   5014 		     || ('s' <= (c) && (c) <= 'z'))
   5015 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5016 #endif
   5017 
   5018 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5019 int
   5020 main ()
   5021 {
   5022   int i;
   5023   for (i = 0; i < 256; i++)
   5024     if (XOR (islower (i), ISLOWER (i))
   5025 	|| toupper (i) != TOUPPER (i))
   5026       return 2;
   5027   return 0;
   5028 }
   5029 _ACEOF
   5030 if ac_fn_c_try_run "$LINENO"; then :
   5031   
   5032 else
   5033   ac_cv_header_stdc=no
   5034 fi
   5035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5036   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5037 fi
   5038 
   5039 fi
   5040 fi
   5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   5042 $as_echo "$ac_cv_header_stdc" >&6; }
   5043 if test $ac_cv_header_stdc = yes; then
   5044   
   5045 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
   5046 
   5047 fi
   5048 
   5049 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5050 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5051 		  inttypes.h stdint.h unistd.h
   5052 do :
   5053   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5054 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   5055 "
   5056 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5057   cat >>confdefs.h <<_ACEOF
   5058 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5059 _ACEOF
   5060  
   5061 fi
   5062 
   5063 done
   5064 
   5065 
   5066   ax_have_epoll_cppflags="${CPPFLAGS}"
   5067   ac_fn_c_check_header_mongrel "$LINENO" "linux/version.h" "ac_cv_header_linux_version_h" "$ac_includes_default"
   5068 if test "x$ac_cv_header_linux_version_h" = xyes; then :
   5069   CPPFLAGS="${CPPFLAGS} -DHAVE_LINUX_VERSION_H"
   5070 fi
   5071 
   5072 
   5073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux epoll(7) interface" >&5
   5074 $as_echo_n "checking for Linux epoll(7) interface... " >&6; }
   5075   if ${ax_cv_have_epoll+:} false; then :
   5076   $as_echo_n "(cached) " >&6
   5077 else
   5078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5079 /* end confdefs.h.  */
   5080       #include <sys/epoll.h>
   5081 #ifdef HAVE_LINUX_VERSION_H
   5082 #  include <linux/version.h>
   5083 #  if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45)
   5084 #    error linux kernel version is too old to have epoll
   5085 #  endif
   5086 #endif
   5087 
   5088 int
   5089 main ()
   5090 {
   5091 int fd, rc;
   5092 struct epoll_event ev;
   5093 fd = epoll_create(128);
   5094 rc = epoll_wait(fd, &ev, 1, 0);
   5095   ;
   5096   return 0;
   5097 }
   5098 _ACEOF
   5099 if ac_fn_c_try_link "$LINENO"; then :
   5100   ax_cv_have_epoll=yes
   5101 else
   5102   ax_cv_have_epoll=no
   5103 fi
   5104 rm -f core conftest.err conftest.$ac_objext \
   5105     conftest$ac_exeext conftest.$ac_ext
   5106 fi
   5107 
   5108   CPPFLAGS="${ax_have_epoll_cppflags}"
   5109   if test "${ax_cv_have_epoll}" = "yes"; then :
   5110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5111 $as_echo "yes" >&6; }
   5112 
   5113 else
   5114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5115 $as_echo "no" >&6; }
   5116 
   5117 fi
   5118 
   5119 if test "$enable_epoll" != "no"; then
   5120   if test "${ax_cv_have_epoll}" = "yes"; then
   5121     
   5122 $as_echo "@%:@define TCP_SERVER_USE_EPOLL 1" >>confdefs.h
   5123 
   5124     enable_epoll='yes'
   5125   else
   5126     if test "$enable_epoll" = "yes"; then
   5127       as_fn_error $? "Support for epoll was explicitly requested but cannot be enabled on this platform." "$LINENO" 5
   5128     fi
   5129     enable_epoll='no'
   5130   fi
   5131 fi
   5132 
   5133 DEPSEARCH=
   5134 LIBSODIUM_SEARCH_HEADERS=
   5135 LIBSODIUM_SEARCH_LIBS=
   5136 NACL_SEARCH_HEADERS=
   5137 NACL_SEARCH_LIBS=
   5138 
   5139 
   5140 @%:@ Check whether --with-dependency-search was given.
   5141 if test "${with_dependency_search+set}" = set; then :
   5142   withval=$with_dependency_search; 
   5143         DEPSEARCH="$withval"
   5144     
   5145 
   5146 fi
   5147 
   5148 
   5149 if test -n "$DEPSEARCH"; then
   5150     CFLAGS="$CFLAGS -I$DEPSEARCH/include"
   5151     CPPFLAGS="$CPPFLAGS -I$DEPSEARCH/include"
   5152     LDFLAGS="$LDFLAGS -L$DEPSEARCH/lib"
   5153     export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$DEPSEARCH/lib/pkgconfig
   5154 fi
   5155 
   5156 
   5157 @%:@ Check whether --with-nacl-headers was given.
   5158 if test "${with_nacl_headers+set}" = set; then :
   5159   withval=$with_nacl_headers; 
   5160             NACL_SEARCH_HEADERS="$withval"
   5161             { $as_echo "$as_me:${as_lineno-$LINENO}: will search for nacl header files in $withval" >&5
   5162 $as_echo "$as_me: will search for nacl header files in $withval" >&6;}
   5163         
   5164 
   5165 fi
   5166 
   5167 
   5168 
   5169 @%:@ Check whether --with-nacl-libs was given.
   5170 if test "${with_nacl_libs+set}" = set; then :
   5171   withval=$with_nacl_libs; 
   5172             NACL_SEARCH_LIBS="$withval"
   5173             { $as_echo "$as_me:${as_lineno-$LINENO}: will search for nacl libraries in $withval" >&5
   5174 $as_echo "$as_me: will search for nacl libraries in $withval" >&6;}
   5175         
   5176 
   5177 fi
   5178 
   5179 
   5180 
   5181 @%:@ Check whether --with-libsodium-headers was given.
   5182 if test "${with_libsodium_headers+set}" = set; then :
   5183   withval=$with_libsodium_headers; 
   5184             LIBSODIUM_SEARCH_HEADERS="$withval"
   5185             { $as_echo "$as_me:${as_lineno-$LINENO}: will search for libsodium header files in $withval" >&5
   5186 $as_echo "$as_me: will search for libsodium header files in $withval" >&6;}
   5187         
   5188 
   5189 fi
   5190 
   5191 
   5192 
   5193 @%:@ Check whether --with-libsodium-libs was given.
   5194 if test "${with_libsodium_libs+set}" = set; then :
   5195   withval=$with_libsodium_libs; 
   5196             LIBSODIUM_SEARCH_LIBS="$withval"
   5197             { $as_echo "$as_me:${as_lineno-$LINENO}: will search for libsodium libraries in $withval" >&5
   5198 $as_echo "$as_me: will search for libsodium libraries in $withval" >&6;}
   5199         
   5200 
   5201 fi
   5202 
   5203 
   5204 if test "x$WANT_NACL" = "xyes"; then
   5205     enable_shared=no
   5206     enable_static=yes
   5207 fi
   5208 
   5209 # Checks for programs.
   5210    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   5211 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   5212 if ${ac_cv_prog_cc_c99+:} false; then :
   5213   $as_echo_n "(cached) " >&6
   5214 else
   5215   ac_cv_prog_cc_c99=no
   5216 ac_save_CC=$CC
   5217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5218 /* end confdefs.h.  */
   5219 #include <stdarg.h>
   5220 #include <stdbool.h>
   5221 #include <stdlib.h>
   5222 #include <wchar.h>
   5223 #include <stdio.h>
   5224 
   5225 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   5226 #define debug(...) fprintf (stderr, __VA_ARGS__)
   5227 #define showlist(...) puts (#__VA_ARGS__)
   5228 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   5229 static void
   5230 test_varargs_macros (void)
   5231 {
   5232   int x = 1234;
   5233   int y = 5678;
   5234   debug ("Flag");
   5235   debug ("X = %d\n", x);
   5236   showlist (The first, second, and third items.);
   5237   report (x>y, "x is %d but y is %d", x, y);
   5238 }
   5239 
   5240 // Check long long types.
   5241 #define BIG64 18446744073709551615ull
   5242 #define BIG32 4294967295ul
   5243 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   5244 #if !BIG_OK
   5245   your preprocessor is broken;
   5246 #endif
   5247 #if BIG_OK
   5248 #else
   5249   your preprocessor is broken;
   5250 #endif
   5251 static long long int bignum = -9223372036854775807LL;
   5252 static unsigned long long int ubignum = BIG64;
   5253 
   5254 struct incomplete_array
   5255 {
   5256   int datasize;
   5257   double data[];
   5258 };
   5259 
   5260 struct named_init {
   5261   int number;
   5262   const wchar_t *name;
   5263   double average;
   5264 };
   5265 
   5266 typedef const char *ccp;
   5267 
   5268 static inline int
   5269 test_restrict (ccp restrict text)
   5270 {
   5271   // See if C++-style comments work.
   5272   // Iterate through items via the restricted pointer.
   5273   // Also check for declarations in for loops.
   5274   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   5275     continue;
   5276   return 0;
   5277 }
   5278 
   5279 // Check varargs and va_copy.
   5280 static void
   5281 test_varargs (const char *format, ...)
   5282 {
   5283   va_list args;
   5284   va_start (args, format);
   5285   va_list args_copy;
   5286   va_copy (args_copy, args);
   5287 
   5288   const char *str;
   5289   int number;
   5290   float fnumber;
   5291 
   5292   while (*format)
   5293     {
   5294       switch (*format++)
   5295 	{
   5296 	case 's': // string
   5297 	  str = va_arg (args_copy, const char *);
   5298 	  break;
   5299 	case 'd': // int
   5300 	  number = va_arg (args_copy, int);
   5301 	  break;
   5302 	case 'f': // float
   5303 	  fnumber = va_arg (args_copy, double);
   5304 	  break;
   5305 	default:
   5306 	  break;
   5307 	}
   5308     }
   5309   va_end (args_copy);
   5310   va_end (args);
   5311 }
   5312 
   5313 int
   5314 main ()
   5315 {
   5316 
   5317   // Check bool.
   5318   _Bool success = false;
   5319 
   5320   // Check restrict.
   5321   if (test_restrict ("String literal") == 0)
   5322     success = true;
   5323   char *restrict newvar = "Another string";
   5324 
   5325   // Check varargs.
   5326   test_varargs ("s, d' f .", "string", 65, 34.234);
   5327   test_varargs_macros ();
   5328 
   5329   // Check flexible array members.
   5330   struct incomplete_array *ia =
   5331     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   5332   ia->datasize = 10;
   5333   for (int i = 0; i < ia->datasize; ++i)
   5334     ia->data[i] = i * 1.234;
   5335 
   5336   // Check named initializers.
   5337   struct named_init ni = {
   5338     .number = 34,
   5339     .name = L"Test wide string",
   5340     .average = 543.34343,
   5341   };
   5342 
   5343   ni.number = 58;
   5344 
   5345   int dynamic_array[ni.number];
   5346   dynamic_array[ni.number - 1] = 543;
   5347 
   5348   // work around unused variable warnings
   5349   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   5350 	  || dynamic_array[ni.number - 1] != 543);
   5351 
   5352   ;
   5353   return 0;
   5354 }
   5355 _ACEOF
   5356 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   5357 do
   5358   CC="$ac_save_CC $ac_arg"
   5359   if ac_fn_c_try_compile "$LINENO"; then :
   5360   ac_cv_prog_cc_c99=$ac_arg
   5361 fi
   5362 rm -f core conftest.err conftest.$ac_objext
   5363   test "x$ac_cv_prog_cc_c99" != "xno" && break
   5364 done
   5365 rm -f conftest.$ac_ext
   5366 CC=$ac_save_CC
   5367 
   5368 fi
   5369 # AC_CACHE_VAL
   5370 case "x$ac_cv_prog_cc_c99" in
   5371   x)
   5372     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5373 $as_echo "none needed" >&6; } ;;
   5374   xno)
   5375     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5376 $as_echo "unsupported" >&6; } ;;
   5377   *)
   5378     CC="$CC $ac_cv_prog_cc_c99"
   5379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   5380 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   5381 esac
   5382 if test "x$ac_cv_prog_cc_c99" != xno; then :
   5383   
   5384 fi
   5385 
   5386 
   5387 
   5388 if test "x$ac_cv_prog_cc_c99" = "xno" ; then
   5389     as_fn_error $? "c-toxcore requires a C99 compatible compiler" "$LINENO" 5
   5390 fi
   5391 
   5392 
   5393 if test -n "$ac_tool_prefix"; then
   5394   for ac_prog in ar lib "link -lib"
   5395   do
   5396     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5397 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5399 $as_echo_n "checking for $ac_word... " >&6; }
   5400 if ${ac_cv_prog_AR+:} false; then :
   5401   $as_echo_n "(cached) " >&6
   5402 else
   5403   if test -n "$AR"; then
   5404   ac_cv_prog_AR="$AR" # Let the user override the test.
   5405 else
   5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5407 for as_dir in $PATH
   5408 do
   5409   IFS=$as_save_IFS
   5410   test -z "$as_dir" && as_dir=.
   5411     for ac_exec_ext in '' $ac_executable_extensions; do
   5412   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5413     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5415     break 2
   5416   fi
   5417 done
   5418   done
   5419 IFS=$as_save_IFS
   5420 
   5421 fi
   5422 fi
   5423 AR=$ac_cv_prog_AR
   5424 if test -n "$AR"; then
   5425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5426 $as_echo "$AR" >&6; }
   5427 else
   5428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5429 $as_echo "no" >&6; }
   5430 fi
   5431 
   5432 
   5433     test -n "$AR" && break
   5434   done
   5435 fi
   5436 if test -z "$AR"; then
   5437   ac_ct_AR=$AR
   5438   for ac_prog in ar lib "link -lib"
   5439 do
   5440   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5441 set dummy $ac_prog; ac_word=$2
   5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5443 $as_echo_n "checking for $ac_word... " >&6; }
   5444 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5445   $as_echo_n "(cached) " >&6
   5446 else
   5447   if test -n "$ac_ct_AR"; then
   5448   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5449 else
   5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5451 for as_dir in $PATH
   5452 do
   5453   IFS=$as_save_IFS
   5454   test -z "$as_dir" && as_dir=.
   5455     for ac_exec_ext in '' $ac_executable_extensions; do
   5456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5457     ac_cv_prog_ac_ct_AR="$ac_prog"
   5458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5459     break 2
   5460   fi
   5461 done
   5462   done
   5463 IFS=$as_save_IFS
   5464 
   5465 fi
   5466 fi
   5467 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5468 if test -n "$ac_ct_AR"; then
   5469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5470 $as_echo "$ac_ct_AR" >&6; }
   5471 else
   5472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5473 $as_echo "no" >&6; }
   5474 fi
   5475 
   5476 
   5477   test -n "$ac_ct_AR" && break
   5478 done
   5479 
   5480   if test "x$ac_ct_AR" = x; then
   5481     AR="false"
   5482   else
   5483     case $cross_compiling:$ac_tool_warned in
   5484 yes:)
   5485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5487 ac_tool_warned=yes ;;
   5488 esac
   5489     AR=$ac_ct_AR
   5490   fi
   5491 fi
   5492 
   5493 : ${AR=ar}
   5494 
   5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   5496 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
   5497 if ${am_cv_ar_interface+:} false; then :
   5498   $as_echo_n "(cached) " >&6
   5499 else
   5500   ac_ext=c
   5501 ac_cpp='$CPP $CPPFLAGS'
   5502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5505 
   5506    am_cv_ar_interface=ar
   5507    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5508 /* end confdefs.h.  */
   5509 int some_variable = 0;
   5510 _ACEOF
   5511 if ac_fn_c_try_compile "$LINENO"; then :
   5512   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   5513       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   5514   (eval $am_ar_try) 2>&5
   5515   ac_status=$?
   5516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5517   test $ac_status = 0; }
   5518       if test "$ac_status" -eq 0; then
   5519         am_cv_ar_interface=ar
   5520       else
   5521         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   5522         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   5523   (eval $am_ar_try) 2>&5
   5524   ac_status=$?
   5525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5526   test $ac_status = 0; }
   5527         if test "$ac_status" -eq 0; then
   5528           am_cv_ar_interface=lib
   5529         else
   5530           am_cv_ar_interface=unknown
   5531         fi
   5532       fi
   5533       rm -f conftest.lib libconftest.a
   5534      
   5535 fi
   5536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5537    ac_ext=c
   5538 ac_cpp='$CPP $CPPFLAGS'
   5539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5542 
   5543 fi
   5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   5545 $as_echo "$am_cv_ar_interface" >&6; }
   5546 
   5547 case $am_cv_ar_interface in
   5548 ar)
   5549   ;;
   5550 lib)
   5551   # Microsoft lib, so override with the ar-lib wrapper script.
   5552   # FIXME: It is wrong to rewrite AR.
   5553   # But if we don't then we get into trouble of one sort or another.
   5554   # A longer-term fix would be to have automake use am__AR in this case,
   5555   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   5556   # similar.
   5557   AR="$am_aux_dir/ar-lib $AR"
   5558   ;;
   5559 unknown)
   5560   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   5561   ;;
   5562 esac
   5563 
   5564 # Make sure we can run config.sub.
   5565 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   5566   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   5567 
   5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5569 $as_echo_n "checking build system type... " >&6; }
   5570 if ${ac_cv_build+:} false; then :
   5571   $as_echo_n "(cached) " >&6
   5572 else
   5573   ac_build_alias=$build_alias
   5574 test "x$ac_build_alias" = x &&
   5575   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   5576 test "x$ac_build_alias" = x &&
   5577   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5578 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   5579   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   5580 
   5581 fi
   5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5583 $as_echo "$ac_cv_build" >&6; }
   5584 case $ac_cv_build in
   5585 *-*-*) ;;
   5586 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5587 esac
   5588 build=$ac_cv_build
   5589 ac_save_IFS=$IFS; IFS='-'
   5590 set x $ac_cv_build
   5591 shift
   5592 build_cpu=$1
   5593 build_vendor=$2
   5594 shift; shift
   5595 # Remember, the first character of IFS is used to create $*,
   5596 # except with old shells:
   5597 build_os=$*
   5598 IFS=$ac_save_IFS
   5599 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5600 
   5601 
   5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5603 $as_echo_n "checking host system type... " >&6; }
   5604 if ${ac_cv_host+:} false; then :
   5605   $as_echo_n "(cached) " >&6
   5606 else
   5607   if test "x$host_alias" = x; then
   5608   ac_cv_host=$ac_cv_build
   5609 else
   5610   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5611     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5612 fi
   5613 
   5614 fi
   5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5616 $as_echo "$ac_cv_host" >&6; }
   5617 case $ac_cv_host in
   5618 *-*-*) ;;
   5619 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5620 esac
   5621 host=$ac_cv_host
   5622 ac_save_IFS=$IFS; IFS='-'
   5623 set x $ac_cv_host
   5624 shift
   5625 host_cpu=$1
   5626 host_vendor=$2
   5627 shift; shift
   5628 # Remember, the first character of IFS is used to create $*,
   5629 # except with old shells:
   5630 host_os=$*
   5631 IFS=$ac_save_IFS
   5632 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5633 
   5634 
   5635 enable_win32_dll=yes
   5636 
   5637 case $host in
   5638 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   5639   if test -n "$ac_tool_prefix"; then
   5640   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   5641 set dummy ${ac_tool_prefix}as; ac_word=$2
   5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5643 $as_echo_n "checking for $ac_word... " >&6; }
   5644 if ${ac_cv_prog_AS+:} false; then :
   5645   $as_echo_n "(cached) " >&6
   5646 else
   5647   if test -n "$AS"; then
   5648   ac_cv_prog_AS="$AS" # Let the user override the test.
   5649 else
   5650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5651 for as_dir in $PATH
   5652 do
   5653   IFS=$as_save_IFS
   5654   test -z "$as_dir" && as_dir=.
   5655     for ac_exec_ext in '' $ac_executable_extensions; do
   5656   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5657     ac_cv_prog_AS="${ac_tool_prefix}as"
   5658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5659     break 2
   5660   fi
   5661 done
   5662   done
   5663 IFS=$as_save_IFS
   5664 
   5665 fi
   5666 fi
   5667 AS=$ac_cv_prog_AS
   5668 if test -n "$AS"; then
   5669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   5670 $as_echo "$AS" >&6; }
   5671 else
   5672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5673 $as_echo "no" >&6; }
   5674 fi
   5675 
   5676 
   5677 fi
   5678 if test -z "$ac_cv_prog_AS"; then
   5679   ac_ct_AS=$AS
   5680   # Extract the first word of "as", so it can be a program name with args.
   5681 set dummy as; ac_word=$2
   5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5683 $as_echo_n "checking for $ac_word... " >&6; }
   5684 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   5685   $as_echo_n "(cached) " >&6
   5686 else
   5687   if test -n "$ac_ct_AS"; then
   5688   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   5689 else
   5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5691 for as_dir in $PATH
   5692 do
   5693   IFS=$as_save_IFS
   5694   test -z "$as_dir" && as_dir=.
   5695     for ac_exec_ext in '' $ac_executable_extensions; do
   5696   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5697     ac_cv_prog_ac_ct_AS="as"
   5698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5699     break 2
   5700   fi
   5701 done
   5702   done
   5703 IFS=$as_save_IFS
   5704 
   5705 fi
   5706 fi
   5707 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   5708 if test -n "$ac_ct_AS"; then
   5709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   5710 $as_echo "$ac_ct_AS" >&6; }
   5711 else
   5712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5713 $as_echo "no" >&6; }
   5714 fi
   5715 
   5716   if test "x$ac_ct_AS" = x; then
   5717     AS="false"
   5718   else
   5719     case $cross_compiling:$ac_tool_warned in
   5720 yes:)
   5721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5723 ac_tool_warned=yes ;;
   5724 esac
   5725     AS=$ac_ct_AS
   5726   fi
   5727 else
   5728   AS="$ac_cv_prog_AS"
   5729 fi
   5730 
   5731   if test -n "$ac_tool_prefix"; then
   5732   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5733 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5735 $as_echo_n "checking for $ac_word... " >&6; }
   5736 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5737   $as_echo_n "(cached) " >&6
   5738 else
   5739   if test -n "$DLLTOOL"; then
   5740   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5741 else
   5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5743 for as_dir in $PATH
   5744 do
   5745   IFS=$as_save_IFS
   5746   test -z "$as_dir" && as_dir=.
   5747     for ac_exec_ext in '' $ac_executable_extensions; do
   5748   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5749     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5750     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5751     break 2
   5752   fi
   5753 done
   5754   done
   5755 IFS=$as_save_IFS
   5756 
   5757 fi
   5758 fi
   5759 DLLTOOL=$ac_cv_prog_DLLTOOL
   5760 if test -n "$DLLTOOL"; then
   5761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5762 $as_echo "$DLLTOOL" >&6; }
   5763 else
   5764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5765 $as_echo "no" >&6; }
   5766 fi
   5767 
   5768 
   5769 fi
   5770 if test -z "$ac_cv_prog_DLLTOOL"; then
   5771   ac_ct_DLLTOOL=$DLLTOOL
   5772   # Extract the first word of "dlltool", so it can be a program name with args.
   5773 set dummy dlltool; ac_word=$2
   5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5775 $as_echo_n "checking for $ac_word... " >&6; }
   5776 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5777   $as_echo_n "(cached) " >&6
   5778 else
   5779   if test -n "$ac_ct_DLLTOOL"; then
   5780   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5781 else
   5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5783 for as_dir in $PATH
   5784 do
   5785   IFS=$as_save_IFS
   5786   test -z "$as_dir" && as_dir=.
   5787     for ac_exec_ext in '' $ac_executable_extensions; do
   5788   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5789     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5791     break 2
   5792   fi
   5793 done
   5794   done
   5795 IFS=$as_save_IFS
   5796 
   5797 fi
   5798 fi
   5799 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5800 if test -n "$ac_ct_DLLTOOL"; then
   5801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5802 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5803 else
   5804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5805 $as_echo "no" >&6; }
   5806 fi
   5807 
   5808   if test "x$ac_ct_DLLTOOL" = x; then
   5809     DLLTOOL="false"
   5810   else
   5811     case $cross_compiling:$ac_tool_warned in
   5812 yes:)
   5813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5815 ac_tool_warned=yes ;;
   5816 esac
   5817     DLLTOOL=$ac_ct_DLLTOOL
   5818   fi
   5819 else
   5820   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5821 fi
   5822 
   5823   if test -n "$ac_tool_prefix"; then
   5824   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5825 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5827 $as_echo_n "checking for $ac_word... " >&6; }
   5828 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5829   $as_echo_n "(cached) " >&6
   5830 else
   5831   if test -n "$OBJDUMP"; then
   5832   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5833 else
   5834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5835 for as_dir in $PATH
   5836 do
   5837   IFS=$as_save_IFS
   5838   test -z "$as_dir" && as_dir=.
   5839     for ac_exec_ext in '' $ac_executable_extensions; do
   5840   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5841     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5843     break 2
   5844   fi
   5845 done
   5846   done
   5847 IFS=$as_save_IFS
   5848 
   5849 fi
   5850 fi
   5851 OBJDUMP=$ac_cv_prog_OBJDUMP
   5852 if test -n "$OBJDUMP"; then
   5853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5854 $as_echo "$OBJDUMP" >&6; }
   5855 else
   5856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5857 $as_echo "no" >&6; }
   5858 fi
   5859 
   5860 
   5861 fi
   5862 if test -z "$ac_cv_prog_OBJDUMP"; then
   5863   ac_ct_OBJDUMP=$OBJDUMP
   5864   # Extract the first word of "objdump", so it can be a program name with args.
   5865 set dummy objdump; ac_word=$2
   5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5867 $as_echo_n "checking for $ac_word... " >&6; }
   5868 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5869   $as_echo_n "(cached) " >&6
   5870 else
   5871   if test -n "$ac_ct_OBJDUMP"; then
   5872   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5873 else
   5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5875 for as_dir in $PATH
   5876 do
   5877   IFS=$as_save_IFS
   5878   test -z "$as_dir" && as_dir=.
   5879     for ac_exec_ext in '' $ac_executable_extensions; do
   5880   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5881     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5883     break 2
   5884   fi
   5885 done
   5886   done
   5887 IFS=$as_save_IFS
   5888 
   5889 fi
   5890 fi
   5891 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5892 if test -n "$ac_ct_OBJDUMP"; then
   5893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5894 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5895 else
   5896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5897 $as_echo "no" >&6; }
   5898 fi
   5899 
   5900   if test "x$ac_ct_OBJDUMP" = x; then
   5901     OBJDUMP="false"
   5902   else
   5903     case $cross_compiling:$ac_tool_warned in
   5904 yes:)
   5905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5907 ac_tool_warned=yes ;;
   5908 esac
   5909     OBJDUMP=$ac_ct_OBJDUMP
   5910   fi
   5911 else
   5912   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5913 fi
   5914 
   5915   ;;
   5916 esac
   5917 
   5918 test -z "$AS" && AS=as
   5919 
   5920     
   5921     
   5922     
   5923 
   5924 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5925 
   5926     
   5927     
   5928     
   5929 
   5930 test -z "$OBJDUMP" && OBJDUMP=objdump
   5931 
   5932     
   5933     
   5934     
   5935 
   5936 
   5937 
   5938 case `pwd` in
   5939   *\ * | *\	*)
   5940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5941 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5942 esac
   5943 
   5944 
   5945 
   5946 macro_version='2.4.6'
   5947 macro_revision='2.4.6'
   5948 
   5949     
   5950     
   5951     
   5952 
   5953 
   5954     
   5955     
   5956     
   5957 
   5958 
   5959 
   5960 
   5961 ltmain=$ac_aux_dir/ltmain.sh
   5962 
   5963 # Backslashify metacharacters that are still active within
   5964 # double-quoted strings.
   5965 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5966 
   5967 # Same as above, but do not quote variable references.
   5968 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5969 
   5970 # Sed substitution to delay expansion of an escaped shell variable in a
   5971 # double_quote_subst'ed string.
   5972 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5973 
   5974 # Sed substitution to delay expansion of an escaped single quote.
   5975 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5976 
   5977 # Sed substitution to avoid accidental globbing in evaled expressions
   5978 no_glob_subst='s/\*/\\\*/g'
   5979 
   5980 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5981 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5982 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5983 
   5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5985 $as_echo_n "checking how to print strings... " >&6; }
   5986 # Test print first, because it will be a builtin if present.
   5987 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5988    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5989   ECHO='print -r --'
   5990 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5991   ECHO='printf %s\n'
   5992 else
   5993   # Use this function as a fallback that always works.
   5994   func_fallback_echo ()
   5995   {
   5996     eval 'cat <<_LTECHO_EOF
   5997 $1
   5998 _LTECHO_EOF'
   5999   }
   6000   ECHO='func_fallback_echo'
   6001 fi
   6002 
   6003 # func_echo_all arg...
   6004 # Invoke $ECHO with all args, space-separated.
   6005 func_echo_all ()
   6006 {
   6007     $ECHO ""
   6008 }
   6009 
   6010 case $ECHO in
   6011   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6012 $as_echo "printf" >&6; } ;;
   6013   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6014 $as_echo "print -r" >&6; } ;;
   6015   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6016 $as_echo "cat" >&6; } ;;
   6017 esac
   6018 
   6019 
   6020 
   6021 
   6022     
   6023     
   6024     
   6025 
   6026 
   6027     
   6028     
   6029     
   6030 
   6031 
   6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6033 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   6034 if ${ac_cv_path_SED+:} false; then :
   6035   $as_echo_n "(cached) " >&6
   6036 else
   6037             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6038      for ac_i in 1 2 3 4 5 6 7; do
   6039        ac_script="$ac_script$as_nl$ac_script"
   6040      done
   6041      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6042      { ac_script=; unset ac_script;}
   6043      if test -z "$SED"; then
   6044   ac_path_SED_found=false
   6045   # Loop through the user's path and test for each of PROGNAME-LIST
   6046   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6047 for as_dir in $PATH
   6048 do
   6049   IFS=$as_save_IFS
   6050   test -z "$as_dir" && as_dir=.
   6051     for ac_prog in sed gsed; do
   6052     for ac_exec_ext in '' $ac_executable_extensions; do
   6053       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6054       as_fn_executable_p "$ac_path_SED" || continue
   6055 # Check for GNU ac_path_SED and select it if it is found.
   6056   # Check for GNU $ac_path_SED
   6057 case `"$ac_path_SED" --version 2>&1` in
   6058 *GNU*)
   6059   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6060 *)
   6061   ac_count=0
   6062   $as_echo_n 0123456789 >"conftest.in"
   6063   while :
   6064   do
   6065     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6066     mv "conftest.tmp" "conftest.in"
   6067     cp "conftest.in" "conftest.nl"
   6068     $as_echo '' >> "conftest.nl"
   6069     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6070     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6071     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6072     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6073       # Best one so far, save it but keep looking for a better one
   6074       ac_cv_path_SED="$ac_path_SED"
   6075       ac_path_SED_max=$ac_count
   6076     fi
   6077     # 10*(2^10) chars as input seems more than enough
   6078     test $ac_count -gt 10 && break
   6079   done
   6080   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6081 esac
   6082 
   6083       $ac_path_SED_found && break 3
   6084     done
   6085   done
   6086   done
   6087 IFS=$as_save_IFS
   6088   if test -z "$ac_cv_path_SED"; then
   6089     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6090   fi
   6091 else
   6092   ac_cv_path_SED=$SED
   6093 fi
   6094 
   6095 fi
   6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6097 $as_echo "$ac_cv_path_SED" >&6; }
   6098  SED="$ac_cv_path_SED"
   6099   rm -f conftest.sed
   6100 
   6101 test -z "$SED" && SED=sed
   6102 Xsed="$SED -e 1s/^X//"
   6103 
   6104     
   6105     
   6106     
   6107 
   6108 
   6109     
   6110     
   6111     
   6112 
   6113 
   6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6115 $as_echo_n "checking for fgrep... " >&6; }
   6116 if ${ac_cv_path_FGREP+:} false; then :
   6117   $as_echo_n "(cached) " >&6
   6118 else
   6119   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6120    then ac_cv_path_FGREP="$GREP -F"
   6121    else
   6122      if test -z "$FGREP"; then
   6123   ac_path_FGREP_found=false
   6124   # Loop through the user's path and test for each of PROGNAME-LIST
   6125   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6126 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6127 do
   6128   IFS=$as_save_IFS
   6129   test -z "$as_dir" && as_dir=.
   6130     for ac_prog in fgrep; do
   6131     for ac_exec_ext in '' $ac_executable_extensions; do
   6132       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   6133       as_fn_executable_p "$ac_path_FGREP" || continue
   6134 # Check for GNU ac_path_FGREP and select it if it is found.
   6135   # Check for GNU $ac_path_FGREP
   6136 case `"$ac_path_FGREP" --version 2>&1` in
   6137 *GNU*)
   6138   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6139 *)
   6140   ac_count=0
   6141   $as_echo_n 0123456789 >"conftest.in"
   6142   while :
   6143   do
   6144     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6145     mv "conftest.tmp" "conftest.in"
   6146     cp "conftest.in" "conftest.nl"
   6147     $as_echo 'FGREP' >> "conftest.nl"
   6148     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6149     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6150     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6151     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6152       # Best one so far, save it but keep looking for a better one
   6153       ac_cv_path_FGREP="$ac_path_FGREP"
   6154       ac_path_FGREP_max=$ac_count
   6155     fi
   6156     # 10*(2^10) chars as input seems more than enough
   6157     test $ac_count -gt 10 && break
   6158   done
   6159   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6160 esac
   6161 
   6162       $ac_path_FGREP_found && break 3
   6163     done
   6164   done
   6165   done
   6166 IFS=$as_save_IFS
   6167   if test -z "$ac_cv_path_FGREP"; then
   6168     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6169   fi
   6170 else
   6171   ac_cv_path_FGREP=$FGREP
   6172 fi
   6173 
   6174    fi
   6175 fi
   6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6177 $as_echo "$ac_cv_path_FGREP" >&6; }
   6178  FGREP="$ac_cv_path_FGREP"
   6179  
   6180 
   6181 test -z "$GREP" && GREP=grep
   6182 
   6183     
   6184     
   6185     
   6186 
   6187 
   6188     
   6189     
   6190     
   6191 
   6192 
   6193     
   6194     
   6195     
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 @%:@ Check whether --with-gnu-ld was given.
   6202 if test "${with_gnu_ld+set}" = set; then :
   6203   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   6204 else
   6205   with_gnu_ld=no
   6206 fi
   6207 
   6208 ac_prog=ld
   6209 if test yes = "$GCC"; then
   6210   # Check if gcc -print-prog-name=ld gives a path.
   6211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6212 $as_echo_n "checking for ld used by $CC... " >&6; }
   6213   case $host in
   6214   *-*-mingw*)
   6215     # gcc leaves a trailing carriage return, which upsets mingw
   6216     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6217   *)
   6218     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6219   esac
   6220   case $ac_prog in
   6221     # Accept absolute paths.
   6222     [\\/]* | ?:[\\/]*)
   6223       re_direlt='/[^/][^/]*/\.\./'
   6224       # Canonicalize the pathname of ld
   6225       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6226       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6227 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6228       done
   6229       test -z "$LD" && LD=$ac_prog
   6230       ;;
   6231   "")
   6232     # If it fails, then pretend we aren't using GCC.
   6233     ac_prog=ld
   6234     ;;
   6235   *)
   6236     # If it is relative, then search for the first ld in PATH.
   6237     with_gnu_ld=unknown
   6238     ;;
   6239   esac
   6240 elif test yes = "$with_gnu_ld"; then
   6241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6242 $as_echo_n "checking for GNU ld... " >&6; }
   6243 else
   6244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6245 $as_echo_n "checking for non-GNU ld... " >&6; }
   6246 fi
   6247 if ${lt_cv_path_LD+:} false; then :
   6248   $as_echo_n "(cached) " >&6
   6249 else
   6250   if test -z "$LD"; then
   6251   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6252   for ac_dir in $PATH; do
   6253     IFS=$lt_save_ifs
   6254     test -z "$ac_dir" && ac_dir=.
   6255     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6256       lt_cv_path_LD=$ac_dir/$ac_prog
   6257       # Check to see if the program is GNU ld.  I'd rather use --version,
   6258       # but apparently some variants of GNU ld only accept -v.
   6259       # Break only if it was the GNU/non-GNU ld that we prefer.
   6260       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6261       *GNU* | *'with BFD'*)
   6262 	test no != "$with_gnu_ld" && break
   6263 	;;
   6264       *)
   6265 	test yes != "$with_gnu_ld" && break
   6266 	;;
   6267       esac
   6268     fi
   6269   done
   6270   IFS=$lt_save_ifs
   6271 else
   6272   lt_cv_path_LD=$LD # Let the user override the test with a path.
   6273 fi
   6274 fi
   6275 
   6276 LD=$lt_cv_path_LD
   6277 if test -n "$LD"; then
   6278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6279 $as_echo "$LD" >&6; }
   6280 else
   6281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6282 $as_echo "no" >&6; }
   6283 fi
   6284 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6286 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6287 if ${lt_cv_prog_gnu_ld+:} false; then :
   6288   $as_echo_n "(cached) " >&6
   6289 else
   6290   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6291 case `$LD -v 2>&1 </dev/null` in
   6292 *GNU* | *'with BFD'*)
   6293   lt_cv_prog_gnu_ld=yes
   6294   ;;
   6295 *)
   6296   lt_cv_prog_gnu_ld=no
   6297   ;;
   6298 esac
   6299 fi
   6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6301 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6302 with_gnu_ld=$lt_cv_prog_gnu_ld
   6303 
   6304 
   6305 
   6306 
   6307     
   6308     
   6309     
   6310 
   6311 
   6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6313 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6314 if ${lt_cv_path_NM+:} false; then :
   6315   $as_echo_n "(cached) " >&6
   6316 else
   6317   if test -n "$NM"; then
   6318   # Let the user override the test.
   6319   lt_cv_path_NM=$NM
   6320 else
   6321   lt_nm_to_check=${ac_tool_prefix}nm
   6322   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6323     lt_nm_to_check="$lt_nm_to_check nm"
   6324   fi
   6325   for lt_tmp_nm in $lt_nm_to_check; do
   6326     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6327     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6328       IFS=$lt_save_ifs
   6329       test -z "$ac_dir" && ac_dir=.
   6330       tmp_nm=$ac_dir/$lt_tmp_nm
   6331       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   6332 	# Check to see if the nm accepts a BSD-compat flag.
   6333 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   6334 	#   nm: unknown option "B" ignored
   6335 	# Tru64's nm complains that /dev/null is an invalid object file
   6336 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   6337 	case $build_os in
   6338 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   6339 	*) lt_bad_file=/dev/null ;;
   6340 	esac
   6341 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   6342 	*$lt_bad_file* | *'Invalid file or object type'*)
   6343 	  lt_cv_path_NM="$tmp_nm -B"
   6344 	  break 2
   6345 	  ;;
   6346 	*)
   6347 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   6348 	  */dev/null*)
   6349 	    lt_cv_path_NM="$tmp_nm -p"
   6350 	    break 2
   6351 	    ;;
   6352 	  *)
   6353 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6354 	    continue # so that we can try to find one that supports BSD flags
   6355 	    ;;
   6356 	  esac
   6357 	  ;;
   6358 	esac
   6359       fi
   6360     done
   6361     IFS=$lt_save_ifs
   6362   done
   6363   : ${lt_cv_path_NM=no}
   6364 fi
   6365 fi
   6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6367 $as_echo "$lt_cv_path_NM" >&6; }
   6368 if test no != "$lt_cv_path_NM"; then
   6369   NM=$lt_cv_path_NM
   6370 else
   6371   # Didn't find any BSD compatible name lister, look for dumpbin.
   6372   if test -n "$DUMPBIN"; then :
   6373     # Let the user override the test.
   6374   else
   6375     if test -n "$ac_tool_prefix"; then
   6376   for ac_prog in dumpbin "link -dump"
   6377   do
   6378     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6379 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6381 $as_echo_n "checking for $ac_word... " >&6; }
   6382 if ${ac_cv_prog_DUMPBIN+:} false; then :
   6383   $as_echo_n "(cached) " >&6
   6384 else
   6385   if test -n "$DUMPBIN"; then
   6386   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6387 else
   6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6389 for as_dir in $PATH
   6390 do
   6391   IFS=$as_save_IFS
   6392   test -z "$as_dir" && as_dir=.
   6393     for ac_exec_ext in '' $ac_executable_extensions; do
   6394   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6395     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6397     break 2
   6398   fi
   6399 done
   6400   done
   6401 IFS=$as_save_IFS
   6402 
   6403 fi
   6404 fi
   6405 DUMPBIN=$ac_cv_prog_DUMPBIN
   6406 if test -n "$DUMPBIN"; then
   6407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6408 $as_echo "$DUMPBIN" >&6; }
   6409 else
   6410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6411 $as_echo "no" >&6; }
   6412 fi
   6413 
   6414 
   6415     test -n "$DUMPBIN" && break
   6416   done
   6417 fi
   6418 if test -z "$DUMPBIN"; then
   6419   ac_ct_DUMPBIN=$DUMPBIN
   6420   for ac_prog in dumpbin "link -dump"
   6421 do
   6422   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6423 set dummy $ac_prog; ac_word=$2
   6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6425 $as_echo_n "checking for $ac_word... " >&6; }
   6426 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6427   $as_echo_n "(cached) " >&6
   6428 else
   6429   if test -n "$ac_ct_DUMPBIN"; then
   6430   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6431 else
   6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6433 for as_dir in $PATH
   6434 do
   6435   IFS=$as_save_IFS
   6436   test -z "$as_dir" && as_dir=.
   6437     for ac_exec_ext in '' $ac_executable_extensions; do
   6438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6439     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6441     break 2
   6442   fi
   6443 done
   6444   done
   6445 IFS=$as_save_IFS
   6446 
   6447 fi
   6448 fi
   6449 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6450 if test -n "$ac_ct_DUMPBIN"; then
   6451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6452 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6453 else
   6454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6455 $as_echo "no" >&6; }
   6456 fi
   6457 
   6458 
   6459   test -n "$ac_ct_DUMPBIN" && break
   6460 done
   6461 
   6462   if test "x$ac_ct_DUMPBIN" = x; then
   6463     DUMPBIN=":"
   6464   else
   6465     case $cross_compiling:$ac_tool_warned in
   6466 yes:)
   6467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6469 ac_tool_warned=yes ;;
   6470 esac
   6471     DUMPBIN=$ac_ct_DUMPBIN
   6472   fi
   6473 fi
   6474 
   6475     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   6476     *COFF*)
   6477       DUMPBIN="$DUMPBIN -symbols -headers"
   6478       ;;
   6479     *)
   6480       DUMPBIN=:
   6481       ;;
   6482     esac
   6483   fi
   6484   
   6485   if test : != "$DUMPBIN"; then
   6486     NM=$DUMPBIN
   6487   fi
   6488 fi
   6489 test -z "$NM" && NM=nm
   6490 
   6491 
   6492     
   6493     
   6494     
   6495 
   6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6497 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6498 if ${lt_cv_nm_interface+:} false; then :
   6499   $as_echo_n "(cached) " >&6
   6500 else
   6501   lt_cv_nm_interface="BSD nm"
   6502   echo "int some_variable = 0;" > conftest.$ac_ext
   6503   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6504   (eval "$ac_compile" 2>conftest.err)
   6505   cat conftest.err >&5
   6506   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6507   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6508   cat conftest.err >&5
   6509   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6510   cat conftest.out >&5
   6511   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6512     lt_cv_nm_interface="MS dumpbin"
   6513   fi
   6514   rm -f conftest*
   6515 fi
   6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6517 $as_echo "$lt_cv_nm_interface" >&6; }
   6518 
   6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6520 $as_echo_n "checking whether ln -s works... " >&6; }
   6521 LN_S=$as_ln_s
   6522 if test "$LN_S" = "ln -s"; then
   6523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6524 $as_echo "yes" >&6; }
   6525 else
   6526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6527 $as_echo "no, using $LN_S" >&6; }
   6528 fi
   6529 
   6530 # find the maximum length of command line arguments
   6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6532 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6533 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6534   $as_echo_n "(cached) " >&6
   6535 else
   6536     i=0
   6537   teststring=ABCD
   6538 
   6539   case $build_os in
   6540   msdosdjgpp*)
   6541     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6542     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6543     # during glob expansion).  Even if it were fixed, the result of this
   6544     # check would be larger than it should be.
   6545     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6546     ;;
   6547 
   6548   gnu*)
   6549     # Under GNU Hurd, this test is not required because there is
   6550     # no limit to the length of command line arguments.
   6551     # Libtool will interpret -1 as no limit whatsoever
   6552     lt_cv_sys_max_cmd_len=-1;
   6553     ;;
   6554 
   6555   cygwin* | mingw* | cegcc*)
   6556     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6557     # about 5 minutes as the teststring grows exponentially.
   6558     # Worse, since 9x/ME are not pre-emptively multitasking,
   6559     # you end up with a "frozen" computer, even though with patience
   6560     # the test eventually succeeds (with a max line length of 256k).
   6561     # Instead, let's just punt: use the minimum linelength reported by
   6562     # all of the supported platforms: 8192 (on NT/2K/XP).
   6563     lt_cv_sys_max_cmd_len=8192;
   6564     ;;
   6565 
   6566   mint*)
   6567     # On MiNT this can take a long time and run out of memory.
   6568     lt_cv_sys_max_cmd_len=8192;
   6569     ;;
   6570 
   6571   amigaos*)
   6572     # On AmigaOS with pdksh, this test takes hours, literally.
   6573     # So we just punt and use a minimum line length of 8192.
   6574     lt_cv_sys_max_cmd_len=8192;
   6575     ;;
   6576 
   6577   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   6578     # This has been around since 386BSD, at least.  Likely further.
   6579     if test -x /sbin/sysctl; then
   6580       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6581     elif test -x /usr/sbin/sysctl; then
   6582       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6583     else
   6584       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6585     fi
   6586     # And add a safety zone
   6587     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6588     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6589     ;;
   6590 
   6591   interix*)
   6592     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6593     lt_cv_sys_max_cmd_len=196608
   6594     ;;
   6595 
   6596   os2*)
   6597     # The test takes a long time on OS/2.
   6598     lt_cv_sys_max_cmd_len=8192
   6599     ;;
   6600 
   6601   osf*)
   6602     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6603     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6604     # nice to cause kernel panics so lets avoid the loop below.
   6605     # First set a reasonable default.
   6606     lt_cv_sys_max_cmd_len=16384
   6607     #
   6608     if test -x /sbin/sysconfig; then
   6609       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6610         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6611       esac
   6612     fi
   6613     ;;
   6614   sco3.2v5*)
   6615     lt_cv_sys_max_cmd_len=102400
   6616     ;;
   6617   sysv5* | sco5v6* | sysv4.2uw2*)
   6618     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6619     if test -n "$kargmax"; then
   6620       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6621     else
   6622       lt_cv_sys_max_cmd_len=32768
   6623     fi
   6624     ;;
   6625   *)
   6626     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6627     if test -n "$lt_cv_sys_max_cmd_len" && \
   6628        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6629       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6630       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6631     else
   6632       # Make teststring a little bigger before we do anything with it.
   6633       # a 1K string should be a reasonable start.
   6634       for i in 1 2 3 4 5 6 7 8; do
   6635         teststring=$teststring$teststring
   6636       done
   6637       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6638       # If test is not a shell built-in, we'll probably end up computing a
   6639       # maximum length that is only half of the actual maximum length, but
   6640       # we can't tell.
   6641       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6642 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6643 	      test 17 != "$i" # 1/2 MB should be enough
   6644       do
   6645         i=`expr $i + 1`
   6646         teststring=$teststring$teststring
   6647       done
   6648       # Only check the string length outside the loop.
   6649       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6650       teststring=
   6651       # Add a significant safety factor because C++ compilers can tack on
   6652       # massive amounts of additional arguments before passing them to the
   6653       # linker.  It appears as though 1/2 is a usable value.
   6654       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6655     fi
   6656     ;;
   6657   esac
   6658 
   6659 fi
   6660 
   6661 if test -n "$lt_cv_sys_max_cmd_len"; then
   6662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6663 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6664 else
   6665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6666 $as_echo "none" >&6; }
   6667 fi
   6668 max_cmd_len=$lt_cv_sys_max_cmd_len
   6669 
   6670     
   6671     
   6672     
   6673 
   6674 
   6675 : ${CP="cp -f"}
   6676 : ${MV="mv -f"}
   6677 : ${RM="rm -f"}
   6678 
   6679 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6680   lt_unset=unset
   6681 else
   6682   lt_unset=false
   6683 fi
   6684 
   6685     
   6686     
   6687     
   6688 
   6689 # test EBCDIC or ASCII
   6690 case `echo X|tr X '\101'` in
   6691  A) # ASCII based system
   6692     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6693   lt_SP2NL='tr \040 \012'
   6694   lt_NL2SP='tr \015\012 \040\040'
   6695   ;;
   6696  *) # EBCDIC based system
   6697   lt_SP2NL='tr \100 \n'
   6698   lt_NL2SP='tr \r\n \100\100'
   6699   ;;
   6700 esac
   6701 
   6702     
   6703     
   6704     
   6705 
   6706     
   6707     
   6708     
   6709 
   6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6711 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   6712 if ${lt_cv_to_host_file_cmd+:} false; then :
   6713   $as_echo_n "(cached) " >&6
   6714 else
   6715   case $host in
   6716   *-*-mingw* )
   6717     case $build in
   6718       *-*-mingw* ) # actually msys
   6719         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6720         ;;
   6721       *-*-cygwin* )
   6722         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6723         ;;
   6724       * ) # otherwise, assume *nix
   6725         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6726         ;;
   6727     esac
   6728     ;;
   6729   *-*-cygwin* )
   6730     case $build in
   6731       *-*-mingw* ) # actually msys
   6732         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6733         ;;
   6734       *-*-cygwin* )
   6735         lt_cv_to_host_file_cmd=func_convert_file_noop
   6736         ;;
   6737       * ) # otherwise, assume *nix
   6738         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6739         ;;
   6740     esac
   6741     ;;
   6742   * ) # unhandled hosts (and "normal" native builds)
   6743     lt_cv_to_host_file_cmd=func_convert_file_noop
   6744     ;;
   6745 esac
   6746 
   6747 fi
   6748 
   6749 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6751 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   6752 
   6753     
   6754     
   6755     
   6756 
   6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6758 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   6759 if ${lt_cv_to_tool_file_cmd+:} false; then :
   6760   $as_echo_n "(cached) " >&6
   6761 else
   6762   #assume ordinary cross tools, or native build.
   6763 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6764 case $host in
   6765   *-*-mingw* )
   6766     case $build in
   6767       *-*-mingw* ) # actually msys
   6768         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6769         ;;
   6770     esac
   6771     ;;
   6772 esac
   6773 
   6774 fi
   6775 
   6776 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6778 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   6779 
   6780     
   6781     
   6782     
   6783 
   6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6785 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6786 if ${lt_cv_ld_reload_flag+:} false; then :
   6787   $as_echo_n "(cached) " >&6
   6788 else
   6789   lt_cv_ld_reload_flag='-r'
   6790 fi
   6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6792 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6793 reload_flag=$lt_cv_ld_reload_flag
   6794 case $reload_flag in
   6795 "" | " "*) ;;
   6796 *) reload_flag=" $reload_flag" ;;
   6797 esac
   6798 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6799 case $host_os in
   6800   cygwin* | mingw* | pw32* | cegcc*)
   6801     if test yes != "$GCC"; then
   6802       reload_cmds=false
   6803     fi
   6804     ;;
   6805   darwin*)
   6806     if test yes = "$GCC"; then
   6807       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6808     else
   6809       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6810     fi
   6811     ;;
   6812 esac
   6813 
   6814     
   6815     
   6816     
   6817 
   6818     
   6819     
   6820     
   6821 
   6822 if test -n "$ac_tool_prefix"; then
   6823   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6824 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6826 $as_echo_n "checking for $ac_word... " >&6; }
   6827 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6828   $as_echo_n "(cached) " >&6
   6829 else
   6830   if test -n "$OBJDUMP"; then
   6831   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6832 else
   6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6834 for as_dir in $PATH
   6835 do
   6836   IFS=$as_save_IFS
   6837   test -z "$as_dir" && as_dir=.
   6838     for ac_exec_ext in '' $ac_executable_extensions; do
   6839   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6840     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6842     break 2
   6843   fi
   6844 done
   6845   done
   6846 IFS=$as_save_IFS
   6847 
   6848 fi
   6849 fi
   6850 OBJDUMP=$ac_cv_prog_OBJDUMP
   6851 if test -n "$OBJDUMP"; then
   6852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6853 $as_echo "$OBJDUMP" >&6; }
   6854 else
   6855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6856 $as_echo "no" >&6; }
   6857 fi
   6858 
   6859 
   6860 fi
   6861 if test -z "$ac_cv_prog_OBJDUMP"; then
   6862   ac_ct_OBJDUMP=$OBJDUMP
   6863   # Extract the first word of "objdump", so it can be a program name with args.
   6864 set dummy objdump; ac_word=$2
   6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6866 $as_echo_n "checking for $ac_word... " >&6; }
   6867 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6868   $as_echo_n "(cached) " >&6
   6869 else
   6870   if test -n "$ac_ct_OBJDUMP"; then
   6871   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6872 else
   6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6874 for as_dir in $PATH
   6875 do
   6876   IFS=$as_save_IFS
   6877   test -z "$as_dir" && as_dir=.
   6878     for ac_exec_ext in '' $ac_executable_extensions; do
   6879   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6880     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6881     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6882     break 2
   6883   fi
   6884 done
   6885   done
   6886 IFS=$as_save_IFS
   6887 
   6888 fi
   6889 fi
   6890 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6891 if test -n "$ac_ct_OBJDUMP"; then
   6892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6893 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6894 else
   6895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6896 $as_echo "no" >&6; }
   6897 fi
   6898 
   6899   if test "x$ac_ct_OBJDUMP" = x; then
   6900     OBJDUMP="false"
   6901   else
   6902     case $cross_compiling:$ac_tool_warned in
   6903 yes:)
   6904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6906 ac_tool_warned=yes ;;
   6907 esac
   6908     OBJDUMP=$ac_ct_OBJDUMP
   6909   fi
   6910 else
   6911   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6912 fi
   6913 
   6914 test -z "$OBJDUMP" && OBJDUMP=objdump
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6922 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6923 if ${lt_cv_deplibs_check_method+:} false; then :
   6924   $as_echo_n "(cached) " >&6
   6925 else
   6926   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6927 lt_cv_file_magic_test_file=
   6928 lt_cv_deplibs_check_method='unknown'
   6929 # Need to set the preceding variable on all platforms that support
   6930 # interlibrary dependencies.
   6931 # 'none' -- dependencies not supported.
   6932 # 'unknown' -- same as none, but documents that we really don't know.
   6933 # 'pass_all' -- all dependencies passed with no checks.
   6934 # 'test_compile' -- check by making test program.
   6935 # 'file_magic [[regex]]' -- check by looking for files in library path
   6936 # that responds to the $file_magic_cmd with a given extended regex.
   6937 # If you have 'file' or equivalent on your system and you're not sure
   6938 # whether 'pass_all' will *always* work, you probably want this one.
   6939 
   6940 case $host_os in
   6941 aix[4-9]*)
   6942   lt_cv_deplibs_check_method=pass_all
   6943   ;;
   6944 
   6945 beos*)
   6946   lt_cv_deplibs_check_method=pass_all
   6947   ;;
   6948 
   6949 bsdi[45]*)
   6950   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6951   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6952   lt_cv_file_magic_test_file=/shlib/libc.so
   6953   ;;
   6954 
   6955 cygwin*)
   6956   # func_win32_libid is a shell function defined in ltmain.sh
   6957   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6958   lt_cv_file_magic_cmd='func_win32_libid'
   6959   ;;
   6960 
   6961 mingw* | pw32*)
   6962   # Base MSYS/MinGW do not provide the 'file' command needed by
   6963   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6964   # unless we find 'file', for example because we are cross-compiling.
   6965   if ( file / ) >/dev/null 2>&1; then
   6966     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6967     lt_cv_file_magic_cmd='func_win32_libid'
   6968   else
   6969     # Keep this pattern in sync with the one in func_win32_libid.
   6970     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6971     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6972   fi
   6973   ;;
   6974 
   6975 cegcc*)
   6976   # use the weaker test based on 'objdump'. See mingw*.
   6977   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6978   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6979   ;;
   6980 
   6981 darwin* | rhapsody*)
   6982   lt_cv_deplibs_check_method=pass_all
   6983   ;;
   6984 
   6985 freebsd* | dragonfly*)
   6986   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6987     case $host_cpu in
   6988     i*86 )
   6989       # Not sure whether the presence of OpenBSD here was a mistake.
   6990       # Let's accept both of them until this is cleared up.
   6991       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6992       lt_cv_file_magic_cmd=/usr/bin/file
   6993       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6994       ;;
   6995     esac
   6996   else
   6997     lt_cv_deplibs_check_method=pass_all
   6998   fi
   6999   ;;
   7000 
   7001 haiku*)
   7002   lt_cv_deplibs_check_method=pass_all
   7003   ;;
   7004 
   7005 hpux10.20* | hpux11*)
   7006   lt_cv_file_magic_cmd=/usr/bin/file
   7007   case $host_cpu in
   7008   ia64*)
   7009     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7010     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7011     ;;
   7012   hppa*64*)
   7013     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]'
   7014     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7015     ;;
   7016   *)
   7017     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   7018     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7019     ;;
   7020   esac
   7021   ;;
   7022 
   7023 interix[3-9]*)
   7024   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7025   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7026   ;;
   7027 
   7028 irix5* | irix6* | nonstopux*)
   7029   case $LD in
   7030   *-32|*"-32 ") libmagic=32-bit;;
   7031   *-n32|*"-n32 ") libmagic=N32;;
   7032   *-64|*"-64 ") libmagic=64-bit;;
   7033   *) libmagic=never-match;;
   7034   esac
   7035   lt_cv_deplibs_check_method=pass_all
   7036   ;;
   7037 
   7038 # This must be glibc/ELF.
   7039 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   7040   lt_cv_deplibs_check_method=pass_all
   7041   ;;
   7042 
   7043 netbsd*)
   7044   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7045     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7046   else
   7047     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7048   fi
   7049   ;;
   7050 
   7051 newos6*)
   7052   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7053   lt_cv_file_magic_cmd=/usr/bin/file
   7054   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7055   ;;
   7056 
   7057 *nto* | *qnx*)
   7058   lt_cv_deplibs_check_method=pass_all
   7059   ;;
   7060 
   7061 openbsd* | bitrig*)
   7062   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   7063     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7064   else
   7065     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7066   fi
   7067   ;;
   7068 
   7069 osf3* | osf4* | osf5*)
   7070   lt_cv_deplibs_check_method=pass_all
   7071   ;;
   7072 
   7073 rdos*)
   7074   lt_cv_deplibs_check_method=pass_all
   7075   ;;
   7076 
   7077 solaris*)
   7078   lt_cv_deplibs_check_method=pass_all
   7079   ;;
   7080 
   7081 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7082   lt_cv_deplibs_check_method=pass_all
   7083   ;;
   7084 
   7085 sysv4 | sysv4.3*)
   7086   case $host_vendor in
   7087   motorola)
   7088     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]'
   7089     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7090     ;;
   7091   ncr)
   7092     lt_cv_deplibs_check_method=pass_all
   7093     ;;
   7094   sequent)
   7095     lt_cv_file_magic_cmd='/bin/file'
   7096     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7097     ;;
   7098   sni)
   7099     lt_cv_file_magic_cmd='/bin/file'
   7100     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7101     lt_cv_file_magic_test_file=/lib/libc.so
   7102     ;;
   7103   siemens)
   7104     lt_cv_deplibs_check_method=pass_all
   7105     ;;
   7106   pc)
   7107     lt_cv_deplibs_check_method=pass_all
   7108     ;;
   7109   esac
   7110   ;;
   7111 
   7112 tpf*)
   7113   lt_cv_deplibs_check_method=pass_all
   7114   ;;
   7115 os2*)
   7116   lt_cv_deplibs_check_method=pass_all
   7117   ;;
   7118 esac
   7119 
   7120 fi
   7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7122 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   7123 
   7124 file_magic_glob=
   7125 want_nocaseglob=no
   7126 if test "$build" = "$host"; then
   7127   case $host_os in
   7128   mingw* | pw32*)
   7129     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   7130       want_nocaseglob=yes
   7131     else
   7132       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   7133     fi
   7134     ;;
   7135   esac
   7136 fi
   7137 
   7138 file_magic_cmd=$lt_cv_file_magic_cmd
   7139 deplibs_check_method=$lt_cv_deplibs_check_method
   7140 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7141 
   7142 
   7143     
   7144     
   7145     
   7146 
   7147 
   7148     
   7149     
   7150     
   7151 
   7152 
   7153     
   7154     
   7155     
   7156 
   7157 
   7158     
   7159     
   7160     
   7161 
   7162 
   7163 if test -n "$ac_tool_prefix"; then
   7164   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   7165 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7167 $as_echo_n "checking for $ac_word... " >&6; }
   7168 if ${ac_cv_prog_DLLTOOL+:} false; then :
   7169   $as_echo_n "(cached) " >&6
   7170 else
   7171   if test -n "$DLLTOOL"; then
   7172   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   7173 else
   7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7175 for as_dir in $PATH
   7176 do
   7177   IFS=$as_save_IFS
   7178   test -z "$as_dir" && as_dir=.
   7179     for ac_exec_ext in '' $ac_executable_extensions; do
   7180   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7181     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   7182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7183     break 2
   7184   fi
   7185 done
   7186   done
   7187 IFS=$as_save_IFS
   7188 
   7189 fi
   7190 fi
   7191 DLLTOOL=$ac_cv_prog_DLLTOOL
   7192 if test -n "$DLLTOOL"; then
   7193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   7194 $as_echo "$DLLTOOL" >&6; }
   7195 else
   7196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7197 $as_echo "no" >&6; }
   7198 fi
   7199 
   7200 
   7201 fi
   7202 if test -z "$ac_cv_prog_DLLTOOL"; then
   7203   ac_ct_DLLTOOL=$DLLTOOL
   7204   # Extract the first word of "dlltool", so it can be a program name with args.
   7205 set dummy dlltool; ac_word=$2
   7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7207 $as_echo_n "checking for $ac_word... " >&6; }
   7208 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   7209   $as_echo_n "(cached) " >&6
   7210 else
   7211   if test -n "$ac_ct_DLLTOOL"; then
   7212   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   7213 else
   7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7215 for as_dir in $PATH
   7216 do
   7217   IFS=$as_save_IFS
   7218   test -z "$as_dir" && as_dir=.
   7219     for ac_exec_ext in '' $ac_executable_extensions; do
   7220   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7221     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   7222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7223     break 2
   7224   fi
   7225 done
   7226   done
   7227 IFS=$as_save_IFS
   7228 
   7229 fi
   7230 fi
   7231 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   7232 if test -n "$ac_ct_DLLTOOL"; then
   7233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   7234 $as_echo "$ac_ct_DLLTOOL" >&6; }
   7235 else
   7236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7237 $as_echo "no" >&6; }
   7238 fi
   7239 
   7240   if test "x$ac_ct_DLLTOOL" = x; then
   7241     DLLTOOL="false"
   7242   else
   7243     case $cross_compiling:$ac_tool_warned in
   7244 yes:)
   7245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7247 ac_tool_warned=yes ;;
   7248 esac
   7249     DLLTOOL=$ac_ct_DLLTOOL
   7250   fi
   7251 else
   7252   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7253 fi
   7254 
   7255 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7264 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   7265 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   7266   $as_echo_n "(cached) " >&6
   7267 else
   7268   lt_cv_sharedlib_from_linklib_cmd='unknown'
   7269 
   7270 case $host_os in
   7271 cygwin* | mingw* | pw32* | cegcc*)
   7272   # two different shell functions defined in ltmain.sh;
   7273   # decide which one to use based on capabilities of $DLLTOOL
   7274   case `$DLLTOOL --help 2>&1` in
   7275   *--identify-strict*)
   7276     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7277     ;;
   7278   *)
   7279     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7280     ;;
   7281   esac
   7282   ;;
   7283 *)
   7284   # fallback: assume linklib IS sharedlib
   7285   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7286   ;;
   7287 esac
   7288 
   7289 fi
   7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7291 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7292 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7293 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7294 
   7295 
   7296     
   7297     
   7298     
   7299 
   7300 
   7301 if test -n "$ac_tool_prefix"; then
   7302   for ac_prog in ar
   7303   do
   7304     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7305 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7307 $as_echo_n "checking for $ac_word... " >&6; }
   7308 if ${ac_cv_prog_AR+:} false; then :
   7309   $as_echo_n "(cached) " >&6
   7310 else
   7311   if test -n "$AR"; then
   7312   ac_cv_prog_AR="$AR" # Let the user override the test.
   7313 else
   7314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7315 for as_dir in $PATH
   7316 do
   7317   IFS=$as_save_IFS
   7318   test -z "$as_dir" && as_dir=.
   7319     for ac_exec_ext in '' $ac_executable_extensions; do
   7320   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7321     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7322     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7323     break 2
   7324   fi
   7325 done
   7326   done
   7327 IFS=$as_save_IFS
   7328 
   7329 fi
   7330 fi
   7331 AR=$ac_cv_prog_AR
   7332 if test -n "$AR"; then
   7333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7334 $as_echo "$AR" >&6; }
   7335 else
   7336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7337 $as_echo "no" >&6; }
   7338 fi
   7339 
   7340 
   7341     test -n "$AR" && break
   7342   done
   7343 fi
   7344 if test -z "$AR"; then
   7345   ac_ct_AR=$AR
   7346   for ac_prog in ar
   7347 do
   7348   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7349 set dummy $ac_prog; ac_word=$2
   7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7351 $as_echo_n "checking for $ac_word... " >&6; }
   7352 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   7353   $as_echo_n "(cached) " >&6
   7354 else
   7355   if test -n "$ac_ct_AR"; then
   7356   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7357 else
   7358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7359 for as_dir in $PATH
   7360 do
   7361   IFS=$as_save_IFS
   7362   test -z "$as_dir" && as_dir=.
   7363     for ac_exec_ext in '' $ac_executable_extensions; do
   7364   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7365     ac_cv_prog_ac_ct_AR="$ac_prog"
   7366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7367     break 2
   7368   fi
   7369 done
   7370   done
   7371 IFS=$as_save_IFS
   7372 
   7373 fi
   7374 fi
   7375 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7376 if test -n "$ac_ct_AR"; then
   7377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7378 $as_echo "$ac_ct_AR" >&6; }
   7379 else
   7380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7381 $as_echo "no" >&6; }
   7382 fi
   7383 
   7384 
   7385   test -n "$ac_ct_AR" && break
   7386 done
   7387 
   7388   if test "x$ac_ct_AR" = x; then
   7389     AR="false"
   7390   else
   7391     case $cross_compiling:$ac_tool_warned in
   7392 yes:)
   7393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7395 ac_tool_warned=yes ;;
   7396 esac
   7397     AR=$ac_ct_AR
   7398   fi
   7399 fi
   7400 
   7401 : ${AR=ar}
   7402 : ${AR_FLAGS=cru}
   7403 
   7404     
   7405     
   7406     
   7407 
   7408 
   7409     
   7410     
   7411     
   7412 
   7413 
   7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7415 $as_echo_n "checking for archiver @FILE support... " >&6; }
   7416 if ${lt_cv_ar_at_file+:} false; then :
   7417   $as_echo_n "(cached) " >&6
   7418 else
   7419   lt_cv_ar_at_file=no
   7420    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7421 /* end confdefs.h.  */
   7422 
   7423 int
   7424 main ()
   7425 {
   7426 
   7427   ;
   7428   return 0;
   7429 }
   7430 _ACEOF
   7431 if ac_fn_c_try_compile "$LINENO"; then :
   7432   echo conftest.$ac_objext > conftest.lst
   7433       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7434       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7435   (eval $lt_ar_try) 2>&5
   7436   ac_status=$?
   7437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7438   test $ac_status = 0; }
   7439       if test 0 -eq "$ac_status"; then
   7440 	# Ensure the archiver fails upon bogus file names.
   7441 	rm -f conftest.$ac_objext libconftest.a
   7442 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7443   (eval $lt_ar_try) 2>&5
   7444   ac_status=$?
   7445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7446   test $ac_status = 0; }
   7447 	if test 0 -ne "$ac_status"; then
   7448           lt_cv_ar_at_file=@
   7449         fi
   7450       fi
   7451       rm -f conftest.* libconftest.a
   7452      
   7453 fi
   7454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7455   
   7456 fi
   7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7458 $as_echo "$lt_cv_ar_at_file" >&6; }
   7459 
   7460 if test no = "$lt_cv_ar_at_file"; then
   7461   archiver_list_spec=
   7462 else
   7463   archiver_list_spec=$lt_cv_ar_at_file
   7464 fi
   7465 
   7466     
   7467     
   7468     
   7469 
   7470 
   7471 
   7472 if test -n "$ac_tool_prefix"; then
   7473   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7474 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7476 $as_echo_n "checking for $ac_word... " >&6; }
   7477 if ${ac_cv_prog_STRIP+:} false; then :
   7478   $as_echo_n "(cached) " >&6
   7479 else
   7480   if test -n "$STRIP"; then
   7481   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7482 else
   7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7484 for as_dir in $PATH
   7485 do
   7486   IFS=$as_save_IFS
   7487   test -z "$as_dir" && as_dir=.
   7488     for ac_exec_ext in '' $ac_executable_extensions; do
   7489   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7490     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7492     break 2
   7493   fi
   7494 done
   7495   done
   7496 IFS=$as_save_IFS
   7497 
   7498 fi
   7499 fi
   7500 STRIP=$ac_cv_prog_STRIP
   7501 if test -n "$STRIP"; then
   7502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7503 $as_echo "$STRIP" >&6; }
   7504 else
   7505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7506 $as_echo "no" >&6; }
   7507 fi
   7508 
   7509 
   7510 fi
   7511 if test -z "$ac_cv_prog_STRIP"; then
   7512   ac_ct_STRIP=$STRIP
   7513   # Extract the first word of "strip", so it can be a program name with args.
   7514 set dummy strip; ac_word=$2
   7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7516 $as_echo_n "checking for $ac_word... " >&6; }
   7517 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   7518   $as_echo_n "(cached) " >&6
   7519 else
   7520   if test -n "$ac_ct_STRIP"; then
   7521   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7522 else
   7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7524 for as_dir in $PATH
   7525 do
   7526   IFS=$as_save_IFS
   7527   test -z "$as_dir" && as_dir=.
   7528     for ac_exec_ext in '' $ac_executable_extensions; do
   7529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7530     ac_cv_prog_ac_ct_STRIP="strip"
   7531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7532     break 2
   7533   fi
   7534 done
   7535   done
   7536 IFS=$as_save_IFS
   7537 
   7538 fi
   7539 fi
   7540 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7541 if test -n "$ac_ct_STRIP"; then
   7542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7543 $as_echo "$ac_ct_STRIP" >&6; }
   7544 else
   7545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7546 $as_echo "no" >&6; }
   7547 fi
   7548 
   7549   if test "x$ac_ct_STRIP" = x; then
   7550     STRIP=":"
   7551   else
   7552     case $cross_compiling:$ac_tool_warned in
   7553 yes:)
   7554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7556 ac_tool_warned=yes ;;
   7557 esac
   7558     STRIP=$ac_ct_STRIP
   7559   fi
   7560 else
   7561   STRIP="$ac_cv_prog_STRIP"
   7562 fi
   7563 
   7564 test -z "$STRIP" && STRIP=:
   7565 
   7566     
   7567     
   7568     
   7569 
   7570 
   7571 if test -n "$ac_tool_prefix"; then
   7572   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7573 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7575 $as_echo_n "checking for $ac_word... " >&6; }
   7576 if ${ac_cv_prog_RANLIB+:} false; then :
   7577   $as_echo_n "(cached) " >&6
   7578 else
   7579   if test -n "$RANLIB"; then
   7580   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7581 else
   7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7583 for as_dir in $PATH
   7584 do
   7585   IFS=$as_save_IFS
   7586   test -z "$as_dir" && as_dir=.
   7587     for ac_exec_ext in '' $ac_executable_extensions; do
   7588   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7589     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7591     break 2
   7592   fi
   7593 done
   7594   done
   7595 IFS=$as_save_IFS
   7596 
   7597 fi
   7598 fi
   7599 RANLIB=$ac_cv_prog_RANLIB
   7600 if test -n "$RANLIB"; then
   7601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7602 $as_echo "$RANLIB" >&6; }
   7603 else
   7604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7605 $as_echo "no" >&6; }
   7606 fi
   7607 
   7608 
   7609 fi
   7610 if test -z "$ac_cv_prog_RANLIB"; then
   7611   ac_ct_RANLIB=$RANLIB
   7612   # Extract the first word of "ranlib", so it can be a program name with args.
   7613 set dummy ranlib; ac_word=$2
   7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7615 $as_echo_n "checking for $ac_word... " >&6; }
   7616 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7617   $as_echo_n "(cached) " >&6
   7618 else
   7619   if test -n "$ac_ct_RANLIB"; then
   7620   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7621 else
   7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7623 for as_dir in $PATH
   7624 do
   7625   IFS=$as_save_IFS
   7626   test -z "$as_dir" && as_dir=.
   7627     for ac_exec_ext in '' $ac_executable_extensions; do
   7628   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7629     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7631     break 2
   7632   fi
   7633 done
   7634   done
   7635 IFS=$as_save_IFS
   7636 
   7637 fi
   7638 fi
   7639 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7640 if test -n "$ac_ct_RANLIB"; then
   7641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7642 $as_echo "$ac_ct_RANLIB" >&6; }
   7643 else
   7644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7645 $as_echo "no" >&6; }
   7646 fi
   7647 
   7648   if test "x$ac_ct_RANLIB" = x; then
   7649     RANLIB=":"
   7650   else
   7651     case $cross_compiling:$ac_tool_warned in
   7652 yes:)
   7653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7655 ac_tool_warned=yes ;;
   7656 esac
   7657     RANLIB=$ac_ct_RANLIB
   7658   fi
   7659 else
   7660   RANLIB="$ac_cv_prog_RANLIB"
   7661 fi
   7662 
   7663 test -z "$RANLIB" && RANLIB=:
   7664 
   7665     
   7666     
   7667     
   7668 
   7669 
   7670 # Determine commands to create old-style static archives.
   7671 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7672 old_postinstall_cmds='chmod 644 $oldlib'
   7673 old_postuninstall_cmds=
   7674 
   7675 if test -n "$RANLIB"; then
   7676   case $host_os in
   7677   bitrig* | openbsd*)
   7678     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7679     ;;
   7680   *)
   7681     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7682     ;;
   7683   esac
   7684   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7685 fi
   7686 
   7687 case $host_os in
   7688   darwin*)
   7689     lock_old_archive_extraction=yes ;;
   7690   *)
   7691     lock_old_archive_extraction=no ;;
   7692 esac
   7693 
   7694     
   7695     
   7696     
   7697 
   7698 
   7699     
   7700     
   7701     
   7702 
   7703 
   7704     
   7705     
   7706     
   7707 
   7708 
   7709     
   7710     
   7711     
   7712 
   7713 
   7714 
   7715 
   7716     
   7717     
   7718     
   7719 
   7720     
   7721     
   7722     
   7723 
   7724     
   7725     
   7726     
   7727 
   7728     
   7729     
   7730     
   7731 
   7732 # If no C compiler was specified, use CC.
   7733 LTCC=${LTCC-"$CC"}
   7734 
   7735 # If no C compiler flags were specified, use CFLAGS.
   7736 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7737 
   7738 # Allow CC to be a program name with arguments.
   7739 compiler=$CC
   7740 
   7741 
   7742 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7744 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7745 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7746   $as_echo_n "(cached) " >&6
   7747 else
   7748   
   7749 # These are sane defaults that work on at least a few old systems.
   7750 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7751 
   7752 # Character class describing NM global symbol codes.
   7753 symcode='[BCDEGRST]'
   7754 
   7755 # Regexp to match symbols that can be accessed directly from C.
   7756 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7757 
   7758 # Define system-specific variables.
   7759 case $host_os in
   7760 aix*)
   7761   symcode='[BCDT]'
   7762   ;;
   7763 cygwin* | mingw* | pw32* | cegcc*)
   7764   symcode='[ABCDGISTW]'
   7765   ;;
   7766 hpux*)
   7767   if test ia64 = "$host_cpu"; then
   7768     symcode='[ABCDEGRST]'
   7769   fi
   7770   ;;
   7771 irix* | nonstopux*)
   7772   symcode='[BCDEGRST]'
   7773   ;;
   7774 osf*)
   7775   symcode='[BCDEGQRST]'
   7776   ;;
   7777 solaris*)
   7778   symcode='[BDRT]'
   7779   ;;
   7780 sco3.2v5*)
   7781   symcode='[DT]'
   7782   ;;
   7783 sysv4.2uw2*)
   7784   symcode='[DT]'
   7785   ;;
   7786 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7787   symcode='[ABDT]'
   7788   ;;
   7789 sysv4)
   7790   symcode='[DFNSTU]'
   7791   ;;
   7792 esac
   7793 
   7794 # If we're using GNU nm, then use its standard symbol codes.
   7795 case `$NM -V 2>&1` in
   7796 *GNU* | *'with BFD'*)
   7797   symcode='[ABCDGIRSTW]' ;;
   7798 esac
   7799 
   7800 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7801   # Gets list of data symbols to import.
   7802   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   7803   # Adjust the below global symbol transforms to fixup imported variables.
   7804   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7805   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7806   lt_c_name_lib_hook="\
   7807   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7808   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7809 else
   7810   # Disable hooks by default.
   7811   lt_cv_sys_global_symbol_to_import=
   7812   lt_cdecl_hook=
   7813   lt_c_name_hook=
   7814   lt_c_name_lib_hook=
   7815 fi
   7816 
   7817 # Transform an extracted symbol line into a proper C declaration.
   7818 # Some systems (esp. on ia64) link data and code symbols differently,
   7819 # so use this general approach.
   7820 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   7821 $lt_cdecl_hook\
   7822 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7823 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7824 
   7825 # Transform an extracted symbol line into symbol name and symbol address
   7826 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   7827 $lt_c_name_hook\
   7828 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7829 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7830 
   7831 # Transform an extracted symbol line into symbol name with lib prefix and
   7832 # symbol address.
   7833 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   7834 $lt_c_name_lib_hook\
   7835 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7836 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7837 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7838 
   7839 # Handle CRLF in mingw tool chain
   7840 opt_cr=
   7841 case $build_os in
   7842 mingw*)
   7843   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7844   ;;
   7845 esac
   7846 
   7847 # Try without a prefix underscore, then with it.
   7848 for ac_symprfx in "" "_"; do
   7849 
   7850   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7851   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7852 
   7853   # Write the raw and C identifiers.
   7854   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7855     # Fake it for dumpbin and say T for any non-static function,
   7856     # D for any global variable and I for any imported variable.
   7857     # Also find C++ and __fastcall symbols from MSVC++,
   7858     # which start with @ or ?.
   7859     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7860 "     {last_section=section; section=\$ 3};"\
   7861 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7862 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7863 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7864 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7865 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7866 "     \$ 0!~/External *\|/{next};"\
   7867 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7868 "     {if(hide[section]) next};"\
   7869 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7870 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7871 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7872 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7873 "     ' prfx=^$ac_symprfx"
   7874   else
   7875     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7876   fi
   7877   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   7878 
   7879   # Check to see that the pipe works correctly.
   7880   pipe_works=no
   7881 
   7882   rm -f conftest*
   7883   cat > conftest.$ac_ext <<_LT_EOF
   7884 #ifdef __cplusplus
   7885 extern "C" {
   7886 #endif
   7887 char nm_test_var;
   7888 void nm_test_func(void);
   7889 void nm_test_func(void){}
   7890 #ifdef __cplusplus
   7891 }
   7892 #endif
   7893 int main(){nm_test_var='a';nm_test_func();return(0);}
   7894 _LT_EOF
   7895 
   7896   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7897   (eval $ac_compile) 2>&5
   7898   ac_status=$?
   7899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7900   test $ac_status = 0; }; then
   7901     # Now try to grab the symbols.
   7902     nlist=conftest.nm
   7903     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7904   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7905   ac_status=$?
   7906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7907   test $ac_status = 0; } && test -s "$nlist"; then
   7908       # Try sorting and uniquifying the output.
   7909       if sort "$nlist" | uniq > "$nlist"T; then
   7910 	mv -f "$nlist"T "$nlist"
   7911       else
   7912 	rm -f "$nlist"T
   7913       fi
   7914 
   7915       # Make sure that we snagged all the symbols we need.
   7916       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7917 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7918 	  cat <<_LT_EOF > conftest.$ac_ext
   7919 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7920 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7921 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7922    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7923 # define LT@&t@_DLSYM_CONST
   7924 #elif defined __osf__
   7925 /* This system does not cope well with relocations in const data.  */
   7926 # define LT@&t@_DLSYM_CONST
   7927 #else
   7928 # define LT@&t@_DLSYM_CONST const
   7929 #endif
   7930 
   7931 #ifdef __cplusplus
   7932 extern "C" {
   7933 #endif
   7934 
   7935 _LT_EOF
   7936 	  # Now generate the symbol file.
   7937 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7938 
   7939 	  cat <<_LT_EOF >> conftest.$ac_ext
   7940 
   7941 /* The mapping between symbol names and symbols.  */
   7942 LT@&t@_DLSYM_CONST struct {
   7943   const char *name;
   7944   void       *address;
   7945 }
   7946 lt__PROGRAM__LTX_preloaded_symbols[] =
   7947 {
   7948   { "@PROGRAM@", (void *) 0 },
   7949 _LT_EOF
   7950 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7951 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7952   {0, (void *) 0}
   7953 };
   7954 
   7955 /* This works around a problem in FreeBSD linker */
   7956 #ifdef FREEBSD_WORKAROUND
   7957 static const void *lt_preloaded_setup() {
   7958   return lt__PROGRAM__LTX_preloaded_symbols;
   7959 }
   7960 #endif
   7961 
   7962 #ifdef __cplusplus
   7963 }
   7964 #endif
   7965 _LT_EOF
   7966 	  # Now try linking the two files.
   7967 	  mv conftest.$ac_objext conftstm.$ac_objext
   7968 	  lt_globsym_save_LIBS=$LIBS
   7969 	  lt_globsym_save_CFLAGS=$CFLAGS
   7970 	  LIBS=conftstm.$ac_objext
   7971 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7972 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7973   (eval $ac_link) 2>&5
   7974   ac_status=$?
   7975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7976   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7977 	    pipe_works=yes
   7978 	  fi
   7979 	  LIBS=$lt_globsym_save_LIBS
   7980 	  CFLAGS=$lt_globsym_save_CFLAGS
   7981 	else
   7982 	  echo "cannot find nm_test_func in $nlist" >&5
   7983 	fi
   7984       else
   7985 	echo "cannot find nm_test_var in $nlist" >&5
   7986       fi
   7987     else
   7988       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7989     fi
   7990   else
   7991     echo "$progname: failed program was:" >&5
   7992     cat conftest.$ac_ext >&5
   7993   fi
   7994   rm -rf conftest* conftst*
   7995 
   7996   # Do not use the global_symbol_pipe unless it works.
   7997   if test yes = "$pipe_works"; then
   7998     break
   7999   else
   8000     lt_cv_sys_global_symbol_pipe=
   8001   fi
   8002 done
   8003 
   8004 fi
   8005 
   8006 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   8007   lt_cv_sys_global_symbol_to_cdecl=
   8008 fi
   8009 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   8010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   8011 $as_echo "failed" >&6; }
   8012 else
   8013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   8014 $as_echo "ok" >&6; }
   8015 fi
   8016 
   8017 # Response file support.
   8018 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8019   nm_file_list_spec='@'
   8020 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   8021   nm_file_list_spec='@'
   8022 fi
   8023 
   8024 
   8025     
   8026     
   8027     
   8028 
   8029 
   8030     
   8031     
   8032     
   8033 
   8034 
   8035     
   8036     
   8037     
   8038 
   8039 
   8040     
   8041     
   8042     
   8043 
   8044 
   8045     
   8046     
   8047     
   8048 
   8049 
   8050     
   8051     
   8052     
   8053 
   8054 
   8055     
   8056     
   8057     
   8058 
   8059 
   8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libtool-sysroot" >&5
   8061 $as_echo_n "checking for libtool-sysroot... " >&6; }
   8062 
   8063 @%:@ Check whether --with-libtool-sysroot was given.
   8064 if test "${with_libtool_sysroot+set}" = set; then :
   8065   withval=$with_libtool_sysroot; 
   8066 else
   8067   with_libtool_sysroot=no
   8068 fi
   8069 
   8070 
   8071 lt_sysroot=
   8072 case $with_libtool_sysroot in #(
   8073  yes)
   8074    if test yes = "$GCC"; then
   8075      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   8076    fi
   8077    ;; #(
   8078  /*)
   8079    lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
   8080    ;; #(
   8081  no|'')
   8082    ;; #(
   8083  *)
   8084    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_libtool_sysroot" >&5
   8085 $as_echo "$with_libtool_sysroot" >&6; }
   8086    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   8087    ;;
   8088 esac
   8089 
   8090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   8091 $as_echo "${lt_sysroot:-no}" >&6; }
   8092 
   8093     
   8094     
   8095     
   8096 
   8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   8098 $as_echo_n "checking for a working dd... " >&6; }
   8099 if ${ac_cv_path_lt_DD+:} false; then :
   8100   $as_echo_n "(cached) " >&6
   8101 else
   8102   printf 0123456789abcdef0123456789abcdef >conftest.i
   8103 cat conftest.i conftest.i >conftest2.i
   8104 : ${lt_DD:=$DD}
   8105 if test -z "$lt_DD"; then
   8106   ac_path_lt_DD_found=false
   8107   # Loop through the user's path and test for each of PROGNAME-LIST
   8108   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8109 for as_dir in $PATH
   8110 do
   8111   IFS=$as_save_IFS
   8112   test -z "$as_dir" && as_dir=.
   8113     for ac_prog in dd; do
   8114     for ac_exec_ext in '' $ac_executable_extensions; do
   8115       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   8116       as_fn_executable_p "$ac_path_lt_DD" || continue
   8117 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8118   cmp -s conftest.i conftest.out \
   8119   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   8120 fi
   8121       $ac_path_lt_DD_found && break 3
   8122     done
   8123   done
   8124   done
   8125 IFS=$as_save_IFS
   8126   if test -z "$ac_cv_path_lt_DD"; then
   8127     :
   8128   fi
   8129 else
   8130   ac_cv_path_lt_DD=$lt_DD
   8131 fi
   8132 
   8133 rm -f conftest.i conftest2.i conftest.out
   8134 fi
   8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   8136 $as_echo "$ac_cv_path_lt_DD" >&6; }
   8137 
   8138 
   8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   8140 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   8141 if ${lt_cv_truncate_bin+:} false; then :
   8142   $as_echo_n "(cached) " >&6
   8143 else
   8144   printf 0123456789abcdef0123456789abcdef >conftest.i
   8145 cat conftest.i conftest.i >conftest2.i
   8146 lt_cv_truncate_bin=
   8147 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8148   cmp -s conftest.i conftest.out \
   8149   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   8150 fi
   8151 rm -f conftest.i conftest2.i conftest.out
   8152 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   8153 fi
   8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   8155 $as_echo "$lt_cv_truncate_bin" >&6; }
   8156 
   8157     
   8158     
   8159     
   8160 
   8161 
   8162 
   8163 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   8164 func_cc_basename ()
   8165 {
   8166     for cc_temp in @S|@*""; do
   8167       case $cc_temp in
   8168         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8169         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8170         \-*) ;;
   8171         *) break;;
   8172       esac
   8173     done
   8174     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8175 }
   8176 
   8177 @%:@ Check whether --enable-libtool-lock was given.
   8178 if test "${enable_libtool_lock+set}" = set; then :
   8179   enableval=$enable_libtool_lock; 
   8180 fi
   8181 
   8182 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   8183 
   8184 # Some flags need to be propagated to the compiler or linker for good
   8185 # libtool support.
   8186 case $host in
   8187 ia64-*-hpux*)
   8188   # Find out what ABI is being produced by ac_compile, and set mode
   8189   # options accordingly.
   8190   echo 'int i;' > conftest.$ac_ext
   8191   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8192   (eval $ac_compile) 2>&5
   8193   ac_status=$?
   8194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8195   test $ac_status = 0; }; then
   8196     case `/usr/bin/file conftest.$ac_objext` in
   8197       *ELF-32*)
   8198 	HPUX_IA64_MODE=32
   8199 	;;
   8200       *ELF-64*)
   8201 	HPUX_IA64_MODE=64
   8202 	;;
   8203     esac
   8204   fi
   8205   rm -rf conftest*
   8206   ;;
   8207 *-*-irix6*)
   8208   # Find out what ABI is being produced by ac_compile, and set linker
   8209   # options accordingly.
   8210   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8211   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8212   (eval $ac_compile) 2>&5
   8213   ac_status=$?
   8214   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8215   test $ac_status = 0; }; then
   8216     if test yes = "$lt_cv_prog_gnu_ld"; then
   8217       case `/usr/bin/file conftest.$ac_objext` in
   8218 	*32-bit*)
   8219 	  LD="${LD-ld} -melf32bsmip"
   8220 	  ;;
   8221 	*N32*)
   8222 	  LD="${LD-ld} -melf32bmipn32"
   8223 	  ;;
   8224 	*64-bit*)
   8225 	  LD="${LD-ld} -melf64bmip"
   8226 	;;
   8227       esac
   8228     else
   8229       case `/usr/bin/file conftest.$ac_objext` in
   8230 	*32-bit*)
   8231 	  LD="${LD-ld} -32"
   8232 	  ;;
   8233 	*N32*)
   8234 	  LD="${LD-ld} -n32"
   8235 	  ;;
   8236 	*64-bit*)
   8237 	  LD="${LD-ld} -64"
   8238 	  ;;
   8239       esac
   8240     fi
   8241   fi
   8242   rm -rf conftest*
   8243   ;;
   8244 
   8245 mips64*-*linux*)
   8246   # Find out what ABI is being produced by ac_compile, and set linker
   8247   # options accordingly.
   8248   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8249   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8250   (eval $ac_compile) 2>&5
   8251   ac_status=$?
   8252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8253   test $ac_status = 0; }; then
   8254     emul=elf
   8255     case `/usr/bin/file conftest.$ac_objext` in
   8256       *32-bit*)
   8257 	emul="${emul}32"
   8258 	;;
   8259       *64-bit*)
   8260 	emul="${emul}64"
   8261 	;;
   8262     esac
   8263     case `/usr/bin/file conftest.$ac_objext` in
   8264       *MSB*)
   8265 	emul="${emul}btsmip"
   8266 	;;
   8267       *LSB*)
   8268 	emul="${emul}ltsmip"
   8269 	;;
   8270     esac
   8271     case `/usr/bin/file conftest.$ac_objext` in
   8272       *N32*)
   8273 	emul="${emul}n32"
   8274 	;;
   8275     esac
   8276     LD="${LD-ld} -m $emul"
   8277   fi
   8278   rm -rf conftest*
   8279   ;;
   8280 
   8281 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8282 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8283   # Find out what ABI is being produced by ac_compile, and set linker
   8284   # options accordingly.  Note that the listed cases only cover the
   8285   # situations where additional linker options are needed (such as when
   8286   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8287   # vice versa); the common cases where no linker options are needed do
   8288   # not appear in the list.
   8289   echo 'int i;' > conftest.$ac_ext
   8290   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8291   (eval $ac_compile) 2>&5
   8292   ac_status=$?
   8293   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8294   test $ac_status = 0; }; then
   8295     case `/usr/bin/file conftest.o` in
   8296       *32-bit*)
   8297 	case $host in
   8298 	  x86_64-*kfreebsd*-gnu)
   8299 	    LD="${LD-ld} -m elf_i386_fbsd"
   8300 	    ;;
   8301 	  x86_64-*linux*)
   8302 	    case `/usr/bin/file conftest.o` in
   8303 	      *x86-64*)
   8304 		LD="${LD-ld} -m elf32_x86_64"
   8305 		;;
   8306 	      *)
   8307 		LD="${LD-ld} -m elf_i386"
   8308 		;;
   8309 	    esac
   8310 	    ;;
   8311 	  powerpc64le-*linux*)
   8312 	    LD="${LD-ld} -m elf32lppclinux"
   8313 	    ;;
   8314 	  powerpc64-*linux*)
   8315 	    LD="${LD-ld} -m elf32ppclinux"
   8316 	    ;;
   8317 	  s390x-*linux*)
   8318 	    LD="${LD-ld} -m elf_s390"
   8319 	    ;;
   8320 	  sparc64-*linux*)
   8321 	    LD="${LD-ld} -m elf32_sparc"
   8322 	    ;;
   8323 	esac
   8324 	;;
   8325       *64-bit*)
   8326 	case $host in
   8327 	  x86_64-*kfreebsd*-gnu)
   8328 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8329 	    ;;
   8330 	  x86_64-*linux*)
   8331 	    LD="${LD-ld} -m elf_x86_64"
   8332 	    ;;
   8333 	  powerpcle-*linux*)
   8334 	    LD="${LD-ld} -m elf64lppc"
   8335 	    ;;
   8336 	  powerpc-*linux*)
   8337 	    LD="${LD-ld} -m elf64ppc"
   8338 	    ;;
   8339 	  s390*-*linux*|s390*-*tpf*)
   8340 	    LD="${LD-ld} -m elf64_s390"
   8341 	    ;;
   8342 	  sparc*-*linux*)
   8343 	    LD="${LD-ld} -m elf64_sparc"
   8344 	    ;;
   8345 	esac
   8346 	;;
   8347     esac
   8348   fi
   8349   rm -rf conftest*
   8350   ;;
   8351 
   8352 *-*-sco3.2v5*)
   8353   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8354   SAVE_CFLAGS=$CFLAGS
   8355   CFLAGS="$CFLAGS -belf"
   8356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8357 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   8358 if ${lt_cv_cc_needs_belf+:} false; then :
   8359   $as_echo_n "(cached) " >&6
   8360 else
   8361   ac_ext=c
   8362 ac_cpp='$CPP $CPPFLAGS'
   8363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8366 
   8367      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8368 /* end confdefs.h.  */
   8369 
   8370 int
   8371 main ()
   8372 {
   8373 
   8374   ;
   8375   return 0;
   8376 }
   8377 _ACEOF
   8378 if ac_fn_c_try_link "$LINENO"; then :
   8379   lt_cv_cc_needs_belf=yes
   8380 else
   8381   lt_cv_cc_needs_belf=no
   8382 fi
   8383 rm -f core conftest.err conftest.$ac_objext \
   8384     conftest$ac_exeext conftest.$ac_ext
   8385      ac_ext=c
   8386 ac_cpp='$CPP $CPPFLAGS'
   8387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8390 
   8391 fi
   8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8393 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   8394   if test yes != "$lt_cv_cc_needs_belf"; then
   8395     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8396     CFLAGS=$SAVE_CFLAGS
   8397   fi
   8398   ;;
   8399 *-*solaris*)
   8400   # Find out what ABI is being produced by ac_compile, and set linker
   8401   # options accordingly.
   8402   echo 'int i;' > conftest.$ac_ext
   8403   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8404   (eval $ac_compile) 2>&5
   8405   ac_status=$?
   8406   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8407   test $ac_status = 0; }; then
   8408     case `/usr/bin/file conftest.o` in
   8409     *64-bit*)
   8410       case $lt_cv_prog_gnu_ld in
   8411       yes*)
   8412         case $host in
   8413         i?86-*-solaris*|x86_64-*-solaris*)
   8414           LD="${LD-ld} -m elf_x86_64"
   8415           ;;
   8416         sparc*-*-solaris*)
   8417           LD="${LD-ld} -m elf64_sparc"
   8418           ;;
   8419         esac
   8420         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8421         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8422           LD=${LD-ld}_sol2
   8423         fi
   8424         ;;
   8425       *)
   8426 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8427 	  LD="${LD-ld} -64"
   8428 	fi
   8429 	;;
   8430       esac
   8431       ;;
   8432     esac
   8433   fi
   8434   rm -rf conftest*
   8435   ;;
   8436 esac
   8437 
   8438 need_locks=$enable_libtool_lock
   8439 
   8440 if test -n "$ac_tool_prefix"; then
   8441   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8442 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8444 $as_echo_n "checking for $ac_word... " >&6; }
   8445 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   8446   $as_echo_n "(cached) " >&6
   8447 else
   8448   if test -n "$MANIFEST_TOOL"; then
   8449   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8450 else
   8451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8452 for as_dir in $PATH
   8453 do
   8454   IFS=$as_save_IFS
   8455   test -z "$as_dir" && as_dir=.
   8456     for ac_exec_ext in '' $ac_executable_extensions; do
   8457   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8458     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8460     break 2
   8461   fi
   8462 done
   8463   done
   8464 IFS=$as_save_IFS
   8465 
   8466 fi
   8467 fi
   8468 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8469 if test -n "$MANIFEST_TOOL"; then
   8470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8471 $as_echo "$MANIFEST_TOOL" >&6; }
   8472 else
   8473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8474 $as_echo "no" >&6; }
   8475 fi
   8476 
   8477 
   8478 fi
   8479 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8480   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8481   # Extract the first word of "mt", so it can be a program name with args.
   8482 set dummy mt; ac_word=$2
   8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8484 $as_echo_n "checking for $ac_word... " >&6; }
   8485 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   8486   $as_echo_n "(cached) " >&6
   8487 else
   8488   if test -n "$ac_ct_MANIFEST_TOOL"; then
   8489   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8490 else
   8491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8492 for as_dir in $PATH
   8493 do
   8494   IFS=$as_save_IFS
   8495   test -z "$as_dir" && as_dir=.
   8496     for ac_exec_ext in '' $ac_executable_extensions; do
   8497   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8498     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8499     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8500     break 2
   8501   fi
   8502 done
   8503   done
   8504 IFS=$as_save_IFS
   8505 
   8506 fi
   8507 fi
   8508 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8509 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8511 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   8512 else
   8513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8514 $as_echo "no" >&6; }
   8515 fi
   8516 
   8517   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8518     MANIFEST_TOOL=":"
   8519   else
   8520     case $cross_compiling:$ac_tool_warned in
   8521 yes:)
   8522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8524 ac_tool_warned=yes ;;
   8525 esac
   8526     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8527   fi
   8528 else
   8529   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8530 fi
   8531 
   8532 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8534 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8535 if ${lt_cv_path_mainfest_tool+:} false; then :
   8536   $as_echo_n "(cached) " >&6
   8537 else
   8538   lt_cv_path_mainfest_tool=no
   8539   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8540   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8541   cat conftest.err >&5
   8542   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8543     lt_cv_path_mainfest_tool=yes
   8544   fi
   8545   rm -f conftest*
   8546 fi
   8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   8548 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   8549 if test yes != "$lt_cv_path_mainfest_tool"; then
   8550   MANIFEST_TOOL=:
   8551 fi
   8552 
   8553     
   8554     
   8555     
   8556 
   8557 
   8558   case $host_os in
   8559     rhapsody* | darwin*)
   8560     if test -n "$ac_tool_prefix"; then
   8561   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8562 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8564 $as_echo_n "checking for $ac_word... " >&6; }
   8565 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   8566   $as_echo_n "(cached) " >&6
   8567 else
   8568   if test -n "$DSYMUTIL"; then
   8569   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8570 else
   8571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8572 for as_dir in $PATH
   8573 do
   8574   IFS=$as_save_IFS
   8575   test -z "$as_dir" && as_dir=.
   8576     for ac_exec_ext in '' $ac_executable_extensions; do
   8577   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8578     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8580     break 2
   8581   fi
   8582 done
   8583   done
   8584 IFS=$as_save_IFS
   8585 
   8586 fi
   8587 fi
   8588 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8589 if test -n "$DSYMUTIL"; then
   8590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8591 $as_echo "$DSYMUTIL" >&6; }
   8592 else
   8593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8594 $as_echo "no" >&6; }
   8595 fi
   8596 
   8597 
   8598 fi
   8599 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8600   ac_ct_DSYMUTIL=$DSYMUTIL
   8601   # Extract the first word of "dsymutil", so it can be a program name with args.
   8602 set dummy dsymutil; ac_word=$2
   8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8604 $as_echo_n "checking for $ac_word... " >&6; }
   8605 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   8606   $as_echo_n "(cached) " >&6
   8607 else
   8608   if test -n "$ac_ct_DSYMUTIL"; then
   8609   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8610 else
   8611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8612 for as_dir in $PATH
   8613 do
   8614   IFS=$as_save_IFS
   8615   test -z "$as_dir" && as_dir=.
   8616     for ac_exec_ext in '' $ac_executable_extensions; do
   8617   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8618     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8620     break 2
   8621   fi
   8622 done
   8623   done
   8624 IFS=$as_save_IFS
   8625 
   8626 fi
   8627 fi
   8628 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8629 if test -n "$ac_ct_DSYMUTIL"; then
   8630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8631 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   8632 else
   8633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8634 $as_echo "no" >&6; }
   8635 fi
   8636 
   8637   if test "x$ac_ct_DSYMUTIL" = x; then
   8638     DSYMUTIL=":"
   8639   else
   8640     case $cross_compiling:$ac_tool_warned in
   8641 yes:)
   8642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8644 ac_tool_warned=yes ;;
   8645 esac
   8646     DSYMUTIL=$ac_ct_DSYMUTIL
   8647   fi
   8648 else
   8649   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8650 fi
   8651 
   8652     if test -n "$ac_tool_prefix"; then
   8653   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8654 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8656 $as_echo_n "checking for $ac_word... " >&6; }
   8657 if ${ac_cv_prog_NMEDIT+:} false; then :
   8658   $as_echo_n "(cached) " >&6
   8659 else
   8660   if test -n "$NMEDIT"; then
   8661   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8662 else
   8663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8664 for as_dir in $PATH
   8665 do
   8666   IFS=$as_save_IFS
   8667   test -z "$as_dir" && as_dir=.
   8668     for ac_exec_ext in '' $ac_executable_extensions; do
   8669   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8670     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8672     break 2
   8673   fi
   8674 done
   8675   done
   8676 IFS=$as_save_IFS
   8677 
   8678 fi
   8679 fi
   8680 NMEDIT=$ac_cv_prog_NMEDIT
   8681 if test -n "$NMEDIT"; then
   8682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8683 $as_echo "$NMEDIT" >&6; }
   8684 else
   8685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8686 $as_echo "no" >&6; }
   8687 fi
   8688 
   8689 
   8690 fi
   8691 if test -z "$ac_cv_prog_NMEDIT"; then
   8692   ac_ct_NMEDIT=$NMEDIT
   8693   # Extract the first word of "nmedit", so it can be a program name with args.
   8694 set dummy nmedit; ac_word=$2
   8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8696 $as_echo_n "checking for $ac_word... " >&6; }
   8697 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   8698   $as_echo_n "(cached) " >&6
   8699 else
   8700   if test -n "$ac_ct_NMEDIT"; then
   8701   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8702 else
   8703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8704 for as_dir in $PATH
   8705 do
   8706   IFS=$as_save_IFS
   8707   test -z "$as_dir" && as_dir=.
   8708     for ac_exec_ext in '' $ac_executable_extensions; do
   8709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8710     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8712     break 2
   8713   fi
   8714 done
   8715   done
   8716 IFS=$as_save_IFS
   8717 
   8718 fi
   8719 fi
   8720 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8721 if test -n "$ac_ct_NMEDIT"; then
   8722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8723 $as_echo "$ac_ct_NMEDIT" >&6; }
   8724 else
   8725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8726 $as_echo "no" >&6; }
   8727 fi
   8728 
   8729   if test "x$ac_ct_NMEDIT" = x; then
   8730     NMEDIT=":"
   8731   else
   8732     case $cross_compiling:$ac_tool_warned in
   8733 yes:)
   8734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8736 ac_tool_warned=yes ;;
   8737 esac
   8738     NMEDIT=$ac_ct_NMEDIT
   8739   fi
   8740 else
   8741   NMEDIT="$ac_cv_prog_NMEDIT"
   8742 fi
   8743 
   8744     if test -n "$ac_tool_prefix"; then
   8745   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8746 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8748 $as_echo_n "checking for $ac_word... " >&6; }
   8749 if ${ac_cv_prog_LIPO+:} false; then :
   8750   $as_echo_n "(cached) " >&6
   8751 else
   8752   if test -n "$LIPO"; then
   8753   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8754 else
   8755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8756 for as_dir in $PATH
   8757 do
   8758   IFS=$as_save_IFS
   8759   test -z "$as_dir" && as_dir=.
   8760     for ac_exec_ext in '' $ac_executable_extensions; do
   8761   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8762     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8764     break 2
   8765   fi
   8766 done
   8767   done
   8768 IFS=$as_save_IFS
   8769 
   8770 fi
   8771 fi
   8772 LIPO=$ac_cv_prog_LIPO
   8773 if test -n "$LIPO"; then
   8774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8775 $as_echo "$LIPO" >&6; }
   8776 else
   8777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8778 $as_echo "no" >&6; }
   8779 fi
   8780 
   8781 
   8782 fi
   8783 if test -z "$ac_cv_prog_LIPO"; then
   8784   ac_ct_LIPO=$LIPO
   8785   # Extract the first word of "lipo", so it can be a program name with args.
   8786 set dummy lipo; ac_word=$2
   8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8788 $as_echo_n "checking for $ac_word... " >&6; }
   8789 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   8790   $as_echo_n "(cached) " >&6
   8791 else
   8792   if test -n "$ac_ct_LIPO"; then
   8793   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8794 else
   8795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8796 for as_dir in $PATH
   8797 do
   8798   IFS=$as_save_IFS
   8799   test -z "$as_dir" && as_dir=.
   8800     for ac_exec_ext in '' $ac_executable_extensions; do
   8801   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8802     ac_cv_prog_ac_ct_LIPO="lipo"
   8803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8804     break 2
   8805   fi
   8806 done
   8807   done
   8808 IFS=$as_save_IFS
   8809 
   8810 fi
   8811 fi
   8812 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8813 if test -n "$ac_ct_LIPO"; then
   8814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8815 $as_echo "$ac_ct_LIPO" >&6; }
   8816 else
   8817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8818 $as_echo "no" >&6; }
   8819 fi
   8820 
   8821   if test "x$ac_ct_LIPO" = x; then
   8822     LIPO=":"
   8823   else
   8824     case $cross_compiling:$ac_tool_warned in
   8825 yes:)
   8826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8828 ac_tool_warned=yes ;;
   8829 esac
   8830     LIPO=$ac_ct_LIPO
   8831   fi
   8832 else
   8833   LIPO="$ac_cv_prog_LIPO"
   8834 fi
   8835 
   8836     if test -n "$ac_tool_prefix"; then
   8837   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8838 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8840 $as_echo_n "checking for $ac_word... " >&6; }
   8841 if ${ac_cv_prog_OTOOL+:} false; then :
   8842   $as_echo_n "(cached) " >&6
   8843 else
   8844   if test -n "$OTOOL"; then
   8845   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8846 else
   8847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8848 for as_dir in $PATH
   8849 do
   8850   IFS=$as_save_IFS
   8851   test -z "$as_dir" && as_dir=.
   8852     for ac_exec_ext in '' $ac_executable_extensions; do
   8853   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8854     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8856     break 2
   8857   fi
   8858 done
   8859   done
   8860 IFS=$as_save_IFS
   8861 
   8862 fi
   8863 fi
   8864 OTOOL=$ac_cv_prog_OTOOL
   8865 if test -n "$OTOOL"; then
   8866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8867 $as_echo "$OTOOL" >&6; }
   8868 else
   8869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8870 $as_echo "no" >&6; }
   8871 fi
   8872 
   8873 
   8874 fi
   8875 if test -z "$ac_cv_prog_OTOOL"; then
   8876   ac_ct_OTOOL=$OTOOL
   8877   # Extract the first word of "otool", so it can be a program name with args.
   8878 set dummy otool; ac_word=$2
   8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8880 $as_echo_n "checking for $ac_word... " >&6; }
   8881 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8882   $as_echo_n "(cached) " >&6
   8883 else
   8884   if test -n "$ac_ct_OTOOL"; then
   8885   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8886 else
   8887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8888 for as_dir in $PATH
   8889 do
   8890   IFS=$as_save_IFS
   8891   test -z "$as_dir" && as_dir=.
   8892     for ac_exec_ext in '' $ac_executable_extensions; do
   8893   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8894     ac_cv_prog_ac_ct_OTOOL="otool"
   8895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8896     break 2
   8897   fi
   8898 done
   8899   done
   8900 IFS=$as_save_IFS
   8901 
   8902 fi
   8903 fi
   8904 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8905 if test -n "$ac_ct_OTOOL"; then
   8906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8907 $as_echo "$ac_ct_OTOOL" >&6; }
   8908 else
   8909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8910 $as_echo "no" >&6; }
   8911 fi
   8912 
   8913   if test "x$ac_ct_OTOOL" = x; then
   8914     OTOOL=":"
   8915   else
   8916     case $cross_compiling:$ac_tool_warned in
   8917 yes:)
   8918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8920 ac_tool_warned=yes ;;
   8921 esac
   8922     OTOOL=$ac_ct_OTOOL
   8923   fi
   8924 else
   8925   OTOOL="$ac_cv_prog_OTOOL"
   8926 fi
   8927 
   8928     if test -n "$ac_tool_prefix"; then
   8929   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8930 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8932 $as_echo_n "checking for $ac_word... " >&6; }
   8933 if ${ac_cv_prog_OTOOL64+:} false; then :
   8934   $as_echo_n "(cached) " >&6
   8935 else
   8936   if test -n "$OTOOL64"; then
   8937   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8938 else
   8939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8940 for as_dir in $PATH
   8941 do
   8942   IFS=$as_save_IFS
   8943   test -z "$as_dir" && as_dir=.
   8944     for ac_exec_ext in '' $ac_executable_extensions; do
   8945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8946     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8948     break 2
   8949   fi
   8950 done
   8951   done
   8952 IFS=$as_save_IFS
   8953 
   8954 fi
   8955 fi
   8956 OTOOL64=$ac_cv_prog_OTOOL64
   8957 if test -n "$OTOOL64"; then
   8958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8959 $as_echo "$OTOOL64" >&6; }
   8960 else
   8961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8962 $as_echo "no" >&6; }
   8963 fi
   8964 
   8965 
   8966 fi
   8967 if test -z "$ac_cv_prog_OTOOL64"; then
   8968   ac_ct_OTOOL64=$OTOOL64
   8969   # Extract the first word of "otool64", so it can be a program name with args.
   8970 set dummy otool64; ac_word=$2
   8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8972 $as_echo_n "checking for $ac_word... " >&6; }
   8973 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8974   $as_echo_n "(cached) " >&6
   8975 else
   8976   if test -n "$ac_ct_OTOOL64"; then
   8977   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8978 else
   8979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8980 for as_dir in $PATH
   8981 do
   8982   IFS=$as_save_IFS
   8983   test -z "$as_dir" && as_dir=.
   8984     for ac_exec_ext in '' $ac_executable_extensions; do
   8985   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8986     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8988     break 2
   8989   fi
   8990 done
   8991   done
   8992 IFS=$as_save_IFS
   8993 
   8994 fi
   8995 fi
   8996 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8997 if test -n "$ac_ct_OTOOL64"; then
   8998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8999 $as_echo "$ac_ct_OTOOL64" >&6; }
   9000 else
   9001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9002 $as_echo "no" >&6; }
   9003 fi
   9004 
   9005   if test "x$ac_ct_OTOOL64" = x; then
   9006     OTOOL64=":"
   9007   else
   9008     case $cross_compiling:$ac_tool_warned in
   9009 yes:)
   9010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9012 ac_tool_warned=yes ;;
   9013 esac
   9014     OTOOL64=$ac_ct_OTOOL64
   9015   fi
   9016 else
   9017   OTOOL64="$ac_cv_prog_OTOOL64"
   9018 fi
   9019 
   9020     
   9021     
   9022     
   9023     
   9024 
   9025     
   9026     
   9027     
   9028     
   9029 
   9030     
   9031     
   9032     
   9033     
   9034 
   9035     
   9036     
   9037     
   9038     
   9039 
   9040     
   9041     
   9042     
   9043     
   9044 
   9045 
   9046     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   9047 $as_echo_n "checking for -single_module linker flag... " >&6; }
   9048 if ${lt_cv_apple_cc_single_mod+:} false; then :
   9049   $as_echo_n "(cached) " >&6
   9050 else
   9051   lt_cv_apple_cc_single_mod=no
   9052       if test -z "$LT_MULTI_MODULE"; then
   9053 	# By default we will add the -single_module flag. You can override
   9054 	# by either setting the environment variable LT_MULTI_MODULE
   9055 	# non-empty at configure time, or by adding -multi_module to the
   9056 	# link flags.
   9057 	rm -rf libconftest.dylib*
   9058 	echo "int foo(void){return 1;}" > conftest.c
   9059 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9060 -dynamiclib -Wl,-single_module conftest.c" >&5
   9061 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9062 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   9063         _lt_result=$?
   9064 	# If there is a non-empty error log, and "single_module"
   9065 	# appears in it, assume the flag caused a linker warning
   9066         if test -s conftest.err && $GREP single_module conftest.err; then
   9067 	  cat conftest.err >&5
   9068 	# Otherwise, if the output was created with a 0 exit code from
   9069 	# the compiler, it worked.
   9070 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   9071 	  lt_cv_apple_cc_single_mod=yes
   9072 	else
   9073 	  cat conftest.err >&5
   9074 	fi
   9075 	rm -rf libconftest.dylib*
   9076 	rm -f conftest.*
   9077       fi
   9078 fi
   9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   9080 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   9081 
   9082     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9083 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   9084 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   9085   $as_echo_n "(cached) " >&6
   9086 else
   9087   lt_cv_ld_exported_symbols_list=no
   9088       save_LDFLAGS=$LDFLAGS
   9089       echo "_main" > conftest.sym
   9090       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9092 /* end confdefs.h.  */
   9093 
   9094 int
   9095 main ()
   9096 {
   9097 
   9098   ;
   9099   return 0;
   9100 }
   9101 _ACEOF
   9102 if ac_fn_c_try_link "$LINENO"; then :
   9103   lt_cv_ld_exported_symbols_list=yes
   9104 else
   9105   lt_cv_ld_exported_symbols_list=no
   9106 fi
   9107 rm -f core conftest.err conftest.$ac_objext \
   9108     conftest$ac_exeext conftest.$ac_ext
   9109 	LDFLAGS=$save_LDFLAGS
   9110     
   9111 fi
   9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9113 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   9114 
   9115     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9116 $as_echo_n "checking for -force_load linker flag... " >&6; }
   9117 if ${lt_cv_ld_force_load+:} false; then :
   9118   $as_echo_n "(cached) " >&6
   9119 else
   9120   lt_cv_ld_force_load=no
   9121       cat > conftest.c << _LT_EOF
   9122 int forced_loaded() { return 2;}
   9123 _LT_EOF
   9124       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9125       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9126       echo "$AR cru libconftest.a conftest.o" >&5
   9127       $AR cru libconftest.a conftest.o 2>&5
   9128       echo "$RANLIB libconftest.a" >&5
   9129       $RANLIB libconftest.a 2>&5
   9130       cat > conftest.c << _LT_EOF
   9131 int main() { return 0;}
   9132 _LT_EOF
   9133       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9134       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9135       _lt_result=$?
   9136       if test -s conftest.err && $GREP force_load conftest.err; then
   9137 	cat conftest.err >&5
   9138       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9139 	lt_cv_ld_force_load=yes
   9140       else
   9141 	cat conftest.err >&5
   9142       fi
   9143         rm -f conftest.err libconftest.a conftest conftest.c
   9144         rm -rf conftest.dSYM
   9145     
   9146 fi
   9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9148 $as_echo "$lt_cv_ld_force_load" >&6; }
   9149     case $host_os in
   9150     rhapsody* | darwin1.[012])
   9151       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9152     darwin1.*)
   9153       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9154     darwin*) # darwin 5.x on
   9155       # if running on 10.5 or later, the deployment target defaults
   9156       # to the OS version, if on x86, and 10.4, the deployment
   9157       # target defaults to 10.4. Don't you love it?
   9158       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9159 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   9160 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   9161 	10.[012][,.]*)
   9162 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9163 	10.*)
   9164 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   9165       esac
   9166     ;;
   9167   esac
   9168     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9169       _lt_dar_single_mod='$single_module'
   9170     fi
   9171     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9172       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9173     else
   9174       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9175     fi
   9176     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9177       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9178     else
   9179       _lt_dsymutil=
   9180     fi
   9181     ;;
   9182   esac
   9183 
   9184 # func_munge_path_list VARIABLE PATH
   9185 # -----------------------------------
   9186 # VARIABLE is name of variable containing _space_ separated list of
   9187 # directories to be munged by the contents of PATH, which is string
   9188 # having a format:
   9189 # "DIR[:DIR]:"
   9190 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9191 # ":DIR[:DIR]"
   9192 #       string "DIR[ DIR]" will be appended to VARIABLE
   9193 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9194 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9195 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9196 # "DIR[:DIR]"
   9197 #       VARIABLE will be replaced by "DIR[ DIR]"
   9198 func_munge_path_list ()
   9199 {
   9200     case x@S|@2 in
   9201     x)
   9202         ;;
   9203     *:)
   9204         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
   9205         ;;
   9206     x:*)
   9207         eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
   9208         ;;
   9209     *::*)
   9210         eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9211         eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
   9212         ;;
   9213     *)
   9214         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
   9215         ;;
   9216     esac
   9217 }
   9218 
   9219 for ac_header in dlfcn.h
   9220 do :
   9221   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9222 "
   9223 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   9224   cat >>confdefs.h <<_ACEOF
   9225 @%:@define HAVE_DLFCN_H 1
   9226 _ACEOF
   9227  
   9228 fi
   9229 
   9230 done
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 # Set options
   9237 
   9238 
   9239 
   9240         enable_dlopen=no
   9241   
   9242 
   9243   
   9244             @%:@ Check whether --enable-shared was given.
   9245 if test "${enable_shared+set}" = set; then :
   9246   enableval=$enable_shared; p=${DEFAGE-default}
   9247     case $enableval in
   9248     yes) enable_shared=yes ;;
   9249     no) enable_shared=no ;;
   9250     *)
   9251       enable_shared=no
   9252       # Look at the argument we got.  We use all the common list separators.
   9253       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9254       for pkg in $enableval; do
   9255 	IFS=$lt_save_ifs
   9256 	if test "X$pkg" = "X$p"; then
   9257 	  enable_shared=yes
   9258 	fi
   9259       done
   9260       IFS=$lt_save_ifs
   9261       ;;
   9262     esac
   9263 else
   9264   enable_shared=yes
   9265 fi
   9266 
   9267 
   9268     
   9269     
   9270     
   9271     
   9272 
   9273 
   9274 
   9275   @%:@ Check whether --enable-static was given.
   9276 if test "${enable_static+set}" = set; then :
   9277   enableval=$enable_static; p=${DEFAGE-default}
   9278     case $enableval in
   9279     yes) enable_static=yes ;;
   9280     no) enable_static=no ;;
   9281     *)
   9282      enable_static=no
   9283       # Look at the argument we got.  We use all the common list separators.
   9284       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9285       for pkg in $enableval; do
   9286 	IFS=$lt_save_ifs
   9287 	if test "X$pkg" = "X$p"; then
   9288 	  enable_static=yes
   9289 	fi
   9290       done
   9291       IFS=$lt_save_ifs
   9292       ;;
   9293     esac
   9294 else
   9295   enable_static=yes
   9296 fi
   9297 
   9298 
   9299     
   9300     
   9301     
   9302     
   9303 
   9304 
   9305 
   9306   
   9307 @%:@ Check whether --with-pic was given.
   9308 if test "${with_pic+set}" = set; then :
   9309   withval=$with_pic; lt_p=${DEFAGE-default}
   9310     case $withval in
   9311     yes|no) pic_mode=$withval ;;
   9312     *)
   9313       pic_mode=default
   9314       # Look at the argument we got.  We use all the common list separators.
   9315       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9316       for lt_pkg in $withval; do
   9317 	IFS=$lt_save_ifs
   9318 	if test "X$lt_pkg" = "X$lt_p"; then
   9319 	  pic_mode=yes
   9320 	fi
   9321       done
   9322       IFS=$lt_save_ifs
   9323       ;;
   9324     esac
   9325 else
   9326   pic_mode=default
   9327 fi
   9328 
   9329 
   9330 
   9331     
   9332     
   9333     
   9334 
   9335 
   9336   @%:@ Check whether --enable-fast-install was given.
   9337 if test "${enable_fast_install+set}" = set; then :
   9338   enableval=$enable_fast_install; p=${DEFAGE-default}
   9339     case $enableval in
   9340     yes) enable_fast_install=yes ;;
   9341     no) enable_fast_install=no ;;
   9342     *)
   9343       enable_fast_install=no
   9344       # Look at the argument we got.  We use all the common list separators.
   9345       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9346       for pkg in $enableval; do
   9347 	IFS=$lt_save_ifs
   9348 	if test "X$pkg" = "X$p"; then
   9349 	  enable_fast_install=yes
   9350 	fi
   9351       done
   9352       IFS=$lt_save_ifs
   9353       ;;
   9354     esac
   9355 else
   9356   enable_fast_install=yes
   9357 fi
   9358 
   9359 
   9360 
   9361     
   9362     
   9363     
   9364 
   9365 
   9366   shared_archive_member_spec=
   9367 case $host,$enable_shared in
   9368 power*-*-aix[5-9]*,yes)
   9369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9370 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   9371   
   9372 @%:@ Check whether --with-aix-soname was given.
   9373 if test "${with_aix_soname+set}" = set; then :
   9374   withval=$with_aix_soname; case $withval in
   9375     aix|svr4|both)
   9376       ;;
   9377     *)
   9378       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9379       ;;
   9380     esac
   9381     lt_cv_with_aix_soname=$with_aix_soname
   9382 else
   9383   if ${lt_cv_with_aix_soname+:} false; then :
   9384   $as_echo_n "(cached) " >&6
   9385 else
   9386   lt_cv_with_aix_soname=aix
   9387 fi
   9388 
   9389     with_aix_soname=$lt_cv_with_aix_soname
   9390 fi
   9391 
   9392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9393 $as_echo "$with_aix_soname" >&6; }
   9394   if test aix != "$with_aix_soname"; then
   9395     # For the AIX way of multilib, we name the shared archive member
   9396     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9397     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9398     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9399     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9400     if test 64 = "${OBJECT_MODE-32}"; then
   9401       shared_archive_member_spec=shr_64
   9402     else
   9403       shared_archive_member_spec=shr
   9404     fi
   9405   fi
   9406   ;;
   9407 *)
   9408   with_aix_soname=aix
   9409   ;;
   9410 esac
   9411 
   9412 
   9413     
   9414     
   9415     
   9416 
   9417 
   9418   
   9419 
   9420 
   9421 # This can be used to rebuild libtool when needed
   9422 LIBTOOL_DEPS=$ltmain
   9423 
   9424 # Always use our own libtool.
   9425 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9426 
   9427 
   9428 
   9429     
   9430     
   9431     
   9432 
   9433     
   9434     
   9435     
   9436 
   9437     
   9438     
   9439     
   9440 
   9441     
   9442     
   9443     
   9444 
   9445     
   9446     
   9447     
   9448 
   9449     
   9450     
   9451     
   9452 
   9453     
   9454     
   9455     
   9456 test -z "$LN_S" && LN_S="ln -s"
   9457 
   9458     
   9459     
   9460     
   9461 
   9462     
   9463     
   9464     
   9465 
   9466     
   9467     
   9468     
   9469 
   9470 
   9471 if test -n "${ZSH_VERSION+set}"; then
   9472    setopt NO_GLOB_SUBST
   9473 fi
   9474 
   9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9476 $as_echo_n "checking for objdir... " >&6; }
   9477 if ${lt_cv_objdir+:} false; then :
   9478   $as_echo_n "(cached) " >&6
   9479 else
   9480   rm -f .libs 2>/dev/null
   9481 mkdir .libs 2>/dev/null
   9482 if test -d .libs; then
   9483   lt_cv_objdir=.libs
   9484 else
   9485   # MS-DOS does not allow filenames that begin with a dot.
   9486   lt_cv_objdir=_libs
   9487 fi
   9488 rmdir .libs 2>/dev/null
   9489 fi
   9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9491 $as_echo "$lt_cv_objdir" >&6; }
   9492 objdir=$lt_cv_objdir
   9493 
   9494     
   9495     
   9496     
   9497 
   9498 cat >>confdefs.h <<_ACEOF
   9499 @%:@define LT_OBJDIR "$lt_cv_objdir/"
   9500 _ACEOF
   9501 
   9502 
   9503 
   9504 
   9505 case $host_os in
   9506 aix3*)
   9507   # AIX sometimes has problems with the GCC collect2 program.  For some
   9508   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9509   # vanish in a puff of smoke.
   9510   if test set != "${COLLECT_NAMES+set}"; then
   9511     COLLECT_NAMES=
   9512     export COLLECT_NAMES
   9513   fi
   9514   ;;
   9515 esac
   9516 
   9517 # Global variables:
   9518 ofile=libtool
   9519 can_build_shared=yes
   9520 
   9521 # All known linkers require a '.a' archive for static linking (except MSVC,
   9522 # which needs '.lib').
   9523 libext=a
   9524 
   9525 with_gnu_ld=$lt_cv_prog_gnu_ld
   9526 
   9527 old_CC=$CC
   9528 old_CFLAGS=$CFLAGS
   9529 
   9530 # Set sane defaults for various variables
   9531 test -z "$CC" && CC=cc
   9532 test -z "$LTCC" && LTCC=$CC
   9533 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9534 test -z "$LD" && LD=ld
   9535 test -z "$ac_objext" && ac_objext=o
   9536 
   9537 func_cc_basename $compiler
   9538 cc_basename=$func_cc_basename_result
   9539 
   9540 
   9541 # Only perform the check for file, if the check method requires it
   9542 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9543 case $deplibs_check_method in
   9544 file_magic*)
   9545   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9546     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9547 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   9548 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9549   $as_echo_n "(cached) " >&6
   9550 else
   9551   case $MAGIC_CMD in
   9552 [\\/*] |  ?:[\\/]*)
   9553   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9554   ;;
   9555 *)
   9556   lt_save_MAGIC_CMD=$MAGIC_CMD
   9557   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9558   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9559   for ac_dir in $ac_dummy; do
   9560     IFS=$lt_save_ifs
   9561     test -z "$ac_dir" && ac_dir=.
   9562     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9563       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9564       if test -n "$file_magic_test_file"; then
   9565 	case $deplibs_check_method in
   9566 	"file_magic "*)
   9567 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9568 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9569 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9570 	    $EGREP "$file_magic_regex" > /dev/null; then
   9571 	    :
   9572 	  else
   9573 	    cat <<_LT_EOF 1>&2
   9574 
   9575 *** Warning: the command libtool uses to detect shared libraries,
   9576 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9577 *** The result is that libtool may fail to recognize shared libraries
   9578 *** as such.  This will affect the creation of libtool libraries that
   9579 *** depend on shared libraries, but programs linked with such libtool
   9580 *** libraries will work regardless of this problem.  Nevertheless, you
   9581 *** may want to report the problem to your system manager and/or to
   9582 *** bug-libtool@gnu.org
   9583 
   9584 _LT_EOF
   9585 	  fi ;;
   9586 	esac
   9587       fi
   9588       break
   9589     fi
   9590   done
   9591   IFS=$lt_save_ifs
   9592   MAGIC_CMD=$lt_save_MAGIC_CMD
   9593   ;;
   9594 esac
   9595 fi
   9596 
   9597 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9598 if test -n "$MAGIC_CMD"; then
   9599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9600 $as_echo "$MAGIC_CMD" >&6; }
   9601 else
   9602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9603 $as_echo "no" >&6; }
   9604 fi
   9605 
   9606     
   9607     
   9608     
   9609 
   9610 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9611   if test -n "$ac_tool_prefix"; then
   9612     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9613 $as_echo_n "checking for file... " >&6; }
   9614 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9615   $as_echo_n "(cached) " >&6
   9616 else
   9617   case $MAGIC_CMD in
   9618 [\\/*] |  ?:[\\/]*)
   9619   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9620   ;;
   9621 *)
   9622   lt_save_MAGIC_CMD=$MAGIC_CMD
   9623   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9624   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9625   for ac_dir in $ac_dummy; do
   9626     IFS=$lt_save_ifs
   9627     test -z "$ac_dir" && ac_dir=.
   9628     if test -f "$ac_dir/file"; then
   9629       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9630       if test -n "$file_magic_test_file"; then
   9631 	case $deplibs_check_method in
   9632 	"file_magic "*)
   9633 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9634 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9635 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9636 	    $EGREP "$file_magic_regex" > /dev/null; then
   9637 	    :
   9638 	  else
   9639 	    cat <<_LT_EOF 1>&2
   9640 
   9641 *** Warning: the command libtool uses to detect shared libraries,
   9642 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9643 *** The result is that libtool may fail to recognize shared libraries
   9644 *** as such.  This will affect the creation of libtool libraries that
   9645 *** depend on shared libraries, but programs linked with such libtool
   9646 *** libraries will work regardless of this problem.  Nevertheless, you
   9647 *** may want to report the problem to your system manager and/or to
   9648 *** bug-libtool@gnu.org
   9649 
   9650 _LT_EOF
   9651 	  fi ;;
   9652 	esac
   9653       fi
   9654       break
   9655     fi
   9656   done
   9657   IFS=$lt_save_ifs
   9658   MAGIC_CMD=$lt_save_MAGIC_CMD
   9659   ;;
   9660 esac
   9661 fi
   9662 
   9663 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9664 if test -n "$MAGIC_CMD"; then
   9665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9666 $as_echo "$MAGIC_CMD" >&6; }
   9667 else
   9668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9669 $as_echo "no" >&6; }
   9670 fi
   9671 
   9672 
   9673   else
   9674     MAGIC_CMD=:
   9675   fi
   9676 fi
   9677 
   9678   fi
   9679   ;;
   9680 esac
   9681 
   9682 # Use C for the default configuration in the libtool script
   9683 
   9684 lt_save_CC=$CC
   9685 ac_ext=c
   9686 ac_cpp='$CPP $CPPFLAGS'
   9687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9690 
   9691 
   9692 # Source file extension for C test sources.
   9693 ac_ext=c
   9694 
   9695 # Object file extension for compiled C test sources.
   9696 objext=o
   9697 objext=$objext
   9698 
   9699 # Code to be used in simple compile tests
   9700 lt_simple_compile_test_code="int some_variable = 0;"
   9701 
   9702 # Code to be used in simple link tests
   9703 lt_simple_link_test_code='int main(){return(0);}'
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 # If no C compiler was specified, use CC.
   9712 LTCC=${LTCC-"$CC"}
   9713 
   9714 # If no C compiler flags were specified, use CFLAGS.
   9715 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9716 
   9717 # Allow CC to be a program name with arguments.
   9718 compiler=$CC
   9719 
   9720 # Save the default compiler, since it gets overwritten when the other
   9721 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9722 compiler_DEFAULT=$CC
   9723 
   9724 # save warnings/boilerplate of simple test code
   9725 ac_outfile=conftest.$ac_objext
   9726 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9727 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9728 _lt_compiler_boilerplate=`cat conftest.err`
   9729 $RM conftest*
   9730 
   9731 ac_outfile=conftest.$ac_objext
   9732 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9733 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9734 _lt_linker_boilerplate=`cat conftest.err`
   9735 $RM -r conftest*
   9736 
   9737 
   9738 ## CAVEAT EMPTOR:
   9739 ## There is no encapsulation within the following macros, do not change
   9740 ## the running order or otherwise move them around unless you know exactly
   9741 ## what you are doing...
   9742 if test -n "$compiler"; then
   9743   
   9744 lt_prog_compiler_no_builtin_flag=
   9745 
   9746 if test yes = "$GCC"; then
   9747   case $cc_basename in
   9748   nvcc*)
   9749     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9750   *)
   9751     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9752   esac
   9753 
   9754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9755 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9756 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9757   $as_echo_n "(cached) " >&6
   9758 else
   9759   lt_cv_prog_compiler_rtti_exceptions=no
   9760    ac_outfile=conftest.$ac_objext
   9761    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9762    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9763    # Insert the option either (1) after the last *FLAGS variable, or
   9764    # (2) before a word containing "conftest.", or (3) at the end.
   9765    # Note that $ac_compile itself does not contain backslashes and begins
   9766    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9767    # The option is referenced via a variable to avoid confusing sed.
   9768    lt_compile=`echo "$ac_compile" | $SED \
   9769    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9770    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9771    -e 's:$: $lt_compiler_flag:'`
   9772    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9773    (eval "$lt_compile" 2>conftest.err)
   9774    ac_status=$?
   9775    cat conftest.err >&5
   9776    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9777    if (exit $ac_status) && test -s "$ac_outfile"; then
   9778      # The compiler can only warn and ignore the option if not recognized
   9779      # So say no if there are warnings other than the usual output.
   9780      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9781      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9782      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9783        lt_cv_prog_compiler_rtti_exceptions=yes
   9784      fi
   9785    fi
   9786    $RM conftest*
   9787 
   9788 fi
   9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9790 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9791 
   9792 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9793     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9794 else
   9795     :
   9796 fi
   9797 
   9798 fi
   9799 
   9800     
   9801     
   9802     
   9803 
   9804 
   9805   lt_prog_compiler_wl=
   9806 lt_prog_compiler_pic=
   9807 lt_prog_compiler_static=
   9808 
   9809 
   9810   if test yes = "$GCC"; then
   9811     lt_prog_compiler_wl='-Wl,'
   9812     lt_prog_compiler_static='-static'
   9813 
   9814     case $host_os in
   9815       aix*)
   9816       # All AIX code is PIC.
   9817       if test ia64 = "$host_cpu"; then
   9818 	# AIX 5 now supports IA64 processor
   9819 	lt_prog_compiler_static='-Bstatic'
   9820       fi
   9821       lt_prog_compiler_pic='-fPIC'
   9822       ;;
   9823 
   9824     amigaos*)
   9825       case $host_cpu in
   9826       powerpc)
   9827             # see comment about AmigaOS4 .so support
   9828             lt_prog_compiler_pic='-fPIC'
   9829         ;;
   9830       m68k)
   9831             # FIXME: we need at least 68020 code to build shared libraries, but
   9832             # adding the '-m68020' flag to GCC prevents building anything better,
   9833             # like '-m68040'.
   9834             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9835         ;;
   9836       esac
   9837       ;;
   9838 
   9839     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9840       # PIC is the default for these OSes.
   9841       ;;
   9842 
   9843     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9844       # This hack is so that the source file can tell whether it is being
   9845       # built for inclusion in a dll (and should export symbols for example).
   9846       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9847       # (--disable-auto-import) libraries
   9848       lt_prog_compiler_pic='-DDLL_EXPORT'
   9849       case $host_os in
   9850       os2*)
   9851 	lt_prog_compiler_static='$wl-static'
   9852 	;;
   9853       esac
   9854       ;;
   9855 
   9856     darwin* | rhapsody*)
   9857       # PIC is the default on this platform
   9858       # Common symbols not allowed in MH_DYLIB files
   9859       lt_prog_compiler_pic='-fno-common'
   9860       ;;
   9861 
   9862     haiku*)
   9863       # PIC is the default for Haiku.
   9864       # The "-static" flag exists, but is broken.
   9865       lt_prog_compiler_static=
   9866       ;;
   9867 
   9868     hpux*)
   9869       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9870       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9871       # sets the default TLS model and affects inlining.
   9872       case $host_cpu in
   9873       hppa*64*)
   9874 	# +Z the default
   9875 	;;
   9876       *)
   9877 	lt_prog_compiler_pic='-fPIC'
   9878 	;;
   9879       esac
   9880       ;;
   9881 
   9882     interix[3-9]*)
   9883       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9884       # Instead, we relocate shared libraries at runtime.
   9885       ;;
   9886 
   9887     msdosdjgpp*)
   9888       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9889       # on systems that don't support them.
   9890       lt_prog_compiler_can_build_shared=no
   9891       enable_shared=no
   9892       ;;
   9893 
   9894     *nto* | *qnx*)
   9895       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9896       # it will coredump.
   9897       lt_prog_compiler_pic='-fPIC -shared'
   9898       ;;
   9899 
   9900     sysv4*MP*)
   9901       if test -d /usr/nec; then
   9902 	lt_prog_compiler_pic=-Kconform_pic
   9903       fi
   9904       ;;
   9905 
   9906     *)
   9907       lt_prog_compiler_pic='-fPIC'
   9908       ;;
   9909     esac
   9910 
   9911     case $cc_basename in
   9912     nvcc*) # Cuda Compiler Driver 2.2
   9913       lt_prog_compiler_wl='-Xlinker '
   9914       if test -n "$lt_prog_compiler_pic"; then
   9915         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9916       fi
   9917       ;;
   9918     esac
   9919   else
   9920     # PORTME Check for flag to pass linker flags through the system compiler.
   9921     case $host_os in
   9922     aix*)
   9923       lt_prog_compiler_wl='-Wl,'
   9924       if test ia64 = "$host_cpu"; then
   9925 	# AIX 5 now supports IA64 processor
   9926 	lt_prog_compiler_static='-Bstatic'
   9927       else
   9928 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9929       fi
   9930       ;;
   9931 
   9932     darwin* | rhapsody*)
   9933       # PIC is the default on this platform
   9934       # Common symbols not allowed in MH_DYLIB files
   9935       lt_prog_compiler_pic='-fno-common'
   9936       case $cc_basename in
   9937       nagfor*)
   9938         # NAG Fortran compiler
   9939         lt_prog_compiler_wl='-Wl,-Wl,,'
   9940         lt_prog_compiler_pic='-PIC'
   9941         lt_prog_compiler_static='-Bstatic'
   9942         ;;
   9943       esac
   9944       ;;
   9945 
   9946     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9947       # This hack is so that the source file can tell whether it is being
   9948       # built for inclusion in a dll (and should export symbols for example).
   9949       lt_prog_compiler_pic='-DDLL_EXPORT'
   9950       case $host_os in
   9951       os2*)
   9952 	lt_prog_compiler_static='$wl-static'
   9953 	;;
   9954       esac
   9955       ;;
   9956 
   9957     hpux9* | hpux10* | hpux11*)
   9958       lt_prog_compiler_wl='-Wl,'
   9959       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9960       # not for PA HP-UX.
   9961       case $host_cpu in
   9962       hppa*64*|ia64*)
   9963 	# +Z the default
   9964 	;;
   9965       *)
   9966 	lt_prog_compiler_pic='+Z'
   9967 	;;
   9968       esac
   9969       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9970       lt_prog_compiler_static='$wl-a ${wl}archive'
   9971       ;;
   9972 
   9973     irix5* | irix6* | nonstopux*)
   9974       lt_prog_compiler_wl='-Wl,'
   9975       # PIC (with -KPIC) is the default.
   9976       lt_prog_compiler_static='-non_shared'
   9977       ;;
   9978 
   9979     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9980       case $cc_basename in
   9981       # old Intel for x86_64, which still supported -KPIC.
   9982       ecc*)
   9983 	lt_prog_compiler_wl='-Wl,'
   9984 	lt_prog_compiler_pic='-KPIC'
   9985 	lt_prog_compiler_static='-static'
   9986         ;;
   9987       # icc used to be incompatible with GCC.
   9988       # ICC 10 doesn't accept -KPIC any more.
   9989       icc* | ifort*)
   9990 	lt_prog_compiler_wl='-Wl,'
   9991 	lt_prog_compiler_pic='-fPIC'
   9992 	lt_prog_compiler_static='-static'
   9993         ;;
   9994       # Lahey Fortran 8.1.
   9995       lf95*)
   9996 	lt_prog_compiler_wl='-Wl,'
   9997 	lt_prog_compiler_pic='--shared'
   9998 	lt_prog_compiler_static='--static'
   9999 	;;
  10000       nagfor*)
  10001 	# NAG Fortran compiler
  10002 	lt_prog_compiler_wl='-Wl,-Wl,,'
  10003 	lt_prog_compiler_pic='-PIC'
  10004 	lt_prog_compiler_static='-Bstatic'
  10005 	;;
  10006       tcc*)
  10007 	# Fabrice Bellard et al's Tiny C Compiler
  10008 	lt_prog_compiler_wl='-Wl,'
  10009 	lt_prog_compiler_pic='-fPIC'
  10010 	lt_prog_compiler_static='-static'
  10011 	;;
  10012       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  10013         # Portland Group compilers (*not* the Pentium gcc compiler,
  10014 	# which looks to be a dead project)
  10015 	lt_prog_compiler_wl='-Wl,'
  10016 	lt_prog_compiler_pic='-fpic'
  10017 	lt_prog_compiler_static='-Bstatic'
  10018         ;;
  10019       ccc*)
  10020         lt_prog_compiler_wl='-Wl,'
  10021         # All Alpha code is PIC.
  10022         lt_prog_compiler_static='-non_shared'
  10023         ;;
  10024       xl* | bgxl* | bgf* | mpixl*)
  10025 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  10026 	lt_prog_compiler_wl='-Wl,'
  10027 	lt_prog_compiler_pic='-qpic'
  10028 	lt_prog_compiler_static='-qstaticlink'
  10029 	;;
  10030       *)
  10031 	case `$CC -V 2>&1 | sed 5q` in
  10032 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  10033 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
  10034 	  lt_prog_compiler_pic='-KPIC'
  10035 	  lt_prog_compiler_static='-Bstatic'
  10036 	  lt_prog_compiler_wl=''
  10037 	  ;;
  10038 	*Sun\ F* | *Sun*Fortran*)
  10039 	  lt_prog_compiler_pic='-KPIC'
  10040 	  lt_prog_compiler_static='-Bstatic'
  10041 	  lt_prog_compiler_wl='-Qoption ld '
  10042 	  ;;
  10043 	*Sun\ C*)
  10044 	  # Sun C 5.9
  10045 	  lt_prog_compiler_pic='-KPIC'
  10046 	  lt_prog_compiler_static='-Bstatic'
  10047 	  lt_prog_compiler_wl='-Wl,'
  10048 	  ;;
  10049         *Intel*\ [CF]*Compiler*)
  10050 	  lt_prog_compiler_wl='-Wl,'
  10051 	  lt_prog_compiler_pic='-fPIC'
  10052 	  lt_prog_compiler_static='-static'
  10053 	  ;;
  10054 	*Portland\ Group*)
  10055 	  lt_prog_compiler_wl='-Wl,'
  10056 	  lt_prog_compiler_pic='-fpic'
  10057 	  lt_prog_compiler_static='-Bstatic'
  10058 	  ;;
  10059 	esac
  10060 	;;
  10061       esac
  10062       ;;
  10063 
  10064     newsos6)
  10065       lt_prog_compiler_pic='-KPIC'
  10066       lt_prog_compiler_static='-Bstatic'
  10067       ;;
  10068 
  10069     *nto* | *qnx*)
  10070       # QNX uses GNU C++, but need to define -shared option too, otherwise
  10071       # it will coredump.
  10072       lt_prog_compiler_pic='-fPIC -shared'
  10073       ;;
  10074 
  10075     osf3* | osf4* | osf5*)
  10076       lt_prog_compiler_wl='-Wl,'
  10077       # All OSF/1 code is PIC.
  10078       lt_prog_compiler_static='-non_shared'
  10079       ;;
  10080 
  10081     rdos*)
  10082       lt_prog_compiler_static='-non_shared'
  10083       ;;
  10084 
  10085     solaris*)
  10086       lt_prog_compiler_pic='-KPIC'
  10087       lt_prog_compiler_static='-Bstatic'
  10088       case $cc_basename in
  10089       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  10090 	lt_prog_compiler_wl='-Qoption ld ';;
  10091       *)
  10092 	lt_prog_compiler_wl='-Wl,';;
  10093       esac
  10094       ;;
  10095 
  10096     sunos4*)
  10097       lt_prog_compiler_wl='-Qoption ld '
  10098       lt_prog_compiler_pic='-PIC'
  10099       lt_prog_compiler_static='-Bstatic'
  10100       ;;
  10101 
  10102     sysv4 | sysv4.2uw2* | sysv4.3*)
  10103       lt_prog_compiler_wl='-Wl,'
  10104       lt_prog_compiler_pic='-KPIC'
  10105       lt_prog_compiler_static='-Bstatic'
  10106       ;;
  10107 
  10108     sysv4*MP*)
  10109       if test -d /usr/nec; then
  10110 	lt_prog_compiler_pic='-Kconform_pic'
  10111 	lt_prog_compiler_static='-Bstatic'
  10112       fi
  10113       ;;
  10114 
  10115     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  10116       lt_prog_compiler_wl='-Wl,'
  10117       lt_prog_compiler_pic='-KPIC'
  10118       lt_prog_compiler_static='-Bstatic'
  10119       ;;
  10120 
  10121     unicos*)
  10122       lt_prog_compiler_wl='-Wl,'
  10123       lt_prog_compiler_can_build_shared=no
  10124       ;;
  10125 
  10126     uts4*)
  10127       lt_prog_compiler_pic='-pic'
  10128       lt_prog_compiler_static='-Bstatic'
  10129       ;;
  10130 
  10131     *)
  10132       lt_prog_compiler_can_build_shared=no
  10133       ;;
  10134     esac
  10135   fi
  10136 
  10137 case $host_os in
  10138   # For platforms that do not support PIC, -DPIC is meaningless:
  10139   *djgpp*)
  10140     lt_prog_compiler_pic=
  10141     ;;
  10142   *)
  10143     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  10144     ;;
  10145 esac
  10146 
  10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  10148 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  10149 if ${lt_cv_prog_compiler_pic+:} false; then :
  10150   $as_echo_n "(cached) " >&6
  10151 else
  10152   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  10153 fi
  10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  10155 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
  10156 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  10157 
  10158 #
  10159 # Check to make sure the PIC flag actually works.
  10160 #
  10161 if test -n "$lt_prog_compiler_pic"; then
  10162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  10163 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  10164 if ${lt_cv_prog_compiler_pic_works+:} false; then :
  10165   $as_echo_n "(cached) " >&6
  10166 else
  10167   lt_cv_prog_compiler_pic_works=no
  10168    ac_outfile=conftest.$ac_objext
  10169    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10170    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"  ## exclude from sc_useless_quotes_in_assignment
  10171    # Insert the option either (1) after the last *FLAGS variable, or
  10172    # (2) before a word containing "conftest.", or (3) at the end.
  10173    # Note that $ac_compile itself does not contain backslashes and begins
  10174    # with a dollar sign (not a hyphen), so the echo should work correctly.
  10175    # The option is referenced via a variable to avoid confusing sed.
  10176    lt_compile=`echo "$ac_compile" | $SED \
  10177    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  10178    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  10179    -e 's:$: $lt_compiler_flag:'`
  10180    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  10181    (eval "$lt_compile" 2>conftest.err)
  10182    ac_status=$?
  10183    cat conftest.err >&5
  10184    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10185    if (exit $ac_status) && test -s "$ac_outfile"; then
  10186      # The compiler can only warn and ignore the option if not recognized
  10187      # So say no if there are warnings other than the usual output.
  10188      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  10189      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  10190      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  10191        lt_cv_prog_compiler_pic_works=yes
  10192      fi
  10193    fi
  10194    $RM conftest*
  10195 
  10196 fi
  10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  10198 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  10199 
  10200 if test yes = "$lt_cv_prog_compiler_pic_works"; then
  10201     case $lt_prog_compiler_pic in
  10202      "" | " "*) ;;
  10203      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  10204      esac
  10205 else
  10206     lt_prog_compiler_pic=
  10207      lt_prog_compiler_can_build_shared=no
  10208 fi
  10209 
  10210 fi
  10211 
  10212     
  10213     
  10214     
  10215 
  10216 
  10217 
  10218     
  10219     
  10220     
  10221 
  10222 #
  10223 # Check to make sure the static flag actually works.
  10224 #
  10225 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  10227 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  10228 if ${lt_cv_prog_compiler_static_works+:} false; then :
  10229   $as_echo_n "(cached) " >&6
  10230 else
  10231   lt_cv_prog_compiler_static_works=no
  10232    save_LDFLAGS=$LDFLAGS
  10233    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  10234    echo "$lt_simple_link_test_code" > conftest.$ac_ext
  10235    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  10236      # The linker can only warn and ignore the option if not recognized
  10237      # So say no if there are warnings
  10238      if test -s conftest.err; then
  10239        # Append any errors to the config.log.
  10240        cat conftest.err 1>&5
  10241        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  10242        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  10243        if diff conftest.exp conftest.er2 >/dev/null; then
  10244          lt_cv_prog_compiler_static_works=yes
  10245        fi
  10246      else
  10247        lt_cv_prog_compiler_static_works=yes
  10248      fi
  10249    fi
  10250    $RM -r conftest*
  10251    LDFLAGS=$save_LDFLAGS
  10252 
  10253 fi
  10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  10255 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  10256 
  10257 if test yes = "$lt_cv_prog_compiler_static_works"; then
  10258     :
  10259 else
  10260     lt_prog_compiler_static=
  10261 fi
  10262 
  10263 
  10264     
  10265     
  10266     
  10267 
  10268 
  10269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  10270 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  10271 if ${lt_cv_prog_compiler_c_o+:} false; then :
  10272   $as_echo_n "(cached) " >&6
  10273 else
  10274   lt_cv_prog_compiler_c_o=no
  10275    $RM -r conftest 2>/dev/null
  10276    mkdir conftest
  10277    cd conftest
  10278    mkdir out
  10279    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10280 
  10281    lt_compiler_flag="-o out/conftest2.$ac_objext"
  10282    # Insert the option either (1) after the last *FLAGS variable, or
  10283    # (2) before a word containing "conftest.", or (3) at the end.
  10284    # Note that $ac_compile itself does not contain backslashes and begins
  10285    # with a dollar sign (not a hyphen), so the echo should work correctly.
  10286    lt_compile=`echo "$ac_compile" | $SED \
  10287    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  10288    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  10289    -e 's:$: $lt_compiler_flag:'`
  10290    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  10291    (eval "$lt_compile" 2>out/conftest.err)
  10292    ac_status=$?
  10293    cat out/conftest.err >&5
  10294    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10295    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  10296    then
  10297      # The compiler can only warn and ignore the option if not recognized
  10298      # So say no if there are warnings
  10299      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  10300      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  10301      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  10302        lt_cv_prog_compiler_c_o=yes
  10303      fi
  10304    fi
  10305    chmod u+w . 2>&5
  10306    $RM conftest*
  10307    # SGI C++ compiler will create directory out/ii_files/ for
  10308    # template instantiation
  10309    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  10310    $RM out/* && rmdir out
  10311    cd ..
  10312    $RM -r conftest
  10313    $RM conftest*
  10314 
  10315 fi
  10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  10317 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  10318 
  10319     
  10320     
  10321     
  10322 
  10323 
  10324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  10325 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  10326 if ${lt_cv_prog_compiler_c_o+:} false; then :
  10327   $as_echo_n "(cached) " >&6
  10328 else
  10329   lt_cv_prog_compiler_c_o=no
  10330    $RM -r conftest 2>/dev/null
  10331    mkdir conftest
  10332    cd conftest
  10333    mkdir out
  10334    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10335 
  10336    lt_compiler_flag="-o out/conftest2.$ac_objext"
  10337    # Insert the option either (1) after the last *FLAGS variable, or
  10338    # (2) before a word containing "conftest.", or (3) at the end.
  10339    # Note that $ac_compile itself does not contain backslashes and begins
  10340    # with a dollar sign (not a hyphen), so the echo should work correctly.
  10341    lt_compile=`echo "$ac_compile" | $SED \
  10342    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  10343    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  10344    -e 's:$: $lt_compiler_flag:'`
  10345    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  10346    (eval "$lt_compile" 2>out/conftest.err)
  10347    ac_status=$?
  10348    cat out/conftest.err >&5
  10349    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10350    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  10351    then
  10352      # The compiler can only warn and ignore the option if not recognized
  10353      # So say no if there are warnings
  10354      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  10355      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  10356      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  10357        lt_cv_prog_compiler_c_o=yes
  10358      fi
  10359    fi
  10360    chmod u+w . 2>&5
  10361    $RM conftest*
  10362    # SGI C++ compiler will create directory out/ii_files/ for
  10363    # template instantiation
  10364    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  10365    $RM out/* && rmdir out
  10366    cd ..
  10367    $RM -r conftest
  10368    $RM conftest*
  10369 
  10370 fi
  10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  10372 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  10373 
  10374 
  10375 
  10376 
  10377 hard_links=nottested
  10378 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  10379   # do not overwrite the value of need_locks provided by the user
  10380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  10381 $as_echo_n "checking if we can lock with hard links... " >&6; }
  10382   hard_links=yes
  10383   $RM conftest*
  10384   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  10385   touch conftest.a
  10386   ln conftest.a conftest.b 2>&5 || hard_links=no
  10387   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  10388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  10389 $as_echo "$hard_links" >&6; }
  10390   if test no = "$hard_links"; then
  10391     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  10392 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  10393     need_locks=warn
  10394   fi
  10395 else
  10396   need_locks=no
  10397 fi
  10398 
  10399     
  10400     
  10401     
  10402 
  10403 
  10404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  10405 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  10406 
  10407   runpath_var=
  10408   allow_undefined_flag=
  10409   always_export_symbols=no
  10410   archive_cmds=
  10411   archive_expsym_cmds=
  10412   compiler_needs_object=no
  10413   enable_shared_with_static_runtimes=no
  10414   export_dynamic_flag_spec=
  10415   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  10416   hardcode_automatic=no
  10417   hardcode_direct=no
  10418   hardcode_direct_absolute=no
  10419   hardcode_libdir_flag_spec=
  10420   hardcode_libdir_separator=
  10421   hardcode_minus_L=no
  10422   hardcode_shlibpath_var=unsupported
  10423   inherit_rpath=no
  10424   link_all_deplibs=unknown
  10425   module_cmds=
  10426   module_expsym_cmds=
  10427   old_archive_from_new_cmds=
  10428   old_archive_from_expsyms_cmds=
  10429   thread_safe_flag_spec=
  10430   whole_archive_flag_spec=
  10431   # include_expsyms should be a list of space-separated symbols to be *always*
  10432   # included in the symbol list
  10433   include_expsyms=
  10434   # exclude_expsyms can be an extended regexp of symbols to exclude
  10435   # it will be wrapped by ' (' and ')$', so one must not match beginning or
  10436   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  10437   # as well as any symbol that contains 'd'.
  10438   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  10439   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  10440   # platforms (ab)use it in PIC code, but their linkers get confused if
  10441   # the symbol is explicitly referenced.  Since portable code cannot
  10442   # rely on this symbol name, it's probably fine to never include it in
  10443   # preloaded symbol tables.
  10444   # Exclude shared library initialization/finalization symbols.
  10445   extract_expsyms_cmds=
  10446 
  10447   case $host_os in
  10448   cygwin* | mingw* | pw32* | cegcc*)
  10449     # FIXME: the MSVC++ port hasn't been tested in a loooong time
  10450     # When not using gcc, we currently assume that we are using
  10451     # Microsoft Visual C++.
  10452     if test yes != "$GCC"; then
  10453       with_gnu_ld=no
  10454     fi
  10455     ;;
  10456   interix*)
  10457     # we just hope/assume this is gcc and not c89 (= MSVC++)
  10458     with_gnu_ld=yes
  10459     ;;
  10460   openbsd* | bitrig*)
  10461     with_gnu_ld=no
  10462     ;;
  10463   esac
  10464 
  10465   ld_shlibs=yes
  10466 
  10467   # On some targets, GNU ld is compatible enough with the native linker
  10468   # that we're better off using the native interface for both.
  10469   lt_use_gnu_ld_interface=no
  10470   if test yes = "$with_gnu_ld"; then
  10471     case $host_os in
  10472       aix*)
  10473 	# The AIX port of GNU ld has always aspired to compatibility
  10474 	# with the native linker.  However, as the warning in the GNU ld
  10475 	# block says, versions before 2.19.5* couldn't really create working
  10476 	# shared libraries, regardless of the interface used.
  10477 	case `$LD -v 2>&1` in
  10478 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  10479 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  10480 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  10481 	  *)
  10482 	    lt_use_gnu_ld_interface=yes
  10483 	    ;;
  10484 	esac
  10485 	;;
  10486       *)
  10487 	lt_use_gnu_ld_interface=yes
  10488 	;;
  10489     esac
  10490   fi
  10491 
  10492   if test yes = "$lt_use_gnu_ld_interface"; then
  10493     # If archive_cmds runs LD, not CC, wlarc should be empty
  10494     wlarc='$wl'
  10495 
  10496     # Set some defaults for GNU ld with shared library support. These
  10497     # are reset later if shared libraries are not supported. Putting them
  10498     # here allows them to be overridden if necessary.
  10499     runpath_var=LD_RUN_PATH
  10500     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  10501     export_dynamic_flag_spec='$wl--export-dynamic'
  10502     # ancient GNU ld didn't support --whole-archive et. al.
  10503     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  10504       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  10505     else
  10506       whole_archive_flag_spec=
  10507     fi
  10508     supports_anon_versioning=no
  10509     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
  10510       *GNU\ gold*) supports_anon_versioning=yes ;;
  10511       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  10512       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  10513       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  10514       *\ 2.11.*) ;; # other 2.11 versions
  10515       *) supports_anon_versioning=yes ;;
  10516     esac
  10517 
  10518     # See if GNU ld supports shared libraries.
  10519     case $host_os in
  10520     aix[3-9]*)
  10521       # On AIX/PPC, the GNU linker is very broken
  10522       if test ia64 != "$host_cpu"; then
  10523 	ld_shlibs=no
  10524 	cat <<_LT_EOF 1>&2
  10525 
  10526 *** Warning: the GNU linker, at least up to release 2.19, is reported
  10527 *** to be unable to reliably create shared libraries on AIX.
  10528 *** Therefore, libtool is disabling shared libraries support.  If you
  10529 *** really care for shared libraries, you may want to install binutils
  10530 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  10531 *** You will then need to restart the configuration process.
  10532 
  10533 _LT_EOF
  10534       fi
  10535       ;;
  10536 
  10537     amigaos*)
  10538       case $host_cpu in
  10539       powerpc)
  10540             # see comment about AmigaOS4 .so support
  10541             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10542             archive_expsym_cmds=''
  10543         ;;
  10544       m68k)
  10545             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)'
  10546             hardcode_libdir_flag_spec='-L$libdir'
  10547             hardcode_minus_L=yes
  10548         ;;
  10549       esac
  10550       ;;
  10551 
  10552     beos*)
  10553       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  10554 	allow_undefined_flag=unsupported
  10555 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  10556 	# support --undefined.  This deserves some investigation.  FIXME
  10557 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10558       else
  10559 	ld_shlibs=no
  10560       fi
  10561       ;;
  10562 
  10563     cygwin* | mingw* | pw32* | cegcc*)
  10564       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  10565       # as there is no search path for DLLs.
  10566       hardcode_libdir_flag_spec='-L$libdir'
  10567       export_dynamic_flag_spec='$wl--export-all-symbols'
  10568       allow_undefined_flag=unsupported
  10569       always_export_symbols=no
  10570       enable_shared_with_static_runtimes=yes
  10571       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'
  10572       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  10573 
  10574       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  10575         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  10576 	# If the export-symbols file already is a .def file, use it as
  10577 	# is; otherwise, prepend EXPORTS...
  10578 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
  10579           cp $export_symbols $output_objdir/$soname.def;
  10580         else
  10581           echo EXPORTS > $output_objdir/$soname.def;
  10582           cat $export_symbols >> $output_objdir/$soname.def;
  10583         fi~
  10584         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  10585       else
  10586 	ld_shlibs=no
  10587       fi
  10588       ;;
  10589 
  10590     haiku*)
  10591       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10592       link_all_deplibs=yes
  10593       ;;
  10594 
  10595     os2*)
  10596       hardcode_libdir_flag_spec='-L$libdir'
  10597       hardcode_minus_L=yes
  10598       allow_undefined_flag=unsupported
  10599       shrext_cmds=.dll
  10600       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  10601 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  10602 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  10603 	$ECHO EXPORTS >> $output_objdir/$libname.def~
  10604 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  10605 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  10606 	emximp -o $lib $output_objdir/$libname.def'
  10607       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  10608 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  10609 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  10610 	$ECHO EXPORTS >> $output_objdir/$libname.def~
  10611 	prefix_cmds="$SED"~
  10612 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
  10613 	  prefix_cmds="$prefix_cmds -e 1d";
  10614 	fi~
  10615 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  10616 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  10617 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  10618 	emximp -o $lib $output_objdir/$libname.def'
  10619       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  10620       enable_shared_with_static_runtimes=yes
  10621       ;;
  10622 
  10623     interix[3-9]*)
  10624       hardcode_direct=no
  10625       hardcode_shlibpath_var=no
  10626       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  10627       export_dynamic_flag_spec='$wl-E'
  10628       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  10629       # Instead, shared libraries are loaded at an image base (0x10000000 by
  10630       # default) and relocated if they conflict, which is a slow very memory
  10631       # consuming and fragmenting process.  To avoid this, we pick a random,
  10632       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  10633       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  10634       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  10635       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'
  10636       ;;
  10637 
  10638     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  10639       tmp_diet=no
  10640       if test linux-dietlibc = "$host_os"; then
  10641 	case $cc_basename in
  10642 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
  10643 	esac
  10644       fi
  10645       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  10646 	 && test no = "$tmp_diet"
  10647       then
  10648 	tmp_addflag=' $pic_flag'
  10649 	tmp_sharedflag='-shared'
  10650 	case $cc_basename,$host_cpu in
  10651         pgcc*)				# Portland Group C compiler
  10652 	  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'
  10653 	  tmp_addflag=' $pic_flag'
  10654 	  ;;
  10655 	pgf77* | pgf90* | pgf95* | pgfortran*)
  10656 					# Portland Group f77 and f90 compilers
  10657 	  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'
  10658 	  tmp_addflag=' $pic_flag -Mnomain' ;;
  10659 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
  10660 	  tmp_addflag=' -i_dynamic' ;;
  10661 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  10662 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  10663 	ifc* | ifort*)			# Intel Fortran compiler
  10664 	  tmp_addflag=' -nofor_main' ;;
  10665 	lf95*)				# Lahey Fortran 8.1
  10666 	  whole_archive_flag_spec=
  10667 	  tmp_sharedflag='--shared' ;;
  10668         nagfor*)                        # NAGFOR 5.3
  10669           tmp_sharedflag='-Wl,-shared' ;;
  10670 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  10671 	  tmp_sharedflag='-qmkshrobj'
  10672 	  tmp_addflag= ;;
  10673 	nvcc*)	# Cuda Compiler Driver 2.2
  10674 	  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'
  10675 	  compiler_needs_object=yes
  10676 	  ;;
  10677 	esac
  10678 	case `$CC -V 2>&1 | sed 5q` in
  10679 	*Sun\ C*)			# Sun C 5.9
  10680 	  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'
  10681 	  compiler_needs_object=yes
  10682 	  tmp_sharedflag='-G' ;;
  10683 	*Sun\ F*)			# Sun Fortran 8.3
  10684 	  tmp_sharedflag='-G' ;;
  10685 	esac
  10686 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10687 
  10688         if test yes = "$supports_anon_versioning"; then
  10689           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  10690             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  10691             echo "local: *; };" >> $output_objdir/$libname.ver~
  10692             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  10693         fi
  10694 
  10695 	case $cc_basename in
  10696 	tcc*)
  10697 	  export_dynamic_flag_spec='-rdynamic'
  10698 	  ;;
  10699 	xlf* | bgf* | bgxlf* | mpixlf*)
  10700 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  10701 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  10702 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  10703 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  10704 	  if test yes = "$supports_anon_versioning"; then
  10705 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  10706               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  10707               echo "local: *; };" >> $output_objdir/$libname.ver~
  10708               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  10709 	  fi
  10710 	  ;;
  10711 	esac
  10712       else
  10713         ld_shlibs=no
  10714       fi
  10715       ;;
  10716 
  10717     netbsd*)
  10718       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  10719 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  10720 	wlarc=
  10721       else
  10722 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10723 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  10724       fi
  10725       ;;
  10726 
  10727     solaris*)
  10728       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  10729 	ld_shlibs=no
  10730 	cat <<_LT_EOF 1>&2
  10731 
  10732 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  10733 *** create shared libraries on Solaris systems.  Therefore, libtool
  10734 *** is disabling shared libraries support.  We urge you to upgrade GNU
  10735 *** binutils to release 2.9.1 or newer.  Another option is to modify
  10736 *** your PATH or compiler configuration so that the native linker is
  10737 *** used, and then restart.
  10738 
  10739 _LT_EOF
  10740       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  10741 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10742 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  10743       else
  10744 	ld_shlibs=no
  10745       fi
  10746       ;;
  10747 
  10748     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  10749       case `$LD -v 2>&1` in
  10750         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  10751 	ld_shlibs=no
  10752 	cat <<_LT_EOF 1>&2
  10753 
  10754 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  10755 *** reliably create shared libraries on SCO systems.  Therefore, libtool
  10756 *** is disabling shared libraries support.  We urge you to upgrade GNU
  10757 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  10758 *** your PATH or compiler configuration so that the native linker is
  10759 *** used, and then restart.
  10760 
  10761 _LT_EOF
  10762 	;;
  10763 	*)
  10764 	  # For security reasons, it is highly recommended that you always
  10765 	  # use absolute paths for naming shared libraries, and exclude the
  10766 	  # DT_RUNPATH tag from executables and libraries.  But doing so
  10767 	  # requires that you compile everything twice, which is a pain.
  10768 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  10769 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  10770 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10771 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  10772 	  else
  10773 	    ld_shlibs=no
  10774 	  fi
  10775 	;;
  10776       esac
  10777       ;;
  10778 
  10779     sunos4*)
  10780       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  10781       wlarc=
  10782       hardcode_direct=yes
  10783       hardcode_shlibpath_var=no
  10784       ;;
  10785 
  10786     *)
  10787       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  10788 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10789 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  10790       else
  10791 	ld_shlibs=no
  10792       fi
  10793       ;;
  10794     esac
  10795 
  10796     if test no = "$ld_shlibs"; then
  10797       runpath_var=
  10798       hardcode_libdir_flag_spec=
  10799       export_dynamic_flag_spec=
  10800       whole_archive_flag_spec=
  10801     fi
  10802   else
  10803     # PORTME fill in a description of your system's linker (not GNU ld)
  10804     case $host_os in
  10805     aix3*)
  10806       allow_undefined_flag=unsupported
  10807       always_export_symbols=yes
  10808       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'
  10809       # Note: this linker hardcodes the directories in LIBPATH if there
  10810       # are no directories specified by -L.
  10811       hardcode_minus_L=yes
  10812       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  10813 	# Neither direct hardcoding nor static linking is supported with a
  10814 	# broken collect2.
  10815 	hardcode_direct=unsupported
  10816       fi
  10817       ;;
  10818 
  10819     aix[4-9]*)
  10820       if test ia64 = "$host_cpu"; then
  10821 	# On IA64, the linker does run time linking by default, so we don't
  10822 	# have to do anything special.
  10823 	aix_use_runtimelinking=no
  10824 	exp_sym_flag='-Bexport'
  10825 	no_entry_flag=
  10826       else
  10827 	# If we're using GNU nm, then we don't want the "-C" option.
  10828 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
  10829 	# Without the "-l" option, or with the "-B" option, AIX nm treats
  10830 	# weak defined symbols like other global defined symbols, whereas
  10831 	# GNU nm marks them as "W".
  10832 	# While the 'weak' keyword is ignored in the Export File, we need
  10833 	# it in the Import File for the 'aix-soname' feature, so we have
  10834 	# to replace the "-B" option with "-P" for AIX nm.
  10835 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  10836 	  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'
  10837 	else
  10838 	  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'
  10839 	fi
  10840 	aix_use_runtimelinking=no
  10841 
  10842 	# Test if we are trying to use run time linking or normal
  10843 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  10844 	# have runtime linking enabled, and use it for executables.
  10845 	# For shared libraries, we enable/disable runtime linking
  10846 	# depending on the kind of the shared library created -
  10847 	# when "with_aix_soname,aix_use_runtimelinking" is:
  10848 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
  10849 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
  10850 	#            lib.a           static archive
  10851 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
  10852 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
  10853 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  10854 	#            lib.a(lib.so.V) shared, rtl:no
  10855 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
  10856 	#            lib.a           static archive
  10857 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  10858 	  for ld_flag in $LDFLAGS; do
  10859 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  10860 	    aix_use_runtimelinking=yes
  10861 	    break
  10862 	  fi
  10863 	  done
  10864 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  10865 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
  10866 	    # so we don't have lib.a shared libs to link our executables.
  10867 	    # We have to force runtime linking in this case.
  10868 	    aix_use_runtimelinking=yes
  10869 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
  10870 	  fi
  10871 	  ;;
  10872 	esac
  10873 
  10874 	exp_sym_flag='-bexport'
  10875 	no_entry_flag='-bnoentry'
  10876       fi
  10877 
  10878       # When large executables or shared objects are built, AIX ld can
  10879       # have problems creating the table of contents.  If linking a library
  10880       # or program results in "error TOC overflow" add -mminimal-toc to
  10881       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  10882       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  10883 
  10884       archive_cmds=''
  10885       hardcode_direct=yes
  10886       hardcode_direct_absolute=yes
  10887       hardcode_libdir_separator=':'
  10888       link_all_deplibs=yes
  10889       file_list_spec='$wl-f,'
  10890       case $with_aix_soname,$aix_use_runtimelinking in
  10891       aix,*) ;; # traditional, no import file
  10892       svr4,* | *,yes) # use import file
  10893 	# The Import File defines what to hardcode.
  10894 	hardcode_direct=no
  10895 	hardcode_direct_absolute=no
  10896 	;;
  10897       esac
  10898 
  10899       if test yes = "$GCC"; then
  10900 	case $host_os in aix4.[012]|aix4.[012].*)
  10901 	# We only want to do this on AIX 4.2 and lower, the check
  10902 	# below for broken collect2 doesn't work under 4.3+
  10903 	  collect2name=`$CC -print-prog-name=collect2`
  10904 	  if test -f "$collect2name" &&
  10905 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  10906 	  then
  10907 	  # We have reworked collect2
  10908 	  :
  10909 	  else
  10910 	  # We have old collect2
  10911 	  hardcode_direct=unsupported
  10912 	  # It fails to find uninstalled libraries when the uninstalled
  10913 	  # path is not listed in the libpath.  Setting hardcode_minus_L
  10914 	  # to unsupported forces relinking
  10915 	  hardcode_minus_L=yes
  10916 	  hardcode_libdir_flag_spec='-L$libdir'
  10917 	  hardcode_libdir_separator=
  10918 	  fi
  10919 	  ;;
  10920 	esac
  10921 	shared_flag='-shared'
  10922 	if test yes = "$aix_use_runtimelinking"; then
  10923 	  shared_flag="$shared_flag "'$wl-G'
  10924 	fi
  10925 	# Need to ensure runtime linking is disabled for the traditional
  10926 	# shared library, or the linker may eventually find shared libraries
  10927 	# /with/ Import File - we do not want to mix them.
  10928 	shared_flag_aix='-shared'
  10929 	shared_flag_svr4='-shared $wl-G'
  10930       else
  10931 	# not using gcc
  10932 	if test ia64 = "$host_cpu"; then
  10933 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  10934 	# chokes on -Wl,-G. The following line is correct:
  10935 	  shared_flag='-G'
  10936 	else
  10937 	  if test yes = "$aix_use_runtimelinking"; then
  10938 	    shared_flag='$wl-G'
  10939 	  else
  10940 	    shared_flag='$wl-bM:SRE'
  10941 	  fi
  10942 	  shared_flag_aix='$wl-bM:SRE'
  10943 	  shared_flag_svr4='$wl-G'
  10944 	fi
  10945       fi
  10946 
  10947       export_dynamic_flag_spec='$wl-bexpall'
  10948       # It seems that -bexpall does not export symbols beginning with
  10949       # underscore (_), so it is better to generate a list of symbols to export.
  10950       always_export_symbols=yes
  10951       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  10952 	# Warning - without using the other runtime loading flags (-brtl),
  10953 	# -berok will link without error, but may produce a broken library.
  10954 	allow_undefined_flag='-berok'
  10955         # Determine the default libpath from the value encoded in an
  10956         # empty executable.
  10957         if test set = "${lt_cv_aix_libpath+set}"; then
  10958   aix_libpath=$lt_cv_aix_libpath
  10959 else
  10960   if ${lt_cv_aix_libpath_+:} false; then :
  10961   $as_echo_n "(cached) " >&6
  10962 else
  10963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10964 /* end confdefs.h.  */
  10965 
  10966 int
  10967 main ()
  10968 {
  10969 
  10970   ;
  10971   return 0;
  10972 }
  10973 _ACEOF
  10974 if ac_fn_c_try_link "$LINENO"; then :
  10975   
  10976   lt_aix_libpath_sed='
  10977       /Import File Strings/,/^$/ {
  10978 	  /^0/ {
  10979 	      s/^0  *\([^ ]*\) *$/\1/
  10980 	      p
  10981 	  }
  10982       }'
  10983   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10984   # Check for a 64-bit object if we didn't find anything.
  10985   if test -z "$lt_cv_aix_libpath_"; then
  10986     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  10987   fi
  10988 fi
  10989 rm -f core conftest.err conftest.$ac_objext \
  10990     conftest$ac_exeext conftest.$ac_ext
  10991   if test -z "$lt_cv_aix_libpath_"; then
  10992     lt_cv_aix_libpath_=/usr/lib:/lib
  10993   fi
  10994   
  10995 fi
  10996 
  10997   aix_libpath=$lt_cv_aix_libpath_
  10998 fi
  10999 
  11000         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  11001         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
  11002       else
  11003 	if test ia64 = "$host_cpu"; then
  11004 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  11005 	  allow_undefined_flag="-z nodefs"
  11006 	  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"
  11007 	else
  11008 	 # Determine the default libpath from the value encoded in an
  11009 	 # empty executable.
  11010 	 if test set = "${lt_cv_aix_libpath+set}"; then
  11011   aix_libpath=$lt_cv_aix_libpath
  11012 else
  11013   if ${lt_cv_aix_libpath_+:} false; then :
  11014   $as_echo_n "(cached) " >&6
  11015 else
  11016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11017 /* end confdefs.h.  */
  11018 
  11019 int
  11020 main ()
  11021 {
  11022 
  11023   ;
  11024   return 0;
  11025 }
  11026 _ACEOF
  11027 if ac_fn_c_try_link "$LINENO"; then :
  11028   
  11029   lt_aix_libpath_sed='
  11030       /Import File Strings/,/^$/ {
  11031 	  /^0/ {
  11032 	      s/^0  *\([^ ]*\) *$/\1/
  11033 	      p
  11034 	  }
  11035       }'
  11036   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11037   # Check for a 64-bit object if we didn't find anything.
  11038   if test -z "$lt_cv_aix_libpath_"; then
  11039     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11040   fi
  11041 fi
  11042 rm -f core conftest.err conftest.$ac_objext \
  11043     conftest$ac_exeext conftest.$ac_ext
  11044   if test -z "$lt_cv_aix_libpath_"; then
  11045     lt_cv_aix_libpath_=/usr/lib:/lib
  11046   fi
  11047   
  11048 fi
  11049 
  11050   aix_libpath=$lt_cv_aix_libpath_
  11051 fi
  11052 
  11053 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  11054 	  # Warning - without using the other run time loading flags,
  11055 	  # -berok will link without error, but may produce a broken library.
  11056 	  no_undefined_flag=' $wl-bernotok'
  11057 	  allow_undefined_flag=' $wl-berok'
  11058 	  if test yes = "$with_gnu_ld"; then
  11059 	    # We only use this code for GNU lds that support --whole-archive.
  11060 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  11061 	  else
  11062 	    # Exported symbols can be pulled into shared objects from archives
  11063 	    whole_archive_flag_spec='$convenience'
  11064 	  fi
  11065 	  archive_cmds_need_lc=yes
  11066 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  11067 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
  11068 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  11069 	  if test svr4 != "$with_aix_soname"; then
  11070 	    # This is similar to how AIX traditionally builds its shared libraries.
  11071 	    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'
  11072 	  fi
  11073 	  if test aix != "$with_aix_soname"; then
  11074 	    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'
  11075 	  else
  11076 	    # used by -dlpreopen to get the symbols
  11077 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
  11078 	  fi
  11079 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  11080 	fi
  11081       fi
  11082       ;;
  11083 
  11084     amigaos*)
  11085       case $host_cpu in
  11086       powerpc)
  11087             # see comment about AmigaOS4 .so support
  11088             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  11089             archive_expsym_cmds=''
  11090         ;;
  11091       m68k)
  11092             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)'
  11093             hardcode_libdir_flag_spec='-L$libdir'
  11094             hardcode_minus_L=yes
  11095         ;;
  11096       esac
  11097       ;;
  11098 
  11099     bsdi[45]*)
  11100       export_dynamic_flag_spec=-rdynamic
  11101       ;;
  11102 
  11103     cygwin* | mingw* | pw32* | cegcc*)
  11104       # When not using gcc, we currently assume that we are using
  11105       # Microsoft Visual C++.
  11106       # hardcode_libdir_flag_spec is actually meaningless, as there is
  11107       # no search path for DLLs.
  11108       case $cc_basename in
  11109       cl*)
  11110 	# Native MSVC
  11111 	hardcode_libdir_flag_spec=' '
  11112 	allow_undefined_flag=unsupported
  11113 	always_export_symbols=yes
  11114 	file_list_spec='@'
  11115 	# Tell ltmain to make .lib files, not .a files.
  11116 	libext=lib
  11117 	# Tell ltmain to make .dll files, not .so files.
  11118 	shrext_cmds=.dll
  11119 	# FIXME: Setting linknames here is a bad hack.
  11120 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  11121 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
  11122             cp "$export_symbols" "$output_objdir/$soname.def";
  11123             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  11124           else
  11125             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  11126           fi~
  11127           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  11128           linknames='
  11129 	# The linker will not automatically build a static lib if we build a DLL.
  11130 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  11131 	enable_shared_with_static_runtimes=yes
  11132 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  11133 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  11134 	# Don't use ranlib
  11135 	old_postinstall_cmds='chmod 644 $oldlib'
  11136 	postlink_cmds='lt_outputfile="@OUTPUT@"~
  11137           lt_tool_outputfile="@TOOL_OUTPUT@"~
  11138           case $lt_outputfile in
  11139             *.exe|*.EXE) ;;
  11140             *)
  11141               lt_outputfile=$lt_outputfile.exe
  11142               lt_tool_outputfile=$lt_tool_outputfile.exe
  11143               ;;
  11144           esac~
  11145           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  11146             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  11147             $RM "$lt_outputfile.manifest";
  11148           fi'
  11149 	;;
  11150       *)
  11151 	# Assume MSVC wrapper
  11152 	hardcode_libdir_flag_spec=' '
  11153 	allow_undefined_flag=unsupported
  11154 	# Tell ltmain to make .lib files, not .a files.
  11155 	libext=lib
  11156 	# Tell ltmain to make .dll files, not .so files.
  11157 	shrext_cmds=.dll
  11158 	# FIXME: Setting linknames here is a bad hack.
  11159 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  11160 	# The linker will automatically build a .lib file if we build a DLL.
  11161 	old_archive_from_new_cmds='true'
  11162 	# FIXME: Should let the user specify the lib program.
  11163 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  11164 	enable_shared_with_static_runtimes=yes
  11165 	;;
  11166       esac
  11167       ;;
  11168 
  11169     darwin* | rhapsody*)
  11170       
  11171   
  11172   archive_cmds_need_lc=no
  11173   hardcode_direct=no
  11174   hardcode_automatic=yes
  11175   hardcode_shlibpath_var=unsupported
  11176   if test yes = "$lt_cv_ld_force_load"; then
  11177     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\"`'
  11178     
  11179   else
  11180     whole_archive_flag_spec=''
  11181   fi
  11182   link_all_deplibs=yes
  11183   allow_undefined_flag=$_lt_dar_allow_undefined
  11184   case $cc_basename in
  11185      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  11186      *) _lt_dar_can_shared=$GCC ;;
  11187   esac
  11188   if test yes = "$_lt_dar_can_shared"; then
  11189     output_verbose_link_cmd=func_echo_all
  11190     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  11191     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  11192     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"
  11193     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"
  11194     
  11195   else
  11196   ld_shlibs=no
  11197   fi
  11198 
  11199       ;;
  11200 
  11201     dgux*)
  11202       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11203       hardcode_libdir_flag_spec='-L$libdir'
  11204       hardcode_shlibpath_var=no
  11205       ;;
  11206 
  11207     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  11208     # support.  Future versions do this automatically, but an explicit c++rt0.o
  11209     # does not break anything, and helps significantly (at the cost of a little
  11210     # extra space).
  11211     freebsd2.2*)
  11212       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  11213       hardcode_libdir_flag_spec='-R$libdir'
  11214       hardcode_direct=yes
  11215       hardcode_shlibpath_var=no
  11216       ;;
  11217 
  11218     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  11219     freebsd2.*)
  11220       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  11221       hardcode_direct=yes
  11222       hardcode_minus_L=yes
  11223       hardcode_shlibpath_var=no
  11224       ;;
  11225 
  11226     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  11227     freebsd* | dragonfly*)
  11228       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  11229       hardcode_libdir_flag_spec='-R$libdir'
  11230       hardcode_direct=yes
  11231       hardcode_shlibpath_var=no
  11232       ;;
  11233 
  11234     hpux9*)
  11235       if test yes = "$GCC"; then
  11236 	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'
  11237       else
  11238 	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'
  11239       fi
  11240       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  11241       hardcode_libdir_separator=:
  11242       hardcode_direct=yes
  11243 
  11244       # hardcode_minus_L: Not really in the search PATH,
  11245       # but as the default location of the library.
  11246       hardcode_minus_L=yes
  11247       export_dynamic_flag_spec='$wl-E'
  11248       ;;
  11249 
  11250     hpux10*)
  11251       if test yes,no = "$GCC,$with_gnu_ld"; then
  11252 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  11253       else
  11254 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  11255       fi
  11256       if test no = "$with_gnu_ld"; then
  11257 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  11258 	hardcode_libdir_separator=:
  11259 	hardcode_direct=yes
  11260 	hardcode_direct_absolute=yes
  11261 	export_dynamic_flag_spec='$wl-E'
  11262 	# hardcode_minus_L: Not really in the search PATH,
  11263 	# but as the default location of the library.
  11264 	hardcode_minus_L=yes
  11265       fi
  11266       ;;
  11267 
  11268     hpux11*)
  11269       if test yes,no = "$GCC,$with_gnu_ld"; then
  11270 	case $host_cpu in
  11271 	hppa*64*)
  11272 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  11273 	  ;;
  11274 	ia64*)
  11275 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  11276 	  ;;
  11277 	*)
  11278 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  11279 	  ;;
  11280 	esac
  11281       else
  11282 	case $host_cpu in
  11283 	hppa*64*)
  11284 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  11285 	  ;;
  11286 	ia64*)
  11287 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  11288 	  ;;
  11289 	*)
  11290 	
  11291 	  # Older versions of the 11.00 compiler do not understand -b yet
  11292 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  11293 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  11294 $as_echo_n "checking if $CC understands -b... " >&6; }
  11295 if ${lt_cv_prog_compiler__b+:} false; then :
  11296   $as_echo_n "(cached) " >&6
  11297 else
  11298   lt_cv_prog_compiler__b=no
  11299    save_LDFLAGS=$LDFLAGS
  11300    LDFLAGS="$LDFLAGS -b"
  11301    echo "$lt_simple_link_test_code" > conftest.$ac_ext
  11302    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  11303      # The linker can only warn and ignore the option if not recognized
  11304      # So say no if there are warnings
  11305      if test -s conftest.err; then
  11306        # Append any errors to the config.log.
  11307        cat conftest.err 1>&5
  11308        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  11309        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  11310        if diff conftest.exp conftest.er2 >/dev/null; then
  11311          lt_cv_prog_compiler__b=yes
  11312        fi
  11313      else
  11314        lt_cv_prog_compiler__b=yes
  11315      fi
  11316    fi
  11317    $RM -r conftest*
  11318    LDFLAGS=$save_LDFLAGS
  11319 
  11320 fi
  11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  11322 $as_echo "$lt_cv_prog_compiler__b" >&6; }
  11323 
  11324 if test yes = "$lt_cv_prog_compiler__b"; then
  11325     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  11326 else
  11327     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  11328 fi
  11329 
  11330 	  ;;
  11331 	esac
  11332       fi
  11333       if test no = "$with_gnu_ld"; then
  11334 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  11335 	hardcode_libdir_separator=:
  11336 
  11337 	case $host_cpu in
  11338 	hppa*64*|ia64*)
  11339 	  hardcode_direct=no
  11340 	  hardcode_shlibpath_var=no
  11341 	  ;;
  11342 	*)
  11343 	  hardcode_direct=yes
  11344 	  hardcode_direct_absolute=yes
  11345 	  export_dynamic_flag_spec='$wl-E'
  11346 
  11347 	  # hardcode_minus_L: Not really in the search PATH,
  11348 	  # but as the default location of the library.
  11349 	  hardcode_minus_L=yes
  11350 	  ;;
  11351 	esac
  11352       fi
  11353       ;;
  11354 
  11355     irix5* | irix6* | nonstopux*)
  11356       if test yes = "$GCC"; then
  11357 	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'
  11358 	# Try to use the -exported_symbol ld option, if it does not
  11359 	# work, assume that -exports_file does not work either and
  11360 	# implicitly export all symbols.
  11361 	# This should be the same for all languages, so no per-tag cache variable.
  11362 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  11363 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  11364 if ${lt_cv_irix_exported_symbol+:} false; then :
  11365   $as_echo_n "(cached) " >&6
  11366 else
  11367   save_LDFLAGS=$LDFLAGS
  11368 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  11369 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11370 /* end confdefs.h.  */
  11371 int foo (void) { return 0; }
  11372 _ACEOF
  11373 if ac_fn_c_try_link "$LINENO"; then :
  11374   lt_cv_irix_exported_symbol=yes
  11375 else
  11376   lt_cv_irix_exported_symbol=no
  11377 fi
  11378 rm -f core conftest.err conftest.$ac_objext \
  11379     conftest$ac_exeext conftest.$ac_ext
  11380            LDFLAGS=$save_LDFLAGS
  11381 fi
  11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  11383 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
  11384 	if test yes = "$lt_cv_irix_exported_symbol"; then
  11385           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'
  11386 	fi
  11387       else
  11388 	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'
  11389 	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'
  11390       fi
  11391       archive_cmds_need_lc='no'
  11392       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  11393       hardcode_libdir_separator=:
  11394       inherit_rpath=yes
  11395       link_all_deplibs=yes
  11396       ;;
  11397 
  11398     linux*)
  11399       case $cc_basename in
  11400       tcc*)
  11401 	# Fabrice Bellard et al's Tiny C Compiler
  11402 	ld_shlibs=yes
  11403 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  11404 	;;
  11405       esac
  11406       ;;
  11407 
  11408     netbsd*)
  11409       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  11410 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  11411       else
  11412 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  11413       fi
  11414       hardcode_libdir_flag_spec='-R$libdir'
  11415       hardcode_direct=yes
  11416       hardcode_shlibpath_var=no
  11417       ;;
  11418 
  11419     newsos6)
  11420       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11421       hardcode_direct=yes
  11422       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  11423       hardcode_libdir_separator=:
  11424       hardcode_shlibpath_var=no
  11425       ;;
  11426 
  11427     *nto* | *qnx*)
  11428       ;;
  11429 
  11430     openbsd* | bitrig*)
  11431       if test -f /usr/libexec/ld.so; then
  11432 	hardcode_direct=yes
  11433 	hardcode_shlibpath_var=no
  11434 	hardcode_direct_absolute=yes
  11435 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  11436 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  11437 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  11438 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  11439 	  export_dynamic_flag_spec='$wl-E'
  11440 	else
  11441 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  11442 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  11443 	fi
  11444       else
  11445 	ld_shlibs=no
  11446       fi
  11447       ;;
  11448 
  11449     os2*)
  11450       hardcode_libdir_flag_spec='-L$libdir'
  11451       hardcode_minus_L=yes
  11452       allow_undefined_flag=unsupported
  11453       shrext_cmds=.dll
  11454       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  11455 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  11456 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  11457 	$ECHO EXPORTS >> $output_objdir/$libname.def~
  11458 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  11459 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  11460 	emximp -o $lib $output_objdir/$libname.def'
  11461       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  11462 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  11463 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  11464 	$ECHO EXPORTS >> $output_objdir/$libname.def~
  11465 	prefix_cmds="$SED"~
  11466 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
  11467 	  prefix_cmds="$prefix_cmds -e 1d";
  11468 	fi~
  11469 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  11470 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  11471 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  11472 	emximp -o $lib $output_objdir/$libname.def'
  11473       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  11474       enable_shared_with_static_runtimes=yes
  11475       ;;
  11476 
  11477     osf3*)
  11478       if test yes = "$GCC"; then
  11479 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  11480 	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'
  11481       else
  11482 	allow_undefined_flag=' -expect_unresolved \*'
  11483 	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'
  11484       fi
  11485       archive_cmds_need_lc='no'
  11486       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  11487       hardcode_libdir_separator=:
  11488       ;;
  11489 
  11490     osf4* | osf5*)	# as osf3* with the addition of -msym flag
  11491       if test yes = "$GCC"; then
  11492 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  11493 	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'
  11494 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  11495       else
  11496 	allow_undefined_flag=' -expect_unresolved \*'
  11497 	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'
  11498 	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~
  11499           $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'
  11500 
  11501 	# Both c and cxx compiler support -rpath directly
  11502 	hardcode_libdir_flag_spec='-rpath $libdir'
  11503       fi
  11504       archive_cmds_need_lc='no'
  11505       hardcode_libdir_separator=:
  11506       ;;
  11507 
  11508     solaris*)
  11509       no_undefined_flag=' -z defs'
  11510       if test yes = "$GCC"; then
  11511 	wlarc='$wl'
  11512 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  11513 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11514           $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'
  11515       else
  11516 	case `$CC -V 2>&1` in
  11517 	*"Compilers 5.0"*)
  11518 	  wlarc=''
  11519 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11520 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11521             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  11522 	  ;;
  11523 	*)
  11524 	  wlarc='$wl'
  11525 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  11526 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11527             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  11528 	  ;;
  11529 	esac
  11530       fi
  11531       hardcode_libdir_flag_spec='-R$libdir'
  11532       hardcode_shlibpath_var=no
  11533       case $host_os in
  11534       solaris2.[0-5] | solaris2.[0-5].*) ;;
  11535       *)
  11536 	# The compiler driver will combine and reorder linker options,
  11537 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
  11538 	# but is careful enough not to reorder.
  11539 	# Supported since Solaris 2.6 (maybe 2.5.1?)
  11540 	if test yes = "$GCC"; then
  11541 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  11542 	else
  11543 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  11544 	fi
  11545 	;;
  11546       esac
  11547       link_all_deplibs=yes
  11548       ;;
  11549 
  11550     sunos4*)
  11551       if test sequent = "$host_vendor"; then
  11552 	# Use $CC to link under sequent, because it throws in some extra .o
  11553 	# files that make .init and .fini sections work.
  11554 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  11555       else
  11556 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  11557       fi
  11558       hardcode_libdir_flag_spec='-L$libdir'
  11559       hardcode_direct=yes
  11560       hardcode_minus_L=yes
  11561       hardcode_shlibpath_var=no
  11562       ;;
  11563 
  11564     sysv4)
  11565       case $host_vendor in
  11566 	sni)
  11567 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11568 	  hardcode_direct=yes # is this really true???
  11569 	;;
  11570 	siemens)
  11571 	  ## LD is ld it makes a PLAMLIB
  11572 	  ## CC just makes a GrossModule.
  11573 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  11574 	  reload_cmds='$CC -r -o $output$reload_objs'
  11575 	  hardcode_direct=no
  11576         ;;
  11577 	motorola)
  11578 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11579 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  11580 	;;
  11581       esac
  11582       runpath_var='LD_RUN_PATH'
  11583       hardcode_shlibpath_var=no
  11584       ;;
  11585 
  11586     sysv4.3*)
  11587       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11588       hardcode_shlibpath_var=no
  11589       export_dynamic_flag_spec='-Bexport'
  11590       ;;
  11591 
  11592     sysv4*MP*)
  11593       if test -d /usr/nec; then
  11594 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11595 	hardcode_shlibpath_var=no
  11596 	runpath_var=LD_RUN_PATH
  11597 	hardcode_runpath_var=yes
  11598 	ld_shlibs=yes
  11599       fi
  11600       ;;
  11601 
  11602     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  11603       no_undefined_flag='$wl-z,text'
  11604       archive_cmds_need_lc=no
  11605       hardcode_shlibpath_var=no
  11606       runpath_var='LD_RUN_PATH'
  11607 
  11608       if test yes = "$GCC"; then
  11609 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11610 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11611       else
  11612 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11613 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11614       fi
  11615       ;;
  11616 
  11617     sysv5* | sco3.2v5* | sco5v6*)
  11618       # Note: We CANNOT use -z defs as we might desire, because we do not
  11619       # link with -lc, and that would cause any symbols used from libc to
  11620       # always be unresolved, which means just about no library would
  11621       # ever link correctly.  If we're not using GNU ld we use -z text
  11622       # though, which does catch some bad symbols but isn't as heavy-handed
  11623       # as -z defs.
  11624       no_undefined_flag='$wl-z,text'
  11625       allow_undefined_flag='$wl-z,nodefs'
  11626       archive_cmds_need_lc=no
  11627       hardcode_shlibpath_var=no
  11628       hardcode_libdir_flag_spec='$wl-R,$libdir'
  11629       hardcode_libdir_separator=':'
  11630       link_all_deplibs=yes
  11631       export_dynamic_flag_spec='$wl-Bexport'
  11632       runpath_var='LD_RUN_PATH'
  11633 
  11634       if test yes = "$GCC"; then
  11635 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11636 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11637       else
  11638 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11639 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  11640       fi
  11641       ;;
  11642 
  11643     uts4*)
  11644       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11645       hardcode_libdir_flag_spec='-L$libdir'
  11646       hardcode_shlibpath_var=no
  11647       ;;
  11648 
  11649     *)
  11650       ld_shlibs=no
  11651       ;;
  11652     esac
  11653 
  11654     if test sni = "$host_vendor"; then
  11655       case $host in
  11656       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  11657 	export_dynamic_flag_spec='$wl-Blargedynsym'
  11658 	;;
  11659       esac
  11660     fi
  11661   fi
  11662 
  11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  11664 $as_echo "$ld_shlibs" >&6; }
  11665 test no = "$ld_shlibs" && can_build_shared=no
  11666 
  11667 with_gnu_ld=$with_gnu_ld
  11668 
  11669 
  11670     
  11671     
  11672     
  11673 
  11674     
  11675     
  11676     
  11677 
  11678     
  11679     
  11680     
  11681 
  11682 
  11683 #
  11684 # Do we need to explicitly link libc?
  11685 #
  11686 case "x$archive_cmds_need_lc" in
  11687 x|xyes)
  11688   # Assume -lc should be added
  11689   archive_cmds_need_lc=yes
  11690 
  11691   if test yes,yes = "$GCC,$enable_shared"; then
  11692     case $archive_cmds in
  11693     *'~'*)
  11694       # FIXME: we may have to deal with multi-command sequences.
  11695       ;;
  11696     '$CC '*)
  11697       # Test whether the compiler implicitly links with -lc since on some
  11698       # systems, -lgcc has to come before -lc. If gcc already passes -lc
  11699       # to ld, don't add -lc before -lgcc.
  11700       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  11701 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  11702 if ${lt_cv_archive_cmds_need_lc+:} false; then :
  11703   $as_echo_n "(cached) " >&6
  11704 else
  11705   $RM conftest*
  11706 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  11707 
  11708 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11709   (eval $ac_compile) 2>&5
  11710   ac_status=$?
  11711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11712   test $ac_status = 0; } 2>conftest.err; then
  11713 	  soname=conftest
  11714 	  lib=conftest
  11715 	  libobjs=conftest.$ac_objext
  11716 	  deplibs=
  11717 	  wl=$lt_prog_compiler_wl
  11718 	  pic_flag=$lt_prog_compiler_pic
  11719 	  compiler_flags=-v
  11720 	  linker_flags=-v
  11721 	  verstring=
  11722 	  output_objdir=.
  11723 	  libname=conftest
  11724 	  lt_save_allow_undefined_flag=$allow_undefined_flag
  11725 	  allow_undefined_flag=
  11726 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  11727   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  11728   ac_status=$?
  11729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11730   test $ac_status = 0; }
  11731 	  then
  11732 	    lt_cv_archive_cmds_need_lc=no
  11733 	  else
  11734 	    lt_cv_archive_cmds_need_lc=yes
  11735 	  fi
  11736 	  allow_undefined_flag=$lt_save_allow_undefined_flag
  11737 	else
  11738 	  cat conftest.err 1>&5
  11739 	fi
  11740 	$RM conftest*
  11741 	
  11742 fi
  11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  11744 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  11745       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  11746       ;;
  11747     esac
  11748   fi
  11749   ;;
  11750 esac
  11751 
  11752 
  11753     
  11754     
  11755     
  11756 
  11757 
  11758     
  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 
  11857 
  11858     
  11859     
  11860     
  11861 
  11862 
  11863     
  11864     
  11865     
  11866 
  11867 
  11868     
  11869     
  11870     
  11871 
  11872 
  11873     
  11874     
  11875     
  11876 
  11877 
  11878     
  11879     
  11880     
  11881 
  11882 
  11883     
  11884     
  11885     
  11886 
  11887 
  11888     
  11889     
  11890     
  11891 
  11892 
  11893     
  11894     
  11895     
  11896 
  11897 
  11898     
  11899     
  11900     
  11901 
  11902 
  11903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  11904 $as_echo_n "checking dynamic linker characteristics... " >&6; }
  11905 
  11906 if test yes = "$GCC"; then
  11907   case $host_os in
  11908     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  11909     *) lt_awk_arg='/^libraries:/' ;;
  11910   esac
  11911   case $host_os in
  11912     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  11913     *) lt_sed_strip_eq='s|=/|/|g' ;;
  11914   esac
  11915   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  11916   case $lt_search_path_spec in
  11917   *\;*)
  11918     # if the path contains ";" then we assume it to be the separator
  11919     # otherwise default to the standard path separator (i.e. ":") - it is
  11920     # assumed that no part of a normal pathname contains ";" but that should
  11921     # okay in the real world where ";" in dirpaths is itself problematic.
  11922     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  11923     ;;
  11924   *)
  11925     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  11926     ;;
  11927   esac
  11928   # Ok, now we have the path, separated by spaces, we can step through it
  11929   # and add multilib dir if necessary...
  11930   lt_tmp_lt_search_path_spec=
  11931   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  11932   # ...but if some path component already ends with the multilib dir we assume
  11933   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  11934   case "$lt_multi_os_dir; $lt_search_path_spec " in
  11935   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  11936     lt_multi_os_dir=
  11937     ;;
  11938   esac
  11939   for lt_sys_path in $lt_search_path_spec; do
  11940     if test -d "$lt_sys_path$lt_multi_os_dir"; then
  11941       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  11942     elif test -n "$lt_multi_os_dir"; then
  11943       test -d "$lt_sys_path" && \
  11944 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  11945     fi
  11946   done
  11947   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  11948 BEGIN {RS = " "; FS = "/|\n";} {
  11949   lt_foo = "";
  11950   lt_count = 0;
  11951   for (lt_i = NF; lt_i > 0; lt_i--) {
  11952     if ($lt_i != "" && $lt_i != ".") {
  11953       if ($lt_i == "..") {
  11954         lt_count++;
  11955       } else {
  11956         if (lt_count == 0) {
  11957           lt_foo = "/" $lt_i lt_foo;
  11958         } else {
  11959           lt_count--;
  11960         }
  11961       }
  11962     }
  11963   }
  11964   if (lt_foo != "") { lt_freq[lt_foo]++; }
  11965   if (lt_freq[lt_foo] == 1) { print lt_foo; }
  11966 }'`
  11967   # AWK program above erroneously prepends '/' to C:/dos/paths
  11968   # for these hosts.
  11969   case $host_os in
  11970     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  11971       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  11972   esac
  11973   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  11974 else
  11975   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  11976 fi
  11977 library_names_spec=
  11978 libname_spec='lib$name'
  11979 soname_spec=
  11980 shrext_cmds=.so
  11981 postinstall_cmds=
  11982 postuninstall_cmds=
  11983 finish_cmds=
  11984 finish_eval=
  11985 shlibpath_var=
  11986 shlibpath_overrides_runpath=unknown
  11987 version_type=none
  11988 dynamic_linker="$host_os ld.so"
  11989 sys_lib_dlsearch_path_spec="/lib /usr/lib"
  11990 need_lib_prefix=unknown
  11991 hardcode_into_libs=no
  11992 
  11993 # when you set need_version to no, make sure it does not cause -set_version
  11994 # flags to be left without arguments
  11995 need_version=unknown
  11996 
  11997 
  11998 
  11999 case $host_os in
  12000 aix3*)
  12001   version_type=linux # correct to gnu/linux during the next big refactor
  12002   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  12003   shlibpath_var=LIBPATH
  12004 
  12005   # AIX 3 has no versioning support, so we append a major version to the name.
  12006   soname_spec='$libname$release$shared_ext$major'
  12007   ;;