recipes

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

output.1 (492239B)


      1 @%:@! /bin/sh
      2 @%:@ Guess values for system-dependent variables and create Makefiles.
      3 @%:@ Generated by GNU Autoconf 2.69 for torsocks 2.2.0.
      4 @%:@
      5 @%:@ Report bugs to <dgoulet@torproject.org>.
      6 @%:@ 
      7 @%:@ 
      8 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 @%:@ 
     10 @%:@ 
     11 @%:@ This configure script is free software; the Free Software Foundation
     12 @%:@ gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in @%:@(
     28   *posix*) :
     29     set -o posix ;; @%:@(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in @%:@(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in @%:@((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in @%:@ ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in @%:@(
    172   *posix*) :
    173     set -o posix ;; @%:@(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191   
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216   
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in @%:@(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in @%:@ ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
    278 $0: dgoulet@torproject.org about your system, including any
    279 $0: error possibly output before this message. Then install
    280 $0: a modern shell, or manually run the script under such a
    281 $0: shell if you do have one."
    282   fi
    283   exit 1
    284 fi
    285 fi
    286 fi
    287 SHELL=${CONFIG_SHELL-/bin/sh}
    288 export SHELL
    289 # Unset more variables known to interfere with behavior of common tools.
    290 CLICOLOR_FORCE= GREP_OPTIONS=
    291 unset CLICOLOR_FORCE GREP_OPTIONS
    292 
    293 ## --------------------- ##
    294 ## M4sh Shell Functions. ##
    295 ## --------------------- ##
    296 @%:@ as_fn_unset VAR
    297 @%:@ ---------------
    298 @%:@ Portably unset VAR.
    299 as_fn_unset ()
    300 {
    301   { eval $1=; unset $1;}
    302 }
    303 as_unset=as_fn_unset
    304 
    305 @%:@ as_fn_set_status STATUS
    306 @%:@ -----------------------
    307 @%:@ Set @S|@? to STATUS, without forking.
    308 as_fn_set_status ()
    309 {
    310   return $1
    311 } @%:@ as_fn_set_status
    312 
    313 @%:@ as_fn_exit STATUS
    314 @%:@ -----------------
    315 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    316 as_fn_exit ()
    317 {
    318   set +e
    319   as_fn_set_status $1
    320   exit $1
    321 } @%:@ as_fn_exit
    322 
    323 @%:@ as_fn_mkdir_p
    324 @%:@ -------------
    325 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
    326 as_fn_mkdir_p ()
    327 {
    328 
    329   case $as_dir in #(
    330   -*) as_dir=./$as_dir;;
    331   esac
    332   test -d "$as_dir" || eval $as_mkdir_p || {
    333     as_dirs=
    334     while :; do
    335       case $as_dir in #(
    336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    337       *) as_qdir=$as_dir;;
    338       esac
    339       as_dirs="'$as_qdir' $as_dirs"
    340       as_dir=`$as_dirname -- "$as_dir" ||
    341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    342 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    343 	 X"$as_dir" : 'X\(//\)$' \| \
    344 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    345 $as_echo X"$as_dir" |
    346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    347 	    s//\1/
    348 	    q
    349 	  }
    350 	  /^X\(\/\/\)[^/].*/{
    351 	    s//\1/
    352 	    q
    353 	  }
    354 	  /^X\(\/\/\)$/{
    355 	    s//\1/
    356 	    q
    357 	  }
    358 	  /^X\(\/\).*/{
    359 	    s//\1/
    360 	    q
    361 	  }
    362 	  s/.*/./; q'`
    363       test -d "$as_dir" && break
    364     done
    365     test -z "$as_dirs" || eval "mkdir $as_dirs"
    366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    367 
    368 
    369 } @%:@ as_fn_mkdir_p
    370 
    371 @%:@ as_fn_executable_p FILE
    372 @%:@ -----------------------
    373 @%:@ Test if FILE is an executable regular file.
    374 as_fn_executable_p ()
    375 {
    376   test -f "$1" && test -x "$1"
    377 } @%:@ as_fn_executable_p
    378 @%:@ as_fn_append VAR VALUE
    379 @%:@ ----------------------
    380 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
    381 @%:@ advantage of any shell optimizations that allow amortized linear growth over
    382 @%:@ repeated appends, instead of the typical quadratic growth present in naive
    383 @%:@ implementations.
    384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else
    390   as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   }
    394 fi # as_fn_append
    395 
    396 @%:@ as_fn_arith ARG...
    397 @%:@ ------------------
    398 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
    399 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
    400 @%:@ must be portable across @S|@(()) and expr.
    401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    402   eval 'as_fn_arith ()
    403   {
    404     as_val=$(( $* ))
    405   }'
    406 else
    407   as_fn_arith ()
    408   {
    409     as_val=`expr "$@" || test $? -eq 1`
    410   }
    411 fi # as_fn_arith
    412 
    413 
    414 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
    415 @%:@ ----------------------------------------
    416 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    417 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    418 @%:@ script with STATUS, using 1 if that was 0.
    419 as_fn_error ()
    420 {
    421   as_status=$1; test $as_status -eq 0 && as_status=1
    422   if test "$4"; then
    423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    425   fi
    426   $as_echo "$as_me: error: $2" >&2
    427   as_fn_exit $as_status
    428 } @%:@ as_fn_error
    429 
    430 if expr a : '\(a\)' >/dev/null 2>&1 &&
    431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    432   as_expr=expr
    433 else
    434   as_expr=false
    435 fi
    436 
    437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    438   as_basename=basename
    439 else
    440   as_basename=false
    441 fi
    442 
    443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    444   as_dirname=dirname
    445 else
    446   as_dirname=false
    447 fi
    448 
    449 as_me=`$as_basename -- "$0" ||
    450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    451 	 X"$0" : 'X\(//\)$' \| \
    452 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    453 $as_echo X/"$0" |
    454     sed '/^.*\/\([^/][^/]*\)\/*$/{
    455 	    s//\1/
    456 	    q
    457 	  }
    458 	  /^X\/\(\/\/\)$/{
    459 	    s//\1/
    460 	    q
    461 	  }
    462 	  /^X\/\(\/\).*/{
    463 	    s//\1/
    464 	    q
    465 	  }
    466 	  s/.*/./; q'`
    467 
    468 # Avoid depending upon Character Ranges.
    469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    472 as_cr_digits='0123456789'
    473 as_cr_alnum=$as_cr_Letters$as_cr_digits
    474 
    475 
    476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    481   sed -n '
    482     p
    483     /[$]LINENO/=
    484   ' <$as_myself |
    485     sed '
    486       s/[$]LINENO.*/&-/
    487       t lineno
    488       b
    489       :lineno
    490       N
    491       :loop
    492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    493       t loop
    494       s/-\n.*//
    495     ' >$as_me.lineno &&
    496   chmod +x "$as_me.lineno" ||
    497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    498 
    499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    500   # already done that, so ensure we don't try to do so again and fall
    501   # in an infinite loop.  This has already happened in practice.
    502   _as_can_reexec=no; export _as_can_reexec
    503   # Don't try to exec as it changes $[0], causing all sort of problems
    504   # (the dirname of $[0] is not the place where we might find the
    505   # original and so on.  Autoconf is especially sensitive to this).
    506   . "./$as_me.lineno"
    507   # Exit status is that of the last command.
    508   exit
    509 }
    510 
    511 ECHO_C= ECHO_N= ECHO_T=
    512 case `echo -n x` in @%:@(((((
    513 -n*)
    514   case `echo 'xy\c'` in
    515   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    516   xy)  ECHO_C='\c';;
    517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    518        ECHO_T='	';;
    519   esac;;
    520 *)
    521   ECHO_N='-n';;
    522 esac
    523 
    524 rm -f conf$$ conf$$.exe conf$$.file
    525 if test -d conf$$.dir; then
    526   rm -f conf$$.dir/conf$$.file
    527 else
    528   rm -f conf$$.dir
    529   mkdir conf$$.dir 2>/dev/null
    530 fi
    531 if (echo >conf$$.file) 2>/dev/null; then
    532   if ln -s conf$$.file conf$$ 2>/dev/null; then
    533     as_ln_s='ln -s'
    534     # ... but there are two gotchas:
    535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    537     # In both cases, we have to default to `cp -pR'.
    538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    539       as_ln_s='cp -pR'
    540   elif ln conf$$.file conf$$ 2>/dev/null; then
    541     as_ln_s=ln
    542   else
    543     as_ln_s='cp -pR'
    544   fi
    545 else
    546   as_ln_s='cp -pR'
    547 fi
    548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    549 rmdir conf$$.dir 2>/dev/null
    550 
    551 if mkdir -p . 2>/dev/null; then
    552   as_mkdir_p='mkdir -p "$as_dir"'
    553 else
    554   test -d ./-p && rmdir ./-p
    555   as_mkdir_p=false
    556 fi
    557 
    558 as_test_x='test -x'
    559 as_executable_p=as_fn_executable_p
    560 
    561 # Sed expression to map a string onto a valid CPP name.
    562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 # Sed expression to map a string onto a valid variable name.
    565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    566 
    567 SHELL=${CONFIG_SHELL-/bin/sh}
    568 
    569 
    570 test -n "$DJDIR" || exec 7<&0 </dev/null
    571 exec 6>&1
    572 
    573 # Name of the host.
    574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    575 # so uname gets run too.
    576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    577 
    578 #
    579 # Initializations.
    580 #
    581 ac_default_prefix=/usr/local
    582 ac_clean_files=
    583 ac_config_libobj_dir=.
    584 LIB@&t@OBJS=
    585 cross_compiling=no
    586 subdirs=
    587 MFLAGS=
    588 MAKEFLAGS=
    589 
    590 # Identity of this package.
    591 DEFAGE_NAME='torsocks'
    592 DEFAGE_TARNAME='torsocks'
    593 DEFAGE_VERSION='2.2.0'
    594 DEFAGE_STRING='torsocks 2.2.0'
    595 DEFAGE_BUGREPORT='dgoulet@torproject.org'
    596 DEFAGE_URL='https://torproject.org'
    597 
    598 # Factoring default headers for most tests.
    599 ac_includes_default="\
    600 #include <stdio.h>
    601 #ifdef HAVE_SYS_TYPES_H
    602 # include <sys/types.h>
    603 #endif
    604 #ifdef HAVE_SYS_STAT_H
    605 # include <sys/stat.h>
    606 #endif
    607 #ifdef STDC_HEADERS
    608 # include <stdlib.h>
    609 # include <stddef.h>
    610 #else
    611 # ifdef HAVE_STDLIB_H
    612 #  include <stdlib.h>
    613 # endif
    614 #endif
    615 #ifdef HAVE_STRING_H
    616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    617 #  include <memory.h>
    618 # endif
    619 # include <string.h>
    620 #endif
    621 #ifdef HAVE_STRINGS_H
    622 # include <strings.h>
    623 #endif
    624 #ifdef HAVE_INTTYPES_H
    625 # include <inttypes.h>
    626 #endif
    627 #ifdef HAVE_STDINT_H
    628 # include <stdint.h>
    629 #endif
    630 #ifdef HAVE_UNISTD_H
    631 # include <unistd.h>
    632 #endif"
    633 
    634 ac_subst_vars='am__EXEEXT_FALSE
    635 am__EXEEXT_TRUE
    636 LTLIBOBJS
    637 LIB@&t@OBJS
    638 DEFAULT_INCLUDES
    639 LIBTOOL_DEPS
    640 LT_SYS_LIBRARY_PATH
    641 OTOOL64
    642 OTOOL
    643 LIPO
    644 NMEDIT
    645 DSYMUTIL
    646 MANIFEST_TOOL
    647 RANLIB
    648 ac_ct_AR
    649 AR
    650 DLLTOOL
    651 OBJDUMP
    652 NM
    653 ac_ct_DUMPBIN
    654 DUMPBIN
    655 LD
    656 FGREP
    657 SED
    658 LIBTOOL
    659 CONFDIR
    660 TORSOCKSLDFLAGS
    661 LDPRELOAD
    662 SHLIB_EXT
    663 TESTLDFLAGS
    664 LN_S
    665 AM_BACKSLASH
    666 AM_DEFAULT_VERBOSITY
    667 AM_DEFAULT_V
    668 AM_V
    669 am__fastdepCC_FALSE
    670 am__fastdepCC_TRUE
    671 CCDEPMODE
    672 am__nodep
    673 AMDEPBACKSLASH
    674 AMDEP_FALSE
    675 AMDEP_TRUE
    676 am__include
    677 DEPDIR
    678 am__untar
    679 am__tar
    680 AMTAR
    681 am__leading_dot
    682 SET_MAKE
    683 AWK
    684 mkdir_p
    685 MKDIR_P
    686 INSTALL_STRIP_PROGRAM
    687 STRIP
    688 install_sh
    689 MAKEINFO
    690 AUTOHEADER
    691 AUTOMAKE
    692 AUTOCONF
    693 ACLOCAL
    694 VERSION
    695 DEFAGE
    696 CYGPATH_W
    697 am__isrc
    698 INSTALL_DATA
    699 INSTALL_SCRIPT
    700 INSTALL_PROGRAM
    701 EGREP
    702 GREP
    703 CPP
    704 OBJEXT
    705 EXEEXT
    706 ac_ct_CC
    707 CPPFLAGS
    708 LDFLAGS
    709 CFLAGS
    710 CC
    711 target_os
    712 target_vendor
    713 target_cpu
    714 target
    715 host_os
    716 host_vendor
    717 host_cpu
    718 host
    719 build_os
    720 build_vendor
    721 build_cpu
    722 build
    723 target_alias
    724 host_alias
    725 build_alias
    726 LIBS
    727 ECHO_T
    728 ECHO_N
    729 ECHO_C
    730 DEFS
    731 mandir
    732 localedir
    733 libdir
    734 psdir
    735 pdfdir
    736 dvidir
    737 htmldir
    738 infodir
    739 docdir
    740 oldincludedir
    741 includedir
    742 localstatedir
    743 sharedstatedir
    744 sysconfdir
    745 datadir
    746 datarootdir
    747 libexecdir
    748 sbindir
    749 bindir
    750 program_transform_name
    751 prefix
    752 exec_prefix
    753 DEFAGE_URL
    754 DEFAGE_BUGREPORT
    755 DEFAGE_STRING
    756 DEFAGE_VERSION
    757 DEFAGE_TARNAME
    758 DEFAGE_NAME
    759 PATH_SEPARATOR
    760 SHELL
    761 am__quote'
    762 ac_subst_files=''
    763 ac_user_opts='
    764 enable_option_checking
    765 enable_dependency_tracking
    766 enable_silent_rules
    767 with_conf
    768 enable_shared
    769 enable_static
    770 with_pic
    771 enable_fast_install
    772 with_aix_soname
    773 with_gnu_ld
    774 with_libtool_sysroot
    775 enable_libtool_lock
    776 '
    777       ac_precious_vars='build_alias
    778 host_alias
    779 target_alias
    780 CC
    781 CFLAGS
    782 LDFLAGS
    783 LIBS
    784 CPPFLAGS
    785 CPP
    786 LT_SYS_LIBRARY_PATH'
    787 
    788 
    789 # Initialize some variables set by options.
    790 ac_init_help=
    791 ac_init_version=false
    792 ac_unrecognized_opts=
    793 ac_unrecognized_sep=
    794 # The variables have the same names as the options, with
    795 # dashes changed to underlines.
    796 cache_file=/dev/null
    797 exec_prefix=NONE
    798 no_create=
    799 no_recursion=
    800 prefix=NONE
    801 program_prefix=NONE
    802 program_suffix=NONE
    803 program_transform_name=s,x,x,
    804 silent=
    805 site=
    806 srcdir=
    807 verbose=
    808 x_includes=NONE
    809 x_libraries=NONE
    810 
    811 # Installation directory options.
    812 # These are left unexpanded so users can "make install exec_prefix=/foo"
    813 # and all the variables that are supposed to be based on exec_prefix
    814 # by default will actually change.
    815 # Use braces instead of parens because sh, perl, etc. also accept them.
    816 # (The list follows the same order as the GNU Coding Standards.)
    817 bindir='${exec_prefix}/bin'
    818 sbindir='${exec_prefix}/sbin'
    819 libexecdir='${exec_prefix}/libexec'
    820 datarootdir='${prefix}/share'
    821 datadir='${datarootdir}'
    822 sysconfdir='${prefix}/etc'
    823 sharedstatedir='${prefix}/com'
    824 localstatedir='${prefix}/var'
    825 includedir='${prefix}/include'
    826 oldincludedir='/usr/include'
    827 docdir='${datarootdir}/doc/${DEFAGE_TARNAME}'
    828 infodir='${datarootdir}/info'
    829 htmldir='${docdir}'
    830 dvidir='${docdir}'
    831 pdfdir='${docdir}'
    832 psdir='${docdir}'
    833 libdir='${exec_prefix}/lib'
    834 localedir='${datarootdir}/locale'
    835 mandir='${datarootdir}/man'
    836 
    837 ac_prev=
    838 ac_dashdash=
    839 for ac_option
    840 do
    841   # If the previous option needs an argument, assign it.
    842   if test -n "$ac_prev"; then
    843     eval $ac_prev=\$ac_option
    844     ac_prev=
    845     continue
    846   fi
    847 
    848   case $ac_option in
    849   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    850   *=)   ac_optarg= ;;
    851   *)    ac_optarg=yes ;;
    852   esac
    853 
    854   # Accept the important Cygnus configure options, so we can diagnose typos.
    855 
    856   case $ac_dashdash$ac_option in
    857   --)
    858     ac_dashdash=yes ;;
    859 
    860   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    861     ac_prev=bindir ;;
    862   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    863     bindir=$ac_optarg ;;
    864 
    865   -build | --build | --buil | --bui | --bu)
    866     ac_prev=build_alias ;;
    867   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    868     build_alias=$ac_optarg ;;
    869 
    870   -cache-file | --cache-file | --cache-fil | --cache-fi \
    871   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    872     ac_prev=cache_file ;;
    873   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    874   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    875     cache_file=$ac_optarg ;;
    876 
    877   --config-cache | -C)
    878     cache_file=config.cache ;;
    879 
    880   -datadir | --datadir | --datadi | --datad)
    881     ac_prev=datadir ;;
    882   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    883     datadir=$ac_optarg ;;
    884 
    885   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    886   | --dataroo | --dataro | --datar)
    887     ac_prev=datarootdir ;;
    888   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    889   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    890     datarootdir=$ac_optarg ;;
    891 
    892   -disable-* | --disable-*)
    893     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    894     # Reject names that are not valid shell variable names.
    895     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    896       as_fn_error $? "invalid feature name: $ac_useropt"
    897     ac_useropt_orig=$ac_useropt
    898     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    899     case $ac_user_opts in
    900       *"
    901 "enable_$ac_useropt"
    902 "*) ;;
    903       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    904 	 ac_unrecognized_sep=', ';;
    905     esac
    906     eval enable_$ac_useropt=no ;;
    907 
    908   -docdir | --docdir | --docdi | --doc | --do)
    909     ac_prev=docdir ;;
    910   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    911     docdir=$ac_optarg ;;
    912 
    913   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    914     ac_prev=dvidir ;;
    915   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    916     dvidir=$ac_optarg ;;
    917 
    918   -enable-* | --enable-*)
    919     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    920     # Reject names that are not valid shell variable names.
    921     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    922       as_fn_error $? "invalid feature name: $ac_useropt"
    923     ac_useropt_orig=$ac_useropt
    924     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    925     case $ac_user_opts in
    926       *"
    927 "enable_$ac_useropt"
    928 "*) ;;
    929       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    930 	 ac_unrecognized_sep=', ';;
    931     esac
    932     eval enable_$ac_useropt=\$ac_optarg ;;
    933 
    934   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    935   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    936   | --exec | --exe | --ex)
    937     ac_prev=exec_prefix ;;
    938   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    939   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    940   | --exec=* | --exe=* | --ex=*)
    941     exec_prefix=$ac_optarg ;;
    942 
    943   -gas | --gas | --ga | --g)
    944     # Obsolete; use --with-gas.
    945     with_gas=yes ;;
    946 
    947   -help | --help | --hel | --he | -h)
    948     ac_init_help=long ;;
    949   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    950     ac_init_help=recursive ;;
    951   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    952     ac_init_help=short ;;
    953 
    954   -host | --host | --hos | --ho)
    955     ac_prev=host_alias ;;
    956   -host=* | --host=* | --hos=* | --ho=*)
    957     host_alias=$ac_optarg ;;
    958 
    959   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    960     ac_prev=htmldir ;;
    961   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    962   | --ht=*)
    963     htmldir=$ac_optarg ;;
    964 
    965   -includedir | --includedir | --includedi | --included | --include \
    966   | --includ | --inclu | --incl | --inc)
    967     ac_prev=includedir ;;
    968   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    969   | --includ=* | --inclu=* | --incl=* | --inc=*)
    970     includedir=$ac_optarg ;;
    971 
    972   -infodir | --infodir | --infodi | --infod | --info | --inf)
    973     ac_prev=infodir ;;
    974   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    975     infodir=$ac_optarg ;;
    976 
    977   -libdir | --libdir | --libdi | --libd)
    978     ac_prev=libdir ;;
    979   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    980     libdir=$ac_optarg ;;
    981 
    982   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    983   | --libexe | --libex | --libe)
    984     ac_prev=libexecdir ;;
    985   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    986   | --libexe=* | --libex=* | --libe=*)
    987     libexecdir=$ac_optarg ;;
    988 
    989   -localedir | --localedir | --localedi | --localed | --locale)
    990     ac_prev=localedir ;;
    991   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    992     localedir=$ac_optarg ;;
    993 
    994   -localstatedir | --localstatedir | --localstatedi | --localstated \
    995   | --localstate | --localstat | --localsta | --localst | --locals)
    996     ac_prev=localstatedir ;;
    997   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    998   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    999     localstatedir=$ac_optarg ;;
   1000 
   1001   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1002     ac_prev=mandir ;;
   1003   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1004     mandir=$ac_optarg ;;
   1005 
   1006   -nfp | --nfp | --nf)
   1007     # Obsolete; use --without-fp.
   1008     with_fp=no ;;
   1009 
   1010   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1011   | --no-cr | --no-c | -n)
   1012     no_create=yes ;;
   1013 
   1014   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1015   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1016     no_recursion=yes ;;
   1017 
   1018   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1019   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1020   | --oldin | --oldi | --old | --ol | --o)
   1021     ac_prev=oldincludedir ;;
   1022   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1023   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1024   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1025     oldincludedir=$ac_optarg ;;
   1026 
   1027   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1028     ac_prev=prefix ;;
   1029   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1030     prefix=$ac_optarg ;;
   1031 
   1032   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1033   | --program-pre | --program-pr | --program-p)
   1034     ac_prev=program_prefix ;;
   1035   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1036   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1037     program_prefix=$ac_optarg ;;
   1038 
   1039   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1040   | --program-suf | --program-su | --program-s)
   1041     ac_prev=program_suffix ;;
   1042   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1043   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1044     program_suffix=$ac_optarg ;;
   1045 
   1046   -program-transform-name | --program-transform-name \
   1047   | --program-transform-nam | --program-transform-na \
   1048   | --program-transform-n | --program-transform- \
   1049   | --program-transform | --program-transfor \
   1050   | --program-transfo | --program-transf \
   1051   | --program-trans | --program-tran \
   1052   | --progr-tra | --program-tr | --program-t)
   1053     ac_prev=program_transform_name ;;
   1054   -program-transform-name=* | --program-transform-name=* \
   1055   | --program-transform-nam=* | --program-transform-na=* \
   1056   | --program-transform-n=* | --program-transform-=* \
   1057   | --program-transform=* | --program-transfor=* \
   1058   | --program-transfo=* | --program-transf=* \
   1059   | --program-trans=* | --program-tran=* \
   1060   | --progr-tra=* | --program-tr=* | --program-t=*)
   1061     program_transform_name=$ac_optarg ;;
   1062 
   1063   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1064     ac_prev=pdfdir ;;
   1065   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1066     pdfdir=$ac_optarg ;;
   1067 
   1068   -psdir | --psdir | --psdi | --psd | --ps)
   1069     ac_prev=psdir ;;
   1070   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1071     psdir=$ac_optarg ;;
   1072 
   1073   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1074   | -silent | --silent | --silen | --sile | --sil)
   1075     silent=yes ;;
   1076 
   1077   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1078     ac_prev=sbindir ;;
   1079   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1080   | --sbi=* | --sb=*)
   1081     sbindir=$ac_optarg ;;
   1082 
   1083   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1084   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1085   | --sharedst | --shareds | --shared | --share | --shar \
   1086   | --sha | --sh)
   1087     ac_prev=sharedstatedir ;;
   1088   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1089   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1090   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1091   | --sha=* | --sh=*)
   1092     sharedstatedir=$ac_optarg ;;
   1093 
   1094   -site | --site | --sit)
   1095     ac_prev=site ;;
   1096   -site=* | --site=* | --sit=*)
   1097     site=$ac_optarg ;;
   1098 
   1099   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1100     ac_prev=srcdir ;;
   1101   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1102     srcdir=$ac_optarg ;;
   1103 
   1104   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1105   | --syscon | --sysco | --sysc | --sys | --sy)
   1106     ac_prev=sysconfdir ;;
   1107   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1108   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1109     sysconfdir=$ac_optarg ;;
   1110 
   1111   -target | --target | --targe | --targ | --tar | --ta | --t)
   1112     ac_prev=target_alias ;;
   1113   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1114     target_alias=$ac_optarg ;;
   1115 
   1116   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1117     verbose=yes ;;
   1118 
   1119   -version | --version | --versio | --versi | --vers | -V)
   1120     ac_init_version=: ;;
   1121 
   1122   -with-* | --with-*)
   1123     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1124     # Reject names that are not valid shell variable names.
   1125     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1126       as_fn_error $? "invalid package name: $ac_useropt"
   1127     ac_useropt_orig=$ac_useropt
   1128     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1129     case $ac_user_opts in
   1130       *"
   1131 "with_$ac_useropt"
   1132 "*) ;;
   1133       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1134 	 ac_unrecognized_sep=', ';;
   1135     esac
   1136     eval with_$ac_useropt=\$ac_optarg ;;
   1137 
   1138   -without-* | --without-*)
   1139     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1140     # Reject names that are not valid shell variable names.
   1141     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1142       as_fn_error $? "invalid package name: $ac_useropt"
   1143     ac_useropt_orig=$ac_useropt
   1144     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1145     case $ac_user_opts in
   1146       *"
   1147 "with_$ac_useropt"
   1148 "*) ;;
   1149       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1150 	 ac_unrecognized_sep=', ';;
   1151     esac
   1152     eval with_$ac_useropt=no ;;
   1153 
   1154   --x)
   1155     # Obsolete; use --with-x.
   1156     with_x=yes ;;
   1157 
   1158   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1159   | --x-incl | --x-inc | --x-in | --x-i)
   1160     ac_prev=x_includes ;;
   1161   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1162   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1163     x_includes=$ac_optarg ;;
   1164 
   1165   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1166   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1167     ac_prev=x_libraries ;;
   1168   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1169   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1170     x_libraries=$ac_optarg ;;
   1171 
   1172   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1173 Try \`$0 --help' for more information"
   1174     ;;
   1175 
   1176   *=*)
   1177     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1178     # Reject names that are not valid shell variable names.
   1179     case $ac_envvar in #(
   1180       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1181       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1182     esac
   1183     eval $ac_envvar=\$ac_optarg
   1184     export $ac_envvar ;;
   1185 
   1186   *)
   1187     # FIXME: should be removed in autoconf 3.0.
   1188     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1189     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1190       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1191     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1192     ;;
   1193 
   1194   esac
   1195 done
   1196 
   1197 if test -n "$ac_prev"; then
   1198   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1199   as_fn_error $? "missing argument to $ac_option"
   1200 fi
   1201 
   1202 if test -n "$ac_unrecognized_opts"; then
   1203   case $enable_option_checking in
   1204     no) ;;
   1205     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1206     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1207   esac
   1208 fi
   1209 
   1210 # Check all directory arguments for consistency.
   1211 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1212 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1213 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1214 		libdir localedir mandir
   1215 do
   1216   eval ac_val=\$$ac_var
   1217   # Remove trailing slashes.
   1218   case $ac_val in
   1219     */ )
   1220       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1221       eval $ac_var=\$ac_val;;
   1222   esac
   1223   # Be sure to have absolute directory names.
   1224   case $ac_val in
   1225     [\\/$]* | ?:[\\/]* )  continue;;
   1226     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1227   esac
   1228   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1229 done
   1230 
   1231 # There might be people who depend on the old broken behavior: `$host'
   1232 # used to hold the argument of --host etc.
   1233 # FIXME: To remove some day.
   1234 build=$build_alias
   1235 host=$host_alias
   1236 target=$target_alias
   1237 
   1238 # FIXME: To remove some day.
   1239 if test "x$host_alias" != x; then
   1240   if test "x$build_alias" = x; then
   1241     cross_compiling=maybe
   1242   elif test "x$build_alias" != "x$host_alias"; then
   1243     cross_compiling=yes
   1244   fi
   1245 fi
   1246 
   1247 ac_tool_prefix=
   1248 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1249 
   1250 test "$silent" = yes && exec 6>/dev/null
   1251 
   1252 
   1253 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1254 ac_ls_di=`ls -di .` &&
   1255 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1256   as_fn_error $? "working directory cannot be determined"
   1257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1258   as_fn_error $? "pwd does not report name of working directory"
   1259 
   1260 
   1261 # Find the source files, if location was not specified.
   1262 if test -z "$srcdir"; then
   1263   ac_srcdir_defaulted=yes
   1264   # Try the directory containing this script, then the parent directory.
   1265   ac_confdir=`$as_dirname -- "$as_myself" ||
   1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1267 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1268 	 X"$as_myself" : 'X\(//\)$' \| \
   1269 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1270 $as_echo X"$as_myself" |
   1271     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1272 	    s//\1/
   1273 	    q
   1274 	  }
   1275 	  /^X\(\/\/\)[^/].*/{
   1276 	    s//\1/
   1277 	    q
   1278 	  }
   1279 	  /^X\(\/\/\)$/{
   1280 	    s//\1/
   1281 	    q
   1282 	  }
   1283 	  /^X\(\/\).*/{
   1284 	    s//\1/
   1285 	    q
   1286 	  }
   1287 	  s/.*/./; q'`
   1288   srcdir=$ac_confdir
   1289   if test ! -r "$srcdir/$ac_unique_file"; then
   1290     srcdir=..
   1291   fi
   1292 else
   1293   ac_srcdir_defaulted=no
   1294 fi
   1295 if test ! -r "$srcdir/$ac_unique_file"; then
   1296   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1297   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1298 fi
   1299 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1300 ac_abs_confdir=`(
   1301 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1302 	pwd)`
   1303 # When building in place, set srcdir=.
   1304 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1305   srcdir=.
   1306 fi
   1307 # Remove unnecessary trailing slashes from srcdir.
   1308 # Double slashes in file names in object file debugging info
   1309 # mess up M-x gdb in Emacs.
   1310 case $srcdir in
   1311 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1312 esac
   1313 for ac_var in $ac_precious_vars; do
   1314   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1315   eval ac_env_${ac_var}_value=\$${ac_var}
   1316   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1317   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1318 done
   1319 
   1320 #
   1321 # Report the --help message.
   1322 #
   1323 if test "$ac_init_help" = "long"; then
   1324   # Omit some internal or obsolete options to make the list less imposing.
   1325   # This message is too long to be a string in the A/UX 3.1 sh.
   1326   cat <<_ACEOF
   1327 \`configure' configures torsocks 2.2.0 to adapt to many kinds of systems.
   1328 
   1329 Usage: $0 [OPTION]... [VAR=VALUE]...
   1330 
   1331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1332 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1333 
   1334 Defaults for the options are specified in brackets.
   1335 
   1336 Configuration:
   1337   -h, --help              display this help and exit
   1338       --help=short        display options specific to this package
   1339       --help=recursive    display the short help of all the included packages
   1340   -V, --version           display version information and exit
   1341   -q, --quiet, --silent   do not print \`checking ...' messages
   1342       --cache-file=FILE   cache test results in FILE [disabled]
   1343   -C, --config-cache      alias for \`--cache-file=config.cache'
   1344   -n, --no-create         do not create output files
   1345       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1346 
   1347 Installation directories:
   1348   --prefix=PREFIX         install architecture-independent files in PREFIX
   1349                           @<:@@S|@ac_default_prefix@:>@
   1350   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1351                           @<:@PREFIX@:>@
   1352 
   1353 By default, \`make install' will install all the files in
   1354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1356 for instance \`--prefix=\$HOME'.
   1357 
   1358 For better control, use the options below.
   1359 
   1360 Fine tuning of the installation directories:
   1361   --bindir=DIR            user executables [EPREFIX/bin]
   1362   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1363   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1364   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1365   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1366   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1367   --libdir=DIR            object code libraries [EPREFIX/lib]
   1368   --includedir=DIR        C header files [PREFIX/include]
   1369   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1370   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1371   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1372   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1373   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1374   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1375   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/torsocks@:>@
   1376   --htmldir=DIR           html documentation [DOCDIR]
   1377   --dvidir=DIR            dvi documentation [DOCDIR]
   1378   --pdfdir=DIR            pdf documentation [DOCDIR]
   1379   --psdir=DIR             ps documentation [DOCDIR]
   1380 _ACEOF
   1381 
   1382   cat <<\_ACEOF
   1383 
   1384 Program names:
   1385   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1386   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1387   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1388 
   1389 System types:
   1390   --build=BUILD     configure for building on BUILD [guessed]
   1391   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1392   --target=TARGET   configure for building compilers for TARGET [HOST]
   1393 _ACEOF
   1394 fi
   1395 
   1396 if test -n "$ac_init_help"; then
   1397   case $ac_init_help in
   1398      short | recursive ) echo "Configuration of torsocks 2.2.0:";;
   1399    esac
   1400   cat <<\_ACEOF
   1401 
   1402 Optional Features:
   1403   --disable-option-checking  ignore unrecognized --enable/--with options
   1404   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1405   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1406   --enable-dependency-tracking 
   1407                           do not reject slow dependency extractors
   1408   --disable-dependency-tracking 
   1409                           speeds up one-time build
   1410   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1411   --disable-silent-rules  verbose build output (undo: "make V=0")
   1412   --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
   1413   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
   1414   --enable-fast-install@<:@=PKGS@:>@ 
   1415                           optimize for fast installation @<:@default=yes@:>@
   1416   --disable-libtool-lock  avoid locking (might break parallel builds)
   1417 
   1418 Optional Packages:
   1419   --with-DEFAGE[=ARG]    use DEFAGE [ARG=yes]
   1420   --without-DEFAGE       do not use DEFAGE (same as --with-DEFAGE=no)
   1421   --with-conf=<file>      location of configuration file (${CONFDIR}/torsocks.conf default)
   1422   --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
   1423                           both@:>@
   1424   --with-aix-soname=aix|svr4|both 
   1425                           shared library versioning (aka "SONAME") variant to
   1426                           provide on AIX, @<:@default=aix@:>@.
   1427   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
   1428   --with-libtool-sysroot@<:@=DIR@:>@ 
   1429                           Search for dependent libraries within DIR (or the
   1430                           compiler's sysroot if not specified).
   1431 
   1432 Some influential environment variables:
   1433   CC          C compiler command
   1434   CFLAGS      C compiler flags
   1435   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1436               nonstandard directory <lib dir>
   1437   LIBS        libraries to pass to the linker, e.g. -l<library>
   1438   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1439               you have headers in a nonstandard directory <include dir>
   1440   CPP         C preprocessor
   1441   LT_SYS_LIBRARY_PATH 
   1442               User-defined run-time library search path.
   1443 
   1444 Use these variables to override the choices made by `configure' or to help
   1445 it to find libraries and programs with nonstandard names/locations.
   1446 
   1447 Report bugs to <dgoulet@torproject.org>.
   1448 torsocks home page: <https://torproject.org>.
   1449 _ACEOF
   1450 ac_status=$?
   1451 fi
   1452 
   1453 if test "$ac_init_help" = "recursive"; then
   1454   # If there are subdirs, report their specific --help.
   1455   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1456     test -d "$ac_dir" ||
   1457       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1458       continue
   1459     ac_builddir=.
   1460 
   1461 case "$ac_dir" in
   1462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1463 *)
   1464   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1465   # A ".." for each directory in $ac_dir_suffix.
   1466   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1467   case $ac_top_builddir_sub in
   1468   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1469   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1470   esac ;;
   1471 esac
   1472 ac_abs_top_builddir=$ac_pwd
   1473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1474 # for backward compatibility:
   1475 ac_top_builddir=$ac_top_build_prefix
   1476 
   1477 case $srcdir in
   1478   .)  # We are building in place.
   1479     ac_srcdir=.
   1480     ac_top_srcdir=$ac_top_builddir_sub
   1481     ac_abs_top_srcdir=$ac_pwd ;;
   1482   [\\/]* | ?:[\\/]* )  # Absolute name.
   1483     ac_srcdir=$srcdir$ac_dir_suffix;
   1484     ac_top_srcdir=$srcdir
   1485     ac_abs_top_srcdir=$srcdir ;;
   1486   *) # Relative name.
   1487     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1488     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1489     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1490 esac
   1491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1492 
   1493     cd "$ac_dir" || { ac_status=$?; continue; }
   1494     # Check for guested configure.
   1495     if test -f "$ac_srcdir/configure.gnu"; then
   1496       echo &&
   1497       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1498     elif test -f "$ac_srcdir/configure"; then
   1499       echo &&
   1500       $SHELL "$ac_srcdir/configure" --help=recursive
   1501     else
   1502       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1503     fi || ac_status=$?
   1504     cd "$ac_pwd" || { ac_status=$?; break; }
   1505   done
   1506 fi
   1507 
   1508 test -n "$ac_init_help" && exit $ac_status
   1509 if $ac_init_version; then
   1510   cat <<\_ACEOF
   1511 torsocks configure 2.2.0
   1512 generated by GNU Autoconf 2.69
   1513 
   1514 Copyright (C) 2012 Free Software Foundation, Inc.
   1515 This configure script is free software; the Free Software Foundation
   1516 gives unlimited permission to copy, distribute and modify it.
   1517 _ACEOF
   1518   exit
   1519 fi
   1520 
   1521 ## ------------------------ ##
   1522 ## Autoconf initialization. ##
   1523 ## ------------------------ ##
   1524 
   1525 @%:@ ac_fn_c_try_compile LINENO
   1526 @%:@ --------------------------
   1527 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
   1528 ac_fn_c_try_compile ()
   1529 {
   1530   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1531   rm -f conftest.$ac_objext
   1532   if { { ac_try="$ac_compile"
   1533 case "(($ac_try" in
   1534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1535   *) ac_try_echo=$ac_try;;
   1536 esac
   1537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1538 $as_echo "$ac_try_echo"; } >&5
   1539   (eval "$ac_compile") 2>conftest.err
   1540   ac_status=$?
   1541   if test -s conftest.err; then
   1542     grep -v '^ *+' conftest.err >conftest.er1
   1543     cat conftest.er1 >&5
   1544     mv -f conftest.er1 conftest.err
   1545   fi
   1546   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1547   test $ac_status = 0; } && {
   1548 	 test -z "$ac_c_werror_flag" ||
   1549 	 test ! -s conftest.err
   1550        } && test -s conftest.$ac_objext; then :
   1551   ac_retval=0
   1552 else
   1553   $as_echo "$as_me: failed program was:" >&5
   1554 sed 's/^/| /' conftest.$ac_ext >&5
   1555 
   1556 	ac_retval=1
   1557 fi
   1558   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1559   as_fn_set_status $ac_retval
   1560 
   1561 } @%:@ ac_fn_c_try_compile
   1562 
   1563 @%:@ ac_fn_c_try_cpp LINENO
   1564 @%:@ ----------------------
   1565 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
   1566 ac_fn_c_try_cpp ()
   1567 {
   1568   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1569   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1570 case "(($ac_try" in
   1571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1572   *) ac_try_echo=$ac_try;;
   1573 esac
   1574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1575 $as_echo "$ac_try_echo"; } >&5
   1576   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1577   ac_status=$?
   1578   if test -s conftest.err; then
   1579     grep -v '^ *+' conftest.err >conftest.er1
   1580     cat conftest.er1 >&5
   1581     mv -f conftest.er1 conftest.err
   1582   fi
   1583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1584   test $ac_status = 0; } > conftest.i && {
   1585 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1586 	 test ! -s conftest.err
   1587        }; then :
   1588   ac_retval=0
   1589 else
   1590   $as_echo "$as_me: failed program was:" >&5
   1591 sed 's/^/| /' conftest.$ac_ext >&5
   1592 
   1593     ac_retval=1
   1594 fi
   1595   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1596   as_fn_set_status $ac_retval
   1597 
   1598 } @%:@ ac_fn_c_try_cpp
   1599 
   1600 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1601 @%:@ -------------------------------------------------------
   1602 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1603 @%:@ the include files in INCLUDES and setting the cache variable VAR
   1604 @%:@ accordingly.
   1605 ac_fn_c_check_header_mongrel ()
   1606 {
   1607   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1608   if eval \${$3+:} false; then :
   1609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1610 $as_echo_n "checking for $2... " >&6; }
   1611 if eval \${$3+:} false; then :
   1612   $as_echo_n "(cached) " >&6
   1613 fi
   1614 eval ac_res=\$$3
   1615 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1616 $as_echo "$ac_res" >&6; }
   1617 else
   1618   # Is the header compilable?
   1619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1620 $as_echo_n "checking $2 usability... " >&6; }
   1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1622 /* end confdefs.h.  */
   1623 $4
   1624 @%:@include <$2>
   1625 _ACEOF
   1626 if ac_fn_c_try_compile "$LINENO"; then :
   1627   ac_header_compiler=yes
   1628 else
   1629   ac_header_compiler=no
   1630 fi
   1631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1633 $as_echo "$ac_header_compiler" >&6; }
   1634 
   1635 # Is the header present?
   1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1637 $as_echo_n "checking $2 presence... " >&6; }
   1638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1639 /* end confdefs.h.  */
   1640 @%:@include <$2>
   1641 _ACEOF
   1642 if ac_fn_c_try_cpp "$LINENO"; then :
   1643   ac_header_preproc=yes
   1644 else
   1645   ac_header_preproc=no
   1646 fi
   1647 rm -f conftest.err conftest.i conftest.$ac_ext
   1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1649 $as_echo "$ac_header_preproc" >&6; }
   1650 
   1651 # So?  What about this header?
   1652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1653   yes:no: )
   1654     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1655 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1657 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1658     ;;
   1659   no:yes:* )
   1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1661 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1662     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1663 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1664     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1665 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1666     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1667 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1668     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1669 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1670 ( $as_echo "## ------------------------------------- ##
   1671 ## Report this to dgoulet@torproject.org ##
   1672 ## ------------------------------------- ##"
   1673      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1674     ;;
   1675 esac
   1676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1677 $as_echo_n "checking for $2... " >&6; }
   1678 if eval \${$3+:} false; then :
   1679   $as_echo_n "(cached) " >&6
   1680 else
   1681   eval "$3=\$ac_header_compiler"
   1682 fi
   1683 eval ac_res=\$$3
   1684 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1685 $as_echo "$ac_res" >&6; }
   1686 fi
   1687   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1688 
   1689 } @%:@ ac_fn_c_check_header_mongrel
   1690 
   1691 @%:@ ac_fn_c_try_run LINENO
   1692 @%:@ ----------------------
   1693 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
   1694 @%:@ that executables *can* be run.
   1695 ac_fn_c_try_run ()
   1696 {
   1697   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1698   if { { ac_try="$ac_link"
   1699 case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_link") 2>&5
   1706   ac_status=$?
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1709   { { case "(($ac_try" in
   1710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1711   *) ac_try_echo=$ac_try;;
   1712 esac
   1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1714 $as_echo "$ac_try_echo"; } >&5
   1715   (eval "$ac_try") 2>&5
   1716   ac_status=$?
   1717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1718   test $ac_status = 0; }; }; then :
   1719   ac_retval=0
   1720 else
   1721   $as_echo "$as_me: program exited with status $ac_status" >&5
   1722        $as_echo "$as_me: failed program was:" >&5
   1723 sed 's/^/| /' conftest.$ac_ext >&5
   1724 
   1725        ac_retval=$ac_status
   1726 fi
   1727   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1728   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1729   as_fn_set_status $ac_retval
   1730 
   1731 } @%:@ ac_fn_c_try_run
   1732 
   1733 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1734 @%:@ -------------------------------------------------------
   1735 @%:@ Tests whether HEADER exists and can be compiled using the include files in
   1736 @%:@ INCLUDES, setting the cache variable VAR accordingly.
   1737 ac_fn_c_check_header_compile ()
   1738 {
   1739   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1741 $as_echo_n "checking for $2... " >&6; }
   1742 if eval \${$3+:} false; then :
   1743   $as_echo_n "(cached) " >&6
   1744 else
   1745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1746 /* end confdefs.h.  */
   1747 $4
   1748 @%:@include <$2>
   1749 _ACEOF
   1750 if ac_fn_c_try_compile "$LINENO"; then :
   1751   eval "$3=yes"
   1752 else
   1753   eval "$3=no"
   1754 fi
   1755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1756 fi
   1757 eval ac_res=\$$3
   1758 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1759 $as_echo "$ac_res" >&6; }
   1760   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1761 
   1762 } @%:@ ac_fn_c_check_header_compile
   1763 
   1764 @%:@ ac_fn_c_try_link LINENO
   1765 @%:@ -----------------------
   1766 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
   1767 ac_fn_c_try_link ()
   1768 {
   1769   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1770   rm -f conftest.$ac_objext conftest$ac_exeext
   1771   if { { ac_try="$ac_link"
   1772 case "(($ac_try" in
   1773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1774   *) ac_try_echo=$ac_try;;
   1775 esac
   1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1777 $as_echo "$ac_try_echo"; } >&5
   1778   (eval "$ac_link") 2>conftest.err
   1779   ac_status=$?
   1780   if test -s conftest.err; then
   1781     grep -v '^ *+' conftest.err >conftest.er1
   1782     cat conftest.er1 >&5
   1783     mv -f conftest.er1 conftest.err
   1784   fi
   1785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1786   test $ac_status = 0; } && {
   1787 	 test -z "$ac_c_werror_flag" ||
   1788 	 test ! -s conftest.err
   1789        } && test -s conftest$ac_exeext && {
   1790 	 test "$cross_compiling" = yes ||
   1791 	 test -x conftest$ac_exeext
   1792        }; then :
   1793   ac_retval=0
   1794 else
   1795   $as_echo "$as_me: failed program was:" >&5
   1796 sed 's/^/| /' conftest.$ac_ext >&5
   1797 
   1798 	ac_retval=1
   1799 fi
   1800   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1801   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1802   # interfere with the next link command; also delete a directory that is
   1803   # left behind by Apple's compiler.  We do this before executing the actions.
   1804   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1805   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1806   as_fn_set_status $ac_retval
   1807 
   1808 } @%:@ ac_fn_c_try_link
   1809 
   1810 @%:@ ac_fn_c_check_func LINENO FUNC VAR
   1811 @%:@ ----------------------------------
   1812 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
   1813 ac_fn_c_check_func ()
   1814 {
   1815   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1817 $as_echo_n "checking for $2... " >&6; }
   1818 if eval \${$3+:} false; then :
   1819   $as_echo_n "(cached) " >&6
   1820 else
   1821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1822 /* end confdefs.h.  */
   1823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1825 #define $2 innocuous_$2
   1826 
   1827 /* System header to define __stub macros and hopefully few prototypes,
   1828     which can conflict with char $2 (); below.
   1829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1830     <limits.h> exists even on freestanding compilers.  */
   1831 
   1832 #ifdef __STDC__
   1833 # include <limits.h>
   1834 #else
   1835 # include <assert.h>
   1836 #endif
   1837 
   1838 #undef $2
   1839 
   1840 /* Override any GCC internal prototype to avoid an error.
   1841    Use char because int might match the return type of a GCC
   1842    builtin and then its argument prototype would still apply.  */
   1843 #ifdef __cplusplus
   1844 extern "C"
   1845 #endif
   1846 char $2 ();
   1847 /* The GNU C library defines this for functions which it implements
   1848     to always fail with ENOSYS.  Some functions are actually named
   1849     something starting with __ and the normal name is an alias.  */
   1850 #if defined __stub_$2 || defined __stub___$2
   1851 choke me
   1852 #endif
   1853 
   1854 int
   1855 main ()
   1856 {
   1857 return $2 ();
   1858   ;
   1859   return 0;
   1860 }
   1861 _ACEOF
   1862 if ac_fn_c_try_link "$LINENO"; then :
   1863   eval "$3=yes"
   1864 else
   1865   eval "$3=no"
   1866 fi
   1867 rm -f core conftest.err conftest.$ac_objext \
   1868     conftest$ac_exeext conftest.$ac_ext
   1869 fi
   1870 eval ac_res=\$$3
   1871 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1872 $as_echo "$ac_res" >&6; }
   1873   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1874 
   1875 } @%:@ ac_fn_c_check_func
   1876 cat >config.log <<_ACEOF
   1877 This file contains any messages produced by compilers while
   1878 running configure, to aid debugging if configure makes a mistake.
   1879 
   1880 It was created by torsocks $as_me 2.2.0, which was
   1881 generated by GNU Autoconf 2.69.  Invocation command line was
   1882 
   1883   $ $0 $@
   1884 
   1885 _ACEOF
   1886 exec 5>>config.log
   1887 {
   1888 cat <<_ASUNAME
   1889 ## --------- ##
   1890 ## Platform. ##
   1891 ## --------- ##
   1892 
   1893 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1894 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1895 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1896 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1897 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1898 
   1899 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1900 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1901 
   1902 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1903 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1904 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1905 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1906 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1907 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1908 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1909 
   1910 _ASUNAME
   1911 
   1912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1913 for as_dir in $PATH
   1914 do
   1915   IFS=$as_save_IFS
   1916   test -z "$as_dir" && as_dir=.
   1917     $as_echo "PATH: $as_dir"
   1918   done
   1919 IFS=$as_save_IFS
   1920 
   1921 } >&5
   1922 
   1923 cat >&5 <<_ACEOF
   1924 
   1925 
   1926 ## ----------- ##
   1927 ## Core tests. ##
   1928 ## ----------- ##
   1929 
   1930 _ACEOF
   1931 
   1932 
   1933 # Keep a trace of the command line.
   1934 # Strip out --no-create and --no-recursion so they do not pile up.
   1935 # Strip out --silent because we don't want to record it for future runs.
   1936 # Also quote any args containing shell meta-characters.
   1937 # Make two passes to allow for proper duplicate-argument suppression.
   1938 ac_configure_args=
   1939 ac_configure_args0=
   1940 ac_configure_args1=
   1941 ac_must_keep_next=false
   1942 for ac_pass in 1 2
   1943 do
   1944   for ac_arg
   1945   do
   1946     case $ac_arg in
   1947     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1948     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1949     | -silent | --silent | --silen | --sile | --sil)
   1950       continue ;;
   1951     *\'*)
   1952       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1953     esac
   1954     case $ac_pass in
   1955     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1956     2)
   1957       as_fn_append ac_configure_args1 " '$ac_arg'"
   1958       if test $ac_must_keep_next = true; then
   1959 	ac_must_keep_next=false # Got value, back to normal.
   1960       else
   1961 	case $ac_arg in
   1962 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1963 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1964 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1965 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1966 	    case "$ac_configure_args0 " in
   1967 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1968 	    esac
   1969 	    ;;
   1970 	  -* ) ac_must_keep_next=true ;;
   1971 	esac
   1972       fi
   1973       as_fn_append ac_configure_args " '$ac_arg'"
   1974       ;;
   1975     esac
   1976   done
   1977 done
   1978 { ac_configure_args0=; unset ac_configure_args0;}
   1979 { ac_configure_args1=; unset ac_configure_args1;}
   1980 
   1981 # When interrupted or exit'd, cleanup temporary files, and complete
   1982 # config.log.  We remove comments because anyway the quotes in there
   1983 # would cause problems or look ugly.
   1984 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1985 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1986 trap 'exit_status=$?
   1987   # Save into config.log some information that might help in debugging.
   1988   {
   1989     echo
   1990 
   1991     $as_echo "## ---------------- ##
   1992 ## Cache variables. ##
   1993 ## ---------------- ##"
   1994     echo
   1995     # The following way of writing the cache mishandles newlines in values,
   1996 (
   1997   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1998     eval ac_val=\$$ac_var
   1999     case $ac_val in #(
   2000     *${as_nl}*)
   2001       case $ac_var in #(
   2002       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2004       esac
   2005       case $ac_var in #(
   2006       _ | IFS | as_nl) ;; #(
   2007       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2008       *) { eval $ac_var=; unset $ac_var;} ;;
   2009       esac ;;
   2010     esac
   2011   done
   2012   (set) 2>&1 |
   2013     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2014     *${as_nl}ac_space=\ *)
   2015       sed -n \
   2016 	"s/'\''/'\''\\\\'\'''\''/g;
   2017 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2018       ;; #(
   2019     *)
   2020       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2021       ;;
   2022     esac |
   2023     sort
   2024 )
   2025     echo
   2026 
   2027     $as_echo "## ----------------- ##
   2028 ## Output variables. ##
   2029 ## ----------------- ##"
   2030     echo
   2031     for ac_var in $ac_subst_vars
   2032     do
   2033       eval ac_val=\$$ac_var
   2034       case $ac_val in
   2035       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2036       esac
   2037       $as_echo "$ac_var='\''$ac_val'\''"
   2038     done | sort
   2039     echo
   2040 
   2041     if test -n "$ac_subst_files"; then
   2042       $as_echo "## ------------------- ##
   2043 ## File substitutions. ##
   2044 ## ------------------- ##"
   2045       echo
   2046       for ac_var in $ac_subst_files
   2047       do
   2048 	eval ac_val=\$$ac_var
   2049 	case $ac_val in
   2050 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2051 	esac
   2052 	$as_echo "$ac_var='\''$ac_val'\''"
   2053       done | sort
   2054       echo
   2055     fi
   2056 
   2057     if test -s confdefs.h; then
   2058       $as_echo "## ----------- ##
   2059 ## confdefs.h. ##
   2060 ## ----------- ##"
   2061       echo
   2062       cat confdefs.h
   2063       echo
   2064     fi
   2065     test "$ac_signal" != 0 &&
   2066       $as_echo "$as_me: caught signal $ac_signal"
   2067     $as_echo "$as_me: exit $exit_status"
   2068   } >&5
   2069   rm -f core *.core core.conftest.* &&
   2070     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2071     exit $exit_status
   2072 ' 0
   2073 for ac_signal in 1 2 13 15; do
   2074   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2075 done
   2076 ac_signal=0
   2077 
   2078 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2079 rm -f -r conftest* confdefs.h
   2080 
   2081 $as_echo "/* confdefs.h */" > confdefs.h
   2082 
   2083 # Predefined preprocessor variables.
   2084 
   2085 cat >>confdefs.h <<_ACEOF
   2086 @%:@define DEFAGE_NAME "$DEFAGE_NAME"
   2087 _ACEOF
   2088 
   2089 cat >>confdefs.h <<_ACEOF
   2090 @%:@define DEFAGE_TARNAME "$DEFAGE_TARNAME"
   2091 _ACEOF
   2092 
   2093 cat >>confdefs.h <<_ACEOF
   2094 @%:@define DEFAGE_VERSION "$DEFAGE_VERSION"
   2095 _ACEOF
   2096 
   2097 cat >>confdefs.h <<_ACEOF
   2098 @%:@define DEFAGE_STRING "$DEFAGE_STRING"
   2099 _ACEOF
   2100 
   2101 cat >>confdefs.h <<_ACEOF
   2102 @%:@define DEFAGE_BUGREPORT "$DEFAGE_BUGREPORT"
   2103 _ACEOF
   2104 
   2105 cat >>confdefs.h <<_ACEOF
   2106 @%:@define DEFAGE_URL "$DEFAGE_URL"
   2107 _ACEOF
   2108 
   2109 
   2110 # Let the site file select an alternate cache file if it wants to.
   2111 # Prefer an explicitly selected file to automatically selected ones.
   2112 ac_site_file1=NONE
   2113 ac_site_file2=NONE
   2114 if test -n "$CONFIG_SITE"; then
   2115   # We do not want a PATH search for config.site.
   2116   case $CONFIG_SITE in @%:@((
   2117     -*)  ac_site_file1=./$CONFIG_SITE;;
   2118     */*) ac_site_file1=$CONFIG_SITE;;
   2119     *)   ac_site_file1=./$CONFIG_SITE;;
   2120   esac
   2121 elif test "x$prefix" != xNONE; then
   2122   ac_site_file1=$prefix/share/config.site
   2123   ac_site_file2=$prefix/etc/config.site
   2124 else
   2125   ac_site_file1=$ac_default_prefix/share/config.site
   2126   ac_site_file2=$ac_default_prefix/etc/config.site
   2127 fi
   2128 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2129 do
   2130   test "x$ac_site_file" = xNONE && continue
   2131   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2132     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2133 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2134     sed 's/^/| /' "$ac_site_file" >&5
   2135     . "$ac_site_file" \
   2136       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2138 as_fn_error $? "failed to load site script $ac_site_file
   2139 See \`config.log' for more details" "$LINENO" 5; }
   2140   fi
   2141 done
   2142 
   2143 if test -r "$cache_file"; then
   2144   # Some versions of bash will fail to source /dev/null (special files
   2145   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2146   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2147     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2148 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2149     case $cache_file in
   2150       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2151       *)                      . "./$cache_file";;
   2152     esac
   2153   fi
   2154 else
   2155   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2156 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2157   >$cache_file
   2158 fi
   2159 
   2160 # Check that the precious variables saved in the cache have kept the same
   2161 # value.
   2162 ac_cache_corrupted=false
   2163 for ac_var in $ac_precious_vars; do
   2164   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2165   eval ac_new_set=\$ac_env_${ac_var}_set
   2166   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2167   eval ac_new_val=\$ac_env_${ac_var}_value
   2168   case $ac_old_set,$ac_new_set in
   2169     set,)
   2170       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2171 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2172       ac_cache_corrupted=: ;;
   2173     ,set)
   2174       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2175 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2176       ac_cache_corrupted=: ;;
   2177     ,);;
   2178     *)
   2179       if test "x$ac_old_val" != "x$ac_new_val"; then
   2180 	# differences in whitespace do not lead to failure.
   2181 	ac_old_val_w=`echo x $ac_old_val`
   2182 	ac_new_val_w=`echo x $ac_new_val`
   2183 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2184 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2185 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2186 	  ac_cache_corrupted=:
   2187 	else
   2188 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2189 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2190 	  eval $ac_var=\$ac_old_val
   2191 	fi
   2192 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2193 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2194 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2195 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2196       fi;;
   2197   esac
   2198   # Pass precious variables to config.status.
   2199   if test "$ac_new_set" = set; then
   2200     case $ac_new_val in
   2201     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2202     *) ac_arg=$ac_var=$ac_new_val ;;
   2203     esac
   2204     case " $ac_configure_args " in
   2205       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2206       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2207     esac
   2208   fi
   2209 done
   2210 if $ac_cache_corrupted; then
   2211   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2213   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2214 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2215   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2216 fi
   2217 ## -------------------- ##
   2218 ## Main body of script. ##
   2219 ## -------------------- ##
   2220 
   2221 ac_ext=c
   2222 ac_cpp='$CPP $CPPFLAGS'
   2223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2226 
   2227 
   2228 ac_aux_dir=
   2229 for ac_dir in config "$srcdir"/config; do
   2230   if test -f "$ac_dir/install-sh"; then
   2231     ac_aux_dir=$ac_dir
   2232     ac_install_sh="$ac_aux_dir/install-sh -c"
   2233     break
   2234   elif test -f "$ac_dir/install.sh"; then
   2235     ac_aux_dir=$ac_dir
   2236     ac_install_sh="$ac_aux_dir/install.sh -c"
   2237     break
   2238   elif test -f "$ac_dir/shtool"; then
   2239     ac_aux_dir=$ac_dir
   2240     ac_install_sh="$ac_aux_dir/shtool install -c"
   2241     break
   2242   fi
   2243 done
   2244 if test -z "$ac_aux_dir"; then
   2245   as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
   2246 fi
   2247 
   2248 # These three variables are undocumented and unsupported,
   2249 # and are intended to be withdrawn in a future Autoconf release.
   2250 # They can cause serious problems if a builder's source tree is in a directory
   2251 # whose full name contains unusual characters.
   2252 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2253 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2254 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2255 
   2256 
   2257 # Make sure we can run config.sub.
   2258 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2259   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2260 
   2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2262 $as_echo_n "checking build system type... " >&6; }
   2263 if ${ac_cv_build+:} false; then :
   2264   $as_echo_n "(cached) " >&6
   2265 else
   2266   ac_build_alias=$build_alias
   2267 test "x$ac_build_alias" = x &&
   2268   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2269 test "x$ac_build_alias" = x &&
   2270   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2271 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2272   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2273 
   2274 fi
   2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2276 $as_echo "$ac_cv_build" >&6; }
   2277 case $ac_cv_build in
   2278 *-*-*) ;;
   2279 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2280 esac
   2281 build=$ac_cv_build
   2282 ac_save_IFS=$IFS; IFS='-'
   2283 set x $ac_cv_build
   2284 shift
   2285 build_cpu=$1
   2286 build_vendor=$2
   2287 shift; shift
   2288 # Remember, the first character of IFS is used to create $*,
   2289 # except with old shells:
   2290 build_os=$*
   2291 IFS=$ac_save_IFS
   2292 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2293 
   2294 
   2295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2296 $as_echo_n "checking host system type... " >&6; }
   2297 if ${ac_cv_host+:} false; then :
   2298   $as_echo_n "(cached) " >&6
   2299 else
   2300   if test "x$host_alias" = x; then
   2301   ac_cv_host=$ac_cv_build
   2302 else
   2303   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2304     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2305 fi
   2306 
   2307 fi
   2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2309 $as_echo "$ac_cv_host" >&6; }
   2310 case $ac_cv_host in
   2311 *-*-*) ;;
   2312 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2313 esac
   2314 host=$ac_cv_host
   2315 ac_save_IFS=$IFS; IFS='-'
   2316 set x $ac_cv_host
   2317 shift
   2318 host_cpu=$1
   2319 host_vendor=$2
   2320 shift; shift
   2321 # Remember, the first character of IFS is used to create $*,
   2322 # except with old shells:
   2323 host_os=$*
   2324 IFS=$ac_save_IFS
   2325 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2326 
   2327 
   2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2329 $as_echo_n "checking target system type... " >&6; }
   2330 if ${ac_cv_target+:} false; then :
   2331   $as_echo_n "(cached) " >&6
   2332 else
   2333   if test "x$target_alias" = x; then
   2334   ac_cv_target=$ac_cv_host
   2335 else
   2336   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2337     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2338 fi
   2339 
   2340 fi
   2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2342 $as_echo "$ac_cv_target" >&6; }
   2343 case $ac_cv_target in
   2344 *-*-*) ;;
   2345 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2346 esac
   2347 target=$ac_cv_target
   2348 ac_save_IFS=$IFS; IFS='-'
   2349 set x $ac_cv_target
   2350 shift
   2351 target_cpu=$1
   2352 target_vendor=$2
   2353 shift; shift
   2354 # Remember, the first character of IFS is used to create $*,
   2355 # except with old shells:
   2356 target_os=$*
   2357 IFS=$ac_save_IFS
   2358 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2359 
   2360 
   2361 # The aliases save the names the user supplied, while $host etc.
   2362 # will get canonicalized.
   2363 test -n "$target_alias" &&
   2364   test "$program_prefix$program_suffix$program_transform_name" = \
   2365     NONENONEs,x,x, &&
   2366   program_prefix=${target_alias}-
   2367 # Get hostname and other information.
   2368 
   2369 
   2370 
   2371 # Create a config.h file to store defines generated by configure
   2372 ac_config_headers="$ac_config_headers include/config.h"
   2373 
   2374 
   2375 # Try to enable the POSIX extensions.
   2376 # Expand $ac_aux_dir to an absolute path.
   2377 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2378 
   2379 ac_ext=c
   2380 ac_cpp='$CPP $CPPFLAGS'
   2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2384 if test -n "$ac_tool_prefix"; then
   2385   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2386 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2388 $as_echo_n "checking for $ac_word... " >&6; }
   2389 if ${ac_cv_prog_CC+:} false; then :
   2390   $as_echo_n "(cached) " >&6
   2391 else
   2392   if test -n "$CC"; then
   2393   ac_cv_prog_CC="$CC" # Let the user override the test.
   2394 else
   2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2396 for as_dir in $PATH
   2397 do
   2398   IFS=$as_save_IFS
   2399   test -z "$as_dir" && as_dir=.
   2400     for ac_exec_ext in '' $ac_executable_extensions; do
   2401   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2402     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2404     break 2
   2405   fi
   2406 done
   2407   done
   2408 IFS=$as_save_IFS
   2409 
   2410 fi
   2411 fi
   2412 CC=$ac_cv_prog_CC
   2413 if test -n "$CC"; then
   2414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2415 $as_echo "$CC" >&6; }
   2416 else
   2417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2418 $as_echo "no" >&6; }
   2419 fi
   2420 
   2421 
   2422 fi
   2423 if test -z "$ac_cv_prog_CC"; then
   2424   ac_ct_CC=$CC
   2425   # Extract the first word of "gcc", so it can be a program name with args.
   2426 set dummy gcc; ac_word=$2
   2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2428 $as_echo_n "checking for $ac_word... " >&6; }
   2429 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2430   $as_echo_n "(cached) " >&6
   2431 else
   2432   if test -n "$ac_ct_CC"; then
   2433   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2434 else
   2435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2436 for as_dir in $PATH
   2437 do
   2438   IFS=$as_save_IFS
   2439   test -z "$as_dir" && as_dir=.
   2440     for ac_exec_ext in '' $ac_executable_extensions; do
   2441   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2442     ac_cv_prog_ac_ct_CC="gcc"
   2443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2444     break 2
   2445   fi
   2446 done
   2447   done
   2448 IFS=$as_save_IFS
   2449 
   2450 fi
   2451 fi
   2452 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2453 if test -n "$ac_ct_CC"; then
   2454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2455 $as_echo "$ac_ct_CC" >&6; }
   2456 else
   2457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2458 $as_echo "no" >&6; }
   2459 fi
   2460 
   2461   if test "x$ac_ct_CC" = x; then
   2462     CC=""
   2463   else
   2464     case $cross_compiling:$ac_tool_warned in
   2465 yes:)
   2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2468 ac_tool_warned=yes ;;
   2469 esac
   2470     CC=$ac_ct_CC
   2471   fi
   2472 else
   2473   CC="$ac_cv_prog_CC"
   2474 fi
   2475 
   2476 if test -z "$CC"; then
   2477           if test -n "$ac_tool_prefix"; then
   2478     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2479 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2481 $as_echo_n "checking for $ac_word... " >&6; }
   2482 if ${ac_cv_prog_CC+:} false; then :
   2483   $as_echo_n "(cached) " >&6
   2484 else
   2485   if test -n "$CC"; then
   2486   ac_cv_prog_CC="$CC" # Let the user override the test.
   2487 else
   2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2489 for as_dir in $PATH
   2490 do
   2491   IFS=$as_save_IFS
   2492   test -z "$as_dir" && as_dir=.
   2493     for ac_exec_ext in '' $ac_executable_extensions; do
   2494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2495     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2497     break 2
   2498   fi
   2499 done
   2500   done
   2501 IFS=$as_save_IFS
   2502 
   2503 fi
   2504 fi
   2505 CC=$ac_cv_prog_CC
   2506 if test -n "$CC"; then
   2507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2508 $as_echo "$CC" >&6; }
   2509 else
   2510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2511 $as_echo "no" >&6; }
   2512 fi
   2513 
   2514 
   2515   fi
   2516 fi
   2517 if test -z "$CC"; then
   2518   # Extract the first word of "cc", so it can be a program name with args.
   2519 set dummy cc; ac_word=$2
   2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2521 $as_echo_n "checking for $ac_word... " >&6; }
   2522 if ${ac_cv_prog_CC+:} false; then :
   2523   $as_echo_n "(cached) " >&6
   2524 else
   2525   if test -n "$CC"; then
   2526   ac_cv_prog_CC="$CC" # Let the user override the test.
   2527 else
   2528   ac_prog_rejected=no
   2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2530 for as_dir in $PATH
   2531 do
   2532   IFS=$as_save_IFS
   2533   test -z "$as_dir" && as_dir=.
   2534     for ac_exec_ext in '' $ac_executable_extensions; do
   2535   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2536     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2537        ac_prog_rejected=yes
   2538        continue
   2539      fi
   2540     ac_cv_prog_CC="cc"
   2541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2542     break 2
   2543   fi
   2544 done
   2545   done
   2546 IFS=$as_save_IFS
   2547 
   2548 if test $ac_prog_rejected = yes; then
   2549   # We found a bogon in the path, so make sure we never use it.
   2550   set dummy $ac_cv_prog_CC
   2551   shift
   2552   if test $@%:@ != 0; then
   2553     # We chose a different compiler from the bogus one.
   2554     # However, it has the same basename, so the bogon will be chosen
   2555     # first if we set CC to just the basename; use the full file name.
   2556     shift
   2557     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2558   fi
   2559 fi
   2560 fi
   2561 fi
   2562 CC=$ac_cv_prog_CC
   2563 if test -n "$CC"; then
   2564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2565 $as_echo "$CC" >&6; }
   2566 else
   2567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2568 $as_echo "no" >&6; }
   2569 fi
   2570 
   2571 
   2572 fi
   2573 if test -z "$CC"; then
   2574   if test -n "$ac_tool_prefix"; then
   2575   for ac_prog in cl.exe
   2576   do
   2577     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2580 $as_echo_n "checking for $ac_word... " >&6; }
   2581 if ${ac_cv_prog_CC+:} false; then :
   2582   $as_echo_n "(cached) " >&6
   2583 else
   2584   if test -n "$CC"; then
   2585   ac_cv_prog_CC="$CC" # Let the user override the test.
   2586 else
   2587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2588 for as_dir in $PATH
   2589 do
   2590   IFS=$as_save_IFS
   2591   test -z "$as_dir" && as_dir=.
   2592     for ac_exec_ext in '' $ac_executable_extensions; do
   2593   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2594     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2596     break 2
   2597   fi
   2598 done
   2599   done
   2600 IFS=$as_save_IFS
   2601 
   2602 fi
   2603 fi
   2604 CC=$ac_cv_prog_CC
   2605 if test -n "$CC"; then
   2606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2607 $as_echo "$CC" >&6; }
   2608 else
   2609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2610 $as_echo "no" >&6; }
   2611 fi
   2612 
   2613 
   2614     test -n "$CC" && break
   2615   done
   2616 fi
   2617 if test -z "$CC"; then
   2618   ac_ct_CC=$CC
   2619   for ac_prog in cl.exe
   2620 do
   2621   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2622 set dummy $ac_prog; ac_word=$2
   2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2624 $as_echo_n "checking for $ac_word... " >&6; }
   2625 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2626   $as_echo_n "(cached) " >&6
   2627 else
   2628   if test -n "$ac_ct_CC"; then
   2629   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2630 else
   2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2632 for as_dir in $PATH
   2633 do
   2634   IFS=$as_save_IFS
   2635   test -z "$as_dir" && as_dir=.
   2636     for ac_exec_ext in '' $ac_executable_extensions; do
   2637   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2638     ac_cv_prog_ac_ct_CC="$ac_prog"
   2639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2640     break 2
   2641   fi
   2642 done
   2643   done
   2644 IFS=$as_save_IFS
   2645 
   2646 fi
   2647 fi
   2648 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2649 if test -n "$ac_ct_CC"; then
   2650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2651 $as_echo "$ac_ct_CC" >&6; }
   2652 else
   2653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2654 $as_echo "no" >&6; }
   2655 fi
   2656 
   2657 
   2658   test -n "$ac_ct_CC" && break
   2659 done
   2660 
   2661   if test "x$ac_ct_CC" = x; then
   2662     CC=""
   2663   else
   2664     case $cross_compiling:$ac_tool_warned in
   2665 yes:)
   2666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2668 ac_tool_warned=yes ;;
   2669 esac
   2670     CC=$ac_ct_CC
   2671   fi
   2672 fi
   2673 
   2674 fi
   2675 
   2676 
   2677 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2679 as_fn_error $? "no acceptable C compiler found in \$PATH
   2680 See \`config.log' for more details" "$LINENO" 5; }
   2681 
   2682 # Provide some information about the compiler.
   2683 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2684 set X $ac_compile
   2685 ac_compiler=$2
   2686 for ac_option in --version -v -V -qversion; do
   2687   { { ac_try="$ac_compiler $ac_option >&5"
   2688 case "(($ac_try" in
   2689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2690   *) ac_try_echo=$ac_try;;
   2691 esac
   2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2693 $as_echo "$ac_try_echo"; } >&5
   2694   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2695   ac_status=$?
   2696   if test -s conftest.err; then
   2697     sed '10a\
   2698 ... rest of stderr output deleted ...
   2699          10q' conftest.err >conftest.er1
   2700     cat conftest.er1 >&5
   2701   fi
   2702   rm -f conftest.er1 conftest.err
   2703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2704   test $ac_status = 0; }
   2705 done
   2706 
   2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2708 /* end confdefs.h.  */
   2709 
   2710 int
   2711 main ()
   2712 {
   2713 
   2714   ;
   2715   return 0;
   2716 }
   2717 _ACEOF
   2718 ac_clean_files_save=$ac_clean_files
   2719 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2720 # Try to create an executable without -o first, disregard a.out.
   2721 # It will help us diagnose broken compilers, and finding out an intuition
   2722 # of exeext.
   2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2724 $as_echo_n "checking whether the C compiler works... " >&6; }
   2725 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2726 
   2727 # The possible output files:
   2728 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2729 
   2730 ac_rmfiles=
   2731 for ac_file in $ac_files
   2732 do
   2733   case $ac_file in
   2734     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2735     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2736   esac
   2737 done
   2738 rm -f $ac_rmfiles
   2739 
   2740 if { { ac_try="$ac_link_default"
   2741 case "(($ac_try" in
   2742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2743   *) ac_try_echo=$ac_try;;
   2744 esac
   2745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2746 $as_echo "$ac_try_echo"; } >&5
   2747   (eval "$ac_link_default") 2>&5
   2748   ac_status=$?
   2749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2750   test $ac_status = 0; }; then :
   2751   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2752 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2753 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2754 # so that the user can short-circuit this test for compilers unknown to
   2755 # Autoconf.
   2756 for ac_file in $ac_files ''
   2757 do
   2758   test -f "$ac_file" || continue
   2759   case $ac_file in
   2760     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2761 	;;
   2762     [ab].out )
   2763 	# We found the default executable, but exeext='' is most
   2764 	# certainly right.
   2765 	break;;
   2766     *.* )
   2767 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2768 	then :; else
   2769 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2770 	fi
   2771 	# We set ac_cv_exeext here because the later test for it is not
   2772 	# safe: cross compilers may not add the suffix if given an `-o'
   2773 	# argument, so we may need to know it at that point already.
   2774 	# Even if this section looks crufty: it has the advantage of
   2775 	# actually working.
   2776 	break;;
   2777     * )
   2778 	break;;
   2779   esac
   2780 done
   2781 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2782 
   2783 else
   2784   ac_file=''
   2785 fi
   2786 if test -z "$ac_file"; then :
   2787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2788 $as_echo "no" >&6; }
   2789 $as_echo "$as_me: failed program was:" >&5
   2790 sed 's/^/| /' conftest.$ac_ext >&5
   2791 
   2792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2794 as_fn_error 77 "C compiler cannot create executables
   2795 See \`config.log' for more details" "$LINENO" 5; }
   2796 else
   2797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2798 $as_echo "yes" >&6; }
   2799 fi
   2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2801 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2803 $as_echo "$ac_file" >&6; }
   2804 ac_exeext=$ac_cv_exeext
   2805 
   2806 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2807 ac_clean_files=$ac_clean_files_save
   2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2809 $as_echo_n "checking for suffix of executables... " >&6; }
   2810 if { { ac_try="$ac_link"
   2811 case "(($ac_try" in
   2812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2813   *) ac_try_echo=$ac_try;;
   2814 esac
   2815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2816 $as_echo "$ac_try_echo"; } >&5
   2817   (eval "$ac_link") 2>&5
   2818   ac_status=$?
   2819   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2820   test $ac_status = 0; }; then :
   2821   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2822 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2823 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2824 # `rm'.
   2825 for ac_file in conftest.exe conftest conftest.*; do
   2826   test -f "$ac_file" || continue
   2827   case $ac_file in
   2828     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2829     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2830 	  break;;
   2831     * ) break;;
   2832   esac
   2833 done
   2834 else
   2835   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2837 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2838 See \`config.log' for more details" "$LINENO" 5; }
   2839 fi
   2840 rm -f conftest conftest$ac_cv_exeext
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2842 $as_echo "$ac_cv_exeext" >&6; }
   2843 
   2844 rm -f conftest.$ac_ext
   2845 EXEEXT=$ac_cv_exeext
   2846 ac_exeext=$EXEEXT
   2847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2848 /* end confdefs.h.  */
   2849 @%:@include <stdio.h>
   2850 int
   2851 main ()
   2852 {
   2853 FILE *f = fopen ("conftest.out", "w");
   2854  return ferror (f) || fclose (f) != 0;
   2855 
   2856   ;
   2857   return 0;
   2858 }
   2859 _ACEOF
   2860 ac_clean_files="$ac_clean_files conftest.out"
   2861 # Check that the compiler produces executables we can run.  If not, either
   2862 # the compiler is broken, or we cross compile.
   2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2864 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2865 if test "$cross_compiling" != yes; then
   2866   { { ac_try="$ac_link"
   2867 case "(($ac_try" in
   2868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2869   *) ac_try_echo=$ac_try;;
   2870 esac
   2871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2872 $as_echo "$ac_try_echo"; } >&5
   2873   (eval "$ac_link") 2>&5
   2874   ac_status=$?
   2875   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2876   test $ac_status = 0; }
   2877   if { ac_try='./conftest$ac_cv_exeext'
   2878   { { case "(($ac_try" in
   2879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2880   *) ac_try_echo=$ac_try;;
   2881 esac
   2882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2883 $as_echo "$ac_try_echo"; } >&5
   2884   (eval "$ac_try") 2>&5
   2885   ac_status=$?
   2886   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2887   test $ac_status = 0; }; }; then
   2888     cross_compiling=no
   2889   else
   2890     if test "$cross_compiling" = maybe; then
   2891 	cross_compiling=yes
   2892     else
   2893 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2895 as_fn_error $? "cannot run C compiled programs.
   2896 If you meant to cross compile, use \`--host'.
   2897 See \`config.log' for more details" "$LINENO" 5; }
   2898     fi
   2899   fi
   2900 fi
   2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2902 $as_echo "$cross_compiling" >&6; }
   2903 
   2904 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2905 ac_clean_files=$ac_clean_files_save
   2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2907 $as_echo_n "checking for suffix of object files... " >&6; }
   2908 if ${ac_cv_objext+:} false; then :
   2909   $as_echo_n "(cached) " >&6
   2910 else
   2911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2912 /* end confdefs.h.  */
   2913 
   2914 int
   2915 main ()
   2916 {
   2917 
   2918   ;
   2919   return 0;
   2920 }
   2921 _ACEOF
   2922 rm -f conftest.o conftest.obj
   2923 if { { ac_try="$ac_compile"
   2924 case "(($ac_try" in
   2925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2926   *) ac_try_echo=$ac_try;;
   2927 esac
   2928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2929 $as_echo "$ac_try_echo"; } >&5
   2930   (eval "$ac_compile") 2>&5
   2931   ac_status=$?
   2932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2933   test $ac_status = 0; }; then :
   2934   for ac_file in conftest.o conftest.obj conftest.*; do
   2935   test -f "$ac_file" || continue;
   2936   case $ac_file in
   2937     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2938     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2939        break;;
   2940   esac
   2941 done
   2942 else
   2943   $as_echo "$as_me: failed program was:" >&5
   2944 sed 's/^/| /' conftest.$ac_ext >&5
   2945 
   2946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2948 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2949 See \`config.log' for more details" "$LINENO" 5; }
   2950 fi
   2951 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2952 fi
   2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2954 $as_echo "$ac_cv_objext" >&6; }
   2955 OBJEXT=$ac_cv_objext
   2956 ac_objext=$OBJEXT
   2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2958 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2959 if ${ac_cv_c_compiler_gnu+:} false; then :
   2960   $as_echo_n "(cached) " >&6
   2961 else
   2962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2963 /* end confdefs.h.  */
   2964 
   2965 int
   2966 main ()
   2967 {
   2968 #ifndef __GNUC__
   2969        choke me
   2970 #endif
   2971 
   2972   ;
   2973   return 0;
   2974 }
   2975 _ACEOF
   2976 if ac_fn_c_try_compile "$LINENO"; then :
   2977   ac_compiler_gnu=yes
   2978 else
   2979   ac_compiler_gnu=no
   2980 fi
   2981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2982 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2983 
   2984 fi
   2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2986 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2987 if test $ac_compiler_gnu = yes; then
   2988   GCC=yes
   2989 else
   2990   GCC=
   2991 fi
   2992 ac_test_CFLAGS=${CFLAGS+set}
   2993 ac_save_CFLAGS=$CFLAGS
   2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2995 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2996 if ${ac_cv_prog_cc_g+:} false; then :
   2997   $as_echo_n "(cached) " >&6
   2998 else
   2999   ac_save_c_werror_flag=$ac_c_werror_flag
   3000    ac_c_werror_flag=yes
   3001    ac_cv_prog_cc_g=no
   3002    CFLAGS="-g"
   3003    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3004 /* end confdefs.h.  */
   3005 
   3006 int
   3007 main ()
   3008 {
   3009 
   3010   ;
   3011   return 0;
   3012 }
   3013 _ACEOF
   3014 if ac_fn_c_try_compile "$LINENO"; then :
   3015   ac_cv_prog_cc_g=yes
   3016 else
   3017   CFLAGS=""
   3018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3019 /* end confdefs.h.  */
   3020 
   3021 int
   3022 main ()
   3023 {
   3024 
   3025   ;
   3026   return 0;
   3027 }
   3028 _ACEOF
   3029 if ac_fn_c_try_compile "$LINENO"; then :
   3030   
   3031 else
   3032   ac_c_werror_flag=$ac_save_c_werror_flag
   3033 	 CFLAGS="-g"
   3034 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3035 /* end confdefs.h.  */
   3036 
   3037 int
   3038 main ()
   3039 {
   3040 
   3041   ;
   3042   return 0;
   3043 }
   3044 _ACEOF
   3045 if ac_fn_c_try_compile "$LINENO"; then :
   3046   ac_cv_prog_cc_g=yes
   3047 fi
   3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3049 fi
   3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3051 fi
   3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3053    ac_c_werror_flag=$ac_save_c_werror_flag
   3054 fi
   3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3056 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3057 if test "$ac_test_CFLAGS" = set; then
   3058   CFLAGS=$ac_save_CFLAGS
   3059 elif test $ac_cv_prog_cc_g = yes; then
   3060   if test "$GCC" = yes; then
   3061     CFLAGS="-g -O2"
   3062   else
   3063     CFLAGS="-g"
   3064   fi
   3065 else
   3066   if test "$GCC" = yes; then
   3067     CFLAGS="-O2"
   3068   else
   3069     CFLAGS=
   3070   fi
   3071 fi
   3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3073 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3074 if ${ac_cv_prog_cc_c89+:} false; then :
   3075   $as_echo_n "(cached) " >&6
   3076 else
   3077   ac_cv_prog_cc_c89=no
   3078 ac_save_CC=$CC
   3079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3080 /* end confdefs.h.  */
   3081 #include <stdarg.h>
   3082 #include <stdio.h>
   3083 struct stat;
   3084 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3085 struct buf { int x; };
   3086 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3087 static char *e (p, i)
   3088      char **p;
   3089      int i;
   3090 {
   3091   return p[i];
   3092 }
   3093 static char *f (char * (*g) (char **, int), char **p, ...)
   3094 {
   3095   char *s;
   3096   va_list v;
   3097   va_start (v,p);
   3098   s = g (p, va_arg (v,int));
   3099   va_end (v);
   3100   return s;
   3101 }
   3102 
   3103 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3104    function prototypes and stuff, but not '\xHH' hex character constants.
   3105    These don't provoke an error unfortunately, instead are silently treated
   3106    as 'x'.  The following induces an error, until -std is added to get
   3107    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3108    array size at least.  It's necessary to write '\x00'==0 to get something
   3109    that's true only with -std.  */
   3110 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3111 
   3112 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3113    inside strings and character constants.  */
   3114 #define FOO(x) 'x'
   3115 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3116 
   3117 int test (int i, double x);
   3118 struct s1 {int (*f) (int a);};
   3119 struct s2 {int (*f) (double a);};
   3120 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3121 int argc;
   3122 char **argv;
   3123 int
   3124 main ()
   3125 {
   3126 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3127   ;
   3128   return 0;
   3129 }
   3130 _ACEOF
   3131 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3132 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3133 do
   3134   CC="$ac_save_CC $ac_arg"
   3135   if ac_fn_c_try_compile "$LINENO"; then :
   3136   ac_cv_prog_cc_c89=$ac_arg
   3137 fi
   3138 rm -f core conftest.err conftest.$ac_objext
   3139   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3140 done
   3141 rm -f conftest.$ac_ext
   3142 CC=$ac_save_CC
   3143 
   3144 fi
   3145 # AC_CACHE_VAL
   3146 case "x$ac_cv_prog_cc_c89" in
   3147   x)
   3148     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3149 $as_echo "none needed" >&6; } ;;
   3150   xno)
   3151     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3152 $as_echo "unsupported" >&6; } ;;
   3153   *)
   3154     CC="$CC $ac_cv_prog_cc_c89"
   3155     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3156 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3157 esac
   3158 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3159   
   3160 fi
   3161 
   3162 ac_ext=c
   3163 ac_cpp='$CPP $CPPFLAGS'
   3164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3167 
   3168 ac_ext=c
   3169 ac_cpp='$CPP $CPPFLAGS'
   3170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3174 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3175 if ${am_cv_prog_cc_c_o+:} false; then :
   3176   $as_echo_n "(cached) " >&6
   3177 else
   3178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3179 /* end confdefs.h.  */
   3180 
   3181 int
   3182 main ()
   3183 {
   3184 
   3185   ;
   3186   return 0;
   3187 }
   3188 _ACEOF
   3189   # Make sure it works both with $CC and with simple cc.
   3190   # Following AC_PROG_CC_C_O, we do the test twice because some
   3191   # compilers refuse to overwrite an existing .o file with -o,
   3192   # though they will create one.
   3193   am_cv_prog_cc_c_o=yes
   3194   for am_i in 1 2; do
   3195     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3196    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3197    ac_status=$?
   3198    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3199    (exit $ac_status); } \
   3200          && test -f conftest2.$ac_objext; then
   3201       : OK
   3202     else
   3203       am_cv_prog_cc_c_o=no
   3204       break
   3205     fi
   3206   done
   3207   rm -f core conftest*
   3208   unset am_i
   3209 fi
   3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3211 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3212 if test "$am_cv_prog_cc_c_o" != yes; then
   3213    # Losing compiler, so override with the script.
   3214    # FIXME: It is wrong to rewrite CC.
   3215    # But if we don't then we get into trouble of one sort or another.
   3216    # A longer-term fix would be to have automake use am__CC in this case,
   3217    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3218    CC="$am_aux_dir/compile $CC"
   3219 fi
   3220 ac_ext=c
   3221 ac_cpp='$CPP $CPPFLAGS'
   3222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3225 
   3226 
   3227 
   3228 ac_ext=c
   3229 ac_cpp='$CPP $CPPFLAGS'
   3230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3234 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3235 # On Suns, sometimes $CPP names a directory.
   3236 if test -n "$CPP" && test -d "$CPP"; then
   3237   CPP=
   3238 fi
   3239 if test -z "$CPP"; then
   3240   if ${ac_cv_prog_CPP+:} false; then :
   3241   $as_echo_n "(cached) " >&6
   3242 else
   3243       # Double quotes because CPP needs to be expanded
   3244     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3245     do
   3246       ac_preproc_ok=false
   3247 for ac_c_preproc_warn_flag in '' yes
   3248 do
   3249   # Use a header file that comes with gcc, so configuring glibc
   3250   # with a fresh cross-compiler works.
   3251   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3252   # <limits.h> exists even on freestanding compilers.
   3253   # On the NeXT, cc -E runs the code through the compiler's parser,
   3254   # not just through cpp. "Syntax error" is here to catch this case.
   3255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3256 /* end confdefs.h.  */
   3257 @%:@ifdef __STDC__
   3258 @%:@ include <limits.h>
   3259 @%:@else
   3260 @%:@ include <assert.h>
   3261 @%:@endif
   3262 		     Syntax error
   3263 _ACEOF
   3264 if ac_fn_c_try_cpp "$LINENO"; then :
   3265   
   3266 else
   3267   # Broken: fails on valid input.
   3268 continue
   3269 fi
   3270 rm -f conftest.err conftest.i conftest.$ac_ext
   3271 
   3272   # OK, works on sane cases.  Now check whether nonexistent headers
   3273   # can be detected and how.
   3274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3275 /* end confdefs.h.  */
   3276 @%:@include <ac_nonexistent.h>
   3277 _ACEOF
   3278 if ac_fn_c_try_cpp "$LINENO"; then :
   3279   # Broken: success on invalid input.
   3280 continue
   3281 else
   3282   # Passes both tests.
   3283 ac_preproc_ok=:
   3284 break
   3285 fi
   3286 rm -f conftest.err conftest.i conftest.$ac_ext
   3287 
   3288 done
   3289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3290 rm -f conftest.i conftest.err conftest.$ac_ext
   3291 if $ac_preproc_ok; then :
   3292   break
   3293 fi
   3294 
   3295     done
   3296     ac_cv_prog_CPP=$CPP
   3297   
   3298 fi
   3299   CPP=$ac_cv_prog_CPP
   3300 else
   3301   ac_cv_prog_CPP=$CPP
   3302 fi
   3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3304 $as_echo "$CPP" >&6; }
   3305 ac_preproc_ok=false
   3306 for ac_c_preproc_warn_flag in '' yes
   3307 do
   3308   # Use a header file that comes with gcc, so configuring glibc
   3309   # with a fresh cross-compiler works.
   3310   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3311   # <limits.h> exists even on freestanding compilers.
   3312   # On the NeXT, cc -E runs the code through the compiler's parser,
   3313   # not just through cpp. "Syntax error" is here to catch this case.
   3314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3315 /* end confdefs.h.  */
   3316 @%:@ifdef __STDC__
   3317 @%:@ include <limits.h>
   3318 @%:@else
   3319 @%:@ include <assert.h>
   3320 @%:@endif
   3321 		     Syntax error
   3322 _ACEOF
   3323 if ac_fn_c_try_cpp "$LINENO"; then :
   3324   
   3325 else
   3326   # Broken: fails on valid input.
   3327 continue
   3328 fi
   3329 rm -f conftest.err conftest.i conftest.$ac_ext
   3330 
   3331   # OK, works on sane cases.  Now check whether nonexistent headers
   3332   # can be detected and how.
   3333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3334 /* end confdefs.h.  */
   3335 @%:@include <ac_nonexistent.h>
   3336 _ACEOF
   3337 if ac_fn_c_try_cpp "$LINENO"; then :
   3338   # Broken: success on invalid input.
   3339 continue
   3340 else
   3341   # Passes both tests.
   3342 ac_preproc_ok=:
   3343 break
   3344 fi
   3345 rm -f conftest.err conftest.i conftest.$ac_ext
   3346 
   3347 done
   3348 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3349 rm -f conftest.i conftest.err conftest.$ac_ext
   3350 if $ac_preproc_ok; then :
   3351   
   3352 else
   3353   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3355 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3356 See \`config.log' for more details" "$LINENO" 5; }
   3357 fi
   3358 
   3359 ac_ext=c
   3360 ac_cpp='$CPP $CPPFLAGS'
   3361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3364 
   3365 
   3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3367 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3368 if ${ac_cv_path_GREP+:} false; then :
   3369   $as_echo_n "(cached) " >&6
   3370 else
   3371   if test -z "$GREP"; then
   3372   ac_path_GREP_found=false
   3373   # Loop through the user's path and test for each of PROGNAME-LIST
   3374   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3375 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3376 do
   3377   IFS=$as_save_IFS
   3378   test -z "$as_dir" && as_dir=.
   3379     for ac_prog in grep ggrep; do
   3380     for ac_exec_ext in '' $ac_executable_extensions; do
   3381       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3382       as_fn_executable_p "$ac_path_GREP" || continue
   3383 # Check for GNU ac_path_GREP and select it if it is found.
   3384   # Check for GNU $ac_path_GREP
   3385 case `"$ac_path_GREP" --version 2>&1` in
   3386 *GNU*)
   3387   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3388 *)
   3389   ac_count=0
   3390   $as_echo_n 0123456789 >"conftest.in"
   3391   while :
   3392   do
   3393     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3394     mv "conftest.tmp" "conftest.in"
   3395     cp "conftest.in" "conftest.nl"
   3396     $as_echo 'GREP' >> "conftest.nl"
   3397     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3398     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3399     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3400     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3401       # Best one so far, save it but keep looking for a better one
   3402       ac_cv_path_GREP="$ac_path_GREP"
   3403       ac_path_GREP_max=$ac_count
   3404     fi
   3405     # 10*(2^10) chars as input seems more than enough
   3406     test $ac_count -gt 10 && break
   3407   done
   3408   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3409 esac
   3410 
   3411       $ac_path_GREP_found && break 3
   3412     done
   3413   done
   3414   done
   3415 IFS=$as_save_IFS
   3416   if test -z "$ac_cv_path_GREP"; then
   3417     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3418   fi
   3419 else
   3420   ac_cv_path_GREP=$GREP
   3421 fi
   3422 
   3423 fi
   3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3425 $as_echo "$ac_cv_path_GREP" >&6; }
   3426  GREP="$ac_cv_path_GREP"
   3427  
   3428 
   3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3430 $as_echo_n "checking for egrep... " >&6; }
   3431 if ${ac_cv_path_EGREP+:} false; then :
   3432   $as_echo_n "(cached) " >&6
   3433 else
   3434   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3435    then ac_cv_path_EGREP="$GREP -E"
   3436    else
   3437      if test -z "$EGREP"; then
   3438   ac_path_EGREP_found=false
   3439   # Loop through the user's path and test for each of PROGNAME-LIST
   3440   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3441 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3442 do
   3443   IFS=$as_save_IFS
   3444   test -z "$as_dir" && as_dir=.
   3445     for ac_prog in egrep; do
   3446     for ac_exec_ext in '' $ac_executable_extensions; do
   3447       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3448       as_fn_executable_p "$ac_path_EGREP" || continue
   3449 # Check for GNU ac_path_EGREP and select it if it is found.
   3450   # Check for GNU $ac_path_EGREP
   3451 case `"$ac_path_EGREP" --version 2>&1` in
   3452 *GNU*)
   3453   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3454 *)
   3455   ac_count=0
   3456   $as_echo_n 0123456789 >"conftest.in"
   3457   while :
   3458   do
   3459     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3460     mv "conftest.tmp" "conftest.in"
   3461     cp "conftest.in" "conftest.nl"
   3462     $as_echo 'EGREP' >> "conftest.nl"
   3463     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3464     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3465     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3466     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3467       # Best one so far, save it but keep looking for a better one
   3468       ac_cv_path_EGREP="$ac_path_EGREP"
   3469       ac_path_EGREP_max=$ac_count
   3470     fi
   3471     # 10*(2^10) chars as input seems more than enough
   3472     test $ac_count -gt 10 && break
   3473   done
   3474   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3475 esac
   3476 
   3477       $ac_path_EGREP_found && break 3
   3478     done
   3479   done
   3480   done
   3481 IFS=$as_save_IFS
   3482   if test -z "$ac_cv_path_EGREP"; then
   3483     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3484   fi
   3485 else
   3486   ac_cv_path_EGREP=$EGREP
   3487 fi
   3488 
   3489    fi
   3490 fi
   3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3492 $as_echo "$ac_cv_path_EGREP" >&6; }
   3493  EGREP="$ac_cv_path_EGREP"
   3494  
   3495 
   3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3497 $as_echo_n "checking for ANSI C header files... " >&6; }
   3498 if ${ac_cv_header_stdc+:} false; then :
   3499   $as_echo_n "(cached) " >&6
   3500 else
   3501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3502 /* end confdefs.h.  */
   3503 #include <stdlib.h>
   3504 #include <stdarg.h>
   3505 #include <string.h>
   3506 #include <float.h>
   3507 
   3508 int
   3509 main ()
   3510 {
   3511 
   3512   ;
   3513   return 0;
   3514 }
   3515 _ACEOF
   3516 if ac_fn_c_try_compile "$LINENO"; then :
   3517   ac_cv_header_stdc=yes
   3518 else
   3519   ac_cv_header_stdc=no
   3520 fi
   3521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3522 
   3523 if test $ac_cv_header_stdc = yes; then
   3524   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3526 /* end confdefs.h.  */
   3527 #include <string.h>
   3528 
   3529 _ACEOF
   3530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3531   $EGREP "memchr" >/dev/null 2>&1; then :
   3532   
   3533 else
   3534   ac_cv_header_stdc=no
   3535 fi
   3536 rm -f conftest*
   3537 
   3538 fi
   3539 
   3540 if test $ac_cv_header_stdc = yes; then
   3541   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3543 /* end confdefs.h.  */
   3544 #include <stdlib.h>
   3545 
   3546 _ACEOF
   3547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3548   $EGREP "free" >/dev/null 2>&1; then :
   3549   
   3550 else
   3551   ac_cv_header_stdc=no
   3552 fi
   3553 rm -f conftest*
   3554 
   3555 fi
   3556 
   3557 if test $ac_cv_header_stdc = yes; then
   3558   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3559   if test "$cross_compiling" = yes; then :
   3560   :
   3561 else
   3562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3563 /* end confdefs.h.  */
   3564 #include <ctype.h>
   3565 #include <stdlib.h>
   3566 #if ((' ' & 0x0FF) == 0x020)
   3567 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3568 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3569 #else
   3570 # define ISLOWER(c) \
   3571 		   (('a' <= (c) && (c) <= 'i') \
   3572 		     || ('j' <= (c) && (c) <= 'r') \
   3573 		     || ('s' <= (c) && (c) <= 'z'))
   3574 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3575 #endif
   3576 
   3577 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3578 int
   3579 main ()
   3580 {
   3581   int i;
   3582   for (i = 0; i < 256; i++)
   3583     if (XOR (islower (i), ISLOWER (i))
   3584 	|| toupper (i) != TOUPPER (i))
   3585       return 2;
   3586   return 0;
   3587 }
   3588 _ACEOF
   3589 if ac_fn_c_try_run "$LINENO"; then :
   3590   
   3591 else
   3592   ac_cv_header_stdc=no
   3593 fi
   3594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3595   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3596 fi
   3597 
   3598 fi
   3599 fi
   3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3601 $as_echo "$ac_cv_header_stdc" >&6; }
   3602 if test $ac_cv_header_stdc = yes; then
   3603   
   3604 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
   3605 
   3606 fi
   3607 
   3608 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3609 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3610 		  inttypes.h stdint.h unistd.h
   3611 do :
   3612   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3613 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3614 "
   3615 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3616   cat >>confdefs.h <<_ACEOF
   3617 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3618 _ACEOF
   3619  
   3620 fi
   3621 
   3622 done
   3623 
   3624 
   3625 
   3626   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3627 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3628   MINIX=yes
   3629 else
   3630   MINIX=
   3631 fi
   3632 
   3633 
   3634   if test "$MINIX" = yes; then
   3635     
   3636 $as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h
   3637 
   3638     
   3639 $as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h
   3640 
   3641     
   3642 $as_echo "@%:@define _MINIX 1" >>confdefs.h
   3643 
   3644   fi
   3645 
   3646   
   3647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3648 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3649 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3650   $as_echo_n "(cached) " >&6
   3651 else
   3652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3653 /* end confdefs.h.  */
   3654 
   3655 #         define __EXTENSIONS__ 1
   3656           $ac_includes_default
   3657 int
   3658 main ()
   3659 {
   3660 
   3661   ;
   3662   return 0;
   3663 }
   3664 _ACEOF
   3665 if ac_fn_c_try_compile "$LINENO"; then :
   3666   ac_cv_safe_to_define___extensions__=yes
   3667 else
   3668   ac_cv_safe_to_define___extensions__=no
   3669 fi
   3670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3671 fi
   3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3673 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3674   test $ac_cv_safe_to_define___extensions__ = yes &&
   3675     $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
   3676 
   3677   $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h
   3678 
   3679   $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h
   3680 
   3681   $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3682 
   3683   $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h
   3684 
   3685 
   3686 
   3687 # Automake initialization
   3688 am__api_version='1.16'
   3689 
   3690 # Find a good install program.  We prefer a C program (faster),
   3691 # so one script is as good as another.  But avoid the broken or
   3692 # incompatible versions:
   3693 # SysV /etc/install, /usr/sbin/install
   3694 # SunOS /usr/etc/install
   3695 # IRIX /sbin/install
   3696 # AIX /bin/install
   3697 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3698 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3699 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3700 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3701 # OS/2's system install, which has a completely different semantic
   3702 # ./install, which can be erroneously created by make from ./install.sh.
   3703 # Reject install programs that cannot install multiple files.
   3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3705 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3706 if test -z "$INSTALL"; then
   3707 if ${ac_cv_path_install+:} false; then :
   3708   $as_echo_n "(cached) " >&6
   3709 else
   3710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3711 for as_dir in $PATH
   3712 do
   3713   IFS=$as_save_IFS
   3714   test -z "$as_dir" && as_dir=.
   3715     # Account for people who put trailing slashes in PATH elements.
   3716 case $as_dir/ in @%:@((
   3717   ./ | .// | /[cC]/* | \
   3718   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3719   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3720   /usr/ucb/* ) ;;
   3721   *)
   3722     # OSF1 and SCO ODT 3.0 have their own names for install.
   3723     # Don't use installbsd from OSF since it installs stuff as root
   3724     # by default.
   3725     for ac_prog in ginstall scoinst install; do
   3726       for ac_exec_ext in '' $ac_executable_extensions; do
   3727 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3728 	  if test $ac_prog = install &&
   3729 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3730 	    # AIX install.  It has an incompatible calling convention.
   3731 	    :
   3732 	  elif test $ac_prog = install &&
   3733 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3734 	    # program-specific install script used by HP pwplus--don't use.
   3735 	    :
   3736 	  else
   3737 	    rm -rf conftest.one conftest.two conftest.dir
   3738 	    echo one > conftest.one
   3739 	    echo two > conftest.two
   3740 	    mkdir conftest.dir
   3741 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3742 	      test -s conftest.one && test -s conftest.two &&
   3743 	      test -s conftest.dir/conftest.one &&
   3744 	      test -s conftest.dir/conftest.two
   3745 	    then
   3746 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3747 	      break 3
   3748 	    fi
   3749 	  fi
   3750 	fi
   3751       done
   3752     done
   3753     ;;
   3754 esac
   3755 
   3756   done
   3757 IFS=$as_save_IFS
   3758 
   3759 rm -rf conftest.one conftest.two conftest.dir
   3760 
   3761 fi
   3762   if test "${ac_cv_path_install+set}" = set; then
   3763     INSTALL=$ac_cv_path_install
   3764   else
   3765     # As a last resort, use the slow shell script.  Don't cache a
   3766     # value for INSTALL within a source directory, because that will
   3767     # break other packages using the cache if that directory is
   3768     # removed, or if the value is a relative name.
   3769     INSTALL=$ac_install_sh
   3770   fi
   3771 fi
   3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3773 $as_echo "$INSTALL" >&6; }
   3774 
   3775 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3776 # It thinks the first close brace ends the variable substitution.
   3777 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3778 
   3779 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3780 
   3781 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3782 
   3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3784 $as_echo_n "checking whether build environment is sane... " >&6; }
   3785 # Reject unsafe characters in $srcdir or the absolute working directory
   3786 # name.  Accept space and tab only in the latter.
   3787 am_lf='
   3788 '
   3789 case `pwd` in
   3790   *[\\\"\#\$\&\'\`$am_lf]*)
   3791     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3792 esac
   3793 case $srcdir in
   3794   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3795     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3796 esac
   3797 
   3798 # Do 'set' in a subshell so we don't clobber the current shell's
   3799 # arguments.  Must try -L first in case configure is actually a
   3800 # symlink; some systems play weird games with the mod time of symlinks
   3801 # (eg FreeBSD returns the mod time of the symlink's containing
   3802 # directory).
   3803 if (
   3804    am_has_slept=no
   3805    for am_try in 1 2; do
   3806      echo "timestamp, slept: $am_has_slept" > conftest.file
   3807      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3808      if test "$*" = "X"; then
   3809 	# -L didn't work.
   3810 	set X `ls -t "$srcdir/configure" conftest.file`
   3811      fi
   3812      if test "$*" != "X $srcdir/configure conftest.file" \
   3813 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3814 
   3815 	# If neither matched, then we have a broken ls.  This can happen
   3816 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3817 	# broken ls alias from the environment.  This has actually
   3818 	# happened.  Such a system could not be considered "sane".
   3819 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3820   alias in your environment" "$LINENO" 5
   3821      fi
   3822      if test "$2" = conftest.file || test $am_try -eq 2; then
   3823        break
   3824      fi
   3825      # Just in case.
   3826      sleep 1
   3827      am_has_slept=yes
   3828    done
   3829    test "$2" = conftest.file
   3830    )
   3831 then
   3832    # Ok.
   3833    :
   3834 else
   3835    as_fn_error $? "newly created file is older than distributed files!
   3836 Check your system clock" "$LINENO" 5
   3837 fi
   3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3839 $as_echo "yes" >&6; }
   3840 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3841 # generated files are strictly newer.
   3842 am_sleep_pid=
   3843 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3844   ( sleep 1 ) &
   3845   am_sleep_pid=$!
   3846 fi
   3847 
   3848 rm -f conftest.file
   3849 
   3850 test "$program_prefix" != NONE &&
   3851   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3852 # Use a double $ so make ignores it.
   3853 test "$program_suffix" != NONE &&
   3854   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3855 # Double any \ or $.
   3856 # By default was `s,x,x', remove it if useless.
   3857 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3858 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3859 
   3860 if test x"${MISSING+set}" != xset; then
   3861   case $am_aux_dir in
   3862   *\ * | *\	*)
   3863     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3864   *)
   3865     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3866   esac
   3867 fi
   3868 # Use eval to expand $SHELL
   3869 if eval "$MISSING --is-lightweight"; then
   3870   am_missing_run="$MISSING "
   3871 else
   3872   am_missing_run=
   3873   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3874 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3875 fi
   3876 
   3877 if test x"${install_sh+set}" != xset; then
   3878   case $am_aux_dir in
   3879   *\ * | *\	*)
   3880     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3881   *)
   3882     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3883   esac
   3884 fi
   3885 
   3886 # Installed binaries are usually stripped using 'strip' when the user
   3887 # run "make install-strip".  However 'strip' might not be the right
   3888 # tool to use in cross-compilation environments, therefore Automake
   3889 # will honor the 'STRIP' environment variable to overrule this program.
   3890 if test "$cross_compiling" != no; then
   3891   if test -n "$ac_tool_prefix"; then
   3892   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3893 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3895 $as_echo_n "checking for $ac_word... " >&6; }
   3896 if ${ac_cv_prog_STRIP+:} false; then :
   3897   $as_echo_n "(cached) " >&6
   3898 else
   3899   if test -n "$STRIP"; then
   3900   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3901 else
   3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3903 for as_dir in $PATH
   3904 do
   3905   IFS=$as_save_IFS
   3906   test -z "$as_dir" && as_dir=.
   3907     for ac_exec_ext in '' $ac_executable_extensions; do
   3908   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3909     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3911     break 2
   3912   fi
   3913 done
   3914   done
   3915 IFS=$as_save_IFS
   3916 
   3917 fi
   3918 fi
   3919 STRIP=$ac_cv_prog_STRIP
   3920 if test -n "$STRIP"; then
   3921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3922 $as_echo "$STRIP" >&6; }
   3923 else
   3924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3925 $as_echo "no" >&6; }
   3926 fi
   3927 
   3928 
   3929 fi
   3930 if test -z "$ac_cv_prog_STRIP"; then
   3931   ac_ct_STRIP=$STRIP
   3932   # Extract the first word of "strip", so it can be a program name with args.
   3933 set dummy strip; ac_word=$2
   3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3935 $as_echo_n "checking for $ac_word... " >&6; }
   3936 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3937   $as_echo_n "(cached) " >&6
   3938 else
   3939   if test -n "$ac_ct_STRIP"; then
   3940   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3941 else
   3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3943 for as_dir in $PATH
   3944 do
   3945   IFS=$as_save_IFS
   3946   test -z "$as_dir" && as_dir=.
   3947     for ac_exec_ext in '' $ac_executable_extensions; do
   3948   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3949     ac_cv_prog_ac_ct_STRIP="strip"
   3950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3951     break 2
   3952   fi
   3953 done
   3954   done
   3955 IFS=$as_save_IFS
   3956 
   3957 fi
   3958 fi
   3959 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3960 if test -n "$ac_ct_STRIP"; then
   3961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3962 $as_echo "$ac_ct_STRIP" >&6; }
   3963 else
   3964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3965 $as_echo "no" >&6; }
   3966 fi
   3967 
   3968   if test "x$ac_ct_STRIP" = x; then
   3969     STRIP=":"
   3970   else
   3971     case $cross_compiling:$ac_tool_warned in
   3972 yes:)
   3973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3975 ac_tool_warned=yes ;;
   3976 esac
   3977     STRIP=$ac_ct_STRIP
   3978   fi
   3979 else
   3980   STRIP="$ac_cv_prog_STRIP"
   3981 fi
   3982 
   3983 fi
   3984 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3985 
   3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3987 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3988 if test -z "$MKDIR_P"; then
   3989   if ${ac_cv_path_mkdir+:} false; then :
   3990   $as_echo_n "(cached) " >&6
   3991 else
   3992   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3993 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3994 do
   3995   IFS=$as_save_IFS
   3996   test -z "$as_dir" && as_dir=.
   3997     for ac_prog in mkdir gmkdir; do
   3998 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3999 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   4000 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4001 	     'mkdir (GNU coreutils) '* | \
   4002 	     'mkdir (coreutils) '* | \
   4003 	     'mkdir (fileutils) '4.1*)
   4004 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4005 	       break 3;;
   4006 	   esac
   4007 	 done
   4008        done
   4009   done
   4010 IFS=$as_save_IFS
   4011 
   4012 fi
   4013 
   4014   test -d ./--version && rmdir ./--version
   4015   if test "${ac_cv_path_mkdir+set}" = set; then
   4016     MKDIR_P="$ac_cv_path_mkdir -p"
   4017   else
   4018     # As a last resort, use the slow shell script.  Don't cache a
   4019     # value for MKDIR_P within a source directory, because that will
   4020     # break other packages using the cache if that directory is
   4021     # removed, or if the value is a relative name.
   4022     MKDIR_P="$ac_install_sh -d"
   4023   fi
   4024 fi
   4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4026 $as_echo "$MKDIR_P" >&6; }
   4027 
   4028 for ac_prog in gawk mawk nawk awk
   4029 do
   4030   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4031 set dummy $ac_prog; ac_word=$2
   4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4033 $as_echo_n "checking for $ac_word... " >&6; }
   4034 if ${ac_cv_prog_AWK+:} false; then :
   4035   $as_echo_n "(cached) " >&6
   4036 else
   4037   if test -n "$AWK"; then
   4038   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4039 else
   4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4041 for as_dir in $PATH
   4042 do
   4043   IFS=$as_save_IFS
   4044   test -z "$as_dir" && as_dir=.
   4045     for ac_exec_ext in '' $ac_executable_extensions; do
   4046   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4047     ac_cv_prog_AWK="$ac_prog"
   4048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4049     break 2
   4050   fi
   4051 done
   4052   done
   4053 IFS=$as_save_IFS
   4054 
   4055 fi
   4056 fi
   4057 AWK=$ac_cv_prog_AWK
   4058 if test -n "$AWK"; then
   4059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4060 $as_echo "$AWK" >&6; }
   4061 else
   4062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4063 $as_echo "no" >&6; }
   4064 fi
   4065 
   4066 
   4067   test -n "$AWK" && break
   4068 done
   4069 
   4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4071 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4072 set x ${MAKE-make}
   4073 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4074 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4075   $as_echo_n "(cached) " >&6
   4076 else
   4077   cat >conftest.make <<\_ACEOF
   4078 SHELL = /bin/sh
   4079 all:
   4080 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4081 _ACEOF
   4082 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4083 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4084   *@@@%%%=?*=@@@%%%*)
   4085     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4086   *)
   4087     eval ac_cv_prog_make_${ac_make}_set=no;;
   4088 esac
   4089 rm -f conftest.make
   4090 fi
   4091 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4093 $as_echo "yes" >&6; }
   4094   SET_MAKE=
   4095 else
   4096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4097 $as_echo "no" >&6; }
   4098   SET_MAKE="MAKE=${MAKE-make}"
   4099 fi
   4100 
   4101 rm -rf .tst 2>/dev/null
   4102 mkdir .tst 2>/dev/null
   4103 if test -d .tst; then
   4104   am__leading_dot=.
   4105 else
   4106   am__leading_dot=_
   4107 fi
   4108 rmdir .tst 2>/dev/null
   4109 
   4110 DEPDIR="${am__leading_dot}deps"
   4111 
   4112 ac_config_commands="$ac_config_commands depfiles"
   4113 
   4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4115 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4116 cat > confinc.mk << 'END'
   4117 am__doit:
   4118 	@echo this is the am__doit target >confinc.out
   4119 .PHONY: am__doit
   4120 END
   4121 am__include="#"
   4122 am__quote=
   4123 # BSD make does it like this.
   4124 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4125 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4126 echo 'include confinc.mk # ignored' > confmf.GNU
   4127 _am_result=no
   4128 for s in GNU BSD; do
   4129   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4130    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4131    ac_status=$?
   4132    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4133    (exit $ac_status); }
   4134   case $?:`cat confinc.out 2>/dev/null` in @%:@(
   4135   '0:this is the am__doit target') :
   4136     case $s in @%:@(
   4137   BSD) :
   4138     am__include='.include' am__quote='"' ;; @%:@(
   4139   *) :
   4140     am__include='include' am__quote='' ;;
   4141 esac ;; @%:@(
   4142   *) :
   4143      ;;
   4144 esac
   4145   if test "$am__include" != "#"; then
   4146     _am_result="yes ($s style)"
   4147     break
   4148   fi
   4149 done
   4150 rm -f confinc.* confmf.*
   4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4152 $as_echo "${_am_result}" >&6; }
   4153 
   4154 @%:@ Check whether --enable-dependency-tracking was given.
   4155 if test "${enable_dependency_tracking+set}" = set; then :
   4156   enableval=$enable_dependency_tracking; 
   4157 fi
   4158 
   4159 if test "x$enable_dependency_tracking" != xno; then
   4160   am_depcomp="$ac_aux_dir/depcomp"
   4161   AMDEPBACKSLASH='\'
   4162   am__nodep='_no'
   4163 fi
   4164  if test "x$enable_dependency_tracking" != xno; then
   4165   AMDEP_TRUE=
   4166   AMDEP_FALSE='#'
   4167 else
   4168   AMDEP_TRUE='#'
   4169   AMDEP_FALSE=
   4170 fi
   4171 
   4172 
   4173 @%:@ Check whether --enable-silent-rules was given.
   4174 if test "${enable_silent_rules+set}" = set; then :
   4175   enableval=$enable_silent_rules; 
   4176 fi
   4177 
   4178 case $enable_silent_rules in @%:@ (((
   4179   yes) AM_DEFAULT_VERBOSITY=0;;
   4180    no) AM_DEFAULT_VERBOSITY=1;;
   4181     *) AM_DEFAULT_VERBOSITY=1;;
   4182 esac
   4183 am_make=${MAKE-make}
   4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4185 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4186 if ${am_cv_make_support_nested_variables+:} false; then :
   4187   $as_echo_n "(cached) " >&6
   4188 else
   4189   if $as_echo 'TRUE=$(BAR$(V))
   4190 BAR0=false
   4191 BAR1=true
   4192 V=1
   4193 am__doit:
   4194 	@$(TRUE)
   4195 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4196   am_cv_make_support_nested_variables=yes
   4197 else
   4198   am_cv_make_support_nested_variables=no
   4199 fi
   4200 fi
   4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4202 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4203 if test $am_cv_make_support_nested_variables = yes; then
   4204     AM_V='$(V)'
   4205   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4206 else
   4207   AM_V=$AM_DEFAULT_VERBOSITY
   4208   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4209 fi
   4210 AM_BACKSLASH='\'
   4211 
   4212 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4213   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4214   # is not polluted with repeated "-I."
   4215   am__isrc=' -I$(srcdir)'
   4216   # test to see if srcdir already configured
   4217   if test -f $srcdir/config.status; then
   4218     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4219   fi
   4220 fi
   4221 
   4222 # test whether we have cygpath
   4223 if test -z "$CYGPATH_W"; then
   4224   if (cygpath --version) >/dev/null 2>/dev/null; then
   4225     CYGPATH_W='cygpath -w'
   4226   else
   4227     CYGPATH_W=echo
   4228   fi
   4229 fi
   4230 
   4231 
   4232 # Define the identity of the package.
   4233  DEFAGE='torsocks'
   4234  VERSION='2.2.0'
   4235 
   4236 
   4237 cat >>confdefs.h <<_ACEOF
   4238 @%:@define DEFAGE "$DEFAGE"
   4239 _ACEOF
   4240 
   4241  
   4242 cat >>confdefs.h <<_ACEOF
   4243 @%:@define VERSION "$VERSION"
   4244 _ACEOF
   4245 
   4246 # Some tools Automake needs.
   4247 
   4248 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4249 
   4250 
   4251 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4252 
   4253 
   4254 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4255 
   4256 
   4257 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4258 
   4259 
   4260 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4261 
   4262 # For better backward compatibility.  To be removed once Automake 1.9.x
   4263 # dies out for good.  For more background, see:
   4264 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4265 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4266 mkdir_p='$(MKDIR_P)'
   4267 
   4268 # We need awk for the "check" target (and possibly the TAP driver).  The
   4269 # system "awk" is bad on some platforms.
   4270 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4271 # in the wild :-(  We should find a proper way to deprecate it ...
   4272 AMTAR='$${TAR-tar}'
   4273 
   4274 
   4275 # We'll loop over all known methods to create a tar archive until one works.
   4276 _am_tools='gnutar  pax cpio none'
   4277 
   4278 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4279 
   4280 
   4281 
   4282 
   4283 
   4284 depcc="$CC"   am_compiler_list=
   4285 
   4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4287 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4288 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4289   $as_echo_n "(cached) " >&6
   4290 else
   4291   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4292   # We make a subdir and do the tests there.  Otherwise we can end up
   4293   # making bogus files that we don't know about and never remove.  For
   4294   # instance it was reported that on HP-UX the gcc test will end up
   4295   # making a dummy file named 'D' -- because '-MD' means "put the output
   4296   # in D".
   4297   rm -rf conftest.dir
   4298   mkdir conftest.dir
   4299   # Copy depcomp to subdir because otherwise we won't find it if we're
   4300   # using a relative directory.
   4301   cp "$am_depcomp" conftest.dir
   4302   cd conftest.dir
   4303   # We will build objects and dependencies in a subdirectory because
   4304   # it helps to detect inapplicable dependency modes.  For instance
   4305   # both Tru64's cc and ICC support -MD to output dependencies as a
   4306   # side effect of compilation, but ICC will put the dependencies in
   4307   # the current directory while Tru64 will put them in the object
   4308   # directory.
   4309   mkdir sub
   4310 
   4311   am_cv_CC_dependencies_compiler_type=none
   4312   if test "$am_compiler_list" = ""; then
   4313      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4314   fi
   4315   am__universal=false
   4316   case " $depcc " in #(
   4317      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4318      esac
   4319 
   4320   for depmode in $am_compiler_list; do
   4321     # Setup a source with many dependencies, because some compilers
   4322     # like to wrap large dependency lists on column 80 (with \), and
   4323     # we should not choose a depcomp mode which is confused by this.
   4324     #
   4325     # We need to recreate these files for each test, as the compiler may
   4326     # overwrite some of them when testing with obscure command lines.
   4327     # This happens at least with the AIX C compiler.
   4328     : > sub/conftest.c
   4329     for i in 1 2 3 4 5 6; do
   4330       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4331       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4332       # Solaris 10 /bin/sh.
   4333       echo '/* dummy */' > sub/conftst$i.h
   4334     done
   4335     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4336 
   4337     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4338     # mode.  It turns out that the SunPro C++ compiler does not properly
   4339     # handle '-M -o', and we need to detect this.  Also, some Intel
   4340     # versions had trouble with output in subdirs.
   4341     am__obj=sub/conftest.${OBJEXT-o}
   4342     am__minus_obj="-o $am__obj"
   4343     case $depmode in
   4344     gcc)
   4345       # This depmode causes a compiler race in universal mode.
   4346       test "$am__universal" = false || continue
   4347       ;;
   4348     nosideeffect)
   4349       # After this tag, mechanisms are not by side-effect, so they'll
   4350       # only be used when explicitly requested.
   4351       if test "x$enable_dependency_tracking" = xyes; then
   4352 	continue
   4353       else
   4354 	break
   4355       fi
   4356       ;;
   4357     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4358       # This compiler won't grok '-c -o', but also, the minuso test has
   4359       # not run yet.  These depmodes are late enough in the game, and
   4360       # so weak that their functioning should not be impacted.
   4361       am__obj=conftest.${OBJEXT-o}
   4362       am__minus_obj=
   4363       ;;
   4364     none) break ;;
   4365     esac
   4366     if depmode=$depmode \
   4367        source=sub/conftest.c object=$am__obj \
   4368        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4369        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4370          >/dev/null 2>conftest.err &&
   4371        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4372        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4373        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4374        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4375       # icc doesn't choke on unknown options, it will just issue warnings
   4376       # or remarks (even with -Werror).  So we grep stderr for any message
   4377       # that says an option was ignored or not supported.
   4378       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4379       #   icc: Command line warning: ignoring option '-M'; no argument required
   4380       # The diagnosis changed in icc 8.0:
   4381       #   icc: Command line remark: option '-MP' not supported
   4382       if (grep 'ignoring option' conftest.err ||
   4383           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4384         am_cv_CC_dependencies_compiler_type=$depmode
   4385         break
   4386       fi
   4387     fi
   4388   done
   4389 
   4390   cd ..
   4391   rm -rf conftest.dir
   4392 else
   4393   am_cv_CC_dependencies_compiler_type=none
   4394 fi
   4395 
   4396 fi
   4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4398 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4399 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4400 
   4401  if 
   4402   test "x$enable_dependency_tracking" != xno \
   4403   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4404   am__fastdepCC_TRUE=
   4405   am__fastdepCC_FALSE='#'
   4406 else
   4407   am__fastdepCC_TRUE='#'
   4408   am__fastdepCC_FALSE=
   4409 fi
   4410 
   4411 
   4412 
   4413 # POSIX will say in a future version that running "rm -f" with no argument
   4414 # is OK; and we want to be able to make that assumption in our Makefile
   4415 # recipes.  So use an aggressive probe to check that the usage we want is
   4416 # actually supported "in the wild" to an acceptable degree.
   4417 # See automake bug#10828.
   4418 # To make any issue more visible, cause the running configure to be aborted
   4419 # by default if the 'rm' program in use doesn't match our expectations; the
   4420 # user can still override this though.
   4421 if rm -f && rm -fr && rm -rf; then : OK; else
   4422   cat >&2 <<'END'
   4423 Oops!
   4424 
   4425 Your 'rm' program seems unable to run without file operands specified
   4426 on the command line, even when the '-f' option is present.  This is contrary
   4427 to the behaviour of most rm programs out there, and not conforming with
   4428 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4429 
   4430 Please tell bug-automake@gnu.org about your system, including the value
   4431 of your $PATH and any error possibly output before this message.  This
   4432 can help us improve future automake versions.
   4433 
   4434 END
   4435   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4436     echo 'Configuration will proceed anyway, since you have set the' >&2
   4437     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4438     echo >&2
   4439   else
   4440     cat >&2 <<'END'
   4441 Aborting the configuration process, to ensure you take notice of the issue.
   4442 
   4443 You can download and install GNU coreutils to get an 'rm' implementation
   4444 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4445 
   4446 If you want to complete the configuration process using your problematic
   4447 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4448 to "yes", and re-run configure.
   4449 
   4450 END
   4451     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4452   fi
   4453 fi
   4454 
   4455 
   4456 # Silent compilation. Easier to spot errors!
   4457 @%:@ Check whether --enable-silent-rules was given.
   4458 if test "${enable_silent_rules+set}" = set; then :
   4459   enableval=$enable_silent_rules; 
   4460 fi
   4461 
   4462 case $enable_silent_rules in @%:@ (((
   4463   yes) AM_DEFAULT_VERBOSITY=0;;
   4464    no) AM_DEFAULT_VERBOSITY=1;;
   4465     *) AM_DEFAULT_VERBOSITY=0;;
   4466 esac
   4467 am_make=${MAKE-make}
   4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4469 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4470 if ${am_cv_make_support_nested_variables+:} false; then :
   4471   $as_echo_n "(cached) " >&6
   4472 else
   4473   if $as_echo 'TRUE=$(BAR$(V))
   4474 BAR0=false
   4475 BAR1=true
   4476 V=1
   4477 am__doit:
   4478 	@$(TRUE)
   4479 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4480   am_cv_make_support_nested_variables=yes
   4481 else
   4482   am_cv_make_support_nested_variables=no
   4483 fi
   4484 fi
   4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4486 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4487 if test $am_cv_make_support_nested_variables = yes; then
   4488     AM_V='$(V)'
   4489   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4490 else
   4491   AM_V=$AM_DEFAULT_VERBOSITY
   4492   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4493 fi
   4494 AM_BACKSLASH='\'
   4495 
   4496 
   4497 ac_ext=c
   4498 ac_cpp='$CPP $CPPFLAGS'
   4499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4502 if test -n "$ac_tool_prefix"; then
   4503   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4504 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4506 $as_echo_n "checking for $ac_word... " >&6; }
   4507 if ${ac_cv_prog_CC+:} false; then :
   4508   $as_echo_n "(cached) " >&6
   4509 else
   4510   if test -n "$CC"; then
   4511   ac_cv_prog_CC="$CC" # Let the user override the test.
   4512 else
   4513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4514 for as_dir in $PATH
   4515 do
   4516   IFS=$as_save_IFS
   4517   test -z "$as_dir" && as_dir=.
   4518     for ac_exec_ext in '' $ac_executable_extensions; do
   4519   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4520     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4522     break 2
   4523   fi
   4524 done
   4525   done
   4526 IFS=$as_save_IFS
   4527 
   4528 fi
   4529 fi
   4530 CC=$ac_cv_prog_CC
   4531 if test -n "$CC"; then
   4532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4533 $as_echo "$CC" >&6; }
   4534 else
   4535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4536 $as_echo "no" >&6; }
   4537 fi
   4538 
   4539 
   4540 fi
   4541 if test -z "$ac_cv_prog_CC"; then
   4542   ac_ct_CC=$CC
   4543   # Extract the first word of "gcc", so it can be a program name with args.
   4544 set dummy gcc; ac_word=$2
   4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4546 $as_echo_n "checking for $ac_word... " >&6; }
   4547 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4548   $as_echo_n "(cached) " >&6
   4549 else
   4550   if test -n "$ac_ct_CC"; then
   4551   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4552 else
   4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4554 for as_dir in $PATH
   4555 do
   4556   IFS=$as_save_IFS
   4557   test -z "$as_dir" && as_dir=.
   4558     for ac_exec_ext in '' $ac_executable_extensions; do
   4559   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4560     ac_cv_prog_ac_ct_CC="gcc"
   4561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4562     break 2
   4563   fi
   4564 done
   4565   done
   4566 IFS=$as_save_IFS
   4567 
   4568 fi
   4569 fi
   4570 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4571 if test -n "$ac_ct_CC"; then
   4572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4573 $as_echo "$ac_ct_CC" >&6; }
   4574 else
   4575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4576 $as_echo "no" >&6; }
   4577 fi
   4578 
   4579   if test "x$ac_ct_CC" = x; then
   4580     CC=""
   4581   else
   4582     case $cross_compiling:$ac_tool_warned in
   4583 yes:)
   4584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4586 ac_tool_warned=yes ;;
   4587 esac
   4588     CC=$ac_ct_CC
   4589   fi
   4590 else
   4591   CC="$ac_cv_prog_CC"
   4592 fi
   4593 
   4594 if test -z "$CC"; then
   4595           if test -n "$ac_tool_prefix"; then
   4596     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4597 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4599 $as_echo_n "checking for $ac_word... " >&6; }
   4600 if ${ac_cv_prog_CC+:} false; then :
   4601   $as_echo_n "(cached) " >&6
   4602 else
   4603   if test -n "$CC"; then
   4604   ac_cv_prog_CC="$CC" # Let the user override the test.
   4605 else
   4606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4607 for as_dir in $PATH
   4608 do
   4609   IFS=$as_save_IFS
   4610   test -z "$as_dir" && as_dir=.
   4611     for ac_exec_ext in '' $ac_executable_extensions; do
   4612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4613     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4615     break 2
   4616   fi
   4617 done
   4618   done
   4619 IFS=$as_save_IFS
   4620 
   4621 fi
   4622 fi
   4623 CC=$ac_cv_prog_CC
   4624 if test -n "$CC"; then
   4625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4626 $as_echo "$CC" >&6; }
   4627 else
   4628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4629 $as_echo "no" >&6; }
   4630 fi
   4631 
   4632 
   4633   fi
   4634 fi
   4635 if test -z "$CC"; then
   4636   # Extract the first word of "cc", so it can be a program name with args.
   4637 set dummy cc; ac_word=$2
   4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4639 $as_echo_n "checking for $ac_word... " >&6; }
   4640 if ${ac_cv_prog_CC+:} false; then :
   4641   $as_echo_n "(cached) " >&6
   4642 else
   4643   if test -n "$CC"; then
   4644   ac_cv_prog_CC="$CC" # Let the user override the test.
   4645 else
   4646   ac_prog_rejected=no
   4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4648 for as_dir in $PATH
   4649 do
   4650   IFS=$as_save_IFS
   4651   test -z "$as_dir" && as_dir=.
   4652     for ac_exec_ext in '' $ac_executable_extensions; do
   4653   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4654     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4655        ac_prog_rejected=yes
   4656        continue
   4657      fi
   4658     ac_cv_prog_CC="cc"
   4659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4660     break 2
   4661   fi
   4662 done
   4663   done
   4664 IFS=$as_save_IFS
   4665 
   4666 if test $ac_prog_rejected = yes; then
   4667   # We found a bogon in the path, so make sure we never use it.
   4668   set dummy $ac_cv_prog_CC
   4669   shift
   4670   if test $@%:@ != 0; then
   4671     # We chose a different compiler from the bogus one.
   4672     # However, it has the same basename, so the bogon will be chosen
   4673     # first if we set CC to just the basename; use the full file name.
   4674     shift
   4675     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4676   fi
   4677 fi
   4678 fi
   4679 fi
   4680 CC=$ac_cv_prog_CC
   4681 if test -n "$CC"; then
   4682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4683 $as_echo "$CC" >&6; }
   4684 else
   4685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4686 $as_echo "no" >&6; }
   4687 fi
   4688 
   4689 
   4690 fi
   4691 if test -z "$CC"; then
   4692   if test -n "$ac_tool_prefix"; then
   4693   for ac_prog in cl.exe
   4694   do
   4695     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4696 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4698 $as_echo_n "checking for $ac_word... " >&6; }
   4699 if ${ac_cv_prog_CC+:} false; then :
   4700   $as_echo_n "(cached) " >&6
   4701 else
   4702   if test -n "$CC"; then
   4703   ac_cv_prog_CC="$CC" # Let the user override the test.
   4704 else
   4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4706 for as_dir in $PATH
   4707 do
   4708   IFS=$as_save_IFS
   4709   test -z "$as_dir" && as_dir=.
   4710     for ac_exec_ext in '' $ac_executable_extensions; do
   4711   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4712     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4714     break 2
   4715   fi
   4716 done
   4717   done
   4718 IFS=$as_save_IFS
   4719 
   4720 fi
   4721 fi
   4722 CC=$ac_cv_prog_CC
   4723 if test -n "$CC"; then
   4724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4725 $as_echo "$CC" >&6; }
   4726 else
   4727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4728 $as_echo "no" >&6; }
   4729 fi
   4730 
   4731 
   4732     test -n "$CC" && break
   4733   done
   4734 fi
   4735 if test -z "$CC"; then
   4736   ac_ct_CC=$CC
   4737   for ac_prog in cl.exe
   4738 do
   4739   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4740 set dummy $ac_prog; ac_word=$2
   4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4742 $as_echo_n "checking for $ac_word... " >&6; }
   4743 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4744   $as_echo_n "(cached) " >&6
   4745 else
   4746   if test -n "$ac_ct_CC"; then
   4747   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4748 else
   4749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4750 for as_dir in $PATH
   4751 do
   4752   IFS=$as_save_IFS
   4753   test -z "$as_dir" && as_dir=.
   4754     for ac_exec_ext in '' $ac_executable_extensions; do
   4755   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4756     ac_cv_prog_ac_ct_CC="$ac_prog"
   4757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4758     break 2
   4759   fi
   4760 done
   4761   done
   4762 IFS=$as_save_IFS
   4763 
   4764 fi
   4765 fi
   4766 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4767 if test -n "$ac_ct_CC"; then
   4768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4769 $as_echo "$ac_ct_CC" >&6; }
   4770 else
   4771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4772 $as_echo "no" >&6; }
   4773 fi
   4774 
   4775 
   4776   test -n "$ac_ct_CC" && break
   4777 done
   4778 
   4779   if test "x$ac_ct_CC" = x; then
   4780     CC=""
   4781   else
   4782     case $cross_compiling:$ac_tool_warned in
   4783 yes:)
   4784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4786 ac_tool_warned=yes ;;
   4787 esac
   4788     CC=$ac_ct_CC
   4789   fi
   4790 fi
   4791 
   4792 fi
   4793 
   4794 
   4795 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4797 as_fn_error $? "no acceptable C compiler found in \$PATH
   4798 See \`config.log' for more details" "$LINENO" 5; }
   4799 
   4800 # Provide some information about the compiler.
   4801 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4802 set X $ac_compile
   4803 ac_compiler=$2
   4804 for ac_option in --version -v -V -qversion; do
   4805   { { ac_try="$ac_compiler $ac_option >&5"
   4806 case "(($ac_try" in
   4807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4808   *) ac_try_echo=$ac_try;;
   4809 esac
   4810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4811 $as_echo "$ac_try_echo"; } >&5
   4812   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4813   ac_status=$?
   4814   if test -s conftest.err; then
   4815     sed '10a\
   4816 ... rest of stderr output deleted ...
   4817          10q' conftest.err >conftest.er1
   4818     cat conftest.er1 >&5
   4819   fi
   4820   rm -f conftest.er1 conftest.err
   4821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4822   test $ac_status = 0; }
   4823 done
   4824 
   4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4826 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4827 if ${ac_cv_c_compiler_gnu+:} false; then :
   4828   $as_echo_n "(cached) " >&6
   4829 else
   4830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4831 /* end confdefs.h.  */
   4832 
   4833 int
   4834 main ()
   4835 {
   4836 #ifndef __GNUC__
   4837        choke me
   4838 #endif
   4839 
   4840   ;
   4841   return 0;
   4842 }
   4843 _ACEOF
   4844 if ac_fn_c_try_compile "$LINENO"; then :
   4845   ac_compiler_gnu=yes
   4846 else
   4847   ac_compiler_gnu=no
   4848 fi
   4849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4850 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4851 
   4852 fi
   4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4854 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4855 if test $ac_compiler_gnu = yes; then
   4856   GCC=yes
   4857 else
   4858   GCC=
   4859 fi
   4860 ac_test_CFLAGS=${CFLAGS+set}
   4861 ac_save_CFLAGS=$CFLAGS
   4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4863 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4864 if ${ac_cv_prog_cc_g+:} false; then :
   4865   $as_echo_n "(cached) " >&6
   4866 else
   4867   ac_save_c_werror_flag=$ac_c_werror_flag
   4868    ac_c_werror_flag=yes
   4869    ac_cv_prog_cc_g=no
   4870    CFLAGS="-g"
   4871    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4872 /* end confdefs.h.  */
   4873 
   4874 int
   4875 main ()
   4876 {
   4877 
   4878   ;
   4879   return 0;
   4880 }
   4881 _ACEOF
   4882 if ac_fn_c_try_compile "$LINENO"; then :
   4883   ac_cv_prog_cc_g=yes
   4884 else
   4885   CFLAGS=""
   4886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4887 /* end confdefs.h.  */
   4888 
   4889 int
   4890 main ()
   4891 {
   4892 
   4893   ;
   4894   return 0;
   4895 }
   4896 _ACEOF
   4897 if ac_fn_c_try_compile "$LINENO"; then :
   4898   
   4899 else
   4900   ac_c_werror_flag=$ac_save_c_werror_flag
   4901 	 CFLAGS="-g"
   4902 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4903 /* end confdefs.h.  */
   4904 
   4905 int
   4906 main ()
   4907 {
   4908 
   4909   ;
   4910   return 0;
   4911 }
   4912 _ACEOF
   4913 if ac_fn_c_try_compile "$LINENO"; then :
   4914   ac_cv_prog_cc_g=yes
   4915 fi
   4916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4917 fi
   4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4919 fi
   4920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4921    ac_c_werror_flag=$ac_save_c_werror_flag
   4922 fi
   4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4924 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4925 if test "$ac_test_CFLAGS" = set; then
   4926   CFLAGS=$ac_save_CFLAGS
   4927 elif test $ac_cv_prog_cc_g = yes; then
   4928   if test "$GCC" = yes; then
   4929     CFLAGS="-g -O2"
   4930   else
   4931     CFLAGS="-g"
   4932   fi
   4933 else
   4934   if test "$GCC" = yes; then
   4935     CFLAGS="-O2"
   4936   else
   4937     CFLAGS=
   4938   fi
   4939 fi
   4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4941 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4942 if ${ac_cv_prog_cc_c89+:} false; then :
   4943   $as_echo_n "(cached) " >&6
   4944 else
   4945   ac_cv_prog_cc_c89=no
   4946 ac_save_CC=$CC
   4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4948 /* end confdefs.h.  */
   4949 #include <stdarg.h>
   4950 #include <stdio.h>
   4951 struct stat;
   4952 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4953 struct buf { int x; };
   4954 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4955 static char *e (p, i)
   4956      char **p;
   4957      int i;
   4958 {
   4959   return p[i];
   4960 }
   4961 static char *f (char * (*g) (char **, int), char **p, ...)
   4962 {
   4963   char *s;
   4964   va_list v;
   4965   va_start (v,p);
   4966   s = g (p, va_arg (v,int));
   4967   va_end (v);
   4968   return s;
   4969 }
   4970 
   4971 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4972    function prototypes and stuff, but not '\xHH' hex character constants.
   4973    These don't provoke an error unfortunately, instead are silently treated
   4974    as 'x'.  The following induces an error, until -std is added to get
   4975    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4976    array size at least.  It's necessary to write '\x00'==0 to get something
   4977    that's true only with -std.  */
   4978 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4979 
   4980 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4981    inside strings and character constants.  */
   4982 #define FOO(x) 'x'
   4983 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4984 
   4985 int test (int i, double x);
   4986 struct s1 {int (*f) (int a);};
   4987 struct s2 {int (*f) (double a);};
   4988 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4989 int argc;
   4990 char **argv;
   4991 int
   4992 main ()
   4993 {
   4994 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4995   ;
   4996   return 0;
   4997 }
   4998 _ACEOF
   4999 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5000 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5001 do
   5002   CC="$ac_save_CC $ac_arg"
   5003   if ac_fn_c_try_compile "$LINENO"; then :
   5004   ac_cv_prog_cc_c89=$ac_arg
   5005 fi
   5006 rm -f core conftest.err conftest.$ac_objext
   5007   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5008 done
   5009 rm -f conftest.$ac_ext
   5010 CC=$ac_save_CC
   5011 
   5012 fi
   5013 # AC_CACHE_VAL
   5014 case "x$ac_cv_prog_cc_c89" in
   5015   x)
   5016     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5017 $as_echo "none needed" >&6; } ;;
   5018   xno)
   5019     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5020 $as_echo "unsupported" >&6; } ;;
   5021   *)
   5022     CC="$CC $ac_cv_prog_cc_c89"
   5023     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5024 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5025 esac
   5026 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5027   
   5028 fi
   5029 
   5030 ac_ext=c
   5031 ac_cpp='$CPP $CPPFLAGS'
   5032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5035 
   5036 ac_ext=c
   5037 ac_cpp='$CPP $CPPFLAGS'
   5038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5042 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   5043 if ${am_cv_prog_cc_c_o+:} false; then :
   5044   $as_echo_n "(cached) " >&6
   5045 else
   5046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5047 /* end confdefs.h.  */
   5048 
   5049 int
   5050 main ()
   5051 {
   5052 
   5053   ;
   5054   return 0;
   5055 }
   5056 _ACEOF
   5057   # Make sure it works both with $CC and with simple cc.
   5058   # Following AC_PROG_CC_C_O, we do the test twice because some
   5059   # compilers refuse to overwrite an existing .o file with -o,
   5060   # though they will create one.
   5061   am_cv_prog_cc_c_o=yes
   5062   for am_i in 1 2; do
   5063     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5064    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5065    ac_status=$?
   5066    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5067    (exit $ac_status); } \
   5068          && test -f conftest2.$ac_objext; then
   5069       : OK
   5070     else
   5071       am_cv_prog_cc_c_o=no
   5072       break
   5073     fi
   5074   done
   5075   rm -f core conftest*
   5076   unset am_i
   5077 fi
   5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5079 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   5080 if test "$am_cv_prog_cc_c_o" != yes; then
   5081    # Losing compiler, so override with the script.
   5082    # FIXME: It is wrong to rewrite CC.
   5083    # But if we don't then we get into trouble of one sort or another.
   5084    # A longer-term fix would be to have automake use am__CC in this case,
   5085    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5086    CC="$am_aux_dir/compile $CC"
   5087 fi
   5088 ac_ext=c
   5089 ac_cpp='$CPP $CPPFLAGS'
   5090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5093 
   5094 
   5095 
   5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5097 $as_echo_n "checking whether ln -s works... " >&6; }
   5098 LN_S=$as_ln_s
   5099 if test "$LN_S" = "ln -s"; then
   5100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5101 $as_echo "yes" >&6; }
   5102 else
   5103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5104 $as_echo "no, using $LN_S" >&6; }
   5105 fi
   5106 
   5107 
   5108 ##############################################################################
   5109 # 2. Check for some standard headers and libraries
   5110 ##############################################################################
   5111 
   5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler accepts -Wall" >&5
   5113 $as_echo_n "checking if the C compiler accepts -Wall... " >&6; }
   5114 OLDCFLAGS="$CFLAGS"
   5115 CFLAGS="$CFLAGS -Wall"
   5116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5117 /* end confdefs.h.  */
   5118 
   5119 int
   5120 main ()
   5121 {
   5122 
   5123   ;
   5124   return 0;
   5125 }
   5126 _ACEOF
   5127 if ac_fn_c_try_compile "$LINENO"; then :
   5128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5129 $as_echo "yes" >&6; }
   5130 else
   5131   
   5132 		CFLAGS="$OLDCFLAGS"
   5133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5134 $as_echo "no" >&6; }
   5135 	
   5136 
   5137 fi
   5138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5139 
   5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   5141 $as_echo_n "checking for ANSI C header files... " >&6; }
   5142 if ${ac_cv_header_stdc+:} false; then :
   5143   $as_echo_n "(cached) " >&6
   5144 else
   5145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5146 /* end confdefs.h.  */
   5147 #include <stdlib.h>
   5148 #include <stdarg.h>
   5149 #include <string.h>
   5150 #include <float.h>
   5151 
   5152 int
   5153 main ()
   5154 {
   5155 
   5156   ;
   5157   return 0;
   5158 }
   5159 _ACEOF
   5160 if ac_fn_c_try_compile "$LINENO"; then :
   5161   ac_cv_header_stdc=yes
   5162 else
   5163   ac_cv_header_stdc=no
   5164 fi
   5165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5166 
   5167 if test $ac_cv_header_stdc = yes; then
   5168   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5170 /* end confdefs.h.  */
   5171 #include <string.h>
   5172 
   5173 _ACEOF
   5174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5175   $EGREP "memchr" >/dev/null 2>&1; then :
   5176   
   5177 else
   5178   ac_cv_header_stdc=no
   5179 fi
   5180 rm -f conftest*
   5181 
   5182 fi
   5183 
   5184 if test $ac_cv_header_stdc = yes; then
   5185   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5187 /* end confdefs.h.  */
   5188 #include <stdlib.h>
   5189 
   5190 _ACEOF
   5191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5192   $EGREP "free" >/dev/null 2>&1; then :
   5193   
   5194 else
   5195   ac_cv_header_stdc=no
   5196 fi
   5197 rm -f conftest*
   5198 
   5199 fi
   5200 
   5201 if test $ac_cv_header_stdc = yes; then
   5202   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5203   if test "$cross_compiling" = yes; then :
   5204   :
   5205 else
   5206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5207 /* end confdefs.h.  */
   5208 #include <ctype.h>
   5209 #include <stdlib.h>
   5210 #if ((' ' & 0x0FF) == 0x020)
   5211 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5212 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5213 #else
   5214 # define ISLOWER(c) \
   5215 		   (('a' <= (c) && (c) <= 'i') \
   5216 		     || ('j' <= (c) && (c) <= 'r') \
   5217 		     || ('s' <= (c) && (c) <= 'z'))
   5218 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5219 #endif
   5220 
   5221 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5222 int
   5223 main ()
   5224 {
   5225   int i;
   5226   for (i = 0; i < 256; i++)
   5227     if (XOR (islower (i), ISLOWER (i))
   5228 	|| toupper (i) != TOUPPER (i))
   5229       return 2;
   5230   return 0;
   5231 }
   5232 _ACEOF
   5233 if ac_fn_c_try_run "$LINENO"; then :
   5234   
   5235 else
   5236   ac_cv_header_stdc=no
   5237 fi
   5238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5239   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5240 fi
   5241 
   5242 fi
   5243 fi
   5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   5245 $as_echo "$ac_cv_header_stdc" >&6; }
   5246 if test $ac_cv_header_stdc = yes; then
   5247   
   5248 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
   5249 
   5250 fi
   5251 
   5252 
   5253 for ac_header in dlfcn.h sys/syscall.h sys/socket.h arpa/inet.h \
   5254                  assert.h netdb.h errno.h stdarg.h time.h
   5255 do :
   5256   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5257 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   5258 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5259   cat >>confdefs.h <<_ACEOF
   5260 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5261 _ACEOF
   5262  
   5263 else
   5264   as_fn_error $? "\"Required header not found\"" "$LINENO" 5
   5265 
   5266 fi
   5267 
   5268 done
   5269 
   5270 
   5271 for ac_func in strcspn strdup strerror strcasecmp strncasecmp mmap munmap \
   5272                socket connect close syscall recv send memset memcpy strlen \
   5273                strncpy strcmp malloc calloc strstr strtoul free
   5274 do :
   5275   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5276 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   5277 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   5278   cat >>confdefs.h <<_ACEOF
   5279 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5280 _ACEOF
   5281  
   5282 else
   5283   as_fn_error $? "\"Required function not found\"" "$LINENO" 5
   5284 
   5285 fi
   5286 done
   5287 
   5288 
   5289 ##############################################################################
   5290 # 3. Determine libraries we need to include when linking libtorsocks.
   5291 #    OpenBSD and OSX have some special requirements here.
   5292 #    Also check the host we're building on, as some of the code
   5293 #    in torsocks.c and elsewhere is platform-dependent.
   5294 ##############################################################################
   5295 
   5296 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
   5297 if test "x$ac_cv_func_inet_aton" = xyes; then :
   5298   
   5299 $as_echo "@%:@define HAVE_INET_ATON /**/" >>confdefs.h
   5300 
   5301 else
   5302   ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
   5303 if test "x$ac_cv_func_inet_addr" = xyes; then :
   5304   
   5305 $as_echo "@%:@define HAVE_INET_ADDR /**/" >>confdefs.h
   5306 
   5307 else
   5308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
   5309 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
   5310 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
   5311   $as_echo_n "(cached) " >&6
   5312 else
   5313   ac_check_lib_save_LIBS=$LIBS
   5314 LIBS="-lnsl  $LIBS"
   5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5316 /* end confdefs.h.  */
   5317 
   5318 /* Override any GCC internal prototype to avoid an error.
   5319    Use char because int might match the return type of a GCC
   5320    builtin and then its argument prototype would still apply.  */
   5321 #ifdef __cplusplus
   5322 extern "C"
   5323 #endif
   5324 char inet_addr ();
   5325 int
   5326 main ()
   5327 {
   5328 return inet_addr ();
   5329   ;
   5330   return 0;
   5331 }
   5332 _ACEOF
   5333 if ac_fn_c_try_link "$LINENO"; then :
   5334   ac_cv_lib_nsl_inet_addr=yes
   5335 else
   5336   ac_cv_lib_nsl_inet_addr=no
   5337 fi
   5338 rm -f core conftest.err conftest.$ac_objext \
   5339     conftest$ac_exeext conftest.$ac_ext
   5340 LIBS=$ac_check_lib_save_LIBS
   5341 fi
   5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
   5343 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
   5344 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
   5345   
   5346 				
   5347 $as_echo "@%:@define HAVE_INET_ADDR /**/" >>confdefs.h
   5348 
   5349 				LIBS="${LIBS} -lnsl"
   5350 			
   5351 else
   5352   as_fn_error $? "\"Neither inet_aton or inet_addr present\"" "$LINENO" 5
   5353 		
   5354 fi
   5355 
   5356 	
   5357 fi
   5358 
   5359 
   5360 fi
   5361 
   5362 
   5363 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
   5364 if test "x$ac_cv_func_gethostbyname" = xyes; then :
   5365   
   5366 $as_echo "@%:@define HAVE_GETHOSTBYNAME /**/" >>confdefs.h
   5367 
   5368 else
   5369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lxnet" >&5
   5370 $as_echo_n "checking for gethostbyname in -lxnet... " >&6; }
   5371 if ${ac_cv_lib_xnet_gethostbyname+:} false; then :
   5372   $as_echo_n "(cached) " >&6
   5373 else
   5374   ac_check_lib_save_LIBS=$LIBS
   5375 LIBS="-lxnet  $LIBS"
   5376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5377 /* end confdefs.h.  */
   5378 
   5379 /* Override any GCC internal prototype to avoid an error.
   5380    Use char because int might match the return type of a GCC
   5381    builtin and then its argument prototype would still apply.  */
   5382 #ifdef __cplusplus
   5383 extern "C"
   5384 #endif
   5385 char gethostbyname ();
   5386 int
   5387 main ()
   5388 {
   5389 return gethostbyname ();
   5390   ;
   5391   return 0;
   5392 }
   5393 _ACEOF
   5394 if ac_fn_c_try_link "$LINENO"; then :
   5395   ac_cv_lib_xnet_gethostbyname=yes
   5396 else
   5397   ac_cv_lib_xnet_gethostbyname=no
   5398 fi
   5399 rm -f core conftest.err conftest.$ac_objext \
   5400     conftest$ac_exeext conftest.$ac_ext
   5401 LIBS=$ac_check_lib_save_LIBS
   5402 fi
   5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_gethostbyname" >&5
   5404 $as_echo "$ac_cv_lib_xnet_gethostbyname" >&6; }
   5405 if test "x$ac_cv_lib_xnet_gethostbyname" = xyes; then :
   5406   
   5407 $as_echo "@%:@define HAVE_GETHOSTBYNAME /**/" >>confdefs.h
   5408 
   5409 else
   5410   as_fn_error $? "\"gethostbyname not found, name lookups in torsocks disabled\"" "$LINENO" 5
   5411 	
   5412 fi
   5413 
   5414 
   5415 fi
   5416 
   5417 
   5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   5419 $as_echo_n "checking for library containing dlopen... " >&6; }
   5420 if ${ac_cv_search_dlopen+:} false; then :
   5421   $as_echo_n "(cached) " >&6
   5422 else
   5423   ac_func_search_save_LIBS=$LIBS
   5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5425 /* end confdefs.h.  */
   5426 
   5427 /* Override any GCC internal prototype to avoid an error.
   5428    Use char because int might match the return type of a GCC
   5429    builtin and then its argument prototype would still apply.  */
   5430 #ifdef __cplusplus
   5431 extern "C"
   5432 #endif
   5433 char dlopen ();
   5434 int
   5435 main ()
   5436 {
   5437 return dlopen ();
   5438   ;
   5439   return 0;
   5440 }
   5441 _ACEOF
   5442 for ac_lib in '' dl; do
   5443   if test -z "$ac_lib"; then
   5444     ac_res="none required"
   5445   else
   5446     ac_res=-l$ac_lib
   5447     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   5448   fi
   5449   if ac_fn_c_try_link "$LINENO"; then :
   5450   ac_cv_search_dlopen=$ac_res
   5451 fi
   5452 rm -f core conftest.err conftest.$ac_objext \
   5453     conftest$ac_exeext
   5454   if ${ac_cv_search_dlopen+:} false; then :
   5455   break
   5456 fi
   5457 done
   5458 if ${ac_cv_search_dlopen+:} false; then :
   5459   
   5460 else
   5461   ac_cv_search_dlopen=no
   5462 fi
   5463 rm conftest.$ac_ext
   5464 LIBS=$ac_func_search_save_LIBS
   5465 fi
   5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   5467 $as_echo "$ac_cv_search_dlopen" >&6; }
   5468 ac_res=$ac_cv_search_dlopen
   5469 if test "$ac_res" != no; then :
   5470   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   5471   
   5472 else
   5473   as_fn_error $? "\"dlopen function not found in libdl\"" "$LINENO" 5
   5474 
   5475 fi
   5476 
   5477 
   5478 case $host in
   5479 *-*-openbsd*)
   5480 	
   5481 $as_echo "@%:@define OPENBSD 1" >>confdefs.h
   5482 
   5483 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
   5484 $as_echo_n "checking for library containing pthread_create... " >&6; }
   5485 if ${ac_cv_search_pthread_create+:} false; then :
   5486   $as_echo_n "(cached) " >&6
   5487 else
   5488   ac_func_search_save_LIBS=$LIBS
   5489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5490 /* end confdefs.h.  */
   5491 
   5492 /* Override any GCC internal prototype to avoid an error.
   5493    Use char because int might match the return type of a GCC
   5494    builtin and then its argument prototype would still apply.  */
   5495 #ifdef __cplusplus
   5496 extern "C"
   5497 #endif
   5498 char pthread_create ();
   5499 int
   5500 main ()
   5501 {
   5502 return pthread_create ();
   5503   ;
   5504   return 0;
   5505 }
   5506 _ACEOF
   5507 for ac_lib in '' pthread; do
   5508   if test -z "$ac_lib"; then
   5509     ac_res="none required"
   5510   else
   5511     ac_res=-l$ac_lib
   5512     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   5513   fi
   5514   if ac_fn_c_try_link "$LINENO"; then :
   5515   ac_cv_search_pthread_create=$ac_res
   5516 fi
   5517 rm -f core conftest.err conftest.$ac_objext \
   5518     conftest$ac_exeext
   5519   if ${ac_cv_search_pthread_create+:} false; then :
   5520   break
   5521 fi
   5522 done
   5523 if ${ac_cv_search_pthread_create+:} false; then :
   5524   
   5525 else
   5526   ac_cv_search_pthread_create=no
   5527 fi
   5528 rm conftest.$ac_ext
   5529 LIBS=$ac_func_search_save_LIBS
   5530 fi
   5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
   5532 $as_echo "$ac_cv_search_pthread_create" >&6; }
   5533 ac_res=$ac_cv_search_pthread_create
   5534 if test "$ac_res" != no; then :
   5535   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   5536   
   5537 fi
   5538 
   5539 	;;
   5540 *-*-freebsd*)
   5541 	
   5542 $as_echo "@%:@define FREEBSD 1" >>confdefs.h
   5543 
   5544 	;;
   5545 *-*-darwin*)
   5546 								LIBS="-lresolv $LIBS"
   5547 	;;
   5548 esac
   5549 
   5550 if test "x${enable_envconf}" = "x"; then
   5551 	
   5552 $as_echo "@%:@define ALLOW_ENV_CONFIG /**/" >>confdefs.h
   5553 
   5554 fi
   5555 
   5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking file name of the C library" >&5
   5557 $as_echo_n "checking file name of the C library... " >&6; }
   5558 case $host_os in @%:@(
   5559   darwin*) :
   5560     libc_name="libSystem.dylib" ;; @%:@(
   5561   linux*|kfreebsd*-gnu|freebsd*) :
   5562     
   5563 		libc_name=`ldd /usr/bin/yes | grep 'libc\.' | cut -d ' ' -f 1 | tr -d '\t'`
   5564 		if test "${libc_name}" == ""; then
   5565 			# Default libc on most system.
   5566 			libc_name="libc.so.6"
   5567 		fi
   5568 	 ;; @%:@(
   5569   *) :
   5570     libc_name="libc.so"
   5571  ;;
   5572 esac
   5573 
   5574 cat >>confdefs.h <<_ACEOF
   5575 @%:@define LIBC_NAME "${libc_name}"
   5576 _ACEOF
   5577 
   5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_name" >&5
   5579 $as_echo "$libc_name" >&6; }
   5580 
   5581 ##############################################################################
   5582 # 5. Determine how to preload libtorsocks.so on this system.
   5583 #    On Linux this is with the LD_PRELOAD variable, on OSX
   5584 #    we need to use DYLD_INSERT_LIBRARIES.
   5585 ##############################################################################
   5586 
   5587 # This variable is used for the LDFLAGS in test/Makefile.am
   5588 TESTLDFLAGS="$LDFLAGS"
   5589 
   5590 
   5591 # Version information for libtorsocks
   5592 TORSOCKSLDFLAGS="$LDFLAGS -version-info 1:0:0"
   5593 
   5594 case "$host_os" in
   5595 darwin*)
   5596         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -dynamiclib" >&5
   5597 $as_echo_n "checking if the linker accepts -dynamiclib... " >&6; }
   5598     OLDLDFLAGS="$TORSOCKSLDFLAGS"
   5599     TORSOCKSLDFLAGS="$TORSOCKSLDFLAGS -dynamiclib"
   5600     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5601 /* end confdefs.h.  */
   5602 
   5603 int
   5604 main ()
   5605 {
   5606 
   5607   ;
   5608   return 0;
   5609 }
   5610 _ACEOF
   5611 if ac_fn_c_try_compile "$LINENO"; then :
   5612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5613 $as_echo "yes" >&6; }
   5614 else
   5615   
   5616 			TORSOCKSLDFLAGS="$OLDLDFLAGS"
   5617 			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5618 $as_echo "no" >&6; }
   5619 		
   5620 	
   5621 fi
   5622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5623 
   5624     # dnl Check if the linker accepts -multiply_defined suppress; necessary on Mac OS X
   5625     # AC_MSG_CHECKING(if the linker accepts -multiply_defined suppress)
   5626     # OLDLDFLAGS="$LDFLAGS"
   5627     # LDFLAGS="$LDFLAGS -multiply_defined suppress"
   5628     # AC_TRY_COMPILE(,,AC_MSG_RESULT(yes),[
   5629     #    LDFLAGS="$OLDLDFLAGS"
   5630     #    AC_MSG_RESULT(no)])
   5631 
   5632         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -single_module" >&5
   5633 $as_echo_n "checking if the linker accepts -single_module... " >&6; }
   5634     OLDLDFLAGS="$TORSOCKSLDFLAGS"
   5635     SHLIB_EXT="so"
   5636     LDPRELOAD="LD_PRELOAD"
   5637     TORSOCKSLDFLAGS="$TORSOCKSLDFLAGS -single_module"
   5638     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5639 /* end confdefs.h.  */
   5640 
   5641 int
   5642 main ()
   5643 {
   5644 
   5645   ;
   5646   return 0;
   5647 }
   5648 _ACEOF
   5649 if ac_fn_c_try_compile "$LINENO"; then :
   5650   
   5651 			SHLIB_EXT="dylib"
   5652 			LDPRELOAD="DYLD_INSERT_LIBRARIES"
   5653 			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5654 $as_echo "yes" >&6; }
   5655 		
   5656 else
   5657   
   5658 			TORSOCKSLDFLAGS="$OLDLDFLAGS"
   5659 			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5660 $as_echo "no" >&6; }
   5661 		
   5662     
   5663 fi
   5664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5665     ;;
   5666 *)
   5667     SHLIB_EXT="so"
   5668     LDPRELOAD="LD_PRELOAD"
   5669     ;;
   5670 esac
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 ##############################################################################
   5677 # 7. Determine where the install should write the default configuration
   5678 #    file and where libtorsocks should read it from by default.
   5679 ##############################################################################
   5680 
   5681 if test "x$prefix" = "xNONE"; then
   5682   prefix=$ac_default_prefix
   5683 fi
   5684 
   5685 if test "x$CONFDIR" = "x"; then
   5686   CONFDIR=`eval echo $sysconfdir`
   5687 fi
   5688 
   5689 
   5690 cat >>confdefs.h <<_ACEOF
   5691 @%:@define CONFDIR "$CONFDIR"
   5692 _ACEOF
   5693 
   5694 
   5695 
   5696 @%:@ Check whether --with-conf was given.
   5697 if test "${with_conf+set}" = set; then :
   5698   withval=$with_conf; 
   5699 if test "${withval}" = "yes" ; then
   5700   as_fn_error $? "\"--with-conf requires the location of the configuration file as an argument\"" "$LINENO" 5
   5701 else
   5702   
   5703 cat >>confdefs.h <<_ACEOF
   5704 @%:@define CONF_FILE "${withval}"
   5705 _ACEOF
   5706 
   5707 fi
   5708 
   5709 else
   5710   
   5711   
   5712 cat >>confdefs.h <<_ACEOF
   5713 @%:@define CONF_FILE "${CONFDIR}/torsocks.conf"
   5714 _ACEOF
   5715 
   5716 
   5717 fi
   5718 
   5719 
   5720 ##############################################################################
   5721 # 8. Clean up and create some supporting scripts from their *.in files
   5722 ##############################################################################
   5723 
   5724 ac_ext=c
   5725 ac_cpp='$CPP $CPPFLAGS'
   5726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5729 
   5730 ac_ext=c
   5731 ac_cpp='$CPP $CPPFLAGS'
   5732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5735 if test -n "$ac_tool_prefix"; then
   5736   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   5737 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5739 $as_echo_n "checking for $ac_word... " >&6; }
   5740 if ${ac_cv_prog_CC+:} false; then :
   5741   $as_echo_n "(cached) " >&6
   5742 else
   5743   if test -n "$CC"; then
   5744   ac_cv_prog_CC="$CC" # Let the user override the test.
   5745 else
   5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5747 for as_dir in $PATH
   5748 do
   5749   IFS=$as_save_IFS
   5750   test -z "$as_dir" && as_dir=.
   5751     for ac_exec_ext in '' $ac_executable_extensions; do
   5752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5753     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   5754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5755     break 2
   5756   fi
   5757 done
   5758   done
   5759 IFS=$as_save_IFS
   5760 
   5761 fi
   5762 fi
   5763 CC=$ac_cv_prog_CC
   5764 if test -n "$CC"; then
   5765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5766 $as_echo "$CC" >&6; }
   5767 else
   5768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5769 $as_echo "no" >&6; }
   5770 fi
   5771 
   5772 
   5773 fi
   5774 if test -z "$ac_cv_prog_CC"; then
   5775   ac_ct_CC=$CC
   5776   # Extract the first word of "gcc", so it can be a program name with args.
   5777 set dummy gcc; ac_word=$2
   5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5779 $as_echo_n "checking for $ac_word... " >&6; }
   5780 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   5781   $as_echo_n "(cached) " >&6
   5782 else
   5783   if test -n "$ac_ct_CC"; then
   5784   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5785 else
   5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5787 for as_dir in $PATH
   5788 do
   5789   IFS=$as_save_IFS
   5790   test -z "$as_dir" && as_dir=.
   5791     for ac_exec_ext in '' $ac_executable_extensions; do
   5792   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5793     ac_cv_prog_ac_ct_CC="gcc"
   5794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5795     break 2
   5796   fi
   5797 done
   5798   done
   5799 IFS=$as_save_IFS
   5800 
   5801 fi
   5802 fi
   5803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5804 if test -n "$ac_ct_CC"; then
   5805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5806 $as_echo "$ac_ct_CC" >&6; }
   5807 else
   5808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5809 $as_echo "no" >&6; }
   5810 fi
   5811 
   5812   if test "x$ac_ct_CC" = x; then
   5813     CC=""
   5814   else
   5815     case $cross_compiling:$ac_tool_warned in
   5816 yes:)
   5817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5819 ac_tool_warned=yes ;;
   5820 esac
   5821     CC=$ac_ct_CC
   5822   fi
   5823 else
   5824   CC="$ac_cv_prog_CC"
   5825 fi
   5826 
   5827 if test -z "$CC"; then
   5828           if test -n "$ac_tool_prefix"; then
   5829     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   5830 set dummy ${ac_tool_prefix}cc; ac_word=$2
   5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5832 $as_echo_n "checking for $ac_word... " >&6; }
   5833 if ${ac_cv_prog_CC+:} false; then :
   5834   $as_echo_n "(cached) " >&6
   5835 else
   5836   if test -n "$CC"; then
   5837   ac_cv_prog_CC="$CC" # Let the user override the test.
   5838 else
   5839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5840 for as_dir in $PATH
   5841 do
   5842   IFS=$as_save_IFS
   5843   test -z "$as_dir" && as_dir=.
   5844     for ac_exec_ext in '' $ac_executable_extensions; do
   5845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5846     ac_cv_prog_CC="${ac_tool_prefix}cc"
   5847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5848     break 2
   5849   fi
   5850 done
   5851   done
   5852 IFS=$as_save_IFS
   5853 
   5854 fi
   5855 fi
   5856 CC=$ac_cv_prog_CC
   5857 if test -n "$CC"; then
   5858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5859 $as_echo "$CC" >&6; }
   5860 else
   5861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5862 $as_echo "no" >&6; }
   5863 fi
   5864 
   5865 
   5866   fi
   5867 fi
   5868 if test -z "$CC"; then
   5869   # Extract the first word of "cc", so it can be a program name with args.
   5870 set dummy cc; ac_word=$2
   5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5872 $as_echo_n "checking for $ac_word... " >&6; }
   5873 if ${ac_cv_prog_CC+:} false; then :
   5874   $as_echo_n "(cached) " >&6
   5875 else
   5876   if test -n "$CC"; then
   5877   ac_cv_prog_CC="$CC" # Let the user override the test.
   5878 else
   5879   ac_prog_rejected=no
   5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5881 for as_dir in $PATH
   5882 do
   5883   IFS=$as_save_IFS
   5884   test -z "$as_dir" && as_dir=.
   5885     for ac_exec_ext in '' $ac_executable_extensions; do
   5886   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5887     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   5888        ac_prog_rejected=yes
   5889        continue
   5890      fi
   5891     ac_cv_prog_CC="cc"
   5892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5893     break 2
   5894   fi
   5895 done
   5896   done
   5897 IFS=$as_save_IFS
   5898 
   5899 if test $ac_prog_rejected = yes; then
   5900   # We found a bogon in the path, so make sure we never use it.
   5901   set dummy $ac_cv_prog_CC
   5902   shift
   5903   if test $@%:@ != 0; then
   5904     # We chose a different compiler from the bogus one.
   5905     # However, it has the same basename, so the bogon will be chosen
   5906     # first if we set CC to just the basename; use the full file name.
   5907     shift
   5908     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   5909   fi
   5910 fi
   5911 fi
   5912 fi
   5913 CC=$ac_cv_prog_CC
   5914 if test -n "$CC"; then
   5915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5916 $as_echo "$CC" >&6; }
   5917 else
   5918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5919 $as_echo "no" >&6; }
   5920 fi
   5921 
   5922 
   5923 fi
   5924 if test -z "$CC"; then
   5925   if test -n "$ac_tool_prefix"; then
   5926   for ac_prog in cl.exe
   5927   do
   5928     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5929 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5931 $as_echo_n "checking for $ac_word... " >&6; }
   5932 if ${ac_cv_prog_CC+:} false; then :
   5933   $as_echo_n "(cached) " >&6
   5934 else
   5935   if test -n "$CC"; then
   5936   ac_cv_prog_CC="$CC" # Let the user override the test.
   5937 else
   5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5939 for as_dir in $PATH
   5940 do
   5941   IFS=$as_save_IFS
   5942   test -z "$as_dir" && as_dir=.
   5943     for ac_exec_ext in '' $ac_executable_extensions; do
   5944   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5945     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   5946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5947     break 2
   5948   fi
   5949 done
   5950   done
   5951 IFS=$as_save_IFS
   5952 
   5953 fi
   5954 fi
   5955 CC=$ac_cv_prog_CC
   5956 if test -n "$CC"; then
   5957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5958 $as_echo "$CC" >&6; }
   5959 else
   5960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5961 $as_echo "no" >&6; }
   5962 fi
   5963 
   5964 
   5965     test -n "$CC" && break
   5966   done
   5967 fi
   5968 if test -z "$CC"; then
   5969   ac_ct_CC=$CC
   5970   for ac_prog in cl.exe
   5971 do
   5972   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5973 set dummy $ac_prog; ac_word=$2
   5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5975 $as_echo_n "checking for $ac_word... " >&6; }
   5976 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   5977   $as_echo_n "(cached) " >&6
   5978 else
   5979   if test -n "$ac_ct_CC"; then
   5980   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5981 else
   5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5983 for as_dir in $PATH
   5984 do
   5985   IFS=$as_save_IFS
   5986   test -z "$as_dir" && as_dir=.
   5987     for ac_exec_ext in '' $ac_executable_extensions; do
   5988   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5989     ac_cv_prog_ac_ct_CC="$ac_prog"
   5990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5991     break 2
   5992   fi
   5993 done
   5994   done
   5995 IFS=$as_save_IFS
   5996 
   5997 fi
   5998 fi
   5999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   6000 if test -n "$ac_ct_CC"; then
   6001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   6002 $as_echo "$ac_ct_CC" >&6; }
   6003 else
   6004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6005 $as_echo "no" >&6; }
   6006 fi
   6007 
   6008 
   6009   test -n "$ac_ct_CC" && break
   6010 done
   6011 
   6012   if test "x$ac_ct_CC" = x; then
   6013     CC=""
   6014   else
   6015     case $cross_compiling:$ac_tool_warned in
   6016 yes:)
   6017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6019 ac_tool_warned=yes ;;
   6020 esac
   6021     CC=$ac_ct_CC
   6022   fi
   6023 fi
   6024 
   6025 fi
   6026 
   6027 
   6028 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   6029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6030 as_fn_error $? "no acceptable C compiler found in \$PATH
   6031 See \`config.log' for more details" "$LINENO" 5; }
   6032 
   6033 # Provide some information about the compiler.
   6034 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   6035 set X $ac_compile
   6036 ac_compiler=$2
   6037 for ac_option in --version -v -V -qversion; do
   6038   { { ac_try="$ac_compiler $ac_option >&5"
   6039 case "(($ac_try" in
   6040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6041   *) ac_try_echo=$ac_try;;
   6042 esac
   6043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6044 $as_echo "$ac_try_echo"; } >&5
   6045   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   6046   ac_status=$?
   6047   if test -s conftest.err; then
   6048     sed '10a\
   6049 ... rest of stderr output deleted ...
   6050          10q' conftest.err >conftest.er1
   6051     cat conftest.er1 >&5
   6052   fi
   6053   rm -f conftest.er1 conftest.err
   6054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6055   test $ac_status = 0; }
   6056 done
   6057 
   6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   6059 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   6060 if ${ac_cv_c_compiler_gnu+:} false; then :
   6061   $as_echo_n "(cached) " >&6
   6062 else
   6063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6064 /* end confdefs.h.  */
   6065 
   6066 int
   6067 main ()
   6068 {
   6069 #ifndef __GNUC__
   6070        choke me
   6071 #endif
   6072 
   6073   ;
   6074   return 0;
   6075 }
   6076 _ACEOF
   6077 if ac_fn_c_try_compile "$LINENO"; then :
   6078   ac_compiler_gnu=yes
   6079 else
   6080   ac_compiler_gnu=no
   6081 fi
   6082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6083 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   6084 
   6085 fi
   6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   6087 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   6088 if test $ac_compiler_gnu = yes; then
   6089   GCC=yes
   6090 else
   6091   GCC=
   6092 fi
   6093 ac_test_CFLAGS=${CFLAGS+set}
   6094 ac_save_CFLAGS=$CFLAGS
   6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   6096 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   6097 if ${ac_cv_prog_cc_g+:} false; then :
   6098   $as_echo_n "(cached) " >&6
   6099 else
   6100   ac_save_c_werror_flag=$ac_c_werror_flag
   6101    ac_c_werror_flag=yes
   6102    ac_cv_prog_cc_g=no
   6103    CFLAGS="-g"
   6104    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6105 /* end confdefs.h.  */
   6106 
   6107 int
   6108 main ()
   6109 {
   6110 
   6111   ;
   6112   return 0;
   6113 }
   6114 _ACEOF
   6115 if ac_fn_c_try_compile "$LINENO"; then :
   6116   ac_cv_prog_cc_g=yes
   6117 else
   6118   CFLAGS=""
   6119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6120 /* end confdefs.h.  */
   6121 
   6122 int
   6123 main ()
   6124 {
   6125 
   6126   ;
   6127   return 0;
   6128 }
   6129 _ACEOF
   6130 if ac_fn_c_try_compile "$LINENO"; then :
   6131   
   6132 else
   6133   ac_c_werror_flag=$ac_save_c_werror_flag
   6134 	 CFLAGS="-g"
   6135 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6136 /* end confdefs.h.  */
   6137 
   6138 int
   6139 main ()
   6140 {
   6141 
   6142   ;
   6143   return 0;
   6144 }
   6145 _ACEOF
   6146 if ac_fn_c_try_compile "$LINENO"; then :
   6147   ac_cv_prog_cc_g=yes
   6148 fi
   6149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6150 fi
   6151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6152 fi
   6153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6154    ac_c_werror_flag=$ac_save_c_werror_flag
   6155 fi
   6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   6157 $as_echo "$ac_cv_prog_cc_g" >&6; }
   6158 if test "$ac_test_CFLAGS" = set; then
   6159   CFLAGS=$ac_save_CFLAGS
   6160 elif test $ac_cv_prog_cc_g = yes; then
   6161   if test "$GCC" = yes; then
   6162     CFLAGS="-g -O2"
   6163   else
   6164     CFLAGS="-g"
   6165   fi
   6166 else
   6167   if test "$GCC" = yes; then
   6168     CFLAGS="-O2"
   6169   else
   6170     CFLAGS=
   6171   fi
   6172 fi
   6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   6174 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   6175 if ${ac_cv_prog_cc_c89+:} false; then :
   6176   $as_echo_n "(cached) " >&6
   6177 else
   6178   ac_cv_prog_cc_c89=no
   6179 ac_save_CC=$CC
   6180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6181 /* end confdefs.h.  */
   6182 #include <stdarg.h>
   6183 #include <stdio.h>
   6184 struct stat;
   6185 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   6186 struct buf { int x; };
   6187 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   6188 static char *e (p, i)
   6189      char **p;
   6190      int i;
   6191 {
   6192   return p[i];
   6193 }
   6194 static char *f (char * (*g) (char **, int), char **p, ...)
   6195 {
   6196   char *s;
   6197   va_list v;
   6198   va_start (v,p);
   6199   s = g (p, va_arg (v,int));
   6200   va_end (v);
   6201   return s;
   6202 }
   6203 
   6204 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   6205    function prototypes and stuff, but not '\xHH' hex character constants.
   6206    These don't provoke an error unfortunately, instead are silently treated
   6207    as 'x'.  The following induces an error, until -std is added to get
   6208    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   6209    array size at least.  It's necessary to write '\x00'==0 to get something
   6210    that's true only with -std.  */
   6211 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   6212 
   6213 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   6214    inside strings and character constants.  */
   6215 #define FOO(x) 'x'
   6216 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   6217 
   6218 int test (int i, double x);
   6219 struct s1 {int (*f) (int a);};
   6220 struct s2 {int (*f) (double a);};
   6221 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   6222 int argc;
   6223 char **argv;
   6224 int
   6225 main ()
   6226 {
   6227 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   6228   ;
   6229   return 0;
   6230 }
   6231 _ACEOF
   6232 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   6233 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   6234 do
   6235   CC="$ac_save_CC $ac_arg"
   6236   if ac_fn_c_try_compile "$LINENO"; then :
   6237   ac_cv_prog_cc_c89=$ac_arg
   6238 fi
   6239 rm -f core conftest.err conftest.$ac_objext
   6240   test "x$ac_cv_prog_cc_c89" != "xno" && break
   6241 done
   6242 rm -f conftest.$ac_ext
   6243 CC=$ac_save_CC
   6244 
   6245 fi
   6246 # AC_CACHE_VAL
   6247 case "x$ac_cv_prog_cc_c89" in
   6248   x)
   6249     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6250 $as_echo "none needed" >&6; } ;;
   6251   xno)
   6252     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6253 $as_echo "unsupported" >&6; } ;;
   6254   *)
   6255     CC="$CC $ac_cv_prog_cc_c89"
   6256     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   6257 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   6258 esac
   6259 if test "x$ac_cv_prog_cc_c89" != xno; then :
   6260   
   6261 fi
   6262 
   6263 ac_ext=c
   6264 ac_cpp='$CPP $CPPFLAGS'
   6265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6268 
   6269 ac_ext=c
   6270 ac_cpp='$CPP $CPPFLAGS'
   6271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   6275 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   6276 if ${am_cv_prog_cc_c_o+:} false; then :
   6277   $as_echo_n "(cached) " >&6
   6278 else
   6279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6280 /* end confdefs.h.  */
   6281 
   6282 int
   6283 main ()
   6284 {
   6285 
   6286   ;
   6287   return 0;
   6288 }
   6289 _ACEOF
   6290   # Make sure it works both with $CC and with simple cc.
   6291   # Following AC_PROG_CC_C_O, we do the test twice because some
   6292   # compilers refuse to overwrite an existing .o file with -o,
   6293   # though they will create one.
   6294   am_cv_prog_cc_c_o=yes
   6295   for am_i in 1 2; do
   6296     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   6297    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   6298    ac_status=$?
   6299    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6300    (exit $ac_status); } \
   6301          && test -f conftest2.$ac_objext; then
   6302       : OK
   6303     else
   6304       am_cv_prog_cc_c_o=no
   6305       break
   6306     fi
   6307   done
   6308   rm -f core conftest*
   6309   unset am_i
   6310 fi
   6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   6312 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   6313 if test "$am_cv_prog_cc_c_o" != yes; then
   6314    # Losing compiler, so override with the script.
   6315    # FIXME: It is wrong to rewrite CC.
   6316    # But if we don't then we get into trouble of one sort or another.
   6317    # A longer-term fix would be to have automake use am__CC in this case,
   6318    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   6319    CC="$am_aux_dir/compile $CC"
   6320 fi
   6321 ac_ext=c
   6322 ac_cpp='$CPP $CPPFLAGS'
   6323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6326 
   6327 
   6328 enable_dlopen=yes
   6329 
   6330 
   6331 
   6332 case `pwd` in
   6333   *\ * | *\	*)
   6334     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   6335 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   6336 esac
   6337 
   6338 
   6339 
   6340 macro_version='2.4.6'
   6341 macro_revision='2.4.6'
   6342 
   6343     
   6344     
   6345     
   6346 
   6347 
   6348     
   6349     
   6350     
   6351 
   6352 
   6353 
   6354 
   6355 ltmain=$ac_aux_dir/ltmain.sh
   6356 
   6357 # Backslashify metacharacters that are still active within
   6358 # double-quoted strings.
   6359 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6360 
   6361 # Same as above, but do not quote variable references.
   6362 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6363 
   6364 # Sed substitution to delay expansion of an escaped shell variable in a
   6365 # double_quote_subst'ed string.
   6366 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6367 
   6368 # Sed substitution to delay expansion of an escaped single quote.
   6369 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6370 
   6371 # Sed substitution to avoid accidental globbing in evaled expressions
   6372 no_glob_subst='s/\*/\\\*/g'
   6373 
   6374 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6375 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   6376 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   6377 
   6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   6379 $as_echo_n "checking how to print strings... " >&6; }
   6380 # Test print first, because it will be a builtin if present.
   6381 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   6382    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   6383   ECHO='print -r --'
   6384 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   6385   ECHO='printf %s\n'
   6386 else
   6387   # Use this function as a fallback that always works.
   6388   func_fallback_echo ()
   6389   {
   6390     eval 'cat <<_LTECHO_EOF
   6391 $1
   6392 _LTECHO_EOF'
   6393   }
   6394   ECHO='func_fallback_echo'
   6395 fi
   6396 
   6397 # func_echo_all arg...
   6398 # Invoke $ECHO with all args, space-separated.
   6399 func_echo_all ()
   6400 {
   6401     $ECHO ""
   6402 }
   6403 
   6404 case $ECHO in
   6405   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6406 $as_echo "printf" >&6; } ;;
   6407   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6408 $as_echo "print -r" >&6; } ;;
   6409   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6410 $as_echo "cat" >&6; } ;;
   6411 esac
   6412 
   6413 
   6414 
   6415 
   6416     
   6417     
   6418     
   6419 
   6420 
   6421     
   6422     
   6423     
   6424 
   6425 
   6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6427 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   6428 if ${ac_cv_path_SED+:} false; then :
   6429   $as_echo_n "(cached) " >&6
   6430 else
   6431             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6432      for ac_i in 1 2 3 4 5 6 7; do
   6433        ac_script="$ac_script$as_nl$ac_script"
   6434      done
   6435      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6436      { ac_script=; unset ac_script;}
   6437      if test -z "$SED"; then
   6438   ac_path_SED_found=false
   6439   # Loop through the user's path and test for each of PROGNAME-LIST
   6440   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6441 for as_dir in $PATH
   6442 do
   6443   IFS=$as_save_IFS
   6444   test -z "$as_dir" && as_dir=.
   6445     for ac_prog in sed gsed; do
   6446     for ac_exec_ext in '' $ac_executable_extensions; do
   6447       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6448       as_fn_executable_p "$ac_path_SED" || continue
   6449 # Check for GNU ac_path_SED and select it if it is found.
   6450   # Check for GNU $ac_path_SED
   6451 case `"$ac_path_SED" --version 2>&1` in
   6452 *GNU*)
   6453   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6454 *)
   6455   ac_count=0
   6456   $as_echo_n 0123456789 >"conftest.in"
   6457   while :
   6458   do
   6459     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6460     mv "conftest.tmp" "conftest.in"
   6461     cp "conftest.in" "conftest.nl"
   6462     $as_echo '' >> "conftest.nl"
   6463     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6464     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6465     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6466     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6467       # Best one so far, save it but keep looking for a better one
   6468       ac_cv_path_SED="$ac_path_SED"
   6469       ac_path_SED_max=$ac_count
   6470     fi
   6471     # 10*(2^10) chars as input seems more than enough
   6472     test $ac_count -gt 10 && break
   6473   done
   6474   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6475 esac
   6476 
   6477       $ac_path_SED_found && break 3
   6478     done
   6479   done
   6480   done
   6481 IFS=$as_save_IFS
   6482   if test -z "$ac_cv_path_SED"; then
   6483     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6484   fi
   6485 else
   6486   ac_cv_path_SED=$SED
   6487 fi
   6488 
   6489 fi
   6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6491 $as_echo "$ac_cv_path_SED" >&6; }
   6492  SED="$ac_cv_path_SED"
   6493   rm -f conftest.sed
   6494 
   6495 test -z "$SED" && SED=sed
   6496 Xsed="$SED -e 1s/^X//"
   6497 
   6498     
   6499     
   6500     
   6501 
   6502 
   6503     
   6504     
   6505     
   6506 
   6507 
   6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6509 $as_echo_n "checking for fgrep... " >&6; }
   6510 if ${ac_cv_path_FGREP+:} false; then :
   6511   $as_echo_n "(cached) " >&6
   6512 else
   6513   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6514    then ac_cv_path_FGREP="$GREP -F"
   6515    else
   6516      if test -z "$FGREP"; then
   6517   ac_path_FGREP_found=false
   6518   # Loop through the user's path and test for each of PROGNAME-LIST
   6519   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6520 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6521 do
   6522   IFS=$as_save_IFS
   6523   test -z "$as_dir" && as_dir=.
   6524     for ac_prog in fgrep; do
   6525     for ac_exec_ext in '' $ac_executable_extensions; do
   6526       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   6527       as_fn_executable_p "$ac_path_FGREP" || continue
   6528 # Check for GNU ac_path_FGREP and select it if it is found.
   6529   # Check for GNU $ac_path_FGREP
   6530 case `"$ac_path_FGREP" --version 2>&1` in
   6531 *GNU*)
   6532   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6533 *)
   6534   ac_count=0
   6535   $as_echo_n 0123456789 >"conftest.in"
   6536   while :
   6537   do
   6538     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6539     mv "conftest.tmp" "conftest.in"
   6540     cp "conftest.in" "conftest.nl"
   6541     $as_echo 'FGREP' >> "conftest.nl"
   6542     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6543     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6544     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6545     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6546       # Best one so far, save it but keep looking for a better one
   6547       ac_cv_path_FGREP="$ac_path_FGREP"
   6548       ac_path_FGREP_max=$ac_count
   6549     fi
   6550     # 10*(2^10) chars as input seems more than enough
   6551     test $ac_count -gt 10 && break
   6552   done
   6553   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6554 esac
   6555 
   6556       $ac_path_FGREP_found && break 3
   6557     done
   6558   done
   6559   done
   6560 IFS=$as_save_IFS
   6561   if test -z "$ac_cv_path_FGREP"; then
   6562     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6563   fi
   6564 else
   6565   ac_cv_path_FGREP=$FGREP
   6566 fi
   6567 
   6568    fi
   6569 fi
   6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6571 $as_echo "$ac_cv_path_FGREP" >&6; }
   6572  FGREP="$ac_cv_path_FGREP"
   6573  
   6574 
   6575 test -z "$GREP" && GREP=grep
   6576 
   6577     
   6578     
   6579     
   6580 
   6581 
   6582     
   6583     
   6584     
   6585 
   6586 
   6587     
   6588     
   6589     
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 @%:@ Check whether --with-gnu-ld was given.
   6596 if test "${with_gnu_ld+set}" = set; then :
   6597   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   6598 else
   6599   with_gnu_ld=no
   6600 fi
   6601 
   6602 ac_prog=ld
   6603 if test yes = "$GCC"; then
   6604   # Check if gcc -print-prog-name=ld gives a path.
   6605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6606 $as_echo_n "checking for ld used by $CC... " >&6; }
   6607   case $host in
   6608   *-*-mingw*)
   6609     # gcc leaves a trailing carriage return, which upsets mingw
   6610     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6611   *)
   6612     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6613   esac
   6614   case $ac_prog in
   6615     # Accept absolute paths.
   6616     [\\/]* | ?:[\\/]*)
   6617       re_direlt='/[^/][^/]*/\.\./'
   6618       # Canonicalize the pathname of ld
   6619       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6620       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6621 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6622       done
   6623       test -z "$LD" && LD=$ac_prog
   6624       ;;
   6625   "")
   6626     # If it fails, then pretend we aren't using GCC.
   6627     ac_prog=ld
   6628     ;;
   6629   *)
   6630     # If it is relative, then search for the first ld in PATH.
   6631     with_gnu_ld=unknown
   6632     ;;
   6633   esac
   6634 elif test yes = "$with_gnu_ld"; then
   6635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6636 $as_echo_n "checking for GNU ld... " >&6; }
   6637 else
   6638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6639 $as_echo_n "checking for non-GNU ld... " >&6; }
   6640 fi
   6641 if ${lt_cv_path_LD+:} false; then :
   6642   $as_echo_n "(cached) " >&6
   6643 else
   6644   if test -z "$LD"; then
   6645   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6646   for ac_dir in $PATH; do
   6647     IFS=$lt_save_ifs
   6648     test -z "$ac_dir" && ac_dir=.
   6649     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6650       lt_cv_path_LD=$ac_dir/$ac_prog
   6651       # Check to see if the program is GNU ld.  I'd rather use --version,
   6652       # but apparently some variants of GNU ld only accept -v.
   6653       # Break only if it was the GNU/non-GNU ld that we prefer.
   6654       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6655       *GNU* | *'with BFD'*)
   6656 	test no != "$with_gnu_ld" && break
   6657 	;;
   6658       *)
   6659 	test yes != "$with_gnu_ld" && break
   6660 	;;
   6661       esac
   6662     fi
   6663   done
   6664   IFS=$lt_save_ifs
   6665 else
   6666   lt_cv_path_LD=$LD # Let the user override the test with a path.
   6667 fi
   6668 fi
   6669 
   6670 LD=$lt_cv_path_LD
   6671 if test -n "$LD"; then
   6672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6673 $as_echo "$LD" >&6; }
   6674 else
   6675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6676 $as_echo "no" >&6; }
   6677 fi
   6678 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6680 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6681 if ${lt_cv_prog_gnu_ld+:} false; then :
   6682   $as_echo_n "(cached) " >&6
   6683 else
   6684   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6685 case `$LD -v 2>&1 </dev/null` in
   6686 *GNU* | *'with BFD'*)
   6687   lt_cv_prog_gnu_ld=yes
   6688   ;;
   6689 *)
   6690   lt_cv_prog_gnu_ld=no
   6691   ;;
   6692 esac
   6693 fi
   6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6695 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6696 with_gnu_ld=$lt_cv_prog_gnu_ld
   6697 
   6698 
   6699 
   6700 
   6701     
   6702     
   6703     
   6704 
   6705 
   6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6707 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6708 if ${lt_cv_path_NM+:} false; then :
   6709   $as_echo_n "(cached) " >&6
   6710 else
   6711   if test -n "$NM"; then
   6712   # Let the user override the test.
   6713   lt_cv_path_NM=$NM
   6714 else
   6715   lt_nm_to_check=${ac_tool_prefix}nm
   6716   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6717     lt_nm_to_check="$lt_nm_to_check nm"
   6718   fi
   6719   for lt_tmp_nm in $lt_nm_to_check; do
   6720     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6721     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6722       IFS=$lt_save_ifs
   6723       test -z "$ac_dir" && ac_dir=.
   6724       tmp_nm=$ac_dir/$lt_tmp_nm
   6725       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   6726 	# Check to see if the nm accepts a BSD-compat flag.
   6727 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   6728 	#   nm: unknown option "B" ignored
   6729 	# Tru64's nm complains that /dev/null is an invalid object file
   6730 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   6731 	case $build_os in
   6732 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   6733 	*) lt_bad_file=/dev/null ;;
   6734 	esac
   6735 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   6736 	*$lt_bad_file* | *'Invalid file or object type'*)
   6737 	  lt_cv_path_NM="$tmp_nm -B"
   6738 	  break 2
   6739 	  ;;
   6740 	*)
   6741 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   6742 	  */dev/null*)
   6743 	    lt_cv_path_NM="$tmp_nm -p"
   6744 	    break 2
   6745 	    ;;
   6746 	  *)
   6747 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6748 	    continue # so that we can try to find one that supports BSD flags
   6749 	    ;;
   6750 	  esac
   6751 	  ;;
   6752 	esac
   6753       fi
   6754     done
   6755     IFS=$lt_save_ifs
   6756   done
   6757   : ${lt_cv_path_NM=no}
   6758 fi
   6759 fi
   6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6761 $as_echo "$lt_cv_path_NM" >&6; }
   6762 if test no != "$lt_cv_path_NM"; then
   6763   NM=$lt_cv_path_NM
   6764 else
   6765   # Didn't find any BSD compatible name lister, look for dumpbin.
   6766   if test -n "$DUMPBIN"; then :
   6767     # Let the user override the test.
   6768   else
   6769     if test -n "$ac_tool_prefix"; then
   6770   for ac_prog in dumpbin "link -dump"
   6771   do
   6772     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6773 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6775 $as_echo_n "checking for $ac_word... " >&6; }
   6776 if ${ac_cv_prog_DUMPBIN+:} false; then :
   6777   $as_echo_n "(cached) " >&6
   6778 else
   6779   if test -n "$DUMPBIN"; then
   6780   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6781 else
   6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6783 for as_dir in $PATH
   6784 do
   6785   IFS=$as_save_IFS
   6786   test -z "$as_dir" && as_dir=.
   6787     for ac_exec_ext in '' $ac_executable_extensions; do
   6788   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6789     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6791     break 2
   6792   fi
   6793 done
   6794   done
   6795 IFS=$as_save_IFS
   6796 
   6797 fi
   6798 fi
   6799 DUMPBIN=$ac_cv_prog_DUMPBIN
   6800 if test -n "$DUMPBIN"; then
   6801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6802 $as_echo "$DUMPBIN" >&6; }
   6803 else
   6804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6805 $as_echo "no" >&6; }
   6806 fi
   6807 
   6808 
   6809     test -n "$DUMPBIN" && break
   6810   done
   6811 fi
   6812 if test -z "$DUMPBIN"; then
   6813   ac_ct_DUMPBIN=$DUMPBIN
   6814   for ac_prog in dumpbin "link -dump"
   6815 do
   6816   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6817 set dummy $ac_prog; ac_word=$2
   6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6819 $as_echo_n "checking for $ac_word... " >&6; }
   6820 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6821   $as_echo_n "(cached) " >&6
   6822 else
   6823   if test -n "$ac_ct_DUMPBIN"; then
   6824   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6825 else
   6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6827 for as_dir in $PATH
   6828 do
   6829   IFS=$as_save_IFS
   6830   test -z "$as_dir" && as_dir=.
   6831     for ac_exec_ext in '' $ac_executable_extensions; do
   6832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6833     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6835     break 2
   6836   fi
   6837 done
   6838   done
   6839 IFS=$as_save_IFS
   6840 
   6841 fi
   6842 fi
   6843 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6844 if test -n "$ac_ct_DUMPBIN"; then
   6845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6846 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6847 else
   6848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6849 $as_echo "no" >&6; }
   6850 fi
   6851 
   6852 
   6853   test -n "$ac_ct_DUMPBIN" && break
   6854 done
   6855 
   6856   if test "x$ac_ct_DUMPBIN" = x; then
   6857     DUMPBIN=":"
   6858   else
   6859     case $cross_compiling:$ac_tool_warned in
   6860 yes:)
   6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6863 ac_tool_warned=yes ;;
   6864 esac
   6865     DUMPBIN=$ac_ct_DUMPBIN
   6866   fi
   6867 fi
   6868 
   6869     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   6870     *COFF*)
   6871       DUMPBIN="$DUMPBIN -symbols -headers"
   6872       ;;
   6873     *)
   6874       DUMPBIN=:
   6875       ;;
   6876     esac
   6877   fi
   6878   
   6879   if test : != "$DUMPBIN"; then
   6880     NM=$DUMPBIN
   6881   fi
   6882 fi
   6883 test -z "$NM" && NM=nm
   6884 
   6885 
   6886     
   6887     
   6888     
   6889 
   6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6891 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6892 if ${lt_cv_nm_interface+:} false; then :
   6893   $as_echo_n "(cached) " >&6
   6894 else
   6895   lt_cv_nm_interface="BSD nm"
   6896   echo "int some_variable = 0;" > conftest.$ac_ext
   6897   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6898   (eval "$ac_compile" 2>conftest.err)
   6899   cat conftest.err >&5
   6900   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6901   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6902   cat conftest.err >&5
   6903   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6904   cat conftest.out >&5
   6905   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6906     lt_cv_nm_interface="MS dumpbin"
   6907   fi
   6908   rm -f conftest*
   6909 fi
   6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6911 $as_echo "$lt_cv_nm_interface" >&6; }
   6912 
   6913 # find the maximum length of command line arguments
   6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6915 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6916 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6917   $as_echo_n "(cached) " >&6
   6918 else
   6919     i=0
   6920   teststring=ABCD
   6921 
   6922   case $build_os in
   6923   msdosdjgpp*)
   6924     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6925     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6926     # during glob expansion).  Even if it were fixed, the result of this
   6927     # check would be larger than it should be.
   6928     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6929     ;;
   6930 
   6931   gnu*)
   6932     # Under GNU Hurd, this test is not required because there is
   6933     # no limit to the length of command line arguments.
   6934     # Libtool will interpret -1 as no limit whatsoever
   6935     lt_cv_sys_max_cmd_len=-1;
   6936     ;;
   6937 
   6938   cygwin* | mingw* | cegcc*)
   6939     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6940     # about 5 minutes as the teststring grows exponentially.
   6941     # Worse, since 9x/ME are not pre-emptively multitasking,
   6942     # you end up with a "frozen" computer, even though with patience
   6943     # the test eventually succeeds (with a max line length of 256k).
   6944     # Instead, let's just punt: use the minimum linelength reported by
   6945     # all of the supported platforms: 8192 (on NT/2K/XP).
   6946     lt_cv_sys_max_cmd_len=8192;
   6947     ;;
   6948 
   6949   mint*)
   6950     # On MiNT this can take a long time and run out of memory.
   6951     lt_cv_sys_max_cmd_len=8192;
   6952     ;;
   6953 
   6954   amigaos*)
   6955     # On AmigaOS with pdksh, this test takes hours, literally.
   6956     # So we just punt and use a minimum line length of 8192.
   6957     lt_cv_sys_max_cmd_len=8192;
   6958     ;;
   6959 
   6960   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   6961     # This has been around since 386BSD, at least.  Likely further.
   6962     if test -x /sbin/sysctl; then
   6963       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6964     elif test -x /usr/sbin/sysctl; then
   6965       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6966     else
   6967       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6968     fi
   6969     # And add a safety zone
   6970     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6971     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6972     ;;
   6973 
   6974   interix*)
   6975     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6976     lt_cv_sys_max_cmd_len=196608
   6977     ;;
   6978 
   6979   os2*)
   6980     # The test takes a long time on OS/2.
   6981     lt_cv_sys_max_cmd_len=8192
   6982     ;;
   6983 
   6984   osf*)
   6985     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6986     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6987     # nice to cause kernel panics so lets avoid the loop below.
   6988     # First set a reasonable default.
   6989     lt_cv_sys_max_cmd_len=16384
   6990     #
   6991     if test -x /sbin/sysconfig; then
   6992       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6993         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6994       esac
   6995     fi
   6996     ;;
   6997   sco3.2v5*)
   6998     lt_cv_sys_max_cmd_len=102400
   6999     ;;
   7000   sysv5* | sco5v6* | sysv4.2uw2*)
   7001     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   7002     if test -n "$kargmax"; then
   7003       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   7004     else
   7005       lt_cv_sys_max_cmd_len=32768
   7006     fi
   7007     ;;
   7008   *)
   7009     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   7010     if test -n "$lt_cv_sys_max_cmd_len" && \
   7011        test undefined != "$lt_cv_sys_max_cmd_len"; then
   7012       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   7013       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   7014     else
   7015       # Make teststring a little bigger before we do anything with it.
   7016       # a 1K string should be a reasonable start.
   7017       for i in 1 2 3 4 5 6 7 8; do
   7018         teststring=$teststring$teststring
   7019       done
   7020       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   7021       # If test is not a shell built-in, we'll probably end up computing a
   7022       # maximum length that is only half of the actual maximum length, but
   7023       # we can't tell.
   7024       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   7025 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   7026 	      test 17 != "$i" # 1/2 MB should be enough
   7027       do
   7028         i=`expr $i + 1`
   7029         teststring=$teststring$teststring
   7030       done
   7031       # Only check the string length outside the loop.
   7032       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   7033       teststring=
   7034       # Add a significant safety factor because C++ compilers can tack on
   7035       # massive amounts of additional arguments before passing them to the
   7036       # linker.  It appears as though 1/2 is a usable value.
   7037       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   7038     fi
   7039     ;;
   7040   esac
   7041 
   7042 fi
   7043 
   7044 if test -n "$lt_cv_sys_max_cmd_len"; then
   7045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   7046 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   7047 else
   7048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   7049 $as_echo "none" >&6; }
   7050 fi
   7051 max_cmd_len=$lt_cv_sys_max_cmd_len
   7052 
   7053     
   7054     
   7055     
   7056 
   7057 
   7058 : ${CP="cp -f"}
   7059 : ${MV="mv -f"}
   7060 : ${RM="rm -f"}
   7061 
   7062 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   7063   lt_unset=unset
   7064 else
   7065   lt_unset=false
   7066 fi
   7067 
   7068     
   7069     
   7070     
   7071 
   7072 # test EBCDIC or ASCII
   7073 case `echo X|tr X '\101'` in
   7074  A) # ASCII based system
   7075     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   7076   lt_SP2NL='tr \040 \012'
   7077   lt_NL2SP='tr \015\012 \040\040'
   7078   ;;
   7079  *) # EBCDIC based system
   7080   lt_SP2NL='tr \100 \n'
   7081   lt_NL2SP='tr \r\n \100\100'
   7082   ;;
   7083 esac
   7084 
   7085     
   7086     
   7087     
   7088 
   7089     
   7090     
   7091     
   7092 
   7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   7094 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   7095 if ${lt_cv_to_host_file_cmd+:} false; then :
   7096   $as_echo_n "(cached) " >&6
   7097 else
   7098   case $host in
   7099   *-*-mingw* )
   7100     case $build in
   7101       *-*-mingw* ) # actually msys
   7102         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   7103         ;;
   7104       *-*-cygwin* )
   7105         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   7106         ;;
   7107       * ) # otherwise, assume *nix
   7108         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   7109         ;;
   7110     esac
   7111     ;;
   7112   *-*-cygwin* )
   7113     case $build in
   7114       *-*-mingw* ) # actually msys
   7115         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   7116         ;;
   7117       *-*-cygwin* )
   7118         lt_cv_to_host_file_cmd=func_convert_file_noop
   7119         ;;
   7120       * ) # otherwise, assume *nix
   7121         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   7122         ;;
   7123     esac
   7124     ;;
   7125   * ) # unhandled hosts (and "normal" native builds)
   7126     lt_cv_to_host_file_cmd=func_convert_file_noop
   7127     ;;
   7128 esac
   7129 
   7130 fi
   7131 
   7132 to_host_file_cmd=$lt_cv_to_host_file_cmd
   7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   7134 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   7135 
   7136     
   7137     
   7138     
   7139 
   7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   7141 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   7142 if ${lt_cv_to_tool_file_cmd+:} false; then :
   7143   $as_echo_n "(cached) " >&6
   7144 else
   7145   #assume ordinary cross tools, or native build.
   7146 lt_cv_to_tool_file_cmd=func_convert_file_noop
   7147 case $host in
   7148   *-*-mingw* )
   7149     case $build in
   7150       *-*-mingw* ) # actually msys
   7151         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   7152         ;;
   7153     esac
   7154     ;;
   7155 esac
   7156 
   7157 fi
   7158 
   7159 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   7161 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   7162 
   7163     
   7164     
   7165     
   7166 
   7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   7168 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   7169 if ${lt_cv_ld_reload_flag+:} false; then :
   7170   $as_echo_n "(cached) " >&6
   7171 else
   7172   lt_cv_ld_reload_flag='-r'
   7173 fi
   7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   7175 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   7176 reload_flag=$lt_cv_ld_reload_flag
   7177 case $reload_flag in
   7178 "" | " "*) ;;
   7179 *) reload_flag=" $reload_flag" ;;
   7180 esac
   7181 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7182 case $host_os in
   7183   cygwin* | mingw* | pw32* | cegcc*)
   7184     if test yes != "$GCC"; then
   7185       reload_cmds=false
   7186     fi
   7187     ;;
   7188   darwin*)
   7189     if test yes = "$GCC"; then
   7190       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   7191     else
   7192       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7193     fi
   7194     ;;
   7195 esac
   7196 
   7197     
   7198     
   7199     
   7200 
   7201     
   7202     
   7203     
   7204 
   7205 if test -n "$ac_tool_prefix"; then
   7206   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   7207 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7209 $as_echo_n "checking for $ac_word... " >&6; }
   7210 if ${ac_cv_prog_OBJDUMP+:} false; then :
   7211   $as_echo_n "(cached) " >&6
   7212 else
   7213   if test -n "$OBJDUMP"; then
   7214   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   7215 else
   7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7217 for as_dir in $PATH
   7218 do
   7219   IFS=$as_save_IFS
   7220   test -z "$as_dir" && as_dir=.
   7221     for ac_exec_ext in '' $ac_executable_extensions; do
   7222   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7223     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   7224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7225     break 2
   7226   fi
   7227 done
   7228   done
   7229 IFS=$as_save_IFS
   7230 
   7231 fi
   7232 fi
   7233 OBJDUMP=$ac_cv_prog_OBJDUMP
   7234 if test -n "$OBJDUMP"; then
   7235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   7236 $as_echo "$OBJDUMP" >&6; }
   7237 else
   7238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7239 $as_echo "no" >&6; }
   7240 fi
   7241 
   7242 
   7243 fi
   7244 if test -z "$ac_cv_prog_OBJDUMP"; then
   7245   ac_ct_OBJDUMP=$OBJDUMP
   7246   # Extract the first word of "objdump", so it can be a program name with args.
   7247 set dummy objdump; ac_word=$2
   7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7249 $as_echo_n "checking for $ac_word... " >&6; }
   7250 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   7251   $as_echo_n "(cached) " >&6
   7252 else
   7253   if test -n "$ac_ct_OBJDUMP"; then
   7254   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   7255 else
   7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7257 for as_dir in $PATH
   7258 do
   7259   IFS=$as_save_IFS
   7260   test -z "$as_dir" && as_dir=.
   7261     for ac_exec_ext in '' $ac_executable_extensions; do
   7262   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7263     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   7264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7265     break 2
   7266   fi
   7267 done
   7268   done
   7269 IFS=$as_save_IFS
   7270 
   7271 fi
   7272 fi
   7273 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   7274 if test -n "$ac_ct_OBJDUMP"; then
   7275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   7276 $as_echo "$ac_ct_OBJDUMP" >&6; }
   7277 else
   7278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7279 $as_echo "no" >&6; }
   7280 fi
   7281 
   7282   if test "x$ac_ct_OBJDUMP" = x; then
   7283     OBJDUMP="false"
   7284   else
   7285     case $cross_compiling:$ac_tool_warned in
   7286 yes:)
   7287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7289 ac_tool_warned=yes ;;
   7290 esac
   7291     OBJDUMP=$ac_ct_OBJDUMP
   7292   fi
   7293 else
   7294   OBJDUMP="$ac_cv_prog_OBJDUMP"
   7295 fi
   7296 
   7297 test -z "$OBJDUMP" && OBJDUMP=objdump
   7298 
   7299     
   7300     
   7301     
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   7308 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   7309 if ${lt_cv_deplibs_check_method+:} false; then :
   7310   $as_echo_n "(cached) " >&6
   7311 else
   7312   lt_cv_file_magic_cmd='$MAGIC_CMD'
   7313 lt_cv_file_magic_test_file=
   7314 lt_cv_deplibs_check_method='unknown'
   7315 # Need to set the preceding variable on all platforms that support
   7316 # interlibrary dependencies.
   7317 # 'none' -- dependencies not supported.
   7318 # 'unknown' -- same as none, but documents that we really don't know.
   7319 # 'pass_all' -- all dependencies passed with no checks.
   7320 # 'test_compile' -- check by making test program.
   7321 # 'file_magic [[regex]]' -- check by looking for files in library path
   7322 # that responds to the $file_magic_cmd with a given extended regex.
   7323 # If you have 'file' or equivalent on your system and you're not sure
   7324 # whether 'pass_all' will *always* work, you probably want this one.
   7325 
   7326 case $host_os in
   7327 aix[4-9]*)
   7328   lt_cv_deplibs_check_method=pass_all
   7329   ;;
   7330 
   7331 beos*)
   7332   lt_cv_deplibs_check_method=pass_all
   7333   ;;
   7334 
   7335 bsdi[45]*)
   7336   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   7337   lt_cv_file_magic_cmd='/usr/bin/file -L'
   7338   lt_cv_file_magic_test_file=/shlib/libc.so
   7339   ;;
   7340 
   7341 cygwin*)
   7342   # func_win32_libid is a shell function defined in ltmain.sh
   7343   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7344   lt_cv_file_magic_cmd='func_win32_libid'
   7345   ;;
   7346 
   7347 mingw* | pw32*)
   7348   # Base MSYS/MinGW do not provide the 'file' command needed by
   7349   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   7350   # unless we find 'file', for example because we are cross-compiling.
   7351   if ( file / ) >/dev/null 2>&1; then
   7352     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7353     lt_cv_file_magic_cmd='func_win32_libid'
   7354   else
   7355     # Keep this pattern in sync with the one in func_win32_libid.
   7356     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   7357     lt_cv_file_magic_cmd='$OBJDUMP -f'
   7358   fi
   7359   ;;
   7360 
   7361 cegcc*)
   7362   # use the weaker test based on 'objdump'. See mingw*.
   7363   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   7364   lt_cv_file_magic_cmd='$OBJDUMP -f'
   7365   ;;
   7366 
   7367 darwin* | rhapsody*)
   7368   lt_cv_deplibs_check_method=pass_all
   7369   ;;
   7370 
   7371 freebsd* | dragonfly*)
   7372   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7373     case $host_cpu in
   7374     i*86 )
   7375       # Not sure whether the presence of OpenBSD here was a mistake.
   7376       # Let's accept both of them until this is cleared up.
   7377       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   7378       lt_cv_file_magic_cmd=/usr/bin/file
   7379       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   7380       ;;
   7381     esac
   7382   else
   7383     lt_cv_deplibs_check_method=pass_all
   7384   fi
   7385   ;;
   7386 
   7387 haiku*)
   7388   lt_cv_deplibs_check_method=pass_all
   7389   ;;
   7390 
   7391 hpux10.20* | hpux11*)
   7392   lt_cv_file_magic_cmd=/usr/bin/file
   7393   case $host_cpu in
   7394   ia64*)
   7395     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7396     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7397     ;;
   7398   hppa*64*)
   7399     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]'
   7400     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7401     ;;
   7402   *)
   7403     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   7404     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7405     ;;
   7406   esac
   7407   ;;
   7408 
   7409 interix[3-9]*)
   7410   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7411   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7412   ;;
   7413 
   7414 irix5* | irix6* | nonstopux*)
   7415   case $LD in
   7416   *-32|*"-32 ") libmagic=32-bit;;
   7417   *-n32|*"-n32 ") libmagic=N32;;
   7418   *-64|*"-64 ") libmagic=64-bit;;
   7419   *) libmagic=never-match;;
   7420   esac
   7421   lt_cv_deplibs_check_method=pass_all
   7422   ;;
   7423 
   7424 # This must be glibc/ELF.
   7425 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   7426   lt_cv_deplibs_check_method=pass_all
   7427   ;;
   7428 
   7429 netbsd*)
   7430   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7431     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7432   else
   7433     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7434   fi
   7435   ;;
   7436 
   7437 newos6*)
   7438   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7439   lt_cv_file_magic_cmd=/usr/bin/file
   7440   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7441   ;;
   7442 
   7443 *nto* | *qnx*)
   7444   lt_cv_deplibs_check_method=pass_all
   7445   ;;
   7446 
   7447 openbsd* | bitrig*)
   7448   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   7449     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7450   else
   7451     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7452   fi
   7453   ;;
   7454 
   7455 osf3* | osf4* | osf5*)
   7456   lt_cv_deplibs_check_method=pass_all
   7457   ;;
   7458 
   7459 rdos*)
   7460   lt_cv_deplibs_check_method=pass_all
   7461   ;;
   7462 
   7463 solaris*)
   7464   lt_cv_deplibs_check_method=pass_all
   7465   ;;
   7466 
   7467 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7468   lt_cv_deplibs_check_method=pass_all
   7469   ;;
   7470 
   7471 sysv4 | sysv4.3*)
   7472   case $host_vendor in
   7473   motorola)
   7474     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]'
   7475     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7476     ;;
   7477   ncr)
   7478     lt_cv_deplibs_check_method=pass_all
   7479     ;;
   7480   sequent)
   7481     lt_cv_file_magic_cmd='/bin/file'
   7482     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7483     ;;
   7484   sni)
   7485     lt_cv_file_magic_cmd='/bin/file'
   7486     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7487     lt_cv_file_magic_test_file=/lib/libc.so
   7488     ;;
   7489   siemens)
   7490     lt_cv_deplibs_check_method=pass_all
   7491     ;;
   7492   pc)
   7493     lt_cv_deplibs_check_method=pass_all
   7494     ;;
   7495   esac
   7496   ;;
   7497 
   7498 tpf*)
   7499   lt_cv_deplibs_check_method=pass_all
   7500   ;;
   7501 os2*)
   7502   lt_cv_deplibs_check_method=pass_all
   7503   ;;
   7504 esac
   7505 
   7506 fi
   7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7508 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   7509 
   7510 file_magic_glob=
   7511 want_nocaseglob=no
   7512 if test "$build" = "$host"; then
   7513   case $host_os in
   7514   mingw* | pw32*)
   7515     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   7516       want_nocaseglob=yes
   7517     else
   7518       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   7519     fi
   7520     ;;
   7521   esac
   7522 fi
   7523 
   7524 file_magic_cmd=$lt_cv_file_magic_cmd
   7525 deplibs_check_method=$lt_cv_deplibs_check_method
   7526 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7527 
   7528 
   7529     
   7530     
   7531     
   7532 
   7533 
   7534     
   7535     
   7536     
   7537 
   7538 
   7539     
   7540     
   7541     
   7542 
   7543 
   7544     
   7545     
   7546     
   7547 
   7548 
   7549 if test -n "$ac_tool_prefix"; then
   7550   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   7551 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7553 $as_echo_n "checking for $ac_word... " >&6; }
   7554 if ${ac_cv_prog_DLLTOOL+:} false; then :
   7555   $as_echo_n "(cached) " >&6
   7556 else
   7557   if test -n "$DLLTOOL"; then
   7558   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   7559 else
   7560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7561 for as_dir in $PATH
   7562 do
   7563   IFS=$as_save_IFS
   7564   test -z "$as_dir" && as_dir=.
   7565     for ac_exec_ext in '' $ac_executable_extensions; do
   7566   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7567     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   7568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7569     break 2
   7570   fi
   7571 done
   7572   done
   7573 IFS=$as_save_IFS
   7574 
   7575 fi
   7576 fi
   7577 DLLTOOL=$ac_cv_prog_DLLTOOL
   7578 if test -n "$DLLTOOL"; then
   7579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   7580 $as_echo "$DLLTOOL" >&6; }
   7581 else
   7582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7583 $as_echo "no" >&6; }
   7584 fi
   7585 
   7586 
   7587 fi
   7588 if test -z "$ac_cv_prog_DLLTOOL"; then
   7589   ac_ct_DLLTOOL=$DLLTOOL
   7590   # Extract the first word of "dlltool", so it can be a program name with args.
   7591 set dummy dlltool; ac_word=$2
   7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7593 $as_echo_n "checking for $ac_word... " >&6; }
   7594 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   7595   $as_echo_n "(cached) " >&6
   7596 else
   7597   if test -n "$ac_ct_DLLTOOL"; then
   7598   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   7599 else
   7600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7601 for as_dir in $PATH
   7602 do
   7603   IFS=$as_save_IFS
   7604   test -z "$as_dir" && as_dir=.
   7605     for ac_exec_ext in '' $ac_executable_extensions; do
   7606   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7607     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   7608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7609     break 2
   7610   fi
   7611 done
   7612   done
   7613 IFS=$as_save_IFS
   7614 
   7615 fi
   7616 fi
   7617 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   7618 if test -n "$ac_ct_DLLTOOL"; then
   7619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   7620 $as_echo "$ac_ct_DLLTOOL" >&6; }
   7621 else
   7622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7623 $as_echo "no" >&6; }
   7624 fi
   7625 
   7626   if test "x$ac_ct_DLLTOOL" = x; then
   7627     DLLTOOL="false"
   7628   else
   7629     case $cross_compiling:$ac_tool_warned in
   7630 yes:)
   7631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7633 ac_tool_warned=yes ;;
   7634 esac
   7635     DLLTOOL=$ac_ct_DLLTOOL
   7636   fi
   7637 else
   7638   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7639 fi
   7640 
   7641 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7642 
   7643     
   7644     
   7645     
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7653 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   7654 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   7655   $as_echo_n "(cached) " >&6
   7656 else
   7657   lt_cv_sharedlib_from_linklib_cmd='unknown'
   7658 
   7659 case $host_os in
   7660 cygwin* | mingw* | pw32* | cegcc*)
   7661   # two different shell functions defined in ltmain.sh;
   7662   # decide which one to use based on capabilities of $DLLTOOL
   7663   case `$DLLTOOL --help 2>&1` in
   7664   *--identify-strict*)
   7665     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7666     ;;
   7667   *)
   7668     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7669     ;;
   7670   esac
   7671   ;;
   7672 *)
   7673   # fallback: assume linklib IS sharedlib
   7674   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7675   ;;
   7676 esac
   7677 
   7678 fi
   7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7680 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7681 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7682 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7683 
   7684 
   7685     
   7686     
   7687     
   7688 
   7689 
   7690 if test -n "$ac_tool_prefix"; then
   7691   for ac_prog in ar
   7692   do
   7693     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7694 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7696 $as_echo_n "checking for $ac_word... " >&6; }
   7697 if ${ac_cv_prog_AR+:} false; then :
   7698   $as_echo_n "(cached) " >&6
   7699 else
   7700   if test -n "$AR"; then
   7701   ac_cv_prog_AR="$AR" # Let the user override the test.
   7702 else
   7703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7704 for as_dir in $PATH
   7705 do
   7706   IFS=$as_save_IFS
   7707   test -z "$as_dir" && as_dir=.
   7708     for ac_exec_ext in '' $ac_executable_extensions; do
   7709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7710     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7712     break 2
   7713   fi
   7714 done
   7715   done
   7716 IFS=$as_save_IFS
   7717 
   7718 fi
   7719 fi
   7720 AR=$ac_cv_prog_AR
   7721 if test -n "$AR"; then
   7722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7723 $as_echo "$AR" >&6; }
   7724 else
   7725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7726 $as_echo "no" >&6; }
   7727 fi
   7728 
   7729 
   7730     test -n "$AR" && break
   7731   done
   7732 fi
   7733 if test -z "$AR"; then
   7734   ac_ct_AR=$AR
   7735   for ac_prog in ar
   7736 do
   7737   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7738 set dummy $ac_prog; ac_word=$2
   7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7740 $as_echo_n "checking for $ac_word... " >&6; }
   7741 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   7742   $as_echo_n "(cached) " >&6
   7743 else
   7744   if test -n "$ac_ct_AR"; then
   7745   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7746 else
   7747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7748 for as_dir in $PATH
   7749 do
   7750   IFS=$as_save_IFS
   7751   test -z "$as_dir" && as_dir=.
   7752     for ac_exec_ext in '' $ac_executable_extensions; do
   7753   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7754     ac_cv_prog_ac_ct_AR="$ac_prog"
   7755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7756     break 2
   7757   fi
   7758 done
   7759   done
   7760 IFS=$as_save_IFS
   7761 
   7762 fi
   7763 fi
   7764 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7765 if test -n "$ac_ct_AR"; then
   7766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7767 $as_echo "$ac_ct_AR" >&6; }
   7768 else
   7769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7770 $as_echo "no" >&6; }
   7771 fi
   7772 
   7773 
   7774   test -n "$ac_ct_AR" && break
   7775 done
   7776 
   7777   if test "x$ac_ct_AR" = x; then
   7778     AR="false"
   7779   else
   7780     case $cross_compiling:$ac_tool_warned in
   7781 yes:)
   7782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7784 ac_tool_warned=yes ;;
   7785 esac
   7786     AR=$ac_ct_AR
   7787   fi
   7788 fi
   7789 
   7790 : ${AR=ar}
   7791 : ${AR_FLAGS=cru}
   7792 
   7793     
   7794     
   7795     
   7796 
   7797 
   7798     
   7799     
   7800     
   7801 
   7802 
   7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7804 $as_echo_n "checking for archiver @FILE support... " >&6; }
   7805 if ${lt_cv_ar_at_file+:} false; then :
   7806   $as_echo_n "(cached) " >&6
   7807 else
   7808   lt_cv_ar_at_file=no
   7809    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7810 /* end confdefs.h.  */
   7811 
   7812 int
   7813 main ()
   7814 {
   7815 
   7816   ;
   7817   return 0;
   7818 }
   7819 _ACEOF
   7820 if ac_fn_c_try_compile "$LINENO"; then :
   7821   echo conftest.$ac_objext > conftest.lst
   7822       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7823       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7824   (eval $lt_ar_try) 2>&5
   7825   ac_status=$?
   7826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7827   test $ac_status = 0; }
   7828       if test 0 -eq "$ac_status"; then
   7829 	# Ensure the archiver fails upon bogus file names.
   7830 	rm -f conftest.$ac_objext libconftest.a
   7831 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7832   (eval $lt_ar_try) 2>&5
   7833   ac_status=$?
   7834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7835   test $ac_status = 0; }
   7836 	if test 0 -ne "$ac_status"; then
   7837           lt_cv_ar_at_file=@
   7838         fi
   7839       fi
   7840       rm -f conftest.* libconftest.a
   7841      
   7842 fi
   7843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7844   
   7845 fi
   7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7847 $as_echo "$lt_cv_ar_at_file" >&6; }
   7848 
   7849 if test no = "$lt_cv_ar_at_file"; then
   7850   archiver_list_spec=
   7851 else
   7852   archiver_list_spec=$lt_cv_ar_at_file
   7853 fi
   7854 
   7855     
   7856     
   7857     
   7858 
   7859 
   7860 
   7861 if test -n "$ac_tool_prefix"; then
   7862   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7863 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7865 $as_echo_n "checking for $ac_word... " >&6; }
   7866 if ${ac_cv_prog_STRIP+:} false; then :
   7867   $as_echo_n "(cached) " >&6
   7868 else
   7869   if test -n "$STRIP"; then
   7870   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7871 else
   7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7873 for as_dir in $PATH
   7874 do
   7875   IFS=$as_save_IFS
   7876   test -z "$as_dir" && as_dir=.
   7877     for ac_exec_ext in '' $ac_executable_extensions; do
   7878   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7879     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7881     break 2
   7882   fi
   7883 done
   7884   done
   7885 IFS=$as_save_IFS
   7886 
   7887 fi
   7888 fi
   7889 STRIP=$ac_cv_prog_STRIP
   7890 if test -n "$STRIP"; then
   7891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7892 $as_echo "$STRIP" >&6; }
   7893 else
   7894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7895 $as_echo "no" >&6; }
   7896 fi
   7897 
   7898 
   7899 fi
   7900 if test -z "$ac_cv_prog_STRIP"; then
   7901   ac_ct_STRIP=$STRIP
   7902   # Extract the first word of "strip", so it can be a program name with args.
   7903 set dummy strip; ac_word=$2
   7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7905 $as_echo_n "checking for $ac_word... " >&6; }
   7906 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   7907   $as_echo_n "(cached) " >&6
   7908 else
   7909   if test -n "$ac_ct_STRIP"; then
   7910   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7911 else
   7912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7913 for as_dir in $PATH
   7914 do
   7915   IFS=$as_save_IFS
   7916   test -z "$as_dir" && as_dir=.
   7917     for ac_exec_ext in '' $ac_executable_extensions; do
   7918   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7919     ac_cv_prog_ac_ct_STRIP="strip"
   7920     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7921     break 2
   7922   fi
   7923 done
   7924   done
   7925 IFS=$as_save_IFS
   7926 
   7927 fi
   7928 fi
   7929 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7930 if test -n "$ac_ct_STRIP"; then
   7931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7932 $as_echo "$ac_ct_STRIP" >&6; }
   7933 else
   7934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7935 $as_echo "no" >&6; }
   7936 fi
   7937 
   7938   if test "x$ac_ct_STRIP" = x; then
   7939     STRIP=":"
   7940   else
   7941     case $cross_compiling:$ac_tool_warned in
   7942 yes:)
   7943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7945 ac_tool_warned=yes ;;
   7946 esac
   7947     STRIP=$ac_ct_STRIP
   7948   fi
   7949 else
   7950   STRIP="$ac_cv_prog_STRIP"
   7951 fi
   7952 
   7953 test -z "$STRIP" && STRIP=:
   7954 
   7955     
   7956     
   7957     
   7958 
   7959 
   7960 if test -n "$ac_tool_prefix"; then
   7961   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7962 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7964 $as_echo_n "checking for $ac_word... " >&6; }
   7965 if ${ac_cv_prog_RANLIB+:} false; then :
   7966   $as_echo_n "(cached) " >&6
   7967 else
   7968   if test -n "$RANLIB"; then
   7969   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7970 else
   7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7972 for as_dir in $PATH
   7973 do
   7974   IFS=$as_save_IFS
   7975   test -z "$as_dir" && as_dir=.
   7976     for ac_exec_ext in '' $ac_executable_extensions; do
   7977   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7978     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7980     break 2
   7981   fi
   7982 done
   7983   done
   7984 IFS=$as_save_IFS
   7985 
   7986 fi
   7987 fi
   7988 RANLIB=$ac_cv_prog_RANLIB
   7989 if test -n "$RANLIB"; then
   7990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7991 $as_echo "$RANLIB" >&6; }
   7992 else
   7993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7994 $as_echo "no" >&6; }
   7995 fi
   7996 
   7997 
   7998 fi
   7999 if test -z "$ac_cv_prog_RANLIB"; then
   8000   ac_ct_RANLIB=$RANLIB
   8001   # Extract the first word of "ranlib", so it can be a program name with args.
   8002 set dummy ranlib; ac_word=$2
   8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8004 $as_echo_n "checking for $ac_word... " >&6; }
   8005 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   8006   $as_echo_n "(cached) " >&6
   8007 else
   8008   if test -n "$ac_ct_RANLIB"; then
   8009   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   8010 else
   8011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8012 for as_dir in $PATH
   8013 do
   8014   IFS=$as_save_IFS
   8015   test -z "$as_dir" && as_dir=.
   8016     for ac_exec_ext in '' $ac_executable_extensions; do
   8017   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8018     ac_cv_prog_ac_ct_RANLIB="ranlib"
   8019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8020     break 2
   8021   fi
   8022 done
   8023   done
   8024 IFS=$as_save_IFS
   8025 
   8026 fi
   8027 fi
   8028 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   8029 if test -n "$ac_ct_RANLIB"; then
   8030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   8031 $as_echo "$ac_ct_RANLIB" >&6; }
   8032 else
   8033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8034 $as_echo "no" >&6; }
   8035 fi
   8036 
   8037   if test "x$ac_ct_RANLIB" = x; then
   8038     RANLIB=":"
   8039   else
   8040     case $cross_compiling:$ac_tool_warned in
   8041 yes:)
   8042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8044 ac_tool_warned=yes ;;
   8045 esac
   8046     RANLIB=$ac_ct_RANLIB
   8047   fi
   8048 else
   8049   RANLIB="$ac_cv_prog_RANLIB"
   8050 fi
   8051 
   8052 test -z "$RANLIB" && RANLIB=:
   8053 
   8054     
   8055     
   8056     
   8057 
   8058 
   8059 # Determine commands to create old-style static archives.
   8060 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   8061 old_postinstall_cmds='chmod 644 $oldlib'
   8062 old_postuninstall_cmds=
   8063 
   8064 if test -n "$RANLIB"; then
   8065   case $host_os in
   8066   bitrig* | openbsd*)
   8067     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   8068     ;;
   8069   *)
   8070     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   8071     ;;
   8072   esac
   8073   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   8074 fi
   8075 
   8076 case $host_os in
   8077   darwin*)
   8078     lock_old_archive_extraction=yes ;;
   8079   *)
   8080     lock_old_archive_extraction=no ;;
   8081 esac
   8082 
   8083     
   8084     
   8085     
   8086 
   8087 
   8088     
   8089     
   8090     
   8091 
   8092 
   8093     
   8094     
   8095     
   8096 
   8097 
   8098     
   8099     
   8100     
   8101 
   8102 
   8103 
   8104 
   8105     
   8106     
   8107     
   8108 
   8109     
   8110     
   8111     
   8112 
   8113     
   8114     
   8115     
   8116 
   8117     
   8118     
   8119     
   8120 
   8121 # If no C compiler was specified, use CC.
   8122 LTCC=${LTCC-"$CC"}
   8123 
   8124 # If no C compiler flags were specified, use CFLAGS.
   8125 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8126 
   8127 # Allow CC to be a program name with arguments.
   8128 compiler=$CC
   8129 
   8130 
   8131 # Check for command to grab the raw symbol name followed by C symbol from nm.
   8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   8133 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   8134 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   8135   $as_echo_n "(cached) " >&6
   8136 else
   8137   
   8138 # These are sane defaults that work on at least a few old systems.
   8139 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   8140 
   8141 # Character class describing NM global symbol codes.
   8142 symcode='[BCDEGRST]'
   8143 
   8144 # Regexp to match symbols that can be accessed directly from C.
   8145 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   8146 
   8147 # Define system-specific variables.
   8148 case $host_os in
   8149 aix*)
   8150   symcode='[BCDT]'
   8151   ;;
   8152 cygwin* | mingw* | pw32* | cegcc*)
   8153   symcode='[ABCDGISTW]'
   8154   ;;
   8155 hpux*)
   8156   if test ia64 = "$host_cpu"; then
   8157     symcode='[ABCDEGRST]'
   8158   fi
   8159   ;;
   8160 irix* | nonstopux*)
   8161   symcode='[BCDEGRST]'
   8162   ;;
   8163 osf*)
   8164   symcode='[BCDEGQRST]'
   8165   ;;
   8166 solaris*)
   8167   symcode='[BDRT]'
   8168   ;;
   8169 sco3.2v5*)
   8170   symcode='[DT]'
   8171   ;;
   8172 sysv4.2uw2*)
   8173   symcode='[DT]'
   8174   ;;
   8175 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   8176   symcode='[ABDT]'
   8177   ;;
   8178 sysv4)
   8179   symcode='[DFNSTU]'
   8180   ;;
   8181 esac
   8182 
   8183 # If we're using GNU nm, then use its standard symbol codes.
   8184 case `$NM -V 2>&1` in
   8185 *GNU* | *'with BFD'*)
   8186   symcode='[ABCDGIRSTW]' ;;
   8187 esac
   8188 
   8189 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8190   # Gets list of data symbols to import.
   8191   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   8192   # Adjust the below global symbol transforms to fixup imported variables.
   8193   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   8194   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   8195   lt_c_name_lib_hook="\
   8196   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   8197   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   8198 else
   8199   # Disable hooks by default.
   8200   lt_cv_sys_global_symbol_to_import=
   8201   lt_cdecl_hook=
   8202   lt_c_name_hook=
   8203   lt_c_name_lib_hook=
   8204 fi
   8205 
   8206 # Transform an extracted symbol line into a proper C declaration.
   8207 # Some systems (esp. on ia64) link data and code symbols differently,
   8208 # so use this general approach.
   8209 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   8210 $lt_cdecl_hook\
   8211 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   8212 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   8213 
   8214 # Transform an extracted symbol line into symbol name and symbol address
   8215 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   8216 $lt_c_name_hook\
   8217 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   8218 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   8219 
   8220 # Transform an extracted symbol line into symbol name with lib prefix and
   8221 # symbol address.
   8222 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   8223 $lt_c_name_lib_hook\
   8224 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   8225 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   8226 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   8227 
   8228 # Handle CRLF in mingw tool chain
   8229 opt_cr=
   8230 case $build_os in
   8231 mingw*)
   8232   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   8233   ;;
   8234 esac
   8235 
   8236 # Try without a prefix underscore, then with it.
   8237 for ac_symprfx in "" "_"; do
   8238 
   8239   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   8240   symxfrm="\\1 $ac_symprfx\\2 \\2"
   8241 
   8242   # Write the raw and C identifiers.
   8243   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8244     # Fake it for dumpbin and say T for any non-static function,
   8245     # D for any global variable and I for any imported variable.
   8246     # Also find C++ and __fastcall symbols from MSVC++,
   8247     # which start with @ or ?.
   8248     lt_cv_sys_global_symbol_pipe="$AWK '"\
   8249 "     {last_section=section; section=\$ 3};"\
   8250 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   8251 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   8252 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   8253 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   8254 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   8255 "     \$ 0!~/External *\|/{next};"\
   8256 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   8257 "     {if(hide[section]) next};"\
   8258 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   8259 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   8260 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   8261 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   8262 "     ' prfx=^$ac_symprfx"
   8263   else
   8264     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   8265   fi
   8266   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   8267 
   8268   # Check to see that the pipe works correctly.
   8269   pipe_works=no
   8270 
   8271   rm -f conftest*
   8272   cat > conftest.$ac_ext <<_LT_EOF
   8273 #ifdef __cplusplus
   8274 extern "C" {
   8275 #endif
   8276 char nm_test_var;
   8277 void nm_test_func(void);
   8278 void nm_test_func(void){}
   8279 #ifdef __cplusplus
   8280 }
   8281 #endif
   8282 int main(){nm_test_var='a';nm_test_func();return(0);}
   8283 _LT_EOF
   8284 
   8285   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8286   (eval $ac_compile) 2>&5
   8287   ac_status=$?
   8288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8289   test $ac_status = 0; }; then
   8290     # Now try to grab the symbols.
   8291     nlist=conftest.nm
   8292     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   8293   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   8294   ac_status=$?
   8295   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8296   test $ac_status = 0; } && test -s "$nlist"; then
   8297       # Try sorting and uniquifying the output.
   8298       if sort "$nlist" | uniq > "$nlist"T; then
   8299 	mv -f "$nlist"T "$nlist"
   8300       else
   8301 	rm -f "$nlist"T
   8302       fi
   8303 
   8304       # Make sure that we snagged all the symbols we need.
   8305       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   8306 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   8307 	  cat <<_LT_EOF > conftest.$ac_ext
   8308 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   8309 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   8310 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   8311    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   8312 # define LT@&t@_DLSYM_CONST
   8313 #elif defined __osf__
   8314 /* This system does not cope well with relocations in const data.  */
   8315 # define LT@&t@_DLSYM_CONST
   8316 #else
   8317 # define LT@&t@_DLSYM_CONST const
   8318 #endif
   8319 
   8320 #ifdef __cplusplus
   8321 extern "C" {
   8322 #endif
   8323 
   8324 _LT_EOF
   8325 	  # Now generate the symbol file.
   8326 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   8327 
   8328 	  cat <<_LT_EOF >> conftest.$ac_ext
   8329 
   8330 /* The mapping between symbol names and symbols.  */
   8331 LT@&t@_DLSYM_CONST struct {
   8332   const char *name;
   8333   void       *address;
   8334 }
   8335 lt__PROGRAM__LTX_preloaded_symbols[] =
   8336 {
   8337   { "@PROGRAM@", (void *) 0 },
   8338 _LT_EOF
   8339 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   8340 	  cat <<\_LT_EOF >> conftest.$ac_ext
   8341   {0, (void *) 0}
   8342 };
   8343 
   8344 /* This works around a problem in FreeBSD linker */
   8345 #ifdef FREEBSD_WORKAROUND
   8346 static const void *lt_preloaded_setup() {
   8347   return lt__PROGRAM__LTX_preloaded_symbols;
   8348 }
   8349 #endif
   8350 
   8351 #ifdef __cplusplus
   8352 }
   8353 #endif
   8354 _LT_EOF
   8355 	  # Now try linking the two files.
   8356 	  mv conftest.$ac_objext conftstm.$ac_objext
   8357 	  lt_globsym_save_LIBS=$LIBS
   8358 	  lt_globsym_save_CFLAGS=$CFLAGS
   8359 	  LIBS=conftstm.$ac_objext
   8360 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   8361 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   8362   (eval $ac_link) 2>&5
   8363   ac_status=$?
   8364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8365   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   8366 	    pipe_works=yes
   8367 	  fi
   8368 	  LIBS=$lt_globsym_save_LIBS
   8369 	  CFLAGS=$lt_globsym_save_CFLAGS
   8370 	else
   8371 	  echo "cannot find nm_test_func in $nlist" >&5
   8372 	fi
   8373       else
   8374 	echo "cannot find nm_test_var in $nlist" >&5
   8375       fi
   8376     else
   8377       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   8378     fi
   8379   else
   8380     echo "$progname: failed program was:" >&5
   8381     cat conftest.$ac_ext >&5
   8382   fi
   8383   rm -rf conftest* conftst*
   8384 
   8385   # Do not use the global_symbol_pipe unless it works.
   8386   if test yes = "$pipe_works"; then
   8387     break
   8388   else
   8389     lt_cv_sys_global_symbol_pipe=
   8390   fi
   8391 done
   8392 
   8393 fi
   8394 
   8395 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   8396   lt_cv_sys_global_symbol_to_cdecl=
   8397 fi
   8398 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   8399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   8400 $as_echo "failed" >&6; }
   8401 else
   8402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   8403 $as_echo "ok" >&6; }
   8404 fi
   8405 
   8406 # Response file support.
   8407 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8408   nm_file_list_spec='@'
   8409 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   8410   nm_file_list_spec='@'
   8411 fi
   8412 
   8413 
   8414     
   8415     
   8416     
   8417 
   8418 
   8419     
   8420     
   8421     
   8422 
   8423 
   8424     
   8425     
   8426     
   8427 
   8428 
   8429     
   8430     
   8431     
   8432 
   8433 
   8434     
   8435     
   8436     
   8437 
   8438 
   8439     
   8440     
   8441     
   8442 
   8443 
   8444     
   8445     
   8446     
   8447 
   8448 
   8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libtool-sysroot" >&5
   8450 $as_echo_n "checking for libtool-sysroot... " >&6; }
   8451 
   8452 @%:@ Check whether --with-libtool-sysroot was given.
   8453 if test "${with_libtool_sysroot+set}" = set; then :
   8454   withval=$with_libtool_sysroot; 
   8455 else
   8456   with_libtool_sysroot=no
   8457 fi
   8458 
   8459 
   8460 lt_sysroot=
   8461 case $with_libtool_sysroot in #(
   8462  yes)
   8463    if test yes = "$GCC"; then
   8464      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   8465    fi
   8466    ;; #(
   8467  /*)
   8468    lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
   8469    ;; #(
   8470  no|'')
   8471    ;; #(
   8472  *)
   8473    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_libtool_sysroot" >&5
   8474 $as_echo "$with_libtool_sysroot" >&6; }
   8475    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   8476    ;;
   8477 esac
   8478 
   8479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   8480 $as_echo "${lt_sysroot:-no}" >&6; }
   8481 
   8482     
   8483     
   8484     
   8485 
   8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   8487 $as_echo_n "checking for a working dd... " >&6; }
   8488 if ${ac_cv_path_lt_DD+:} false; then :
   8489   $as_echo_n "(cached) " >&6
   8490 else
   8491   printf 0123456789abcdef0123456789abcdef >conftest.i
   8492 cat conftest.i conftest.i >conftest2.i
   8493 : ${lt_DD:=$DD}
   8494 if test -z "$lt_DD"; then
   8495   ac_path_lt_DD_found=false
   8496   # Loop through the user's path and test for each of PROGNAME-LIST
   8497   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8498 for as_dir in $PATH
   8499 do
   8500   IFS=$as_save_IFS
   8501   test -z "$as_dir" && as_dir=.
   8502     for ac_prog in dd; do
   8503     for ac_exec_ext in '' $ac_executable_extensions; do
   8504       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   8505       as_fn_executable_p "$ac_path_lt_DD" || continue
   8506 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8507   cmp -s conftest.i conftest.out \
   8508   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   8509 fi
   8510       $ac_path_lt_DD_found && break 3
   8511     done
   8512   done
   8513   done
   8514 IFS=$as_save_IFS
   8515   if test -z "$ac_cv_path_lt_DD"; then
   8516     :
   8517   fi
   8518 else
   8519   ac_cv_path_lt_DD=$lt_DD
   8520 fi
   8521 
   8522 rm -f conftest.i conftest2.i conftest.out
   8523 fi
   8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   8525 $as_echo "$ac_cv_path_lt_DD" >&6; }
   8526 
   8527 
   8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   8529 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   8530 if ${lt_cv_truncate_bin+:} false; then :
   8531   $as_echo_n "(cached) " >&6
   8532 else
   8533   printf 0123456789abcdef0123456789abcdef >conftest.i
   8534 cat conftest.i conftest.i >conftest2.i
   8535 lt_cv_truncate_bin=
   8536 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8537   cmp -s conftest.i conftest.out \
   8538   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   8539 fi
   8540 rm -f conftest.i conftest2.i conftest.out
   8541 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   8542 fi
   8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   8544 $as_echo "$lt_cv_truncate_bin" >&6; }
   8545 
   8546     
   8547     
   8548     
   8549 
   8550 
   8551 
   8552 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   8553 func_cc_basename ()
   8554 {
   8555     for cc_temp in @S|@*""; do
   8556       case $cc_temp in
   8557         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8558         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8559         \-*) ;;
   8560         *) break;;
   8561       esac
   8562     done
   8563     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8564 }
   8565 
   8566 @%:@ Check whether --enable-libtool-lock was given.
   8567 if test "${enable_libtool_lock+set}" = set; then :
   8568   enableval=$enable_libtool_lock; 
   8569 fi
   8570 
   8571 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   8572 
   8573 # Some flags need to be propagated to the compiler or linker for good
   8574 # libtool support.
   8575 case $host in
   8576 ia64-*-hpux*)
   8577   # Find out what ABI is being produced by ac_compile, and set mode
   8578   # options accordingly.
   8579   echo 'int i;' > conftest.$ac_ext
   8580   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8581   (eval $ac_compile) 2>&5
   8582   ac_status=$?
   8583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8584   test $ac_status = 0; }; then
   8585     case `/usr/bin/file conftest.$ac_objext` in
   8586       *ELF-32*)
   8587 	HPUX_IA64_MODE=32
   8588 	;;
   8589       *ELF-64*)
   8590 	HPUX_IA64_MODE=64
   8591 	;;
   8592     esac
   8593   fi
   8594   rm -rf conftest*
   8595   ;;
   8596 *-*-irix6*)
   8597   # Find out what ABI is being produced by ac_compile, and set linker
   8598   # options accordingly.
   8599   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8600   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8601   (eval $ac_compile) 2>&5
   8602   ac_status=$?
   8603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8604   test $ac_status = 0; }; then
   8605     if test yes = "$lt_cv_prog_gnu_ld"; then
   8606       case `/usr/bin/file conftest.$ac_objext` in
   8607 	*32-bit*)
   8608 	  LD="${LD-ld} -melf32bsmip"
   8609 	  ;;
   8610 	*N32*)
   8611 	  LD="${LD-ld} -melf32bmipn32"
   8612 	  ;;
   8613 	*64-bit*)
   8614 	  LD="${LD-ld} -melf64bmip"
   8615 	;;
   8616       esac
   8617     else
   8618       case `/usr/bin/file conftest.$ac_objext` in
   8619 	*32-bit*)
   8620 	  LD="${LD-ld} -32"
   8621 	  ;;
   8622 	*N32*)
   8623 	  LD="${LD-ld} -n32"
   8624 	  ;;
   8625 	*64-bit*)
   8626 	  LD="${LD-ld} -64"
   8627 	  ;;
   8628       esac
   8629     fi
   8630   fi
   8631   rm -rf conftest*
   8632   ;;
   8633 
   8634 mips64*-*linux*)
   8635   # Find out what ABI is being produced by ac_compile, and set linker
   8636   # options accordingly.
   8637   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8638   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8639   (eval $ac_compile) 2>&5
   8640   ac_status=$?
   8641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8642   test $ac_status = 0; }; then
   8643     emul=elf
   8644     case `/usr/bin/file conftest.$ac_objext` in
   8645       *32-bit*)
   8646 	emul="${emul}32"
   8647 	;;
   8648       *64-bit*)
   8649 	emul="${emul}64"
   8650 	;;
   8651     esac
   8652     case `/usr/bin/file conftest.$ac_objext` in
   8653       *MSB*)
   8654 	emul="${emul}btsmip"
   8655 	;;
   8656       *LSB*)
   8657 	emul="${emul}ltsmip"
   8658 	;;
   8659     esac
   8660     case `/usr/bin/file conftest.$ac_objext` in
   8661       *N32*)
   8662 	emul="${emul}n32"
   8663 	;;
   8664     esac
   8665     LD="${LD-ld} -m $emul"
   8666   fi
   8667   rm -rf conftest*
   8668   ;;
   8669 
   8670 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8671 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8672   # Find out what ABI is being produced by ac_compile, and set linker
   8673   # options accordingly.  Note that the listed cases only cover the
   8674   # situations where additional linker options are needed (such as when
   8675   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8676   # vice versa); the common cases where no linker options are needed do
   8677   # not appear in the list.
   8678   echo 'int i;' > conftest.$ac_ext
   8679   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8680   (eval $ac_compile) 2>&5
   8681   ac_status=$?
   8682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8683   test $ac_status = 0; }; then
   8684     case `/usr/bin/file conftest.o` in
   8685       *32-bit*)
   8686 	case $host in
   8687 	  x86_64-*kfreebsd*-gnu)
   8688 	    LD="${LD-ld} -m elf_i386_fbsd"
   8689 	    ;;
   8690 	  x86_64-*linux*)
   8691 	    case `/usr/bin/file conftest.o` in
   8692 	      *x86-64*)
   8693 		LD="${LD-ld} -m elf32_x86_64"
   8694 		;;
   8695 	      *)
   8696 		LD="${LD-ld} -m elf_i386"
   8697 		;;
   8698 	    esac
   8699 	    ;;
   8700 	  powerpc64le-*linux*)
   8701 	    LD="${LD-ld} -m elf32lppclinux"
   8702 	    ;;
   8703 	  powerpc64-*linux*)
   8704 	    LD="${LD-ld} -m elf32ppclinux"
   8705 	    ;;
   8706 	  s390x-*linux*)
   8707 	    LD="${LD-ld} -m elf_s390"
   8708 	    ;;
   8709 	  sparc64-*linux*)
   8710 	    LD="${LD-ld} -m elf32_sparc"
   8711 	    ;;
   8712 	esac
   8713 	;;
   8714       *64-bit*)
   8715 	case $host in
   8716 	  x86_64-*kfreebsd*-gnu)
   8717 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8718 	    ;;
   8719 	  x86_64-*linux*)
   8720 	    LD="${LD-ld} -m elf_x86_64"
   8721 	    ;;
   8722 	  powerpcle-*linux*)
   8723 	    LD="${LD-ld} -m elf64lppc"
   8724 	    ;;
   8725 	  powerpc-*linux*)
   8726 	    LD="${LD-ld} -m elf64ppc"
   8727 	    ;;
   8728 	  s390*-*linux*|s390*-*tpf*)
   8729 	    LD="${LD-ld} -m elf64_s390"
   8730 	    ;;
   8731 	  sparc*-*linux*)
   8732 	    LD="${LD-ld} -m elf64_sparc"
   8733 	    ;;
   8734 	esac
   8735 	;;
   8736     esac
   8737   fi
   8738   rm -rf conftest*
   8739   ;;
   8740 
   8741 *-*-sco3.2v5*)
   8742   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8743   SAVE_CFLAGS=$CFLAGS
   8744   CFLAGS="$CFLAGS -belf"
   8745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8746 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   8747 if ${lt_cv_cc_needs_belf+:} false; then :
   8748   $as_echo_n "(cached) " >&6
   8749 else
   8750   ac_ext=c
   8751 ac_cpp='$CPP $CPPFLAGS'
   8752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8755 
   8756      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8757 /* end confdefs.h.  */
   8758 
   8759 int
   8760 main ()
   8761 {
   8762 
   8763   ;
   8764   return 0;
   8765 }
   8766 _ACEOF
   8767 if ac_fn_c_try_link "$LINENO"; then :
   8768   lt_cv_cc_needs_belf=yes
   8769 else
   8770   lt_cv_cc_needs_belf=no
   8771 fi
   8772 rm -f core conftest.err conftest.$ac_objext \
   8773     conftest$ac_exeext conftest.$ac_ext
   8774      ac_ext=c
   8775 ac_cpp='$CPP $CPPFLAGS'
   8776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8779 
   8780 fi
   8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8782 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   8783   if test yes != "$lt_cv_cc_needs_belf"; then
   8784     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8785     CFLAGS=$SAVE_CFLAGS
   8786   fi
   8787   ;;
   8788 *-*solaris*)
   8789   # Find out what ABI is being produced by ac_compile, and set linker
   8790   # options accordingly.
   8791   echo 'int i;' > conftest.$ac_ext
   8792   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8793   (eval $ac_compile) 2>&5
   8794   ac_status=$?
   8795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8796   test $ac_status = 0; }; then
   8797     case `/usr/bin/file conftest.o` in
   8798     *64-bit*)
   8799       case $lt_cv_prog_gnu_ld in
   8800       yes*)
   8801         case $host in
   8802         i?86-*-solaris*|x86_64-*-solaris*)
   8803           LD="${LD-ld} -m elf_x86_64"
   8804           ;;
   8805         sparc*-*-solaris*)
   8806           LD="${LD-ld} -m elf64_sparc"
   8807           ;;
   8808         esac
   8809         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8810         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8811           LD=${LD-ld}_sol2
   8812         fi
   8813         ;;
   8814       *)
   8815 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8816 	  LD="${LD-ld} -64"
   8817 	fi
   8818 	;;
   8819       esac
   8820       ;;
   8821     esac
   8822   fi
   8823   rm -rf conftest*
   8824   ;;
   8825 esac
   8826 
   8827 need_locks=$enable_libtool_lock
   8828 
   8829 if test -n "$ac_tool_prefix"; then
   8830   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8831 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8833 $as_echo_n "checking for $ac_word... " >&6; }
   8834 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   8835   $as_echo_n "(cached) " >&6
   8836 else
   8837   if test -n "$MANIFEST_TOOL"; then
   8838   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8839 else
   8840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8841 for as_dir in $PATH
   8842 do
   8843   IFS=$as_save_IFS
   8844   test -z "$as_dir" && as_dir=.
   8845     for ac_exec_ext in '' $ac_executable_extensions; do
   8846   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8847     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8849     break 2
   8850   fi
   8851 done
   8852   done
   8853 IFS=$as_save_IFS
   8854 
   8855 fi
   8856 fi
   8857 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8858 if test -n "$MANIFEST_TOOL"; then
   8859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8860 $as_echo "$MANIFEST_TOOL" >&6; }
   8861 else
   8862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8863 $as_echo "no" >&6; }
   8864 fi
   8865 
   8866 
   8867 fi
   8868 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8869   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8870   # Extract the first word of "mt", so it can be a program name with args.
   8871 set dummy mt; ac_word=$2
   8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8873 $as_echo_n "checking for $ac_word... " >&6; }
   8874 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   8875   $as_echo_n "(cached) " >&6
   8876 else
   8877   if test -n "$ac_ct_MANIFEST_TOOL"; then
   8878   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8879 else
   8880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8881 for as_dir in $PATH
   8882 do
   8883   IFS=$as_save_IFS
   8884   test -z "$as_dir" && as_dir=.
   8885     for ac_exec_ext in '' $ac_executable_extensions; do
   8886   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8887     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8888     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8889     break 2
   8890   fi
   8891 done
   8892   done
   8893 IFS=$as_save_IFS
   8894 
   8895 fi
   8896 fi
   8897 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8898 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8900 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   8901 else
   8902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8903 $as_echo "no" >&6; }
   8904 fi
   8905 
   8906   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8907     MANIFEST_TOOL=":"
   8908   else
   8909     case $cross_compiling:$ac_tool_warned in
   8910 yes:)
   8911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8913 ac_tool_warned=yes ;;
   8914 esac
   8915     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8916   fi
   8917 else
   8918   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8919 fi
   8920 
   8921 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8923 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8924 if ${lt_cv_path_mainfest_tool+:} false; then :
   8925   $as_echo_n "(cached) " >&6
   8926 else
   8927   lt_cv_path_mainfest_tool=no
   8928   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8929   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8930   cat conftest.err >&5
   8931   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8932     lt_cv_path_mainfest_tool=yes
   8933   fi
   8934   rm -f conftest*
   8935 fi
   8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   8937 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   8938 if test yes != "$lt_cv_path_mainfest_tool"; then
   8939   MANIFEST_TOOL=:
   8940 fi
   8941 
   8942     
   8943     
   8944     
   8945 
   8946 
   8947   case $host_os in
   8948     rhapsody* | darwin*)
   8949     if test -n "$ac_tool_prefix"; then
   8950   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8951 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8953 $as_echo_n "checking for $ac_word... " >&6; }
   8954 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   8955   $as_echo_n "(cached) " >&6
   8956 else
   8957   if test -n "$DSYMUTIL"; then
   8958   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8959 else
   8960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8961 for as_dir in $PATH
   8962 do
   8963   IFS=$as_save_IFS
   8964   test -z "$as_dir" && as_dir=.
   8965     for ac_exec_ext in '' $ac_executable_extensions; do
   8966   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8967     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8969     break 2
   8970   fi
   8971 done
   8972   done
   8973 IFS=$as_save_IFS
   8974 
   8975 fi
   8976 fi
   8977 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8978 if test -n "$DSYMUTIL"; then
   8979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8980 $as_echo "$DSYMUTIL" >&6; }
   8981 else
   8982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8983 $as_echo "no" >&6; }
   8984 fi
   8985 
   8986 
   8987 fi
   8988 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8989   ac_ct_DSYMUTIL=$DSYMUTIL
   8990   # Extract the first word of "dsymutil", so it can be a program name with args.
   8991 set dummy dsymutil; ac_word=$2
   8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8993 $as_echo_n "checking for $ac_word... " >&6; }
   8994 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   8995   $as_echo_n "(cached) " >&6
   8996 else
   8997   if test -n "$ac_ct_DSYMUTIL"; then
   8998   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8999 else
   9000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9001 for as_dir in $PATH
   9002 do
   9003   IFS=$as_save_IFS
   9004   test -z "$as_dir" && as_dir=.
   9005     for ac_exec_ext in '' $ac_executable_extensions; do
   9006   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9007     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   9008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9009     break 2
   9010   fi
   9011 done
   9012   done
   9013 IFS=$as_save_IFS
   9014 
   9015 fi
   9016 fi
   9017 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   9018 if test -n "$ac_ct_DSYMUTIL"; then
   9019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   9020 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   9021 else
   9022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9023 $as_echo "no" >&6; }
   9024 fi
   9025 
   9026   if test "x$ac_ct_DSYMUTIL" = x; then
   9027     DSYMUTIL=":"
   9028   else
   9029     case $cross_compiling:$ac_tool_warned in
   9030 yes:)
   9031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9033 ac_tool_warned=yes ;;
   9034 esac
   9035     DSYMUTIL=$ac_ct_DSYMUTIL
   9036   fi
   9037 else
   9038   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   9039 fi
   9040 
   9041     if test -n "$ac_tool_prefix"; then
   9042   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   9043 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9045 $as_echo_n "checking for $ac_word... " >&6; }
   9046 if ${ac_cv_prog_NMEDIT+:} false; then :
   9047   $as_echo_n "(cached) " >&6
   9048 else
   9049   if test -n "$NMEDIT"; then
   9050   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   9051 else
   9052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9053 for as_dir in $PATH
   9054 do
   9055   IFS=$as_save_IFS
   9056   test -z "$as_dir" && as_dir=.
   9057     for ac_exec_ext in '' $ac_executable_extensions; do
   9058   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9059     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   9060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9061     break 2
   9062   fi
   9063 done
   9064   done
   9065 IFS=$as_save_IFS
   9066 
   9067 fi
   9068 fi
   9069 NMEDIT=$ac_cv_prog_NMEDIT
   9070 if test -n "$NMEDIT"; then
   9071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   9072 $as_echo "$NMEDIT" >&6; }
   9073 else
   9074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9075 $as_echo "no" >&6; }
   9076 fi
   9077 
   9078 
   9079 fi
   9080 if test -z "$ac_cv_prog_NMEDIT"; then
   9081   ac_ct_NMEDIT=$NMEDIT
   9082   # Extract the first word of "nmedit", so it can be a program name with args.
   9083 set dummy nmedit; ac_word=$2
   9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9085 $as_echo_n "checking for $ac_word... " >&6; }
   9086 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   9087   $as_echo_n "(cached) " >&6
   9088 else
   9089   if test -n "$ac_ct_NMEDIT"; then
   9090   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   9091 else
   9092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9093 for as_dir in $PATH
   9094 do
   9095   IFS=$as_save_IFS
   9096   test -z "$as_dir" && as_dir=.
   9097     for ac_exec_ext in '' $ac_executable_extensions; do
   9098   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9099     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   9100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9101     break 2
   9102   fi
   9103 done
   9104   done
   9105 IFS=$as_save_IFS
   9106 
   9107 fi
   9108 fi
   9109 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   9110 if test -n "$ac_ct_NMEDIT"; then
   9111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   9112 $as_echo "$ac_ct_NMEDIT" >&6; }
   9113 else
   9114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9115 $as_echo "no" >&6; }
   9116 fi
   9117 
   9118   if test "x$ac_ct_NMEDIT" = x; then
   9119     NMEDIT=":"
   9120   else
   9121     case $cross_compiling:$ac_tool_warned in
   9122 yes:)
   9123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9125 ac_tool_warned=yes ;;
   9126 esac
   9127     NMEDIT=$ac_ct_NMEDIT
   9128   fi
   9129 else
   9130   NMEDIT="$ac_cv_prog_NMEDIT"
   9131 fi
   9132 
   9133     if test -n "$ac_tool_prefix"; then
   9134   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   9135 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9137 $as_echo_n "checking for $ac_word... " >&6; }
   9138 if ${ac_cv_prog_LIPO+:} false; then :
   9139   $as_echo_n "(cached) " >&6
   9140 else
   9141   if test -n "$LIPO"; then
   9142   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   9143 else
   9144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9145 for as_dir in $PATH
   9146 do
   9147   IFS=$as_save_IFS
   9148   test -z "$as_dir" && as_dir=.
   9149     for ac_exec_ext in '' $ac_executable_extensions; do
   9150   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9151     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   9152     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9153     break 2
   9154   fi
   9155 done
   9156   done
   9157 IFS=$as_save_IFS
   9158 
   9159 fi
   9160 fi
   9161 LIPO=$ac_cv_prog_LIPO
   9162 if test -n "$LIPO"; then
   9163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   9164 $as_echo "$LIPO" >&6; }
   9165 else
   9166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9167 $as_echo "no" >&6; }
   9168 fi
   9169 
   9170 
   9171 fi
   9172 if test -z "$ac_cv_prog_LIPO"; then
   9173   ac_ct_LIPO=$LIPO
   9174   # Extract the first word of "lipo", so it can be a program name with args.
   9175 set dummy lipo; ac_word=$2
   9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9177 $as_echo_n "checking for $ac_word... " >&6; }
   9178 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   9179   $as_echo_n "(cached) " >&6
   9180 else
   9181   if test -n "$ac_ct_LIPO"; then
   9182   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   9183 else
   9184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9185 for as_dir in $PATH
   9186 do
   9187   IFS=$as_save_IFS
   9188   test -z "$as_dir" && as_dir=.
   9189     for ac_exec_ext in '' $ac_executable_extensions; do
   9190   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9191     ac_cv_prog_ac_ct_LIPO="lipo"
   9192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9193     break 2
   9194   fi
   9195 done
   9196   done
   9197 IFS=$as_save_IFS
   9198 
   9199 fi
   9200 fi
   9201 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   9202 if test -n "$ac_ct_LIPO"; then
   9203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   9204 $as_echo "$ac_ct_LIPO" >&6; }
   9205 else
   9206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9207 $as_echo "no" >&6; }
   9208 fi
   9209 
   9210   if test "x$ac_ct_LIPO" = x; then
   9211     LIPO=":"
   9212   else
   9213     case $cross_compiling:$ac_tool_warned in
   9214 yes:)
   9215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9217 ac_tool_warned=yes ;;
   9218 esac
   9219     LIPO=$ac_ct_LIPO
   9220   fi
   9221 else
   9222   LIPO="$ac_cv_prog_LIPO"
   9223 fi
   9224 
   9225     if test -n "$ac_tool_prefix"; then
   9226   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   9227 set dummy ${ac_tool_prefix}otool; ac_word=$2
   9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9229 $as_echo_n "checking for $ac_word... " >&6; }
   9230 if ${ac_cv_prog_OTOOL+:} false; then :
   9231   $as_echo_n "(cached) " >&6
   9232 else
   9233   if test -n "$OTOOL"; then
   9234   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   9235 else
   9236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9237 for as_dir in $PATH
   9238 do
   9239   IFS=$as_save_IFS
   9240   test -z "$as_dir" && as_dir=.
   9241     for ac_exec_ext in '' $ac_executable_extensions; do
   9242   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9243     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   9244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9245     break 2
   9246   fi
   9247 done
   9248   done
   9249 IFS=$as_save_IFS
   9250 
   9251 fi
   9252 fi
   9253 OTOOL=$ac_cv_prog_OTOOL
   9254 if test -n "$OTOOL"; then
   9255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   9256 $as_echo "$OTOOL" >&6; }
   9257 else
   9258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9259 $as_echo "no" >&6; }
   9260 fi
   9261 
   9262 
   9263 fi
   9264 if test -z "$ac_cv_prog_OTOOL"; then
   9265   ac_ct_OTOOL=$OTOOL
   9266   # Extract the first word of "otool", so it can be a program name with args.
   9267 set dummy otool; ac_word=$2
   9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9269 $as_echo_n "checking for $ac_word... " >&6; }
   9270 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   9271   $as_echo_n "(cached) " >&6
   9272 else
   9273   if test -n "$ac_ct_OTOOL"; then
   9274   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   9275 else
   9276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9277 for as_dir in $PATH
   9278 do
   9279   IFS=$as_save_IFS
   9280   test -z "$as_dir" && as_dir=.
   9281     for ac_exec_ext in '' $ac_executable_extensions; do
   9282   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9283     ac_cv_prog_ac_ct_OTOOL="otool"
   9284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9285     break 2
   9286   fi
   9287 done
   9288   done
   9289 IFS=$as_save_IFS
   9290 
   9291 fi
   9292 fi
   9293 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   9294 if test -n "$ac_ct_OTOOL"; then
   9295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   9296 $as_echo "$ac_ct_OTOOL" >&6; }
   9297 else
   9298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9299 $as_echo "no" >&6; }
   9300 fi
   9301 
   9302   if test "x$ac_ct_OTOOL" = x; then
   9303     OTOOL=":"
   9304   else
   9305     case $cross_compiling:$ac_tool_warned in
   9306 yes:)
   9307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9309 ac_tool_warned=yes ;;
   9310 esac
   9311     OTOOL=$ac_ct_OTOOL
   9312   fi
   9313 else
   9314   OTOOL="$ac_cv_prog_OTOOL"
   9315 fi
   9316 
   9317     if test -n "$ac_tool_prefix"; then
   9318   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   9319 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9321 $as_echo_n "checking for $ac_word... " >&6; }
   9322 if ${ac_cv_prog_OTOOL64+:} false; then :
   9323   $as_echo_n "(cached) " >&6
   9324 else
   9325   if test -n "$OTOOL64"; then
   9326   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   9327 else
   9328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9329 for as_dir in $PATH
   9330 do
   9331   IFS=$as_save_IFS
   9332   test -z "$as_dir" && as_dir=.
   9333     for ac_exec_ext in '' $ac_executable_extensions; do
   9334   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9335     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   9336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9337     break 2
   9338   fi
   9339 done
   9340   done
   9341 IFS=$as_save_IFS
   9342 
   9343 fi
   9344 fi
   9345 OTOOL64=$ac_cv_prog_OTOOL64
   9346 if test -n "$OTOOL64"; then
   9347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   9348 $as_echo "$OTOOL64" >&6; }
   9349 else
   9350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9351 $as_echo "no" >&6; }
   9352 fi
   9353 
   9354 
   9355 fi
   9356 if test -z "$ac_cv_prog_OTOOL64"; then
   9357   ac_ct_OTOOL64=$OTOOL64
   9358   # Extract the first word of "otool64", so it can be a program name with args.
   9359 set dummy otool64; ac_word=$2
   9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9361 $as_echo_n "checking for $ac_word... " >&6; }
   9362 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   9363   $as_echo_n "(cached) " >&6
   9364 else
   9365   if test -n "$ac_ct_OTOOL64"; then
   9366   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   9367 else
   9368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9369 for as_dir in $PATH
   9370 do
   9371   IFS=$as_save_IFS
   9372   test -z "$as_dir" && as_dir=.
   9373     for ac_exec_ext in '' $ac_executable_extensions; do
   9374   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9375     ac_cv_prog_ac_ct_OTOOL64="otool64"
   9376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9377     break 2
   9378   fi
   9379 done
   9380   done
   9381 IFS=$as_save_IFS
   9382 
   9383 fi
   9384 fi
   9385 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   9386 if test -n "$ac_ct_OTOOL64"; then
   9387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   9388 $as_echo "$ac_ct_OTOOL64" >&6; }
   9389 else
   9390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9391 $as_echo "no" >&6; }
   9392 fi
   9393 
   9394   if test "x$ac_ct_OTOOL64" = x; then
   9395     OTOOL64=":"
   9396   else
   9397     case $cross_compiling:$ac_tool_warned in
   9398 yes:)
   9399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9401 ac_tool_warned=yes ;;
   9402 esac
   9403     OTOOL64=$ac_ct_OTOOL64
   9404   fi
   9405 else
   9406   OTOOL64="$ac_cv_prog_OTOOL64"
   9407 fi
   9408 
   9409     
   9410     
   9411     
   9412     
   9413 
   9414     
   9415     
   9416     
   9417     
   9418 
   9419     
   9420     
   9421     
   9422     
   9423 
   9424     
   9425     
   9426     
   9427     
   9428 
   9429     
   9430     
   9431     
   9432     
   9433 
   9434 
   9435     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   9436 $as_echo_n "checking for -single_module linker flag... " >&6; }
   9437 if ${lt_cv_apple_cc_single_mod+:} false; then :
   9438   $as_echo_n "(cached) " >&6
   9439 else
   9440   lt_cv_apple_cc_single_mod=no
   9441       if test -z "$LT_MULTI_MODULE"; then
   9442 	# By default we will add the -single_module flag. You can override
   9443 	# by either setting the environment variable LT_MULTI_MODULE
   9444 	# non-empty at configure time, or by adding -multi_module to the
   9445 	# link flags.
   9446 	rm -rf libconftest.dylib*
   9447 	echo "int foo(void){return 1;}" > conftest.c
   9448 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9449 -dynamiclib -Wl,-single_module conftest.c" >&5
   9450 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9451 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   9452         _lt_result=$?
   9453 	# If there is a non-empty error log, and "single_module"
   9454 	# appears in it, assume the flag caused a linker warning
   9455         if test -s conftest.err && $GREP single_module conftest.err; then
   9456 	  cat conftest.err >&5
   9457 	# Otherwise, if the output was created with a 0 exit code from
   9458 	# the compiler, it worked.
   9459 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   9460 	  lt_cv_apple_cc_single_mod=yes
   9461 	else
   9462 	  cat conftest.err >&5
   9463 	fi
   9464 	rm -rf libconftest.dylib*
   9465 	rm -f conftest.*
   9466       fi
   9467 fi
   9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   9469 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   9470 
   9471     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9472 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   9473 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   9474   $as_echo_n "(cached) " >&6
   9475 else
   9476   lt_cv_ld_exported_symbols_list=no
   9477       save_LDFLAGS=$LDFLAGS
   9478       echo "_main" > conftest.sym
   9479       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9480       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9481 /* end confdefs.h.  */
   9482 
   9483 int
   9484 main ()
   9485 {
   9486 
   9487   ;
   9488   return 0;
   9489 }
   9490 _ACEOF
   9491 if ac_fn_c_try_link "$LINENO"; then :
   9492   lt_cv_ld_exported_symbols_list=yes
   9493 else
   9494   lt_cv_ld_exported_symbols_list=no
   9495 fi
   9496 rm -f core conftest.err conftest.$ac_objext \
   9497     conftest$ac_exeext conftest.$ac_ext
   9498 	LDFLAGS=$save_LDFLAGS
   9499     
   9500 fi
   9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9502 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   9503 
   9504     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9505 $as_echo_n "checking for -force_load linker flag... " >&6; }
   9506 if ${lt_cv_ld_force_load+:} false; then :
   9507   $as_echo_n "(cached) " >&6
   9508 else
   9509   lt_cv_ld_force_load=no
   9510       cat > conftest.c << _LT_EOF
   9511 int forced_loaded() { return 2;}
   9512 _LT_EOF
   9513       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9514       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9515       echo "$AR cru libconftest.a conftest.o" >&5
   9516       $AR cru libconftest.a conftest.o 2>&5
   9517       echo "$RANLIB libconftest.a" >&5
   9518       $RANLIB libconftest.a 2>&5
   9519       cat > conftest.c << _LT_EOF
   9520 int main() { return 0;}
   9521 _LT_EOF
   9522       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9523       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9524       _lt_result=$?
   9525       if test -s conftest.err && $GREP force_load conftest.err; then
   9526 	cat conftest.err >&5
   9527       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9528 	lt_cv_ld_force_load=yes
   9529       else
   9530 	cat conftest.err >&5
   9531       fi
   9532         rm -f conftest.err libconftest.a conftest conftest.c
   9533         rm -rf conftest.dSYM
   9534     
   9535 fi
   9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9537 $as_echo "$lt_cv_ld_force_load" >&6; }
   9538     case $host_os in
   9539     rhapsody* | darwin1.[012])
   9540       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9541     darwin1.*)
   9542       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9543     darwin*) # darwin 5.x on
   9544       # if running on 10.5 or later, the deployment target defaults
   9545       # to the OS version, if on x86, and 10.4, the deployment
   9546       # target defaults to 10.4. Don't you love it?
   9547       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9548 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   9549 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   9550 	10.[012][,.]*)
   9551 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9552 	10.*)
   9553 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   9554       esac
   9555     ;;
   9556   esac
   9557     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9558       _lt_dar_single_mod='$single_module'
   9559     fi
   9560     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9561       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9562     else
   9563       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9564     fi
   9565     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9566       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9567     else
   9568       _lt_dsymutil=
   9569     fi
   9570     ;;
   9571   esac
   9572 
   9573 # func_munge_path_list VARIABLE PATH
   9574 # -----------------------------------
   9575 # VARIABLE is name of variable containing _space_ separated list of
   9576 # directories to be munged by the contents of PATH, which is string
   9577 # having a format:
   9578 # "DIR[:DIR]:"
   9579 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9580 # ":DIR[:DIR]"
   9581 #       string "DIR[ DIR]" will be appended to VARIABLE
   9582 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9583 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9584 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9585 # "DIR[:DIR]"
   9586 #       VARIABLE will be replaced by "DIR[ DIR]"
   9587 func_munge_path_list ()
   9588 {
   9589     case x@S|@2 in
   9590     x)
   9591         ;;
   9592     *:)
   9593         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
   9594         ;;
   9595     x:*)
   9596         eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
   9597         ;;
   9598     *::*)
   9599         eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9600         eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
   9601         ;;
   9602     *)
   9603         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
   9604         ;;
   9605     esac
   9606 }
   9607 
   9608 for ac_header in dlfcn.h
   9609 do :
   9610   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9611 "
   9612 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   9613   cat >>confdefs.h <<_ACEOF
   9614 @%:@define HAVE_DLFCN_H 1
   9615 _ACEOF
   9616  
   9617 fi
   9618 
   9619 done
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 # Set options
   9626 
   9627 
   9628 
   9629         
   9630   enable_win32_dll=no
   9631   
   9632 
   9633             @%:@ Check whether --enable-shared was given.
   9634 if test "${enable_shared+set}" = set; then :
   9635   enableval=$enable_shared; p=${DEFAGE-default}
   9636     case $enableval in
   9637     yes) enable_shared=yes ;;
   9638     no) enable_shared=no ;;
   9639     *)
   9640       enable_shared=no
   9641       # Look at the argument we got.  We use all the common list separators.
   9642       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9643       for pkg in $enableval; do
   9644 	IFS=$lt_save_ifs
   9645 	if test "X$pkg" = "X$p"; then
   9646 	  enable_shared=yes
   9647 	fi
   9648       done
   9649       IFS=$lt_save_ifs
   9650       ;;
   9651     esac
   9652 else
   9653   enable_shared=yes
   9654 fi
   9655 
   9656 
   9657     
   9658     
   9659     
   9660     
   9661 
   9662 
   9663 
   9664   @%:@ Check whether --enable-static was given.
   9665 if test "${enable_static+set}" = set; then :
   9666   enableval=$enable_static; p=${DEFAGE-default}
   9667     case $enableval in
   9668     yes) enable_static=yes ;;
   9669     no) enable_static=no ;;
   9670     *)
   9671      enable_static=no
   9672       # Look at the argument we got.  We use all the common list separators.
   9673       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9674       for pkg in $enableval; do
   9675 	IFS=$lt_save_ifs
   9676 	if test "X$pkg" = "X$p"; then
   9677 	  enable_static=yes
   9678 	fi
   9679       done
   9680       IFS=$lt_save_ifs
   9681       ;;
   9682     esac
   9683 else
   9684   enable_static=yes
   9685 fi
   9686 
   9687 
   9688     
   9689     
   9690     
   9691     
   9692 
   9693 
   9694 
   9695   
   9696 @%:@ Check whether --with-pic was given.
   9697 if test "${with_pic+set}" = set; then :
   9698   withval=$with_pic; lt_p=${DEFAGE-default}
   9699     case $withval in
   9700     yes|no) pic_mode=$withval ;;
   9701     *)
   9702       pic_mode=default
   9703       # Look at the argument we got.  We use all the common list separators.
   9704       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9705       for lt_pkg in $withval; do
   9706 	IFS=$lt_save_ifs
   9707 	if test "X$lt_pkg" = "X$lt_p"; then
   9708 	  pic_mode=yes
   9709 	fi
   9710       done
   9711       IFS=$lt_save_ifs
   9712       ;;
   9713     esac
   9714 else
   9715   pic_mode=default
   9716 fi
   9717 
   9718 
   9719 
   9720     
   9721     
   9722     
   9723 
   9724 
   9725   @%:@ Check whether --enable-fast-install was given.
   9726 if test "${enable_fast_install+set}" = set; then :
   9727   enableval=$enable_fast_install; p=${DEFAGE-default}
   9728     case $enableval in
   9729     yes) enable_fast_install=yes ;;
   9730     no) enable_fast_install=no ;;
   9731     *)
   9732       enable_fast_install=no
   9733       # Look at the argument we got.  We use all the common list separators.
   9734       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9735       for pkg in $enableval; do
   9736 	IFS=$lt_save_ifs
   9737 	if test "X$pkg" = "X$p"; then
   9738 	  enable_fast_install=yes
   9739 	fi
   9740       done
   9741       IFS=$lt_save_ifs
   9742       ;;
   9743     esac
   9744 else
   9745   enable_fast_install=yes
   9746 fi
   9747 
   9748 
   9749 
   9750     
   9751     
   9752     
   9753 
   9754 
   9755   shared_archive_member_spec=
   9756 case $host,$enable_shared in
   9757 power*-*-aix[5-9]*,yes)
   9758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9759 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   9760   
   9761 @%:@ Check whether --with-aix-soname was given.
   9762 if test "${with_aix_soname+set}" = set; then :
   9763   withval=$with_aix_soname; case $withval in
   9764     aix|svr4|both)
   9765       ;;
   9766     *)
   9767       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9768       ;;
   9769     esac
   9770     lt_cv_with_aix_soname=$with_aix_soname
   9771 else
   9772   if ${lt_cv_with_aix_soname+:} false; then :
   9773   $as_echo_n "(cached) " >&6
   9774 else
   9775   lt_cv_with_aix_soname=aix
   9776 fi
   9777 
   9778     with_aix_soname=$lt_cv_with_aix_soname
   9779 fi
   9780 
   9781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9782 $as_echo "$with_aix_soname" >&6; }
   9783   if test aix != "$with_aix_soname"; then
   9784     # For the AIX way of multilib, we name the shared archive member
   9785     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9786     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9787     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9788     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9789     if test 64 = "${OBJECT_MODE-32}"; then
   9790       shared_archive_member_spec=shr_64
   9791     else
   9792       shared_archive_member_spec=shr
   9793     fi
   9794   fi
   9795   ;;
   9796 *)
   9797   with_aix_soname=aix
   9798   ;;
   9799 esac
   9800 
   9801 
   9802     
   9803     
   9804     
   9805 
   9806 
   9807   
   9808 
   9809 
   9810 # This can be used to rebuild libtool when needed
   9811 LIBTOOL_DEPS=$ltmain
   9812 
   9813 # Always use our own libtool.
   9814 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9815 
   9816 
   9817 
   9818     
   9819     
   9820     
   9821 
   9822     
   9823     
   9824     
   9825 
   9826     
   9827     
   9828     
   9829 
   9830     
   9831     
   9832     
   9833 
   9834     
   9835     
   9836     
   9837 
   9838     
   9839     
   9840     
   9841 
   9842     
   9843     
   9844     
   9845 test -z "$LN_S" && LN_S="ln -s"
   9846 
   9847     
   9848     
   9849     
   9850 
   9851     
   9852     
   9853     
   9854 
   9855     
   9856     
   9857     
   9858 
   9859 
   9860 if test -n "${ZSH_VERSION+set}"; then
   9861    setopt NO_GLOB_SUBST
   9862 fi
   9863 
   9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9865 $as_echo_n "checking for objdir... " >&6; }
   9866 if ${lt_cv_objdir+:} false; then :
   9867   $as_echo_n "(cached) " >&6
   9868 else
   9869   rm -f .libs 2>/dev/null
   9870 mkdir .libs 2>/dev/null
   9871 if test -d .libs; then
   9872   lt_cv_objdir=.libs
   9873 else
   9874   # MS-DOS does not allow filenames that begin with a dot.
   9875   lt_cv_objdir=_libs
   9876 fi
   9877 rmdir .libs 2>/dev/null
   9878 fi
   9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9880 $as_echo "$lt_cv_objdir" >&6; }
   9881 objdir=$lt_cv_objdir
   9882 
   9883     
   9884     
   9885     
   9886 
   9887 cat >>confdefs.h <<_ACEOF
   9888 @%:@define LT_OBJDIR "$lt_cv_objdir/"
   9889 _ACEOF
   9890 
   9891 
   9892 
   9893 
   9894 case $host_os in
   9895 aix3*)
   9896   # AIX sometimes has problems with the GCC collect2 program.  For some
   9897   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9898   # vanish in a puff of smoke.
   9899   if test set != "${COLLECT_NAMES+set}"; then
   9900     COLLECT_NAMES=
   9901     export COLLECT_NAMES
   9902   fi
   9903   ;;
   9904 esac
   9905 
   9906 # Global variables:
   9907 ofile=libtool
   9908 can_build_shared=yes
   9909 
   9910 # All known linkers require a '.a' archive for static linking (except MSVC,
   9911 # which needs '.lib').
   9912 libext=a
   9913 
   9914 with_gnu_ld=$lt_cv_prog_gnu_ld
   9915 
   9916 old_CC=$CC
   9917 old_CFLAGS=$CFLAGS
   9918 
   9919 # Set sane defaults for various variables
   9920 test -z "$CC" && CC=cc
   9921 test -z "$LTCC" && LTCC=$CC
   9922 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9923 test -z "$LD" && LD=ld
   9924 test -z "$ac_objext" && ac_objext=o
   9925 
   9926 func_cc_basename $compiler
   9927 cc_basename=$func_cc_basename_result
   9928 
   9929 
   9930 # Only perform the check for file, if the check method requires it
   9931 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9932 case $deplibs_check_method in
   9933 file_magic*)
   9934   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9935     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9936 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   9937 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9938   $as_echo_n "(cached) " >&6
   9939 else
   9940   case $MAGIC_CMD in
   9941 [\\/*] |  ?:[\\/]*)
   9942   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9943   ;;
   9944 *)
   9945   lt_save_MAGIC_CMD=$MAGIC_CMD
   9946   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9947   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9948   for ac_dir in $ac_dummy; do
   9949     IFS=$lt_save_ifs
   9950     test -z "$ac_dir" && ac_dir=.
   9951     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9952       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9953       if test -n "$file_magic_test_file"; then
   9954 	case $deplibs_check_method in
   9955 	"file_magic "*)
   9956 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9957 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9958 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9959 	    $EGREP "$file_magic_regex" > /dev/null; then
   9960 	    :
   9961 	  else
   9962 	    cat <<_LT_EOF 1>&2
   9963 
   9964 *** Warning: the command libtool uses to detect shared libraries,
   9965 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9966 *** The result is that libtool may fail to recognize shared libraries
   9967 *** as such.  This will affect the creation of libtool libraries that
   9968 *** depend on shared libraries, but programs linked with such libtool
   9969 *** libraries will work regardless of this problem.  Nevertheless, you
   9970 *** may want to report the problem to your system manager and/or to
   9971 *** bug-libtool@gnu.org
   9972 
   9973 _LT_EOF
   9974 	  fi ;;
   9975 	esac
   9976       fi
   9977       break
   9978     fi
   9979   done
   9980   IFS=$lt_save_ifs
   9981   MAGIC_CMD=$lt_save_MAGIC_CMD
   9982   ;;
   9983 esac
   9984 fi
   9985 
   9986 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9987 if test -n "$MAGIC_CMD"; then
   9988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9989 $as_echo "$MAGIC_CMD" >&6; }
   9990 else
   9991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9992 $as_echo "no" >&6; }
   9993 fi
   9994 
   9995     
   9996     
   9997     
   9998 
   9999 if test -z "$lt_cv_path_MAGIC_CMD"; then
  10000   if test -n "$ac_tool_prefix"; then
  10001     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  10002 $as_echo_n "checking for file... " >&6; }
  10003 if ${lt_cv_path_MAGIC_CMD+:} false; then :
  10004   $as_echo_n "(cached) " >&6
  10005 else
  10006   case $MAGIC_CMD in
  10007 [\\/*] |  ?:[\\/]*)
  10008   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  10009   ;;
  10010 *)
  10011   lt_save_MAGIC_CMD=$MAGIC_CMD
  10012   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  10013   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  10014   for ac_dir in $ac_dummy; do
  10015     IFS=$lt_save_ifs
  10016     test -z "$ac_dir" && ac_dir=.
  10017     if test -f "$ac_dir/file"; then
  10018       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
  10019       if test -n "$file_magic_test_file"; then
  10020 	case $deplibs_check_method in
  10021 	"file_magic "*)
  10022 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  10023 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  10024 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  10025 	    $EGREP "$file_magic_regex" > /dev/null; then
  10026 	    :
  10027 	  else
  10028 	    cat <<_LT_EOF 1>&2
  10029 
  10030 *** Warning: the command libtool uses to detect shared libraries,
  10031 *** $file_magic_cmd, produces output that libtool cannot recognize.
  10032 *** The result is that libtool may fail to recognize shared libraries
  10033 *** as such.  This will affect the creation of libtool libraries that
  10034 *** depend on shared libraries, but programs linked with such libtool
  10035 *** libraries will work regardless of this problem.  Nevertheless, you
  10036 *** may want to report the problem to your system manager and/or to
  10037 *** bug-libtool@gnu.org
  10038 
  10039 _LT_EOF
  10040 	  fi ;;
  10041 	esac
  10042       fi
  10043       break
  10044     fi
  10045   done
  10046   IFS=$lt_save_ifs
  10047   MAGIC_CMD=$lt_save_MAGIC_CMD
  10048   ;;
  10049 esac
  10050 fi
  10051 
  10052 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  10053 if test -n "$MAGIC_CMD"; then
  10054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  10055 $as_echo "$MAGIC_CMD" >&6; }
  10056 else
  10057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10058 $as_echo "no" >&6; }
  10059 fi
  10060 
  10061 
  10062   else
  10063     MAGIC_CMD=:
  10064   fi
  10065 fi
  10066 
  10067   fi
  10068   ;;
  10069 esac
  10070 
  10071 # Use C for the default configuration in the libtool script
  10072 
  10073 lt_save_CC=$CC
  10074 ac_ext=c
  10075 ac_cpp='$CPP $CPPFLAGS'
  10076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10079 
  10080 
  10081 # Source file extension for C test sources.
  10082 ac_ext=c
  10083 
  10084 # Object file extension for compiled C test sources.
  10085 objext=o
  10086 objext=$objext
  10087 
  10088 # Code to be used in simple compile tests
  10089 lt_simple_compile_test_code="int some_variable = 0;"
  10090 
  10091 # Code to be used in simple link tests
  10092 lt_simple_link_test_code='int main(){return(0);}'
  10093 
  10094 
  10095 
  10096 
  10097 
  10098 
  10099 
  10100 # If no C compiler was specified, use CC.
  10101 LTCC=${LTCC-"$CC"}
  10102 
  10103 # If no C compiler flags were specified, use CFLAGS.
  10104 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  10105 
  10106 # Allow CC to be a program name with arguments.
  10107 compiler=$CC
  10108 
  10109 # Save the default compiler, since it gets overwritten when the other
  10110 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  10111 compiler_DEFAULT=$CC
  10112 
  10113 # save warnings/boilerplate of simple test code
  10114 ac_outfile=conftest.$ac_objext
  10115 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  10116 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  10117 _lt_compiler_boilerplate=`cat conftest.err`
  10118 $RM conftest*
  10119 
  10120 ac_outfile=conftest.$ac_objext
  10121 echo "$lt_simple_link_test_code" >conftest.$ac_ext
  10122 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  10123 _lt_linker_boilerplate=`cat conftest.err`
  10124 $RM -r conftest*
  10125 
  10126 
  10127 ## CAVEAT EMPTOR:
  10128 ## There is no encapsulation within the following macros, do not change
  10129 ## the running order or otherwise move them around unless you know exactly
  10130 ## what you are doing...
  10131 if test -n "$compiler"; then
  10132   
  10133 lt_prog_compiler_no_builtin_flag=
  10134 
  10135 if test yes = "$GCC"; then
  10136   case $cc_basename in
  10137   nvcc*)
  10138     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  10139   *)
  10140     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  10141   esac
  10142 
  10143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  10144 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  10145 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  10146   $as_echo_n "(cached) " >&6
  10147 else
  10148   lt_cv_prog_compiler_rtti_exceptions=no
  10149    ac_outfile=conftest.$ac_objext
  10150    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10151    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
  10152    # Insert the option either (1) after the last *FLAGS variable, or
  10153    # (2) before a word containing "conftest.", or (3) at the end.
  10154    # Note that $ac_compile itself does not contain backslashes and begins
  10155    # with a dollar sign (not a hyphen), so the echo should work correctly.
  10156    # The option is referenced via a variable to avoid confusing sed.
  10157    lt_compile=`echo "$ac_compile" | $SED \
  10158    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  10159    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  10160    -e 's:$: $lt_compiler_flag:'`
  10161    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  10162    (eval "$lt_compile" 2>conftest.err)
  10163    ac_status=$?
  10164    cat conftest.err >&5
  10165    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10166    if (exit $ac_status) && test -s "$ac_outfile"; then
  10167      # The compiler can only warn and ignore the option if not recognized
  10168      # So say no if there are warnings other than the usual output.
  10169      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  10170      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  10171      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  10172        lt_cv_prog_compiler_rtti_exceptions=yes
  10173      fi
  10174    fi
  10175    $RM conftest*
  10176 
  10177 fi
  10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  10179 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  10180 
  10181 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
  10182     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  10183 else
  10184     :
  10185 fi
  10186 
  10187 fi
  10188 
  10189     
  10190     
  10191     
  10192 
  10193 
  10194   lt_prog_compiler_wl=
  10195 lt_prog_compiler_pic=
  10196 lt_prog_compiler_static=
  10197 
  10198 
  10199   if test yes = "$GCC"; then
  10200     lt_prog_compiler_wl='-Wl,'
  10201     lt_prog_compiler_static='-static'
  10202 
  10203     case $host_os in
  10204       aix*)
  10205       # All AIX code is PIC.
  10206       if test ia64 = "$host_cpu"; then
  10207 	# AIX 5 now supports IA64 processor
  10208 	lt_prog_compiler_static='-Bstatic'
  10209       fi
  10210       lt_prog_compiler_pic='-fPIC'
  10211       ;;
  10212 
  10213     amigaos*)
  10214       case $host_cpu in
  10215       powerpc)
  10216             # see comment about AmigaOS4 .so support
  10217             lt_prog_compiler_pic='-fPIC'
  10218         ;;
  10219       m68k)
  10220             # FIXME: we need at least 68020 code to build shared libraries, but
  10221             # adding the '-m68020' flag to GCC prevents building anything better,
  10222             # like '-m68040'.
  10223             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  10224         ;;
  10225       esac
  10226       ;;
  10227 
  10228     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  10229       # PIC is the default for these OSes.
  10230       ;;
  10231 
  10232     mingw* | cygwin* | pw32* | os2* | cegcc*)
  10233       # This hack is so that the source file can tell whether it is being
  10234       # built for inclusion in a dll (and should export symbols for example).
  10235       # Although the cygwin gcc ignores -fPIC, still need this for old-style
  10236       # (--disable-auto-import) libraries
  10237       lt_prog_compiler_pic='-DDLL_EXPORT'
  10238       case $host_os in
  10239       os2*)
  10240 	lt_prog_compiler_static='$wl-static'
  10241 	;;
  10242       esac
  10243       ;;
  10244 
  10245     darwin* | rhapsody*)
  10246       # PIC is the default on this platform
  10247       # Common symbols not allowed in MH_DYLIB files
  10248       lt_prog_compiler_pic='-fno-common'
  10249       ;;
  10250 
  10251     haiku*)
  10252       # PIC is the default for Haiku.
  10253       # The "-static" flag exists, but is broken.
  10254       lt_prog_compiler_static=
  10255       ;;
  10256 
  10257     hpux*)
  10258       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  10259       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  10260       # sets the default TLS model and affects inlining.
  10261       case $host_cpu in
  10262       hppa*64*)
  10263 	# +Z the default
  10264 	;;
  10265       *)
  10266 	lt_prog_compiler_pic='-fPIC'
  10267 	;;
  10268       esac
  10269       ;;
  10270 
  10271     interix[3-9]*)
  10272       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  10273       # Instead, we relocate shared libraries at runtime.
  10274       ;;
  10275 
  10276     msdosdjgpp*)
  10277       # Just because we use GCC doesn't mean we suddenly get shared libraries
  10278       # on systems that don't support them.
  10279       lt_prog_compiler_can_build_shared=no
  10280       enable_shared=no
  10281       ;;
  10282 
  10283     *nto* | *qnx*)
  10284       # QNX uses GNU C++, but need to define -shared option too, otherwise
  10285       # it will coredump.
  10286       lt_prog_compiler_pic='-fPIC -shared'
  10287       ;;
  10288 
  10289     sysv4*MP*)
  10290       if test -d /usr/nec; then
  10291 	lt_prog_compiler_pic=-Kconform_pic
  10292       fi
  10293       ;;
  10294 
  10295     *)
  10296       lt_prog_compiler_pic='-fPIC'
  10297       ;;
  10298     esac
  10299 
  10300     case $cc_basename in
  10301     nvcc*) # Cuda Compiler Driver 2.2
  10302       lt_prog_compiler_wl='-Xlinker '
  10303       if test -n "$lt_prog_compiler_pic"; then
  10304         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  10305       fi
  10306       ;;
  10307     esac
  10308   else
  10309     # PORTME Check for flag to pass linker flags through the system compiler.
  10310     case $host_os in
  10311     aix*)
  10312       lt_prog_compiler_wl='-Wl,'
  10313       if test ia64 = "$host_cpu"; then
  10314 	# AIX 5 now supports IA64 processor
  10315 	lt_prog_compiler_static='-Bstatic'
  10316       else
  10317 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  10318       fi
  10319       ;;
  10320 
  10321     darwin* | rhapsody*)
  10322       # PIC is the default on this platform
  10323       # Common symbols not allowed in MH_DYLIB files
  10324       lt_prog_compiler_pic='-fno-common'
  10325       case $cc_basename in
  10326       nagfor*)
  10327         # NAG Fortran compiler
  10328         lt_prog_compiler_wl='-Wl,-Wl,,'
  10329         lt_prog_compiler_pic='-PIC'
  10330         lt_prog_compiler_static='-Bstatic'
  10331         ;;
  10332       esac
  10333       ;;
  10334 
  10335     mingw* | cygwin* | pw32* | os2* | cegcc*)
  10336       # This hack is so that the source file can tell whether it is being
  10337       # built for inclusion in a dll (and should export symbols for example).
  10338       lt_prog_compiler_pic='-DDLL_EXPORT'
  10339       case $host_os in
  10340       os2*)
  10341 	lt_prog_compiler_static='$wl-static'
  10342 	;;
  10343       esac
  10344       ;;
  10345 
  10346     hpux9* | hpux10* | hpux11*)
  10347       lt_prog_compiler_wl='-Wl,'
  10348       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  10349       # not for PA HP-UX.
  10350       case $host_cpu in
  10351       hppa*64*|ia64*)
  10352 	# +Z the default
  10353 	;;
  10354       *)
  10355 	lt_prog_compiler_pic='+Z'
  10356 	;;
  10357       esac
  10358       # Is there a better lt_prog_compiler_static that works with the bundled CC?
  10359       lt_prog_compiler_static='$wl-a ${wl}archive'
  10360       ;;
  10361 
  10362     irix5* | irix6* | nonstopux*)
  10363       lt_prog_compiler_wl='-Wl,'
  10364       # PIC (with -KPIC) is the default.
  10365       lt_prog_compiler_static='-non_shared'
  10366       ;;
  10367 
  10368     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  10369       case $cc_basename in
  10370       # old Intel for x86_64, which still supported -KPIC.
  10371       ecc*)
  10372 	lt_prog_compiler_wl='-Wl,'
  10373 	lt_prog_compiler_pic='-KPIC'
  10374 	lt_prog_compiler_static='-static'
  10375         ;;
  10376       # icc used to be incompatible with GCC.
  10377       # ICC 10 doesn't accept -KPIC any more.
  10378       icc* | ifort*)
  10379 	lt_prog_compiler_wl='-Wl,'
  10380 	lt_prog_compiler_pic='-fPIC'
  10381 	lt_prog_compiler_static='-static'
  10382         ;;
  10383       # Lahey Fortran 8.1.
  10384       lf95*)
  10385 	lt_prog_compiler_wl='-Wl,'
  10386 	lt_prog_compiler_pic='--shared'
  10387 	lt_prog_compiler_static='--static'
  10388 	;;
  10389       nagfor*)
  10390 	# NAG Fortran compiler
  10391 	lt_prog_compiler_wl='-Wl,-Wl,,'
  10392 	lt_prog_compiler_pic='-PIC'
  10393 	lt_prog_compiler_static='-Bstatic'
  10394 	;;
  10395       tcc*)
  10396 	# Fabrice Bellard et al's Tiny C Compiler
  10397 	lt_prog_compiler_wl='-Wl,'
  10398 	lt_prog_compiler_pic='-fPIC'
  10399 	lt_prog_compiler_static='-static'
  10400 	;;
  10401       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  10402         # Portland Group compilers (*not* the Pentium gcc compiler,
  10403 	# which looks to be a dead project)
  10404 	lt_prog_compiler_wl='-Wl,'
  10405 	lt_prog_compiler_pic='-fpic'
  10406 	lt_prog_compiler_static='-Bstatic'
  10407         ;;
  10408       ccc*)
  10409         lt_prog_compiler_wl='-Wl,'
  10410         # All Alpha code is PIC.
  10411         lt_prog_compiler_static='-non_shared'
  10412         ;;
  10413       xl* | bgxl* | bgf* | mpixl*)
  10414 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  10415 	lt_prog_compiler_wl='-Wl,'
  10416 	lt_prog_compiler_pic='-qpic'
  10417 	lt_prog_compiler_static='-qstaticlink'
  10418 	;;
  10419       *)
  10420 	case `$CC -V 2>&1 | sed 5q` in
  10421 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  10422 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
  10423 	  lt_prog_compiler_pic='-KPIC'
  10424 	  lt_prog_compiler_static='-Bstatic'
  10425 	  lt_prog_compiler_wl=''
  10426 	  ;;
  10427 	*Sun\ F* | *Sun*Fortran*)
  10428 	  lt_prog_compiler_pic='-KPIC'
  10429 	  lt_prog_compiler_static='-Bstatic'
  10430 	  lt_prog_compiler_wl='-Qoption ld '
  10431 	  ;;
  10432 	*Sun\ C*)
  10433 	  # Sun C 5.9
  10434 	  lt_prog_compiler_pic='-KPIC'
  10435 	  lt_prog_compiler_static='-Bstatic'
  10436 	  lt_prog_compiler_wl='-Wl,'
  10437 	  ;;
  10438         *Intel*\ [CF]*Compiler*)
  10439 	  lt_prog_compiler_wl='-Wl,'
  10440 	  lt_prog_compiler_pic='-fPIC'
  10441 	  lt_prog_compiler_static='-static'
  10442 	  ;;
  10443 	*Portland\ Group*)
  10444 	  lt_prog_compiler_wl='-Wl,'
  10445 	  lt_prog_compiler_pic='-fpic'
  10446 	  lt_prog_compiler_static='-Bstatic'
  10447 	  ;;
  10448 	esac
  10449 	;;
  10450       esac
  10451       ;;
  10452 
  10453     newsos6)
  10454       lt_prog_compiler_pic='-KPIC'
  10455       lt_prog_compiler_static='-Bstatic'
  10456       ;;
  10457 
  10458     *nto* | *qnx*)
  10459       # QNX uses GNU C++, but need to define -shared option too, otherwise
  10460       # it will coredump.
  10461       lt_prog_compiler_pic='-fPIC -shared'
  10462       ;;
  10463 
  10464     osf3* | osf4* | osf5*)
  10465       lt_prog_compiler_wl='-Wl,'
  10466       # All OSF/1 code is PIC.
  10467       lt_prog_compiler_static='-non_shared'
  10468       ;;
  10469 
  10470     rdos*)
  10471       lt_prog_compiler_static='-non_shared'
  10472       ;;
  10473 
  10474     solaris*)
  10475       lt_prog_compiler_pic='-KPIC'
  10476       lt_prog_compiler_static='-Bstatic'
  10477       case $cc_basename in
  10478       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  10479 	lt_prog_compiler_wl='-Qoption ld ';;
  10480       *)
  10481 	lt_prog_compiler_wl='-Wl,';;
  10482       esac
  10483       ;;
  10484 
  10485     sunos4*)
  10486       lt_prog_compiler_wl='-Qoption ld '
  10487       lt_prog_compiler_pic='-PIC'
  10488       lt_prog_compiler_static='-Bstatic'
  10489       ;;
  10490 
  10491     sysv4 | sysv4.2uw2* | sysv4.3*)
  10492       lt_prog_compiler_wl='-Wl,'
  10493       lt_prog_compiler_pic='-KPIC'
  10494       lt_prog_compiler_static='-Bstatic'
  10495       ;;
  10496 
  10497     sysv4*MP*)
  10498       if test -d /usr/nec; then
  10499 	lt_prog_compiler_pic='-Kconform_pic'
  10500 	lt_prog_compiler_static='-Bstatic'
  10501       fi
  10502       ;;
  10503 
  10504     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  10505       lt_prog_compiler_wl='-Wl,'
  10506       lt_prog_compiler_pic='-KPIC'
  10507       lt_prog_compiler_static='-Bstatic'
  10508       ;;
  10509 
  10510     unicos*)
  10511       lt_prog_compiler_wl='-Wl,'
  10512       lt_prog_compiler_can_build_shared=no
  10513       ;;
  10514 
  10515     uts4*)
  10516       lt_prog_compiler_pic='-pic'
  10517       lt_prog_compiler_static='-Bstatic'
  10518       ;;
  10519 
  10520     *)
  10521       lt_prog_compiler_can_build_shared=no
  10522       ;;
  10523     esac
  10524   fi
  10525 
  10526 case $host_os in
  10527   # For platforms that do not support PIC, -DPIC is meaningless:
  10528   *djgpp*)
  10529     lt_prog_compiler_pic=
  10530     ;;
  10531   *)
  10532     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  10533     ;;
  10534 esac
  10535 
  10536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  10537 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  10538 if ${lt_cv_prog_compiler_pic+:} false; then :
  10539   $as_echo_n "(cached) " >&6
  10540 else
  10541   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  10542 fi
  10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  10544 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
  10545 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  10546 
  10547 #
  10548 # Check to make sure the PIC flag actually works.
  10549 #
  10550 if test -n "$lt_prog_compiler_pic"; then
  10551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  10552 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  10553 if ${lt_cv_prog_compiler_pic_works+:} false; then :
  10554   $as_echo_n "(cached) " >&6
  10555 else
  10556   lt_cv_prog_compiler_pic_works=no
  10557    ac_outfile=conftest.$ac_objext
  10558    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10559    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"  ## exclude from sc_useless_quotes_in_assignment
  10560    # Insert the option either (1) after the last *FLAGS variable, or
  10561    # (2) before a word containing "conftest.", or (3) at the end.
  10562    # Note that $ac_compile itself does not contain backslashes and begins
  10563    # with a dollar sign (not a hyphen), so the echo should work correctly.
  10564    # The option is referenced via a variable to avoid confusing sed.
  10565    lt_compile=`echo "$ac_compile" | $SED \
  10566    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  10567    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  10568    -e 's:$: $lt_compiler_flag:'`
  10569    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  10570    (eval "$lt_compile" 2>conftest.err)
  10571    ac_status=$?
  10572    cat conftest.err >&5
  10573    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10574    if (exit $ac_status) && test -s "$ac_outfile"; then
  10575      # The compiler can only warn and ignore the option if not recognized
  10576      # So say no if there are warnings other than the usual output.
  10577      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  10578      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  10579      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  10580        lt_cv_prog_compiler_pic_works=yes
  10581      fi
  10582    fi
  10583    $RM conftest*
  10584 
  10585 fi
  10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  10587 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  10588 
  10589 if test yes = "$lt_cv_prog_compiler_pic_works"; then
  10590     case $lt_prog_compiler_pic in
  10591      "" | " "*) ;;
  10592      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  10593      esac
  10594 else
  10595     lt_prog_compiler_pic=
  10596      lt_prog_compiler_can_build_shared=no
  10597 fi
  10598 
  10599 fi
  10600 
  10601     
  10602     
  10603     
  10604 
  10605 
  10606 
  10607     
  10608     
  10609     
  10610 
  10611 #
  10612 # Check to make sure the static flag actually works.
  10613 #
  10614 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  10616 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  10617 if ${lt_cv_prog_compiler_static_works+:} false; then :
  10618   $as_echo_n "(cached) " >&6
  10619 else
  10620   lt_cv_prog_compiler_static_works=no
  10621    save_LDFLAGS=$LDFLAGS
  10622    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  10623    echo "$lt_simple_link_test_code" > conftest.$ac_ext
  10624    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  10625      # The linker can only warn and ignore the option if not recognized
  10626      # So say no if there are warnings
  10627      if test -s conftest.err; then
  10628        # Append any errors to the config.log.
  10629        cat conftest.err 1>&5
  10630        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  10631        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  10632        if diff conftest.exp conftest.er2 >/dev/null; then
  10633          lt_cv_prog_compiler_static_works=yes
  10634        fi
  10635      else
  10636        lt_cv_prog_compiler_static_works=yes
  10637      fi
  10638    fi
  10639    $RM -r conftest*
  10640    LDFLAGS=$save_LDFLAGS
  10641 
  10642 fi
  10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  10644 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  10645 
  10646 if test yes = "$lt_cv_prog_compiler_static_works"; then
  10647     :
  10648 else
  10649     lt_prog_compiler_static=
  10650 fi
  10651 
  10652 
  10653     
  10654     
  10655     
  10656 
  10657 
  10658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  10659 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  10660 if ${lt_cv_prog_compiler_c_o+:} false; then :
  10661   $as_echo_n "(cached) " >&6
  10662 else
  10663   lt_cv_prog_compiler_c_o=no
  10664    $RM -r conftest 2>/dev/null
  10665    mkdir conftest
  10666    cd conftest
  10667    mkdir out
  10668    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10669 
  10670    lt_compiler_flag="-o out/conftest2.$ac_objext"
  10671    # Insert the option either (1) after the last *FLAGS variable, or
  10672    # (2) before a word containing "conftest.", or (3) at the end.
  10673    # Note that $ac_compile itself does not contain backslashes and begins
  10674    # with a dollar sign (not a hyphen), so the echo should work correctly.
  10675    lt_compile=`echo "$ac_compile" | $SED \
  10676    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  10677    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  10678    -e 's:$: $lt_compiler_flag:'`
  10679    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  10680    (eval "$lt_compile" 2>out/conftest.err)
  10681    ac_status=$?
  10682    cat out/conftest.err >&5
  10683    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10684    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  10685    then
  10686      # The compiler can only warn and ignore the option if not recognized
  10687      # So say no if there are warnings
  10688      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  10689      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  10690      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  10691        lt_cv_prog_compiler_c_o=yes
  10692      fi
  10693    fi
  10694    chmod u+w . 2>&5
  10695    $RM conftest*
  10696    # SGI C++ compiler will create directory out/ii_files/ for
  10697    # template instantiation
  10698    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  10699    $RM out/* && rmdir out
  10700    cd ..
  10701    $RM -r conftest
  10702    $RM conftest*
  10703 
  10704 fi
  10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  10706 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  10707 
  10708     
  10709     
  10710     
  10711 
  10712 
  10713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  10714 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  10715 if ${lt_cv_prog_compiler_c_o+:} false; then :
  10716   $as_echo_n "(cached) " >&6
  10717 else
  10718   lt_cv_prog_compiler_c_o=no
  10719    $RM -r conftest 2>/dev/null
  10720    mkdir conftest
  10721    cd conftest
  10722    mkdir out
  10723    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10724 
  10725    lt_compiler_flag="-o out/conftest2.$ac_objext"
  10726    # Insert the option either (1) after the last *FLAGS variable, or
  10727    # (2) before a word containing "conftest.", or (3) at the end.
  10728    # Note that $ac_compile itself does not contain backslashes and begins
  10729    # with a dollar sign (not a hyphen), so the echo should work correctly.
  10730    lt_compile=`echo "$ac_compile" | $SED \
  10731    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  10732    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  10733    -e 's:$: $lt_compiler_flag:'`
  10734    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  10735    (eval "$lt_compile" 2>out/conftest.err)
  10736    ac_status=$?
  10737    cat out/conftest.err >&5
  10738    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10739    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  10740    then
  10741      # The compiler can only warn and ignore the option if not recognized
  10742      # So say no if there are warnings
  10743      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  10744      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  10745      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  10746        lt_cv_prog_compiler_c_o=yes
  10747      fi
  10748    fi
  10749    chmod u+w . 2>&5
  10750    $RM conftest*
  10751    # SGI C++ compiler will create directory out/ii_files/ for
  10752    # template instantiation
  10753    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  10754    $RM out/* && rmdir out
  10755    cd ..
  10756    $RM -r conftest
  10757    $RM conftest*
  10758 
  10759 fi
  10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  10761 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  10762 
  10763 
  10764 
  10765 
  10766 hard_links=nottested
  10767 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  10768   # do not overwrite the value of need_locks provided by the user
  10769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  10770 $as_echo_n "checking if we can lock with hard links... " >&6; }
  10771   hard_links=yes
  10772   $RM conftest*
  10773   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  10774   touch conftest.a
  10775   ln conftest.a conftest.b 2>&5 || hard_links=no
  10776   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  10777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  10778 $as_echo "$hard_links" >&6; }
  10779   if test no = "$hard_links"; then
  10780     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  10781 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  10782     need_locks=warn
  10783   fi
  10784 else
  10785   need_locks=no
  10786 fi
  10787 
  10788     
  10789     
  10790     
  10791 
  10792 
  10793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  10794 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  10795 
  10796   runpath_var=
  10797   allow_undefined_flag=
  10798   always_export_symbols=no
  10799   archive_cmds=
  10800   archive_expsym_cmds=
  10801   compiler_needs_object=no
  10802   enable_shared_with_static_runtimes=no
  10803   export_dynamic_flag_spec=
  10804   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  10805   hardcode_automatic=no
  10806   hardcode_direct=no
  10807   hardcode_direct_absolute=no
  10808   hardcode_libdir_flag_spec=
  10809   hardcode_libdir_separator=
  10810   hardcode_minus_L=no
  10811   hardcode_shlibpath_var=unsupported
  10812   inherit_rpath=no
  10813   link_all_deplibs=unknown
  10814   module_cmds=
  10815   module_expsym_cmds=
  10816   old_archive_from_new_cmds=
  10817   old_archive_from_expsyms_cmds=
  10818   thread_safe_flag_spec=
  10819   whole_archive_flag_spec=
  10820   # include_expsyms should be a list of space-separated symbols to be *always*
  10821   # included in the symbol list
  10822   include_expsyms=
  10823   # exclude_expsyms can be an extended regexp of symbols to exclude
  10824   # it will be wrapped by ' (' and ')$', so one must not match beginning or
  10825   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  10826   # as well as any symbol that contains 'd'.
  10827   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  10828   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  10829   # platforms (ab)use it in PIC code, but their linkers get confused if
  10830   # the symbol is explicitly referenced.  Since portable code cannot
  10831   # rely on this symbol name, it's probably fine to never include it in
  10832   # preloaded symbol tables.
  10833   # Exclude shared library initialization/finalization symbols.
  10834   extract_expsyms_cmds=
  10835 
  10836   case $host_os in
  10837   cygwin* | mingw* | pw32* | cegcc*)
  10838     # FIXME: the MSVC++ port hasn't been tested in a loooong time
  10839     # When not using gcc, we currently assume that we are using
  10840     # Microsoft Visual C++.
  10841     if test yes != "$GCC"; then
  10842       with_gnu_ld=no
  10843     fi
  10844     ;;
  10845   interix*)
  10846     # we just hope/assume this is gcc and not c89 (= MSVC++)
  10847     with_gnu_ld=yes
  10848     ;;
  10849   openbsd* | bitrig*)
  10850     with_gnu_ld=no
  10851     ;;
  10852   esac
  10853 
  10854   ld_shlibs=yes
  10855 
  10856   # On some targets, GNU ld is compatible enough with the native linker
  10857   # that we're better off using the native interface for both.
  10858   lt_use_gnu_ld_interface=no
  10859   if test yes = "$with_gnu_ld"; then
  10860     case $host_os in
  10861       aix*)
  10862 	# The AIX port of GNU ld has always aspired to compatibility
  10863 	# with the native linker.  However, as the warning in the GNU ld
  10864 	# block says, versions before 2.19.5* couldn't really create working
  10865 	# shared libraries, regardless of the interface used.
  10866 	case `$LD -v 2>&1` in
  10867 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  10868 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  10869 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  10870 	  *)
  10871 	    lt_use_gnu_ld_interface=yes
  10872 	    ;;
  10873 	esac
  10874 	;;
  10875       *)
  10876 	lt_use_gnu_ld_interface=yes
  10877 	;;
  10878     esac
  10879   fi
  10880 
  10881   if test yes = "$lt_use_gnu_ld_interface"; then
  10882     # If archive_cmds runs LD, not CC, wlarc should be empty
  10883     wlarc='$wl'
  10884 
  10885     # Set some defaults for GNU ld with shared library support. These
  10886     # are reset later if shared libraries are not supported. Putting them
  10887     # here allows them to be overridden if necessary.
  10888     runpath_var=LD_RUN_PATH
  10889     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  10890     export_dynamic_flag_spec='$wl--export-dynamic'
  10891     # ancient GNU ld didn't support --whole-archive et. al.
  10892     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  10893       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  10894     else
  10895       whole_archive_flag_spec=
  10896     fi
  10897     supports_anon_versioning=no
  10898     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
  10899       *GNU\ gold*) supports_anon_versioning=yes ;;
  10900       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  10901       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  10902       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  10903       *\ 2.11.*) ;; # other 2.11 versions
  10904       *) supports_anon_versioning=yes ;;
  10905     esac
  10906 
  10907     # See if GNU ld supports shared libraries.
  10908     case $host_os in
  10909     aix[3-9]*)
  10910       # On AIX/PPC, the GNU linker is very broken
  10911       if test ia64 != "$host_cpu"; then
  10912 	ld_shlibs=no
  10913 	cat <<_LT_EOF 1>&2
  10914 
  10915 *** Warning: the GNU linker, at least up to release 2.19, is reported
  10916 *** to be unable to reliably create shared libraries on AIX.
  10917 *** Therefore, libtool is disabling shared libraries support.  If you
  10918 *** really care for shared libraries, you may want to install binutils
  10919 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  10920 *** You will then need to restart the configuration process.
  10921 
  10922 _LT_EOF
  10923       fi
  10924       ;;
  10925 
  10926     amigaos*)
  10927       case $host_cpu in
  10928       powerpc)
  10929             # see comment about AmigaOS4 .so support
  10930             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10931             archive_expsym_cmds=''
  10932         ;;
  10933       m68k)
  10934             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)'
  10935             hardcode_libdir_flag_spec='-L$libdir'
  10936             hardcode_minus_L=yes
  10937         ;;
  10938       esac
  10939       ;;
  10940 
  10941     beos*)
  10942       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  10943 	allow_undefined_flag=unsupported
  10944 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  10945 	# support --undefined.  This deserves some investigation.  FIXME
  10946 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10947       else
  10948 	ld_shlibs=no
  10949       fi
  10950       ;;
  10951 
  10952     cygwin* | mingw* | pw32* | cegcc*)
  10953       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  10954       # as there is no search path for DLLs.
  10955       hardcode_libdir_flag_spec='-L$libdir'
  10956       export_dynamic_flag_spec='$wl--export-all-symbols'
  10957       allow_undefined_flag=unsupported
  10958       always_export_symbols=no
  10959       enable_shared_with_static_runtimes=yes
  10960       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'
  10961       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  10962 
  10963       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  10964         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  10965 	# If the export-symbols file already is a .def file, use it as
  10966 	# is; otherwise, prepend EXPORTS...
  10967 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
  10968           cp $export_symbols $output_objdir/$soname.def;
  10969         else
  10970           echo EXPORTS > $output_objdir/$soname.def;
  10971           cat $export_symbols >> $output_objdir/$soname.def;
  10972         fi~
  10973         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  10974       else
  10975 	ld_shlibs=no
  10976       fi
  10977       ;;
  10978 
  10979     haiku*)
  10980       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  10981       link_all_deplibs=yes
  10982       ;;
  10983 
  10984     os2*)
  10985       hardcode_libdir_flag_spec='-L$libdir'
  10986       hardcode_minus_L=yes
  10987       allow_undefined_flag=unsupported
  10988       shrext_cmds=.dll
  10989       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  10990 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  10991 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  10992 	$ECHO EXPORTS >> $output_objdir/$libname.def~
  10993 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  10994 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  10995 	emximp -o $lib $output_objdir/$libname.def'
  10996       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  10997 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  10998 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  10999 	$ECHO EXPORTS >> $output_objdir/$libname.def~
  11000 	prefix_cmds="$SED"~
  11001 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
  11002 	  prefix_cmds="$prefix_cmds -e 1d";
  11003 	fi~
  11004 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  11005 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  11006 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  11007 	emximp -o $lib $output_objdir/$libname.def'
  11008       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  11009       enable_shared_with_static_runtimes=yes
  11010       ;;
  11011 
  11012     interix[3-9]*)
  11013       hardcode_direct=no
  11014       hardcode_shlibpath_var=no
  11015       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  11016       export_dynamic_flag_spec='$wl-E'
  11017       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  11018       # Instead, shared libraries are loaded at an image base (0x10000000 by
  11019       # default) and relocated if they conflict, which is a slow very memory
  11020       # consuming and fragmenting process.  To avoid this, we pick a random,
  11021       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  11022       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  11023       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  11024       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'
  11025       ;;
  11026 
  11027     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  11028       tmp_diet=no
  11029       if test linux-dietlibc = "$host_os"; then
  11030 	case $cc_basename in
  11031 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
  11032 	esac
  11033       fi
  11034       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  11035 	 && test no = "$tmp_diet"
  11036       then
  11037 	tmp_addflag=' $pic_flag'
  11038 	tmp_sharedflag='-shared'
  11039 	case $cc_basename,$host_cpu in
  11040         pgcc*)				# Portland Group C compiler
  11041 	  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'
  11042 	  tmp_addflag=' $pic_flag'
  11043 	  ;;
  11044 	pgf77* | pgf90* | pgf95* | pgfortran*)
  11045 					# Portland Group f77 and f90 compilers
  11046 	  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'
  11047 	  tmp_addflag=' $pic_flag -Mnomain' ;;
  11048 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
  11049 	  tmp_addflag=' -i_dynamic' ;;
  11050 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  11051 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  11052 	ifc* | ifort*)			# Intel Fortran compiler
  11053 	  tmp_addflag=' -nofor_main' ;;
  11054 	lf95*)				# Lahey Fortran 8.1
  11055 	  whole_archive_flag_spec=
  11056 	  tmp_sharedflag='--shared' ;;
  11057         nagfor*)                        # NAGFOR 5.3
  11058           tmp_sharedflag='-Wl,-shared' ;;
  11059 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  11060 	  tmp_sharedflag='-qmkshrobj'
  11061 	  tmp_addflag= ;;
  11062 	nvcc*)	# Cuda Compiler Driver 2.2
  11063 	  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'
  11064 	  compiler_needs_object=yes
  11065 	  ;;
  11066 	esac
  11067 	case `$CC -V 2>&1 | sed 5q` in
  11068 	*Sun\ C*)			# Sun C 5.9
  11069 	  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'
  11070 	  compiler_needs_object=yes
  11071 	  tmp_sharedflag='-G' ;;
  11072 	*Sun\ F*)			# Sun Fortran 8.3
  11073 	  tmp_sharedflag='-G' ;;
  11074 	esac
  11075 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  11076 
  11077         if test yes = "$supports_anon_versioning"; then
  11078           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  11079             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  11080             echo "local: *; };" >> $output_objdir/$libname.ver~
  11081             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  11082         fi
  11083 
  11084 	case $cc_basename in
  11085 	tcc*)
  11086 	  export_dynamic_flag_spec='-rdynamic'
  11087 	  ;;
  11088 	xlf* | bgf* | bgxlf* | mpixlf*)
  11089 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  11090 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  11091 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  11092 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  11093 	  if test yes = "$supports_anon_versioning"; then
  11094 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  11095               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  11096               echo "local: *; };" >> $output_objdir/$libname.ver~
  11097               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  11098 	  fi
  11099 	  ;;
  11100 	esac
  11101       else
  11102         ld_shlibs=no
  11103       fi
  11104       ;;
  11105 
  11106     netbsd*)
  11107       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  11108 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  11109 	wlarc=
  11110       else
  11111 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  11112 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  11113       fi
  11114       ;;
  11115 
  11116     solaris*)
  11117       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  11118 	ld_shlibs=no
  11119 	cat <<_LT_EOF 1>&2
  11120 
  11121 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  11122 *** create shared libraries on Solaris systems.  Therefore, libtool
  11123 *** is disabling shared libraries support.  We urge you to upgrade GNU
  11124 *** binutils to release 2.9.1 or newer.  Another option is to modify
  11125 *** your PATH or compiler configuration so that the native linker is
  11126 *** used, and then restart.
  11127 
  11128 _LT_EOF
  11129       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  11130 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  11131 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  11132       else
  11133 	ld_shlibs=no
  11134       fi
  11135       ;;
  11136 
  11137     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  11138       case `$LD -v 2>&1` in
  11139         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  11140 	ld_shlibs=no
  11141 	cat <<_LT_EOF 1>&2
  11142 
  11143 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  11144 *** reliably create shared libraries on SCO systems.  Therefore, libtool
  11145 *** is disabling shared libraries support.  We urge you to upgrade GNU
  11146 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  11147 *** your PATH or compiler configuration so that the native linker is
  11148 *** used, and then restart.
  11149 
  11150 _LT_EOF
  11151 	;;
  11152 	*)
  11153 	  # For security reasons, it is highly recommended that you always
  11154 	  # use absolute paths for naming shared libraries, and exclude the
  11155 	  # DT_RUNPATH tag from executables and libraries.  But doing so
  11156 	  # requires that you compile everything twice, which is a pain.
  11157 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  11158 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  11159 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  11160 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  11161 	  else
  11162 	    ld_shlibs=no
  11163 	  fi
  11164 	;;
  11165       esac
  11166       ;;
  11167 
  11168     sunos4*)
  11169       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  11170       wlarc=
  11171       hardcode_direct=yes
  11172       hardcode_shlibpath_var=no
  11173       ;;
  11174 
  11175     *)
  11176       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  11177 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  11178 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  11179       else
  11180 	ld_shlibs=no
  11181       fi
  11182       ;;
  11183     esac
  11184 
  11185     if test no = "$ld_shlibs"; then
  11186       runpath_var=
  11187       hardcode_libdir_flag_spec=
  11188       export_dynamic_flag_spec=
  11189       whole_archive_flag_spec=
  11190     fi
  11191   else
  11192     # PORTME fill in a description of your system's linker (not GNU ld)
  11193     case $host_os in
  11194     aix3*)
  11195       allow_undefined_flag=unsupported
  11196       always_export_symbols=yes
  11197       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'
  11198       # Note: this linker hardcodes the directories in LIBPATH if there
  11199       # are no directories specified by -L.
  11200       hardcode_minus_L=yes
  11201       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  11202 	# Neither direct hardcoding nor static linking is supported with a
  11203 	# broken collect2.
  11204 	hardcode_direct=unsupported
  11205       fi
  11206       ;;
  11207 
  11208     aix[4-9]*)
  11209       if test ia64 = "$host_cpu"; then
  11210 	# On IA64, the linker does run time linking by default, so we don't
  11211 	# have to do anything special.
  11212 	aix_use_runtimelinking=no
  11213 	exp_sym_flag='-Bexport'
  11214 	no_entry_flag=
  11215       else
  11216 	# If we're using GNU nm, then we don't want the "-C" option.
  11217 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
  11218 	# Without the "-l" option, or with the "-B" option, AIX nm treats
  11219 	# weak defined symbols like other global defined symbols, whereas
  11220 	# GNU nm marks them as "W".
  11221 	# While the 'weak' keyword is ignored in the Export File, we need
  11222 	# it in the Import File for the 'aix-soname' feature, so we have
  11223 	# to replace the "-B" option with "-P" for AIX nm.
  11224 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  11225 	  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'
  11226 	else
  11227 	  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'
  11228 	fi
  11229 	aix_use_runtimelinking=no
  11230 
  11231 	# Test if we are trying to use run time linking or normal
  11232 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  11233 	# have runtime linking enabled, and use it for executables.
  11234 	# For shared libraries, we enable/disable runtime linking
  11235 	# depending on the kind of the shared library created -
  11236 	# when "with_aix_soname,aix_use_runtimelinking" is:
  11237 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
  11238 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
  11239 	#            lib.a           static archive
  11240 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
  11241 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
  11242 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  11243 	#            lib.a(lib.so.V) shared, rtl:no
  11244 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
  11245 	#            lib.a           static archive
  11246 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  11247 	  for ld_flag in $LDFLAGS; do
  11248 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  11249 	    aix_use_runtimelinking=yes
  11250 	    break
  11251 	  fi
  11252 	  done
  11253 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  11254 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
  11255 	    # so we don't have lib.a shared libs to link our executables.
  11256 	    # We have to force runtime linking in this case.
  11257 	    aix_use_runtimelinking=yes
  11258 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
  11259 	  fi
  11260 	  ;;
  11261 	esac
  11262 
  11263 	exp_sym_flag='-bexport'
  11264 	no_entry_flag='-bnoentry'
  11265       fi
  11266 
  11267       # When large executables or shared objects are built, AIX ld can
  11268       # have problems creating the table of contents.  If linking a library
  11269       # or program results in "error TOC overflow" add -mminimal-toc to
  11270       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  11271       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  11272 
  11273       archive_cmds=''
  11274       hardcode_direct=yes
  11275       hardcode_direct_absolute=yes
  11276       hardcode_libdir_separator=':'
  11277       link_all_deplibs=yes
  11278       file_list_spec='$wl-f,'
  11279       case $with_aix_soname,$aix_use_runtimelinking in
  11280       aix,*) ;; # traditional, no import file
  11281       svr4,* | *,yes) # use import file
  11282 	# The Import File defines what to hardcode.
  11283 	hardcode_direct=no
  11284 	hardcode_direct_absolute=no
  11285 	;;
  11286       esac
  11287 
  11288       if test yes = "$GCC"; then
  11289 	case $host_os in aix4.[012]|aix4.[012].*)
  11290 	# We only want to do this on AIX 4.2 and lower, the check
  11291 	# below for broken collect2 doesn't work under 4.3+
  11292 	  collect2name=`$CC -print-prog-name=collect2`
  11293 	  if test -f "$collect2name" &&
  11294 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  11295 	  then
  11296 	  # We have reworked collect2
  11297 	  :
  11298 	  else
  11299 	  # We have old collect2
  11300 	  hardcode_direct=unsupported
  11301 	  # It fails to find uninstalled libraries when the uninstalled
  11302 	  # path is not listed in the libpath.  Setting hardcode_minus_L
  11303 	  # to unsupported forces relinking
  11304 	  hardcode_minus_L=yes
  11305 	  hardcode_libdir_flag_spec='-L$libdir'
  11306 	  hardcode_libdir_separator=
  11307 	  fi
  11308 	  ;;
  11309 	esac
  11310 	shared_flag='-shared'
  11311 	if test yes = "$aix_use_runtimelinking"; then
  11312 	  shared_flag="$shared_flag "'$wl-G'
  11313 	fi
  11314 	# Need to ensure runtime linking is disabled for the traditional
  11315 	# shared library, or the linker may eventually find shared libraries
  11316 	# /with/ Import File - we do not want to mix them.
  11317 	shared_flag_aix='-shared'
  11318 	shared_flag_svr4='-shared $wl-G'
  11319       else
  11320 	# not using gcc
  11321 	if test ia64 = "$host_cpu"; then
  11322 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  11323 	# chokes on -Wl,-G. The following line is correct:
  11324 	  shared_flag='-G'
  11325 	else
  11326 	  if test yes = "$aix_use_runtimelinking"; then
  11327 	    shared_flag='$wl-G'
  11328 	  else
  11329 	    shared_flag='$wl-bM:SRE'
  11330 	  fi
  11331 	  shared_flag_aix='$wl-bM:SRE'
  11332 	  shared_flag_svr4='$wl-G'
  11333 	fi
  11334       fi
  11335 
  11336       export_dynamic_flag_spec='$wl-bexpall'
  11337       # It seems that -bexpall does not export symbols beginning with
  11338       # underscore (_), so it is better to generate a list of symbols to export.
  11339       always_export_symbols=yes
  11340       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  11341 	# Warning - without using the other runtime loading flags (-brtl),
  11342 	# -berok will link without error, but may produce a broken library.
  11343 	allow_undefined_flag='-berok'
  11344         # Determine the default libpath from the value encoded in an
  11345         # empty executable.
  11346         if test set = "${lt_cv_aix_libpath+set}"; then
  11347   aix_libpath=$lt_cv_aix_libpath
  11348 else
  11349   if ${lt_cv_aix_libpath_+:} false; then :
  11350   $as_echo_n "(cached) " >&6
  11351 else
  11352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11353 /* end confdefs.h.  */
  11354 
  11355 int
  11356 main ()
  11357 {
  11358 
  11359   ;
  11360   return 0;
  11361 }
  11362 _ACEOF
  11363 if ac_fn_c_try_link "$LINENO"; then :
  11364   
  11365   lt_aix_libpath_sed='
  11366       /Import File Strings/,/^$/ {
  11367 	  /^0/ {
  11368 	      s/^0  *\([^ ]*\) *$/\1/
  11369 	      p
  11370 	  }
  11371       }'
  11372   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11373   # Check for a 64-bit object if we didn't find anything.
  11374   if test -z "$lt_cv_aix_libpath_"; then
  11375     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11376   fi
  11377 fi
  11378 rm -f core conftest.err conftest.$ac_objext \
  11379     conftest$ac_exeext conftest.$ac_ext
  11380   if test -z "$lt_cv_aix_libpath_"; then
  11381     lt_cv_aix_libpath_=/usr/lib:/lib
  11382   fi
  11383   
  11384 fi
  11385 
  11386   aix_libpath=$lt_cv_aix_libpath_
  11387 fi
  11388 
  11389         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  11390         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
  11391       else
  11392 	if test ia64 = "$host_cpu"; then
  11393 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  11394 	  allow_undefined_flag="-z nodefs"
  11395 	  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"
  11396 	else
  11397 	 # Determine the default libpath from the value encoded in an
  11398 	 # empty executable.
  11399 	 if test set = "${lt_cv_aix_libpath+set}"; then
  11400   aix_libpath=$lt_cv_aix_libpath
  11401 else
  11402   if ${lt_cv_aix_libpath_+:} false; then :
  11403   $as_echo_n "(cached) " >&6
  11404 else
  11405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11406 /* end confdefs.h.  */
  11407 
  11408 int
  11409 main ()
  11410 {
  11411 
  11412   ;
  11413   return 0;
  11414 }
  11415 _ACEOF
  11416 if ac_fn_c_try_link "$LINENO"; then :
  11417   
  11418   lt_aix_libpath_sed='
  11419       /Import File Strings/,/^$/ {
  11420 	  /^0/ {
  11421 	      s/^0  *\([^ ]*\) *$/\1/
  11422 	      p
  11423 	  }
  11424       }'
  11425   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11426   # Check for a 64-bit object if we didn't find anything.
  11427   if test -z "$lt_cv_aix_libpath_"; then
  11428     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  11429   fi
  11430 fi
  11431 rm -f core conftest.err conftest.$ac_objext \
  11432     conftest$ac_exeext conftest.$ac_ext
  11433   if test -z "$lt_cv_aix_libpath_"; then
  11434     lt_cv_aix_libpath_=/usr/lib:/lib
  11435   fi
  11436   
  11437 fi
  11438 
  11439   aix_libpath=$lt_cv_aix_libpath_
  11440 fi
  11441 
  11442 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  11443 	  # Warning - without using the other run time loading flags,
  11444 	  # -berok will link without error, but may produce a broken library.
  11445 	  no_undefined_flag=' $wl-bernotok'
  11446 	  allow_undefined_flag=' $wl-berok'
  11447 	  if test yes = "$with_gnu_ld"; then
  11448 	    # We only use this code for GNU lds that support --whole-archive.
  11449 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  11450 	  else
  11451 	    # Exported symbols can be pulled into shared objects from archives
  11452 	    whole_archive_flag_spec='$convenience'
  11453 	  fi
  11454 	  archive_cmds_need_lc=yes
  11455 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  11456 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
  11457 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  11458 	  if test svr4 != "$with_aix_soname"; then
  11459 	    # This is similar to how AIX traditionally builds its shared libraries.
  11460 	    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'
  11461 	  fi
  11462 	  if test aix != "$with_aix_soname"; then
  11463 	    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'
  11464 	  else
  11465 	    # used by -dlpreopen to get the symbols
  11466 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
  11467 	  fi
  11468 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  11469 	fi
  11470       fi
  11471       ;;
  11472 
  11473     amigaos*)
  11474       case $host_cpu in
  11475       powerpc)
  11476             # see comment about AmigaOS4 .so support
  11477             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  11478             archive_expsym_cmds=''
  11479         ;;
  11480       m68k)
  11481             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)'
  11482             hardcode_libdir_flag_spec='-L$libdir'
  11483             hardcode_minus_L=yes
  11484         ;;
  11485       esac
  11486       ;;
  11487 
  11488     bsdi[45]*)
  11489       export_dynamic_flag_spec=-rdynamic
  11490       ;;
  11491 
  11492     cygwin* | mingw* | pw32* | cegcc*)
  11493       # When not using gcc, we currently assume that we are using
  11494       # Microsoft Visual C++.
  11495       # hardcode_libdir_flag_spec is actually meaningless, as there is
  11496       # no search path for DLLs.
  11497       case $cc_basename in
  11498       cl*)
  11499 	# Native MSVC
  11500 	hardcode_libdir_flag_spec=' '
  11501 	allow_undefined_flag=unsupported
  11502 	always_export_symbols=yes
  11503 	file_list_spec='@'
  11504 	# Tell ltmain to make .lib files, not .a files.
  11505 	libext=lib
  11506 	# Tell ltmain to make .dll files, not .so files.
  11507 	shrext_cmds=.dll
  11508 	# FIXME: Setting linknames here is a bad hack.
  11509 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  11510 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
  11511             cp "$export_symbols" "$output_objdir/$soname.def";
  11512             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  11513           else
  11514             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  11515           fi~
  11516           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  11517           linknames='
  11518 	# The linker will not automatically build a static lib if we build a DLL.
  11519 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  11520 	enable_shared_with_static_runtimes=yes
  11521 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  11522 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  11523 	# Don't use ranlib
  11524 	old_postinstall_cmds='chmod 644 $oldlib'
  11525 	postlink_cmds='lt_outputfile="@OUTPUT@"~
  11526           lt_tool_outputfile="@TOOL_OUTPUT@"~
  11527           case $lt_outputfile in
  11528             *.exe|*.EXE) ;;
  11529             *)
  11530               lt_outputfile=$lt_outputfile.exe
  11531               lt_tool_outputfile=$lt_tool_outputfile.exe
  11532               ;;
  11533           esac~
  11534           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  11535             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  11536             $RM "$lt_outputfile.manifest";
  11537           fi'
  11538 	;;
  11539       *)
  11540 	# Assume MSVC wrapper
  11541 	hardcode_libdir_flag_spec=' '
  11542 	allow_undefined_flag=unsupported
  11543 	# Tell ltmain to make .lib files, not .a files.
  11544 	libext=lib
  11545 	# Tell ltmain to make .dll files, not .so files.
  11546 	shrext_cmds=.dll
  11547 	# FIXME: Setting linknames here is a bad hack.
  11548 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  11549 	# The linker will automatically build a .lib file if we build a DLL.
  11550 	old_archive_from_new_cmds='true'
  11551 	# FIXME: Should let the user specify the lib program.
  11552 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  11553 	enable_shared_with_static_runtimes=yes
  11554 	;;
  11555       esac
  11556       ;;
  11557 
  11558     darwin* | rhapsody*)
  11559       
  11560   
  11561   archive_cmds_need_lc=no
  11562   hardcode_direct=no
  11563   hardcode_automatic=yes
  11564   hardcode_shlibpath_var=unsupported
  11565   if test yes = "$lt_cv_ld_force_load"; then
  11566     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\"`'
  11567     
  11568   else
  11569     whole_archive_flag_spec=''
  11570   fi
  11571   link_all_deplibs=yes
  11572   allow_undefined_flag=$_lt_dar_allow_undefined
  11573   case $cc_basename in
  11574      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  11575      *) _lt_dar_can_shared=$GCC ;;
  11576   esac
  11577   if test yes = "$_lt_dar_can_shared"; then
  11578     output_verbose_link_cmd=func_echo_all
  11579     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  11580     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  11581     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"
  11582     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"
  11583     
  11584   else
  11585   ld_shlibs=no
  11586   fi
  11587 
  11588       ;;
  11589 
  11590     dgux*)
  11591       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11592       hardcode_libdir_flag_spec='-L$libdir'
  11593       hardcode_shlibpath_var=no
  11594       ;;
  11595 
  11596     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  11597     # support.  Future versions do this automatically, but an explicit c++rt0.o
  11598     # does not break anything, and helps significantly (at the cost of a little
  11599     # extra space).
  11600     freebsd2.2*)
  11601       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  11602       hardcode_libdir_flag_spec='-R$libdir'
  11603       hardcode_direct=yes
  11604       hardcode_shlibpath_var=no
  11605       ;;
  11606 
  11607     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  11608     freebsd2.*)
  11609       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  11610       hardcode_direct=yes
  11611       hardcode_minus_L=yes
  11612       hardcode_shlibpath_var=no
  11613       ;;
  11614 
  11615     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  11616     freebsd* | dragonfly*)
  11617       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  11618       hardcode_libdir_flag_spec='-R$libdir'
  11619       hardcode_direct=yes
  11620       hardcode_shlibpath_var=no
  11621       ;;
  11622 
  11623     hpux9*)
  11624       if test yes = "$GCC"; then
  11625 	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'
  11626       else
  11627 	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'
  11628       fi
  11629       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  11630       hardcode_libdir_separator=:
  11631       hardcode_direct=yes
  11632 
  11633       # hardcode_minus_L: Not really in the search PATH,
  11634       # but as the default location of the library.
  11635       hardcode_minus_L=yes
  11636       export_dynamic_flag_spec='$wl-E'
  11637       ;;
  11638 
  11639     hpux10*)
  11640       if test yes,no = "$GCC,$with_gnu_ld"; then
  11641 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  11642       else
  11643 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  11644       fi
  11645       if test no = "$with_gnu_ld"; then
  11646 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  11647 	hardcode_libdir_separator=:
  11648 	hardcode_direct=yes
  11649 	hardcode_direct_absolute=yes
  11650 	export_dynamic_flag_spec='$wl-E'
  11651 	# hardcode_minus_L: Not really in the search PATH,
  11652 	# but as the default location of the library.
  11653 	hardcode_minus_L=yes
  11654       fi
  11655       ;;
  11656 
  11657     hpux11*)
  11658       if test yes,no = "$GCC,$with_gnu_ld"; then
  11659 	case $host_cpu in
  11660 	hppa*64*)
  11661 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  11662 	  ;;
  11663 	ia64*)
  11664 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  11665 	  ;;
  11666 	*)
  11667 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  11668 	  ;;
  11669 	esac
  11670       else
  11671 	case $host_cpu in
  11672 	hppa*64*)
  11673 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  11674 	  ;;
  11675 	ia64*)
  11676 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  11677 	  ;;
  11678 	*)
  11679 	
  11680 	  # Older versions of the 11.00 compiler do not understand -b yet
  11681 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  11682 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  11683 $as_echo_n "checking if $CC understands -b... " >&6; }
  11684 if ${lt_cv_prog_compiler__b+:} false; then :
  11685   $as_echo_n "(cached) " >&6
  11686 else
  11687   lt_cv_prog_compiler__b=no
  11688    save_LDFLAGS=$LDFLAGS
  11689    LDFLAGS="$LDFLAGS -b"
  11690    echo "$lt_simple_link_test_code" > conftest.$ac_ext
  11691    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  11692      # The linker can only warn and ignore the option if not recognized
  11693      # So say no if there are warnings
  11694      if test -s conftest.err; then
  11695        # Append any errors to the config.log.
  11696        cat conftest.err 1>&5
  11697        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  11698        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  11699        if diff conftest.exp conftest.er2 >/dev/null; then
  11700          lt_cv_prog_compiler__b=yes
  11701        fi
  11702      else
  11703        lt_cv_prog_compiler__b=yes
  11704      fi
  11705    fi
  11706    $RM -r conftest*
  11707    LDFLAGS=$save_LDFLAGS
  11708 
  11709 fi
  11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  11711 $as_echo "$lt_cv_prog_compiler__b" >&6; }
  11712 
  11713 if test yes = "$lt_cv_prog_compiler__b"; then
  11714     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  11715 else
  11716     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  11717 fi
  11718 
  11719 	  ;;
  11720 	esac
  11721       fi
  11722       if test no = "$with_gnu_ld"; then
  11723 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  11724 	hardcode_libdir_separator=:
  11725 
  11726 	case $host_cpu in
  11727 	hppa*64*|ia64*)
  11728 	  hardcode_direct=no
  11729 	  hardcode_shlibpath_var=no
  11730 	  ;;
  11731 	*)
  11732 	  hardcode_direct=yes
  11733 	  hardcode_direct_absolute=yes
  11734 	  export_dynamic_flag_spec='$wl-E'
  11735 
  11736 	  # hardcode_minus_L: Not really in the search PATH,
  11737 	  # but as the default location of the library.
  11738 	  hardcode_minus_L=yes
  11739 	  ;;
  11740 	esac
  11741       fi
  11742       ;;
  11743 
  11744     irix5* | irix6* | nonstopux*)
  11745       if test yes = "$GCC"; then
  11746 	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'
  11747 	# Try to use the -exported_symbol ld option, if it does not
  11748 	# work, assume that -exports_file does not work either and
  11749 	# implicitly export all symbols.
  11750 	# This should be the same for all languages, so no per-tag cache variable.
  11751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  11752 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  11753 if ${lt_cv_irix_exported_symbol+:} false; then :
  11754   $as_echo_n "(cached) " >&6
  11755 else
  11756   save_LDFLAGS=$LDFLAGS
  11757 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  11758 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11759 /* end confdefs.h.  */
  11760 int foo (void) { return 0; }
  11761 _ACEOF
  11762 if ac_fn_c_try_link "$LINENO"; then :
  11763   lt_cv_irix_exported_symbol=yes
  11764 else
  11765   lt_cv_irix_exported_symbol=no
  11766 fi
  11767 rm -f core conftest.err conftest.$ac_objext \
  11768     conftest$ac_exeext conftest.$ac_ext
  11769            LDFLAGS=$save_LDFLAGS
  11770 fi
  11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  11772 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
  11773 	if test yes = "$lt_cv_irix_exported_symbol"; then
  11774           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'
  11775 	fi
  11776       else
  11777 	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'
  11778 	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'
  11779       fi
  11780       archive_cmds_need_lc='no'
  11781       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  11782       hardcode_libdir_separator=:
  11783       inherit_rpath=yes
  11784       link_all_deplibs=yes
  11785       ;;
  11786 
  11787     linux*)
  11788       case $cc_basename in
  11789       tcc*)
  11790 	# Fabrice Bellard et al's Tiny C Compiler
  11791 	ld_shlibs=yes
  11792 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  11793 	;;
  11794       esac
  11795       ;;
  11796 
  11797     netbsd*)
  11798       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  11799 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  11800       else
  11801 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  11802       fi
  11803       hardcode_libdir_flag_spec='-R$libdir'
  11804       hardcode_direct=yes
  11805       hardcode_shlibpath_var=no
  11806       ;;
  11807 
  11808     newsos6)
  11809       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11810       hardcode_direct=yes
  11811       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  11812       hardcode_libdir_separator=:
  11813       hardcode_shlibpath_var=no
  11814       ;;
  11815 
  11816     *nto* | *qnx*)
  11817       ;;
  11818 
  11819     openbsd* | bitrig*)
  11820       if test -f /usr/libexec/ld.so; then
  11821 	hardcode_direct=yes
  11822 	hardcode_shlibpath_var=no
  11823 	hardcode_direct_absolute=yes
  11824 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  11825 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  11826 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  11827 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  11828 	  export_dynamic_flag_spec='$wl-E'
  11829 	else
  11830 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  11831 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  11832 	fi
  11833       else
  11834 	ld_shlibs=no
  11835       fi
  11836       ;;
  11837 
  11838     os2*)
  11839       hardcode_libdir_flag_spec='-L$libdir'
  11840       hardcode_minus_L=yes
  11841       allow_undefined_flag=unsupported
  11842       shrext_cmds=.dll
  11843       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  11844 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  11845 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  11846 	$ECHO EXPORTS >> $output_objdir/$libname.def~
  11847 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  11848 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  11849 	emximp -o $lib $output_objdir/$libname.def'
  11850       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  11851 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  11852 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  11853 	$ECHO EXPORTS >> $output_objdir/$libname.def~
  11854 	prefix_cmds="$SED"~
  11855 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
  11856 	  prefix_cmds="$prefix_cmds -e 1d";
  11857 	fi~
  11858 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  11859 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  11860 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  11861 	emximp -o $lib $output_objdir/$libname.def'
  11862       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  11863       enable_shared_with_static_runtimes=yes
  11864       ;;
  11865 
  11866     osf3*)
  11867       if test yes = "$GCC"; then
  11868 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  11869 	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'
  11870       else
  11871 	allow_undefined_flag=' -expect_unresolved \*'
  11872 	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'
  11873       fi
  11874       archive_cmds_need_lc='no'
  11875       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  11876       hardcode_libdir_separator=:
  11877       ;;
  11878 
  11879     osf4* | osf5*)	# as osf3* with the addition of -msym flag
  11880       if test yes = "$GCC"; then
  11881 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  11882 	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'
  11883 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  11884       else
  11885 	allow_undefined_flag=' -expect_unresolved \*'
  11886 	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'
  11887 	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~
  11888           $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'
  11889 
  11890 	# Both c and cxx compiler support -rpath directly
  11891 	hardcode_libdir_flag_spec='-rpath $libdir'
  11892       fi
  11893       archive_cmds_need_lc='no'
  11894       hardcode_libdir_separator=:
  11895       ;;
  11896 
  11897     solaris*)
  11898       no_undefined_flag=' -z defs'
  11899       if test yes = "$GCC"; then
  11900 	wlarc='$wl'
  11901 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  11902 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11903           $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'
  11904       else
  11905 	case `$CC -V 2>&1` in
  11906 	*"Compilers 5.0"*)
  11907 	  wlarc=''
  11908 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11909 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11910             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  11911 	  ;;
  11912 	*)
  11913 	  wlarc='$wl'
  11914 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  11915 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  11916             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  11917 	  ;;
  11918 	esac
  11919       fi
  11920       hardcode_libdir_flag_spec='-R$libdir'
  11921       hardcode_shlibpath_var=no
  11922       case $host_os in
  11923       solaris2.[0-5] | solaris2.[0-5].*) ;;
  11924       *)
  11925 	# The compiler driver will combine and reorder linker options,
  11926 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
  11927 	# but is careful enough not to reorder.
  11928 	# Supported since Solaris 2.6 (maybe 2.5.1?)
  11929 	if test yes = "$GCC"; then
  11930 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  11931 	else
  11932 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  11933 	fi
  11934 	;;
  11935       esac
  11936       link_all_deplibs=yes
  11937       ;;
  11938 
  11939     sunos4*)
  11940       if test sequent = "$host_vendor"; then
  11941 	# Use $CC to link under sequent, because it throws in some extra .o
  11942 	# files that make .init and .fini sections work.
  11943 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  11944       else
  11945 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  11946       fi
  11947       hardcode_libdir_flag_spec='-L$libdir'
  11948       hardcode_direct=yes
  11949       hardcode_minus_L=yes
  11950       hardcode_shlibpath_var=no
  11951       ;;
  11952 
  11953     sysv4)
  11954       case $host_vendor in
  11955 	sni)
  11956 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11957 	  hardcode_direct=yes # is this really true???
  11958 	;;
  11959 	siemens)
  11960 	  ## LD is ld it makes a PLAMLIB
  11961 	  ## CC just makes a GrossModule.
  11962 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  11963 	  reload_cmds='$CC -r -o $output$reload_objs'
  11964 	  hardcode_direct=no
  11965         ;;
  11966 	motorola)
  11967 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11968 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  11969 	;;
  11970       esac
  11971       runpath_var='LD_RUN_PATH'
  11972       hardcode_shlibpath_var=no
  11973       ;;
  11974 
  11975     sysv4.3*)
  11976       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11977       hardcode_shlibpath_var=no
  11978       export_dynamic_flag_spec='-Bexport'
  11979       ;;
  11980 
  11981     sysv4*MP*)
  11982       if test -d /usr/nec; then
  11983 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  11984 	hardcode_shlibpath_var=no
  11985 	runpath_var=LD_RUN_PATH
  11986 	hardcode_runpath_var=yes
  11987 	ld_shlibs=yes
  11988       fi
  11989       ;;
  11990 
  11991     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)