Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for glu 9.0.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=GLU>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=GLU
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='glu'
    573 PACKAGE_TARNAME='glu'
    574 PACKAGE_VERSION='9.0.0'
    575 PACKAGE_STRING='glu 9.0.0'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=GLU'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 VISIBILITY_CXXFLAGS
    621 VISIBILITY_CFLAGS
    622 WARNCXXFLAGS
    623 WARNCFLAGS
    624 GLU_REQUIRES
    625 GL_LIBS
    626 GL_CFLAGS
    627 OSMESA_LIBS
    628 OSMESA_CFLAGS
    629 PKG_CONFIG_LIBDIR
    630 PKG_CONFIG_PATH
    631 PKG_CONFIG
    632 AM_BACKSLASH
    633 AM_DEFAULT_VERBOSITY
    634 AM_DEFAULT_V
    635 AM_V
    636 CXXCPP
    637 am__fastdepCXX_FALSE
    638 am__fastdepCXX_TRUE
    639 CXXDEPMODE
    640 ac_ct_CXX
    641 CXXFLAGS
    642 CXX
    643 CPP
    644 OTOOL64
    645 OTOOL
    646 LIPO
    647 NMEDIT
    648 DSYMUTIL
    649 MANIFEST_TOOL
    650 RANLIB
    651 ac_ct_AR
    652 AR
    653 DLLTOOL
    654 OBJDUMP
    655 LN_S
    656 NM
    657 ac_ct_DUMPBIN
    658 DUMPBIN
    659 LD
    660 FGREP
    661 EGREP
    662 GREP
    663 SED
    664 am__fastdepCC_FALSE
    665 am__fastdepCC_TRUE
    666 CCDEPMODE
    667 am__nodep
    668 AMDEPBACKSLASH
    669 AMDEP_FALSE
    670 AMDEP_TRUE
    671 am__quote
    672 am__include
    673 DEPDIR
    674 OBJEXT
    675 EXEEXT
    676 ac_ct_CC
    677 CPPFLAGS
    678 LDFLAGS
    679 CFLAGS
    680 CC
    681 LIBTOOL
    682 am__untar
    683 am__tar
    684 AMTAR
    685 am__leading_dot
    686 SET_MAKE
    687 AWK
    688 mkdir_p
    689 MKDIR_P
    690 INSTALL_STRIP_PROGRAM
    691 STRIP
    692 install_sh
    693 MAKEINFO
    694 AUTOHEADER
    695 AUTOMAKE
    696 AUTOCONF
    697 ACLOCAL
    698 VERSION
    699 PACKAGE
    700 CYGPATH_W
    701 am__isrc
    702 INSTALL_DATA
    703 INSTALL_SCRIPT
    704 INSTALL_PROGRAM
    705 host_os
    706 host_vendor
    707 host_cpu
    708 host
    709 build_os
    710 build_vendor
    711 build_cpu
    712 build
    713 target_alias
    714 host_alias
    715 build_alias
    716 LIBS
    717 ECHO_T
    718 ECHO_N
    719 ECHO_C
    720 DEFS
    721 mandir
    722 localedir
    723 libdir
    724 psdir
    725 pdfdir
    726 dvidir
    727 htmldir
    728 infodir
    729 docdir
    730 oldincludedir
    731 includedir
    732 localstatedir
    733 sharedstatedir
    734 sysconfdir
    735 datadir
    736 datarootdir
    737 libexecdir
    738 sbindir
    739 bindir
    740 program_transform_name
    741 prefix
    742 exec_prefix
    743 PACKAGE_URL
    744 PACKAGE_BUGREPORT
    745 PACKAGE_STRING
    746 PACKAGE_VERSION
    747 PACKAGE_TARNAME
    748 PACKAGE_NAME
    749 PATH_SEPARATOR
    750 SHELL'
    751 ac_subst_files=''
    752 ac_user_opts='
    753 enable_option_checking
    754 enable_shared
    755 enable_static
    756 with_pic
    757 enable_fast_install
    758 enable_dependency_tracking
    759 with_gnu_ld
    760 with_sysroot
    761 enable_libtool_lock
    762 enable_silent_rules
    763 enable_debug
    764 enable_osmesa
    765 '
    766       ac_precious_vars='build_alias
    767 host_alias
    768 target_alias
    769 CC
    770 CFLAGS
    771 LDFLAGS
    772 LIBS
    773 CPPFLAGS
    774 CPP
    775 CXX
    776 CXXFLAGS
    777 CCC
    778 CXXCPP
    779 PKG_CONFIG
    780 PKG_CONFIG_PATH
    781 PKG_CONFIG_LIBDIR
    782 OSMESA_CFLAGS
    783 OSMESA_LIBS
    784 GL_CFLAGS
    785 GL_LIBS'
    786 
    787 
    788 # Initialize some variables set by options.
    789 ac_init_help=
    790 ac_init_version=false
    791 ac_unrecognized_opts=
    792 ac_unrecognized_sep=
    793 # The variables have the same names as the options, with
    794 # dashes changed to underlines.
    795 cache_file=/dev/null
    796 exec_prefix=NONE
    797 no_create=
    798 no_recursion=
    799 prefix=NONE
    800 program_prefix=NONE
    801 program_suffix=NONE
    802 program_transform_name=s,x,x,
    803 silent=
    804 site=
    805 srcdir=
    806 verbose=
    807 x_includes=NONE
    808 x_libraries=NONE
    809 
    810 # Installation directory options.
    811 # These are left unexpanded so users can "make install exec_prefix=/foo"
    812 # and all the variables that are supposed to be based on exec_prefix
    813 # by default will actually change.
    814 # Use braces instead of parens because sh, perl, etc. also accept them.
    815 # (The list follows the same order as the GNU Coding Standards.)
    816 bindir='${exec_prefix}/bin'
    817 sbindir='${exec_prefix}/sbin'
    818 libexecdir='${exec_prefix}/libexec'
    819 datarootdir='${prefix}/share'
    820 datadir='${datarootdir}'
    821 sysconfdir='${prefix}/etc'
    822 sharedstatedir='${prefix}/com'
    823 localstatedir='${prefix}/var'
    824 includedir='${prefix}/include'
    825 oldincludedir='/usr/include'
    826 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    827 infodir='${datarootdir}/info'
    828 htmldir='${docdir}'
    829 dvidir='${docdir}'
    830 pdfdir='${docdir}'
    831 psdir='${docdir}'
    832 libdir='${exec_prefix}/lib'
    833 localedir='${datarootdir}/locale'
    834 mandir='${datarootdir}/man'
    835 
    836 ac_prev=
    837 ac_dashdash=
    838 for ac_option
    839 do
    840   # If the previous option needs an argument, assign it.
    841   if test -n "$ac_prev"; then
    842     eval $ac_prev=\$ac_option
    843     ac_prev=
    844     continue
    845   fi
    846 
    847   case $ac_option in
    848   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    849   *=)   ac_optarg= ;;
    850   *)    ac_optarg=yes ;;
    851   esac
    852 
    853   # Accept the important Cygnus configure options, so we can diagnose typos.
    854 
    855   case $ac_dashdash$ac_option in
    856   --)
    857     ac_dashdash=yes ;;
    858 
    859   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    860     ac_prev=bindir ;;
    861   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    862     bindir=$ac_optarg ;;
    863 
    864   -build | --build | --buil | --bui | --bu)
    865     ac_prev=build_alias ;;
    866   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    867     build_alias=$ac_optarg ;;
    868 
    869   -cache-file | --cache-file | --cache-fil | --cache-fi \
    870   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    871     ac_prev=cache_file ;;
    872   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    873   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    874     cache_file=$ac_optarg ;;
    875 
    876   --config-cache | -C)
    877     cache_file=config.cache ;;
    878 
    879   -datadir | --datadir | --datadi | --datad)
    880     ac_prev=datadir ;;
    881   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    882     datadir=$ac_optarg ;;
    883 
    884   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    885   | --dataroo | --dataro | --datar)
    886     ac_prev=datarootdir ;;
    887   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    888   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    889     datarootdir=$ac_optarg ;;
    890 
    891   -disable-* | --disable-*)
    892     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    893     # Reject names that are not valid shell variable names.
    894     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    895       as_fn_error $? "invalid feature name: $ac_useropt"
    896     ac_useropt_orig=$ac_useropt
    897     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    898     case $ac_user_opts in
    899       *"
    900 "enable_$ac_useropt"
    901 "*) ;;
    902       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    903 	 ac_unrecognized_sep=', ';;
    904     esac
    905     eval enable_$ac_useropt=no ;;
    906 
    907   -docdir | --docdir | --docdi | --doc | --do)
    908     ac_prev=docdir ;;
    909   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    910     docdir=$ac_optarg ;;
    911 
    912   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    913     ac_prev=dvidir ;;
    914   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    915     dvidir=$ac_optarg ;;
    916 
    917   -enable-* | --enable-*)
    918     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    919     # Reject names that are not valid shell variable names.
    920     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    921       as_fn_error $? "invalid feature name: $ac_useropt"
    922     ac_useropt_orig=$ac_useropt
    923     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    924     case $ac_user_opts in
    925       *"
    926 "enable_$ac_useropt"
    927 "*) ;;
    928       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    929 	 ac_unrecognized_sep=', ';;
    930     esac
    931     eval enable_$ac_useropt=\$ac_optarg ;;
    932 
    933   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    934   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    935   | --exec | --exe | --ex)
    936     ac_prev=exec_prefix ;;
    937   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    938   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    939   | --exec=* | --exe=* | --ex=*)
    940     exec_prefix=$ac_optarg ;;
    941 
    942   -gas | --gas | --ga | --g)
    943     # Obsolete; use --with-gas.
    944     with_gas=yes ;;
    945 
    946   -help | --help | --hel | --he | -h)
    947     ac_init_help=long ;;
    948   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    949     ac_init_help=recursive ;;
    950   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    951     ac_init_help=short ;;
    952 
    953   -host | --host | --hos | --ho)
    954     ac_prev=host_alias ;;
    955   -host=* | --host=* | --hos=* | --ho=*)
    956     host_alias=$ac_optarg ;;
    957 
    958   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    959     ac_prev=htmldir ;;
    960   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    961   | --ht=*)
    962     htmldir=$ac_optarg ;;
    963 
    964   -includedir | --includedir | --includedi | --included | --include \
    965   | --includ | --inclu | --incl | --inc)
    966     ac_prev=includedir ;;
    967   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    968   | --includ=* | --inclu=* | --incl=* | --inc=*)
    969     includedir=$ac_optarg ;;
    970 
    971   -infodir | --infodir | --infodi | --infod | --info | --inf)
    972     ac_prev=infodir ;;
    973   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    974     infodir=$ac_optarg ;;
    975 
    976   -libdir | --libdir | --libdi | --libd)
    977     ac_prev=libdir ;;
    978   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    979     libdir=$ac_optarg ;;
    980 
    981   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    982   | --libexe | --libex | --libe)
    983     ac_prev=libexecdir ;;
    984   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    985   | --libexe=* | --libex=* | --libe=*)
    986     libexecdir=$ac_optarg ;;
    987 
    988   -localedir | --localedir | --localedi | --localed | --locale)
    989     ac_prev=localedir ;;
    990   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    991     localedir=$ac_optarg ;;
    992 
    993   -localstatedir | --localstatedir | --localstatedi | --localstated \
    994   | --localstate | --localstat | --localsta | --localst | --locals)
    995     ac_prev=localstatedir ;;
    996   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    997   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    998     localstatedir=$ac_optarg ;;
    999 
   1000   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1001     ac_prev=mandir ;;
   1002   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1003     mandir=$ac_optarg ;;
   1004 
   1005   -nfp | --nfp | --nf)
   1006     # Obsolete; use --without-fp.
   1007     with_fp=no ;;
   1008 
   1009   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1010   | --no-cr | --no-c | -n)
   1011     no_create=yes ;;
   1012 
   1013   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1014   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1015     no_recursion=yes ;;
   1016 
   1017   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1018   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1019   | --oldin | --oldi | --old | --ol | --o)
   1020     ac_prev=oldincludedir ;;
   1021   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1022   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1023   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1024     oldincludedir=$ac_optarg ;;
   1025 
   1026   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1027     ac_prev=prefix ;;
   1028   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1029     prefix=$ac_optarg ;;
   1030 
   1031   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1032   | --program-pre | --program-pr | --program-p)
   1033     ac_prev=program_prefix ;;
   1034   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1035   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1036     program_prefix=$ac_optarg ;;
   1037 
   1038   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1039   | --program-suf | --program-su | --program-s)
   1040     ac_prev=program_suffix ;;
   1041   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1042   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1043     program_suffix=$ac_optarg ;;
   1044 
   1045   -program-transform-name | --program-transform-name \
   1046   | --program-transform-nam | --program-transform-na \
   1047   | --program-transform-n | --program-transform- \
   1048   | --program-transform | --program-transfor \
   1049   | --program-transfo | --program-transf \
   1050   | --program-trans | --program-tran \
   1051   | --progr-tra | --program-tr | --program-t)
   1052     ac_prev=program_transform_name ;;
   1053   -program-transform-name=* | --program-transform-name=* \
   1054   | --program-transform-nam=* | --program-transform-na=* \
   1055   | --program-transform-n=* | --program-transform-=* \
   1056   | --program-transform=* | --program-transfor=* \
   1057   | --program-transfo=* | --program-transf=* \
   1058   | --program-trans=* | --program-tran=* \
   1059   | --progr-tra=* | --program-tr=* | --program-t=*)
   1060     program_transform_name=$ac_optarg ;;
   1061 
   1062   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1063     ac_prev=pdfdir ;;
   1064   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1065     pdfdir=$ac_optarg ;;
   1066 
   1067   -psdir | --psdir | --psdi | --psd | --ps)
   1068     ac_prev=psdir ;;
   1069   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1070     psdir=$ac_optarg ;;
   1071 
   1072   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1073   | -silent | --silent | --silen | --sile | --sil)
   1074     silent=yes ;;
   1075 
   1076   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1077     ac_prev=sbindir ;;
   1078   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1079   | --sbi=* | --sb=*)
   1080     sbindir=$ac_optarg ;;
   1081 
   1082   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1083   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1084   | --sharedst | --shareds | --shared | --share | --shar \
   1085   | --sha | --sh)
   1086     ac_prev=sharedstatedir ;;
   1087   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1088   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1089   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1090   | --sha=* | --sh=*)
   1091     sharedstatedir=$ac_optarg ;;
   1092 
   1093   -site | --site | --sit)
   1094     ac_prev=site ;;
   1095   -site=* | --site=* | --sit=*)
   1096     site=$ac_optarg ;;
   1097 
   1098   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1099     ac_prev=srcdir ;;
   1100   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1101     srcdir=$ac_optarg ;;
   1102 
   1103   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1104   | --syscon | --sysco | --sysc | --sys | --sy)
   1105     ac_prev=sysconfdir ;;
   1106   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1107   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1108     sysconfdir=$ac_optarg ;;
   1109 
   1110   -target | --target | --targe | --targ | --tar | --ta | --t)
   1111     ac_prev=target_alias ;;
   1112   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1113     target_alias=$ac_optarg ;;
   1114 
   1115   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1116     verbose=yes ;;
   1117 
   1118   -version | --version | --versio | --versi | --vers | -V)
   1119     ac_init_version=: ;;
   1120 
   1121   -with-* | --with-*)
   1122     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1123     # Reject names that are not valid shell variable names.
   1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1125       as_fn_error $? "invalid package name: $ac_useropt"
   1126     ac_useropt_orig=$ac_useropt
   1127     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1128     case $ac_user_opts in
   1129       *"
   1130 "with_$ac_useropt"
   1131 "*) ;;
   1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1133 	 ac_unrecognized_sep=', ';;
   1134     esac
   1135     eval with_$ac_useropt=\$ac_optarg ;;
   1136 
   1137   -without-* | --without-*)
   1138     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1139     # Reject names that are not valid shell variable names.
   1140     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1141       as_fn_error $? "invalid package name: $ac_useropt"
   1142     ac_useropt_orig=$ac_useropt
   1143     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1144     case $ac_user_opts in
   1145       *"
   1146 "with_$ac_useropt"
   1147 "*) ;;
   1148       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1149 	 ac_unrecognized_sep=', ';;
   1150     esac
   1151     eval with_$ac_useropt=no ;;
   1152 
   1153   --x)
   1154     # Obsolete; use --with-x.
   1155     with_x=yes ;;
   1156 
   1157   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1158   | --x-incl | --x-inc | --x-in | --x-i)
   1159     ac_prev=x_includes ;;
   1160   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1161   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1162     x_includes=$ac_optarg ;;
   1163 
   1164   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1165   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1166     ac_prev=x_libraries ;;
   1167   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1168   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1169     x_libraries=$ac_optarg ;;
   1170 
   1171   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1172 Try \`$0 --help' for more information"
   1173     ;;
   1174 
   1175   *=*)
   1176     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1177     # Reject names that are not valid shell variable names.
   1178     case $ac_envvar in #(
   1179       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1180       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1181     esac
   1182     eval $ac_envvar=\$ac_optarg
   1183     export $ac_envvar ;;
   1184 
   1185   *)
   1186     # FIXME: should be removed in autoconf 3.0.
   1187     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1188     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1189       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1190     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1191     ;;
   1192 
   1193   esac
   1194 done
   1195 
   1196 if test -n "$ac_prev"; then
   1197   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1198   as_fn_error $? "missing argument to $ac_option"
   1199 fi
   1200 
   1201 if test -n "$ac_unrecognized_opts"; then
   1202   case $enable_option_checking in
   1203     no) ;;
   1204     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1205     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1206   esac
   1207 fi
   1208 
   1209 # Check all directory arguments for consistency.
   1210 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1211 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1212 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1213 		libdir localedir mandir
   1214 do
   1215   eval ac_val=\$$ac_var
   1216   # Remove trailing slashes.
   1217   case $ac_val in
   1218     */ )
   1219       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1220       eval $ac_var=\$ac_val;;
   1221   esac
   1222   # Be sure to have absolute directory names.
   1223   case $ac_val in
   1224     [\\/$]* | ?:[\\/]* )  continue;;
   1225     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1226   esac
   1227   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1228 done
   1229 
   1230 # There might be people who depend on the old broken behavior: `$host'
   1231 # used to hold the argument of --host etc.
   1232 # FIXME: To remove some day.
   1233 build=$build_alias
   1234 host=$host_alias
   1235 target=$target_alias
   1236 
   1237 # FIXME: To remove some day.
   1238 if test "x$host_alias" != x; then
   1239   if test "x$build_alias" = x; then
   1240     cross_compiling=maybe
   1241     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1242     If a cross compiler is detected then cross compile mode will be used" >&2
   1243   elif test "x$build_alias" != "x$host_alias"; then
   1244     cross_compiling=yes
   1245   fi
   1246 fi
   1247 
   1248 ac_tool_prefix=
   1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1250 
   1251 test "$silent" = yes && exec 6>/dev/null
   1252 
   1253 
   1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1255 ac_ls_di=`ls -di .` &&
   1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1257   as_fn_error $? "working directory cannot be determined"
   1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1259   as_fn_error $? "pwd does not report name of working directory"
   1260 
   1261 
   1262 # Find the source files, if location was not specified.
   1263 if test -z "$srcdir"; then
   1264   ac_srcdir_defaulted=yes
   1265   # Try the directory containing this script, then the parent directory.
   1266   ac_confdir=`$as_dirname -- "$as_myself" ||
   1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1268 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1269 	 X"$as_myself" : 'X\(//\)$' \| \
   1270 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1271 $as_echo X"$as_myself" |
   1272     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  /^X\(\/\/\)[^/].*/{
   1277 	    s//\1/
   1278 	    q
   1279 	  }
   1280 	  /^X\(\/\/\)$/{
   1281 	    s//\1/
   1282 	    q
   1283 	  }
   1284 	  /^X\(\/\).*/{
   1285 	    s//\1/
   1286 	    q
   1287 	  }
   1288 	  s/.*/./; q'`
   1289   srcdir=$ac_confdir
   1290   if test ! -r "$srcdir/$ac_unique_file"; then
   1291     srcdir=..
   1292   fi
   1293 else
   1294   ac_srcdir_defaulted=no
   1295 fi
   1296 if test ! -r "$srcdir/$ac_unique_file"; then
   1297   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1298   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1299 fi
   1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1301 ac_abs_confdir=`(
   1302 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1303 	pwd)`
   1304 # When building in place, set srcdir=.
   1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1306   srcdir=.
   1307 fi
   1308 # Remove unnecessary trailing slashes from srcdir.
   1309 # Double slashes in file names in object file debugging info
   1310 # mess up M-x gdb in Emacs.
   1311 case $srcdir in
   1312 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1313 esac
   1314 for ac_var in $ac_precious_vars; do
   1315   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1316   eval ac_env_${ac_var}_value=\$${ac_var}
   1317   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1318   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1319 done
   1320 
   1321 #
   1322 # Report the --help message.
   1323 #
   1324 if test "$ac_init_help" = "long"; then
   1325   # Omit some internal or obsolete options to make the list less imposing.
   1326   # This message is too long to be a string in the A/UX 3.1 sh.
   1327   cat <<_ACEOF
   1328 \`configure' configures glu 9.0.0 to adapt to many kinds of systems.
   1329 
   1330 Usage: $0 [OPTION]... [VAR=VALUE]...
   1331 
   1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1333 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1334 
   1335 Defaults for the options are specified in brackets.
   1336 
   1337 Configuration:
   1338   -h, --help              display this help and exit
   1339       --help=short        display options specific to this package
   1340       --help=recursive    display the short help of all the included packages
   1341   -V, --version           display version information and exit
   1342   -q, --quiet, --silent   do not print \`checking ...' messages
   1343       --cache-file=FILE   cache test results in FILE [disabled]
   1344   -C, --config-cache      alias for \`--cache-file=config.cache'
   1345   -n, --no-create         do not create output files
   1346       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1347 
   1348 Installation directories:
   1349   --prefix=PREFIX         install architecture-independent files in PREFIX
   1350                           [$ac_default_prefix]
   1351   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1352                           [PREFIX]
   1353 
   1354 By default, \`make install' will install all the files in
   1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1357 for instance \`--prefix=\$HOME'.
   1358 
   1359 For better control, use the options below.
   1360 
   1361 Fine tuning of the installation directories:
   1362   --bindir=DIR            user executables [EPREFIX/bin]
   1363   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1364   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1365   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1366   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1367   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1368   --libdir=DIR            object code libraries [EPREFIX/lib]
   1369   --includedir=DIR        C header files [PREFIX/include]
   1370   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1371   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1372   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1373   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1374   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1375   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1376   --docdir=DIR            documentation root [DATAROOTDIR/doc/glu]
   1377   --htmldir=DIR           html documentation [DOCDIR]
   1378   --dvidir=DIR            dvi documentation [DOCDIR]
   1379   --pdfdir=DIR            pdf documentation [DOCDIR]
   1380   --psdir=DIR             ps documentation [DOCDIR]
   1381 _ACEOF
   1382 
   1383   cat <<\_ACEOF
   1384 
   1385 Program names:
   1386   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1387   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1388   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1389 
   1390 System types:
   1391   --build=BUILD     configure for building on BUILD [guessed]
   1392   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   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 glu 9.0.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-shared[=PKGS]  build shared libraries [default=yes]
   1407   --enable-static[=PKGS]  build static libraries [default=yes]
   1408   --enable-fast-install[=PKGS]
   1409                           optimize for fast installation [default=yes]
   1410   --enable-dependency-tracking
   1411                           do not reject slow dependency extractors
   1412   --disable-dependency-tracking
   1413                           speeds up one-time build
   1414   --disable-libtool-lock  avoid locking (might break parallel builds)
   1415   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1416   --disable-silent-rules  verbose build output (undo: "make V=0")
   1417   --enable-debug          Enable debugging information
   1418   --enable-osmesa         Enable use of OSMesa instead of libGL
   1419 
   1420 Optional Packages:
   1421   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1422   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1423   --with-pic              try to use only PIC/non-PIC objects [default=use
   1424                           both]
   1425   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1426   --with-sysroot=DIR Search for dependent libraries within DIR
   1427                         (or the compiler's sysroot if not specified).
   1428 
   1429 Some influential environment variables:
   1430   CC          C compiler command
   1431   CFLAGS      C compiler flags
   1432   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1433               nonstandard directory <lib dir>
   1434   LIBS        libraries to pass to the linker, e.g. -l<library>
   1435   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1436               you have headers in a nonstandard directory <include dir>
   1437   CPP         C preprocessor
   1438   CXX         C++ compiler command
   1439   CXXFLAGS    C++ compiler flags
   1440   CXXCPP      C++ preprocessor
   1441   PKG_CONFIG  path to pkg-config utility
   1442   PKG_CONFIG_PATH
   1443               directories to add to pkg-config's search path
   1444   PKG_CONFIG_LIBDIR
   1445               path overriding pkg-config's built-in search path
   1446   OSMESA_CFLAGS
   1447               C compiler flags for OSMESA, overriding pkg-config
   1448   OSMESA_LIBS linker flags for OSMESA, overriding pkg-config
   1449   GL_CFLAGS   C compiler flags for GL, overriding pkg-config
   1450   GL_LIBS     linker flags for GL, overriding pkg-config
   1451 
   1452 Use these variables to override the choices made by `configure' or to help
   1453 it to find libraries and programs with nonstandard names/locations.
   1454 
   1455 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=GLU>.
   1456 _ACEOF
   1457 ac_status=$?
   1458 fi
   1459 
   1460 if test "$ac_init_help" = "recursive"; then
   1461   # If there are subdirs, report their specific --help.
   1462   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1463     test -d "$ac_dir" ||
   1464       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1465       continue
   1466     ac_builddir=.
   1467 
   1468 case "$ac_dir" in
   1469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1470 *)
   1471   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1472   # A ".." for each directory in $ac_dir_suffix.
   1473   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1474   case $ac_top_builddir_sub in
   1475   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1476   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1477   esac ;;
   1478 esac
   1479 ac_abs_top_builddir=$ac_pwd
   1480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1481 # for backward compatibility:
   1482 ac_top_builddir=$ac_top_build_prefix
   1483 
   1484 case $srcdir in
   1485   .)  # We are building in place.
   1486     ac_srcdir=.
   1487     ac_top_srcdir=$ac_top_builddir_sub
   1488     ac_abs_top_srcdir=$ac_pwd ;;
   1489   [\\/]* | ?:[\\/]* )  # Absolute name.
   1490     ac_srcdir=$srcdir$ac_dir_suffix;
   1491     ac_top_srcdir=$srcdir
   1492     ac_abs_top_srcdir=$srcdir ;;
   1493   *) # Relative name.
   1494     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1495     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1496     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1497 esac
   1498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1499 
   1500     cd "$ac_dir" || { ac_status=$?; continue; }
   1501     # Check for guested configure.
   1502     if test -f "$ac_srcdir/configure.gnu"; then
   1503       echo &&
   1504       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1505     elif test -f "$ac_srcdir/configure"; then
   1506       echo &&
   1507       $SHELL "$ac_srcdir/configure" --help=recursive
   1508     else
   1509       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1510     fi || ac_status=$?
   1511     cd "$ac_pwd" || { ac_status=$?; break; }
   1512   done
   1513 fi
   1514 
   1515 test -n "$ac_init_help" && exit $ac_status
   1516 if $ac_init_version; then
   1517   cat <<\_ACEOF
   1518 glu configure 9.0.0
   1519 generated by GNU Autoconf 2.68
   1520 
   1521 Copyright (C) 2010 Free Software Foundation, Inc.
   1522 This configure script is free software; the Free Software Foundation
   1523 gives unlimited permission to copy, distribute and modify it.
   1524 _ACEOF
   1525   exit
   1526 fi
   1527 
   1528 ## ------------------------ ##
   1529 ## Autoconf initialization. ##
   1530 ## ------------------------ ##
   1531 
   1532 # ac_fn_c_try_compile LINENO
   1533 # --------------------------
   1534 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1535 ac_fn_c_try_compile ()
   1536 {
   1537   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1538   rm -f conftest.$ac_objext
   1539   if { { ac_try="$ac_compile"
   1540 case "(($ac_try" in
   1541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1542   *) ac_try_echo=$ac_try;;
   1543 esac
   1544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1545 $as_echo "$ac_try_echo"; } >&5
   1546   (eval "$ac_compile") 2>conftest.err
   1547   ac_status=$?
   1548   if test -s conftest.err; then
   1549     grep -v '^ *+' conftest.err >conftest.er1
   1550     cat conftest.er1 >&5
   1551     mv -f conftest.er1 conftest.err
   1552   fi
   1553   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1554   test $ac_status = 0; } && {
   1555 	 test -z "$ac_c_werror_flag" ||
   1556 	 test ! -s conftest.err
   1557        } && test -s conftest.$ac_objext; then :
   1558   ac_retval=0
   1559 else
   1560   $as_echo "$as_me: failed program was:" >&5
   1561 sed 's/^/| /' conftest.$ac_ext >&5
   1562 
   1563 	ac_retval=1
   1564 fi
   1565   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1566   as_fn_set_status $ac_retval
   1567 
   1568 } # ac_fn_c_try_compile
   1569 
   1570 # ac_fn_c_try_link LINENO
   1571 # -----------------------
   1572 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1573 ac_fn_c_try_link ()
   1574 {
   1575   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1576   rm -f conftest.$ac_objext conftest$ac_exeext
   1577   if { { ac_try="$ac_link"
   1578 case "(($ac_try" in
   1579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1580   *) ac_try_echo=$ac_try;;
   1581 esac
   1582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1583 $as_echo "$ac_try_echo"; } >&5
   1584   (eval "$ac_link") 2>conftest.err
   1585   ac_status=$?
   1586   if test -s conftest.err; then
   1587     grep -v '^ *+' conftest.err >conftest.er1
   1588     cat conftest.er1 >&5
   1589     mv -f conftest.er1 conftest.err
   1590   fi
   1591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1592   test $ac_status = 0; } && {
   1593 	 test -z "$ac_c_werror_flag" ||
   1594 	 test ! -s conftest.err
   1595        } && test -s conftest$ac_exeext && {
   1596 	 test "$cross_compiling" = yes ||
   1597 	 $as_test_x conftest$ac_exeext
   1598        }; then :
   1599   ac_retval=0
   1600 else
   1601   $as_echo "$as_me: failed program was:" >&5
   1602 sed 's/^/| /' conftest.$ac_ext >&5
   1603 
   1604 	ac_retval=1
   1605 fi
   1606   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1607   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1608   # interfere with the next link command; also delete a directory that is
   1609   # left behind by Apple's compiler.  We do this before executing the actions.
   1610   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1611   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1612   as_fn_set_status $ac_retval
   1613 
   1614 } # ac_fn_c_try_link
   1615 
   1616 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1617 # -------------------------------------------------------
   1618 # Tests whether HEADER exists and can be compiled using the include files in
   1619 # INCLUDES, setting the cache variable VAR accordingly.
   1620 ac_fn_c_check_header_compile ()
   1621 {
   1622   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1624 $as_echo_n "checking for $2... " >&6; }
   1625 if eval \${$3+:} false; then :
   1626   $as_echo_n "(cached) " >&6
   1627 else
   1628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1629 /* end confdefs.h.  */
   1630 $4
   1631 #include <$2>
   1632 _ACEOF
   1633 if ac_fn_c_try_compile "$LINENO"; then :
   1634   eval "$3=yes"
   1635 else
   1636   eval "$3=no"
   1637 fi
   1638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1639 fi
   1640 eval ac_res=\$$3
   1641 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1642 $as_echo "$ac_res" >&6; }
   1643   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1644 
   1645 } # ac_fn_c_check_header_compile
   1646 
   1647 # ac_fn_c_try_cpp LINENO
   1648 # ----------------------
   1649 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1650 ac_fn_c_try_cpp ()
   1651 {
   1652   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1653   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1654 case "(($ac_try" in
   1655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1656   *) ac_try_echo=$ac_try;;
   1657 esac
   1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1659 $as_echo "$ac_try_echo"; } >&5
   1660   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1661   ac_status=$?
   1662   if test -s conftest.err; then
   1663     grep -v '^ *+' conftest.err >conftest.er1
   1664     cat conftest.er1 >&5
   1665     mv -f conftest.er1 conftest.err
   1666   fi
   1667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1668   test $ac_status = 0; } > conftest.i && {
   1669 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1670 	 test ! -s conftest.err
   1671        }; then :
   1672   ac_retval=0
   1673 else
   1674   $as_echo "$as_me: failed program was:" >&5
   1675 sed 's/^/| /' conftest.$ac_ext >&5
   1676 
   1677     ac_retval=1
   1678 fi
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680   as_fn_set_status $ac_retval
   1681 
   1682 } # ac_fn_c_try_cpp
   1683 
   1684 # ac_fn_c_try_run LINENO
   1685 # ----------------------
   1686 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1687 # that executables *can* be run.
   1688 ac_fn_c_try_run ()
   1689 {
   1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1691   if { { ac_try="$ac_link"
   1692 case "(($ac_try" in
   1693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1694   *) ac_try_echo=$ac_try;;
   1695 esac
   1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1697 $as_echo "$ac_try_echo"; } >&5
   1698   (eval "$ac_link") 2>&5
   1699   ac_status=$?
   1700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1701   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1702   { { case "(($ac_try" in
   1703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1704   *) ac_try_echo=$ac_try;;
   1705 esac
   1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1707 $as_echo "$ac_try_echo"; } >&5
   1708   (eval "$ac_try") 2>&5
   1709   ac_status=$?
   1710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1711   test $ac_status = 0; }; }; then :
   1712   ac_retval=0
   1713 else
   1714   $as_echo "$as_me: program exited with status $ac_status" >&5
   1715        $as_echo "$as_me: failed program was:" >&5
   1716 sed 's/^/| /' conftest.$ac_ext >&5
   1717 
   1718        ac_retval=$ac_status
   1719 fi
   1720   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1722   as_fn_set_status $ac_retval
   1723 
   1724 } # ac_fn_c_try_run
   1725 
   1726 # ac_fn_c_check_func LINENO FUNC VAR
   1727 # ----------------------------------
   1728 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1729 ac_fn_c_check_func ()
   1730 {
   1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1733 $as_echo_n "checking for $2... " >&6; }
   1734 if eval \${$3+:} false; then :
   1735   $as_echo_n "(cached) " >&6
   1736 else
   1737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1738 /* end confdefs.h.  */
   1739 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1741 #define $2 innocuous_$2
   1742 
   1743 /* System header to define __stub macros and hopefully few prototypes,
   1744     which can conflict with char $2 (); below.
   1745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1746     <limits.h> exists even on freestanding compilers.  */
   1747 
   1748 #ifdef __STDC__
   1749 # include <limits.h>
   1750 #else
   1751 # include <assert.h>
   1752 #endif
   1753 
   1754 #undef $2
   1755 
   1756 /* Override any GCC internal prototype to avoid an error.
   1757    Use char because int might match the return type of a GCC
   1758    builtin and then its argument prototype would still apply.  */
   1759 #ifdef __cplusplus
   1760 extern "C"
   1761 #endif
   1762 char $2 ();
   1763 /* The GNU C library defines this for functions which it implements
   1764     to always fail with ENOSYS.  Some functions are actually named
   1765     something starting with __ and the normal name is an alias.  */
   1766 #if defined __stub_$2 || defined __stub___$2
   1767 choke me
   1768 #endif
   1769 
   1770 int
   1771 main ()
   1772 {
   1773 return $2 ();
   1774   ;
   1775   return 0;
   1776 }
   1777 _ACEOF
   1778 if ac_fn_c_try_link "$LINENO"; then :
   1779   eval "$3=yes"
   1780 else
   1781   eval "$3=no"
   1782 fi
   1783 rm -f core conftest.err conftest.$ac_objext \
   1784     conftest$ac_exeext conftest.$ac_ext
   1785 fi
   1786 eval ac_res=\$$3
   1787 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1788 $as_echo "$ac_res" >&6; }
   1789   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1790 
   1791 } # ac_fn_c_check_func
   1792 
   1793 # ac_fn_cxx_try_compile LINENO
   1794 # ----------------------------
   1795 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1796 ac_fn_cxx_try_compile ()
   1797 {
   1798   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1799   rm -f conftest.$ac_objext
   1800   if { { ac_try="$ac_compile"
   1801 case "(($ac_try" in
   1802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1803   *) ac_try_echo=$ac_try;;
   1804 esac
   1805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1806 $as_echo "$ac_try_echo"; } >&5
   1807   (eval "$ac_compile") 2>conftest.err
   1808   ac_status=$?
   1809   if test -s conftest.err; then
   1810     grep -v '^ *+' conftest.err >conftest.er1
   1811     cat conftest.er1 >&5
   1812     mv -f conftest.er1 conftest.err
   1813   fi
   1814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1815   test $ac_status = 0; } && {
   1816 	 test -z "$ac_cxx_werror_flag" ||
   1817 	 test ! -s conftest.err
   1818        } && test -s conftest.$ac_objext; then :
   1819   ac_retval=0
   1820 else
   1821   $as_echo "$as_me: failed program was:" >&5
   1822 sed 's/^/| /' conftest.$ac_ext >&5
   1823 
   1824 	ac_retval=1
   1825 fi
   1826   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1827   as_fn_set_status $ac_retval
   1828 
   1829 } # ac_fn_cxx_try_compile
   1830 
   1831 # ac_fn_cxx_try_cpp LINENO
   1832 # ------------------------
   1833 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1834 ac_fn_cxx_try_cpp ()
   1835 {
   1836   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1837   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1838 case "(($ac_try" in
   1839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1840   *) ac_try_echo=$ac_try;;
   1841 esac
   1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1843 $as_echo "$ac_try_echo"; } >&5
   1844   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1845   ac_status=$?
   1846   if test -s conftest.err; then
   1847     grep -v '^ *+' conftest.err >conftest.er1
   1848     cat conftest.er1 >&5
   1849     mv -f conftest.er1 conftest.err
   1850   fi
   1851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1852   test $ac_status = 0; } > conftest.i && {
   1853 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1854 	 test ! -s conftest.err
   1855        }; then :
   1856   ac_retval=0
   1857 else
   1858   $as_echo "$as_me: failed program was:" >&5
   1859 sed 's/^/| /' conftest.$ac_ext >&5
   1860 
   1861     ac_retval=1
   1862 fi
   1863   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1864   as_fn_set_status $ac_retval
   1865 
   1866 } # ac_fn_cxx_try_cpp
   1867 
   1868 # ac_fn_cxx_try_link LINENO
   1869 # -------------------------
   1870 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1871 ac_fn_cxx_try_link ()
   1872 {
   1873   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1874   rm -f conftest.$ac_objext conftest$ac_exeext
   1875   if { { ac_try="$ac_link"
   1876 case "(($ac_try" in
   1877   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1878   *) ac_try_echo=$ac_try;;
   1879 esac
   1880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1881 $as_echo "$ac_try_echo"; } >&5
   1882   (eval "$ac_link") 2>conftest.err
   1883   ac_status=$?
   1884   if test -s conftest.err; then
   1885     grep -v '^ *+' conftest.err >conftest.er1
   1886     cat conftest.er1 >&5
   1887     mv -f conftest.er1 conftest.err
   1888   fi
   1889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1890   test $ac_status = 0; } && {
   1891 	 test -z "$ac_cxx_werror_flag" ||
   1892 	 test ! -s conftest.err
   1893        } && test -s conftest$ac_exeext && {
   1894 	 test "$cross_compiling" = yes ||
   1895 	 $as_test_x conftest$ac_exeext
   1896        }; then :
   1897   ac_retval=0
   1898 else
   1899   $as_echo "$as_me: failed program was:" >&5
   1900 sed 's/^/| /' conftest.$ac_ext >&5
   1901 
   1902 	ac_retval=1
   1903 fi
   1904   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1905   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1906   # interfere with the next link command; also delete a directory that is
   1907   # left behind by Apple's compiler.  We do this before executing the actions.
   1908   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1909   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1910   as_fn_set_status $ac_retval
   1911 
   1912 } # ac_fn_cxx_try_link
   1913 
   1914 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1915 # -------------------------------------------------------
   1916 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1917 # the include files in INCLUDES and setting the cache variable VAR
   1918 # accordingly.
   1919 ac_fn_c_check_header_mongrel ()
   1920 {
   1921   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1922   if eval \${$3+:} false; then :
   1923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1924 $as_echo_n "checking for $2... " >&6; }
   1925 if eval \${$3+:} false; then :
   1926   $as_echo_n "(cached) " >&6
   1927 fi
   1928 eval ac_res=\$$3
   1929 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1930 $as_echo "$ac_res" >&6; }
   1931 else
   1932   # Is the header compilable?
   1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1934 $as_echo_n "checking $2 usability... " >&6; }
   1935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1936 /* end confdefs.h.  */
   1937 $4
   1938 #include <$2>
   1939 _ACEOF
   1940 if ac_fn_c_try_compile "$LINENO"; then :
   1941   ac_header_compiler=yes
   1942 else
   1943   ac_header_compiler=no
   1944 fi
   1945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1947 $as_echo "$ac_header_compiler" >&6; }
   1948 
   1949 # Is the header present?
   1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1951 $as_echo_n "checking $2 presence... " >&6; }
   1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1953 /* end confdefs.h.  */
   1954 #include <$2>
   1955 _ACEOF
   1956 if ac_fn_c_try_cpp "$LINENO"; then :
   1957   ac_header_preproc=yes
   1958 else
   1959   ac_header_preproc=no
   1960 fi
   1961 rm -f conftest.err conftest.i conftest.$ac_ext
   1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1963 $as_echo "$ac_header_preproc" >&6; }
   1964 
   1965 # So?  What about this header?
   1966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1967   yes:no: )
   1968     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1969 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1970     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1971 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1972     ;;
   1973   no:yes:* )
   1974     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1975 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1976     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1977 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1978     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1979 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1980     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1981 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1982     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1983 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1984 ( $as_echo "## ------------------------------------------------------------------------------------ ##
   1985 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=GLU ##
   1986 ## ------------------------------------------------------------------------------------ ##"
   1987      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1988     ;;
   1989 esac
   1990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1991 $as_echo_n "checking for $2... " >&6; }
   1992 if eval \${$3+:} false; then :
   1993   $as_echo_n "(cached) " >&6
   1994 else
   1995   eval "$3=\$ac_header_compiler"
   1996 fi
   1997 eval ac_res=\$$3
   1998 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1999 $as_echo "$ac_res" >&6; }
   2000 fi
   2001   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2002 
   2003 } # ac_fn_c_check_header_mongrel
   2004 
   2005 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2006 # ---------------------------------------------
   2007 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2008 # accordingly.
   2009 ac_fn_c_check_decl ()
   2010 {
   2011   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2012   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2013   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2015 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2016 if eval \${$3+:} false; then :
   2017   $as_echo_n "(cached) " >&6
   2018 else
   2019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2020 /* end confdefs.h.  */
   2021 $4
   2022 int
   2023 main ()
   2024 {
   2025 #ifndef $as_decl_name
   2026 #ifdef __cplusplus
   2027   (void) $as_decl_use;
   2028 #else
   2029   (void) $as_decl_name;
   2030 #endif
   2031 #endif
   2032 
   2033   ;
   2034   return 0;
   2035 }
   2036 _ACEOF
   2037 if ac_fn_c_try_compile "$LINENO"; then :
   2038   eval "$3=yes"
   2039 else
   2040   eval "$3=no"
   2041 fi
   2042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2043 fi
   2044 eval ac_res=\$$3
   2045 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2046 $as_echo "$ac_res" >&6; }
   2047   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2048 
   2049 } # ac_fn_c_check_decl
   2050 cat >config.log <<_ACEOF
   2051 This file contains any messages produced by compilers while
   2052 running configure, to aid debugging if configure makes a mistake.
   2053 
   2054 It was created by glu $as_me 9.0.0, which was
   2055 generated by GNU Autoconf 2.68.  Invocation command line was
   2056 
   2057   $ $0 $@
   2058 
   2059 _ACEOF
   2060 exec 5>>config.log
   2061 {
   2062 cat <<_ASUNAME
   2063 ## --------- ##
   2064 ## Platform. ##
   2065 ## --------- ##
   2066 
   2067 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2068 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2069 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2070 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2071 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2072 
   2073 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2074 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2075 
   2076 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2077 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2078 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2079 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2080 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2081 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2082 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2083 
   2084 _ASUNAME
   2085 
   2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2087 for as_dir in $PATH
   2088 do
   2089   IFS=$as_save_IFS
   2090   test -z "$as_dir" && as_dir=.
   2091     $as_echo "PATH: $as_dir"
   2092   done
   2093 IFS=$as_save_IFS
   2094 
   2095 } >&5
   2096 
   2097 cat >&5 <<_ACEOF
   2098 
   2099 
   2100 ## ----------- ##
   2101 ## Core tests. ##
   2102 ## ----------- ##
   2103 
   2104 _ACEOF
   2105 
   2106 
   2107 # Keep a trace of the command line.
   2108 # Strip out --no-create and --no-recursion so they do not pile up.
   2109 # Strip out --silent because we don't want to record it for future runs.
   2110 # Also quote any args containing shell meta-characters.
   2111 # Make two passes to allow for proper duplicate-argument suppression.
   2112 ac_configure_args=
   2113 ac_configure_args0=
   2114 ac_configure_args1=
   2115 ac_must_keep_next=false
   2116 for ac_pass in 1 2
   2117 do
   2118   for ac_arg
   2119   do
   2120     case $ac_arg in
   2121     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2122     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2123     | -silent | --silent | --silen | --sile | --sil)
   2124       continue ;;
   2125     *\'*)
   2126       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2127     esac
   2128     case $ac_pass in
   2129     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2130     2)
   2131       as_fn_append ac_configure_args1 " '$ac_arg'"
   2132       if test $ac_must_keep_next = true; then
   2133 	ac_must_keep_next=false # Got value, back to normal.
   2134       else
   2135 	case $ac_arg in
   2136 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2137 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2138 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2139 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2140 	    case "$ac_configure_args0 " in
   2141 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2142 	    esac
   2143 	    ;;
   2144 	  -* ) ac_must_keep_next=true ;;
   2145 	esac
   2146       fi
   2147       as_fn_append ac_configure_args " '$ac_arg'"
   2148       ;;
   2149     esac
   2150   done
   2151 done
   2152 { ac_configure_args0=; unset ac_configure_args0;}
   2153 { ac_configure_args1=; unset ac_configure_args1;}
   2154 
   2155 # When interrupted or exit'd, cleanup temporary files, and complete
   2156 # config.log.  We remove comments because anyway the quotes in there
   2157 # would cause problems or look ugly.
   2158 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2159 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2160 trap 'exit_status=$?
   2161   # Save into config.log some information that might help in debugging.
   2162   {
   2163     echo
   2164 
   2165     $as_echo "## ---------------- ##
   2166 ## Cache variables. ##
   2167 ## ---------------- ##"
   2168     echo
   2169     # The following way of writing the cache mishandles newlines in values,
   2170 (
   2171   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2172     eval ac_val=\$$ac_var
   2173     case $ac_val in #(
   2174     *${as_nl}*)
   2175       case $ac_var in #(
   2176       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2177 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2178       esac
   2179       case $ac_var in #(
   2180       _ | IFS | as_nl) ;; #(
   2181       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2182       *) { eval $ac_var=; unset $ac_var;} ;;
   2183       esac ;;
   2184     esac
   2185   done
   2186   (set) 2>&1 |
   2187     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2188     *${as_nl}ac_space=\ *)
   2189       sed -n \
   2190 	"s/'\''/'\''\\\\'\'''\''/g;
   2191 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2192       ;; #(
   2193     *)
   2194       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2195       ;;
   2196     esac |
   2197     sort
   2198 )
   2199     echo
   2200 
   2201     $as_echo "## ----------------- ##
   2202 ## Output variables. ##
   2203 ## ----------------- ##"
   2204     echo
   2205     for ac_var in $ac_subst_vars
   2206     do
   2207       eval ac_val=\$$ac_var
   2208       case $ac_val in
   2209       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2210       esac
   2211       $as_echo "$ac_var='\''$ac_val'\''"
   2212     done | sort
   2213     echo
   2214 
   2215     if test -n "$ac_subst_files"; then
   2216       $as_echo "## ------------------- ##
   2217 ## File substitutions. ##
   2218 ## ------------------- ##"
   2219       echo
   2220       for ac_var in $ac_subst_files
   2221       do
   2222 	eval ac_val=\$$ac_var
   2223 	case $ac_val in
   2224 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2225 	esac
   2226 	$as_echo "$ac_var='\''$ac_val'\''"
   2227       done | sort
   2228       echo
   2229     fi
   2230 
   2231     if test -s confdefs.h; then
   2232       $as_echo "## ----------- ##
   2233 ## confdefs.h. ##
   2234 ## ----------- ##"
   2235       echo
   2236       cat confdefs.h
   2237       echo
   2238     fi
   2239     test "$ac_signal" != 0 &&
   2240       $as_echo "$as_me: caught signal $ac_signal"
   2241     $as_echo "$as_me: exit $exit_status"
   2242   } >&5
   2243   rm -f core *.core core.conftest.* &&
   2244     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2245     exit $exit_status
   2246 ' 0
   2247 for ac_signal in 1 2 13 15; do
   2248   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2249 done
   2250 ac_signal=0
   2251 
   2252 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2253 rm -f -r conftest* confdefs.h
   2254 
   2255 $as_echo "/* confdefs.h */" > confdefs.h
   2256 
   2257 # Predefined preprocessor variables.
   2258 
   2259 cat >>confdefs.h <<_ACEOF
   2260 #define PACKAGE_NAME "$PACKAGE_NAME"
   2261 _ACEOF
   2262 
   2263 cat >>confdefs.h <<_ACEOF
   2264 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2265 _ACEOF
   2266 
   2267 cat >>confdefs.h <<_ACEOF
   2268 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2269 _ACEOF
   2270 
   2271 cat >>confdefs.h <<_ACEOF
   2272 #define PACKAGE_STRING "$PACKAGE_STRING"
   2273 _ACEOF
   2274 
   2275 cat >>confdefs.h <<_ACEOF
   2276 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2277 _ACEOF
   2278 
   2279 cat >>confdefs.h <<_ACEOF
   2280 #define PACKAGE_URL "$PACKAGE_URL"
   2281 _ACEOF
   2282 
   2283 
   2284 # Let the site file select an alternate cache file if it wants to.
   2285 # Prefer an explicitly selected file to automatically selected ones.
   2286 ac_site_file1=NONE
   2287 ac_site_file2=NONE
   2288 if test -n "$CONFIG_SITE"; then
   2289   # We do not want a PATH search for config.site.
   2290   case $CONFIG_SITE in #((
   2291     -*)  ac_site_file1=./$CONFIG_SITE;;
   2292     */*) ac_site_file1=$CONFIG_SITE;;
   2293     *)   ac_site_file1=./$CONFIG_SITE;;
   2294   esac
   2295 elif test "x$prefix" != xNONE; then
   2296   ac_site_file1=$prefix/share/config.site
   2297   ac_site_file2=$prefix/etc/config.site
   2298 else
   2299   ac_site_file1=$ac_default_prefix/share/config.site
   2300   ac_site_file2=$ac_default_prefix/etc/config.site
   2301 fi
   2302 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2303 do
   2304   test "x$ac_site_file" = xNONE && continue
   2305   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2306     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2307 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2308     sed 's/^/| /' "$ac_site_file" >&5
   2309     . "$ac_site_file" \
   2310       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2312 as_fn_error $? "failed to load site script $ac_site_file
   2313 See \`config.log' for more details" "$LINENO" 5; }
   2314   fi
   2315 done
   2316 
   2317 if test -r "$cache_file"; then
   2318   # Some versions of bash will fail to source /dev/null (special files
   2319   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2320   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2321     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2322 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2323     case $cache_file in
   2324       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2325       *)                      . "./$cache_file";;
   2326     esac
   2327   fi
   2328 else
   2329   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2330 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2331   >$cache_file
   2332 fi
   2333 
   2334 # Check that the precious variables saved in the cache have kept the same
   2335 # value.
   2336 ac_cache_corrupted=false
   2337 for ac_var in $ac_precious_vars; do
   2338   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2339   eval ac_new_set=\$ac_env_${ac_var}_set
   2340   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2341   eval ac_new_val=\$ac_env_${ac_var}_value
   2342   case $ac_old_set,$ac_new_set in
   2343     set,)
   2344       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2345 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2346       ac_cache_corrupted=: ;;
   2347     ,set)
   2348       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2349 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2350       ac_cache_corrupted=: ;;
   2351     ,);;
   2352     *)
   2353       if test "x$ac_old_val" != "x$ac_new_val"; then
   2354 	# differences in whitespace do not lead to failure.
   2355 	ac_old_val_w=`echo x $ac_old_val`
   2356 	ac_new_val_w=`echo x $ac_new_val`
   2357 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2358 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2359 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2360 	  ac_cache_corrupted=:
   2361 	else
   2362 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2363 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2364 	  eval $ac_var=\$ac_old_val
   2365 	fi
   2366 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2367 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2368 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2369 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2370       fi;;
   2371   esac
   2372   # Pass precious variables to config.status.
   2373   if test "$ac_new_set" = set; then
   2374     case $ac_new_val in
   2375     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2376     *) ac_arg=$ac_var=$ac_new_val ;;
   2377     esac
   2378     case " $ac_configure_args " in
   2379       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2380       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2381     esac
   2382   fi
   2383 done
   2384 if $ac_cache_corrupted; then
   2385   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2387   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2388 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2389   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2390 fi
   2391 ## -------------------- ##
   2392 ## Main body of script. ##
   2393 ## -------------------- ##
   2394 
   2395 ac_ext=c
   2396 ac_cpp='$CPP $CPPFLAGS'
   2397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2400 
   2401 
   2402 
   2403 ac_aux_dir=
   2404 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2405   if test -f "$ac_dir/install-sh"; then
   2406     ac_aux_dir=$ac_dir
   2407     ac_install_sh="$ac_aux_dir/install-sh -c"
   2408     break
   2409   elif test -f "$ac_dir/install.sh"; then
   2410     ac_aux_dir=$ac_dir
   2411     ac_install_sh="$ac_aux_dir/install.sh -c"
   2412     break
   2413   elif test -f "$ac_dir/shtool"; then
   2414     ac_aux_dir=$ac_dir
   2415     ac_install_sh="$ac_aux_dir/shtool install -c"
   2416     break
   2417   fi
   2418 done
   2419 if test -z "$ac_aux_dir"; then
   2420   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2421 fi
   2422 
   2423 # These three variables are undocumented and unsupported,
   2424 # and are intended to be withdrawn in a future Autoconf release.
   2425 # They can cause serious problems if a builder's source tree is in a directory
   2426 # whose full name contains unusual characters.
   2427 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2428 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2429 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2430 
   2431 
   2432 # Make sure we can run config.sub.
   2433 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2434   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2435 
   2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2437 $as_echo_n "checking build system type... " >&6; }
   2438 if ${ac_cv_build+:} false; then :
   2439   $as_echo_n "(cached) " >&6
   2440 else
   2441   ac_build_alias=$build_alias
   2442 test "x$ac_build_alias" = x &&
   2443   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2444 test "x$ac_build_alias" = x &&
   2445   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2446 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2447   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2448 
   2449 fi
   2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2451 $as_echo "$ac_cv_build" >&6; }
   2452 case $ac_cv_build in
   2453 *-*-*) ;;
   2454 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2455 esac
   2456 build=$ac_cv_build
   2457 ac_save_IFS=$IFS; IFS='-'
   2458 set x $ac_cv_build
   2459 shift
   2460 build_cpu=$1
   2461 build_vendor=$2
   2462 shift; shift
   2463 # Remember, the first character of IFS is used to create $*,
   2464 # except with old shells:
   2465 build_os=$*
   2466 IFS=$ac_save_IFS
   2467 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2468 
   2469 
   2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2471 $as_echo_n "checking host system type... " >&6; }
   2472 if ${ac_cv_host+:} false; then :
   2473   $as_echo_n "(cached) " >&6
   2474 else
   2475   if test "x$host_alias" = x; then
   2476   ac_cv_host=$ac_cv_build
   2477 else
   2478   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2479     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2480 fi
   2481 
   2482 fi
   2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2484 $as_echo "$ac_cv_host" >&6; }
   2485 case $ac_cv_host in
   2486 *-*-*) ;;
   2487 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2488 esac
   2489 host=$ac_cv_host
   2490 ac_save_IFS=$IFS; IFS='-'
   2491 set x $ac_cv_host
   2492 shift
   2493 host_cpu=$1
   2494 host_vendor=$2
   2495 shift; shift
   2496 # Remember, the first character of IFS is used to create $*,
   2497 # except with old shells:
   2498 host_os=$*
   2499 IFS=$ac_save_IFS
   2500 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2501 
   2502 
   2503 
   2504 am__api_version='1.12'
   2505 
   2506 # Find a good install program.  We prefer a C program (faster),
   2507 # so one script is as good as another.  But avoid the broken or
   2508 # incompatible versions:
   2509 # SysV /etc/install, /usr/sbin/install
   2510 # SunOS /usr/etc/install
   2511 # IRIX /sbin/install
   2512 # AIX /bin/install
   2513 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2514 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2515 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2516 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2517 # OS/2's system install, which has a completely different semantic
   2518 # ./install, which can be erroneously created by make from ./install.sh.
   2519 # Reject install programs that cannot install multiple files.
   2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2521 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2522 if test -z "$INSTALL"; then
   2523 if ${ac_cv_path_install+:} false; then :
   2524   $as_echo_n "(cached) " >&6
   2525 else
   2526   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2527 for as_dir in $PATH
   2528 do
   2529   IFS=$as_save_IFS
   2530   test -z "$as_dir" && as_dir=.
   2531     # Account for people who put trailing slashes in PATH elements.
   2532 case $as_dir/ in #((
   2533   ./ | .// | /[cC]/* | \
   2534   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2535   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2536   /usr/ucb/* ) ;;
   2537   *)
   2538     # OSF1 and SCO ODT 3.0 have their own names for install.
   2539     # Don't use installbsd from OSF since it installs stuff as root
   2540     # by default.
   2541     for ac_prog in ginstall scoinst install; do
   2542       for ac_exec_ext in '' $ac_executable_extensions; do
   2543 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2544 	  if test $ac_prog = install &&
   2545 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2546 	    # AIX install.  It has an incompatible calling convention.
   2547 	    :
   2548 	  elif test $ac_prog = install &&
   2549 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2550 	    # program-specific install script used by HP pwplus--don't use.
   2551 	    :
   2552 	  else
   2553 	    rm -rf conftest.one conftest.two conftest.dir
   2554 	    echo one > conftest.one
   2555 	    echo two > conftest.two
   2556 	    mkdir conftest.dir
   2557 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2558 	      test -s conftest.one && test -s conftest.two &&
   2559 	      test -s conftest.dir/conftest.one &&
   2560 	      test -s conftest.dir/conftest.two
   2561 	    then
   2562 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2563 	      break 3
   2564 	    fi
   2565 	  fi
   2566 	fi
   2567       done
   2568     done
   2569     ;;
   2570 esac
   2571 
   2572   done
   2573 IFS=$as_save_IFS
   2574 
   2575 rm -rf conftest.one conftest.two conftest.dir
   2576 
   2577 fi
   2578   if test "${ac_cv_path_install+set}" = set; then
   2579     INSTALL=$ac_cv_path_install
   2580   else
   2581     # As a last resort, use the slow shell script.  Don't cache a
   2582     # value for INSTALL within a source directory, because that will
   2583     # break other packages using the cache if that directory is
   2584     # removed, or if the value is a relative name.
   2585     INSTALL=$ac_install_sh
   2586   fi
   2587 fi
   2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2589 $as_echo "$INSTALL" >&6; }
   2590 
   2591 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2592 # It thinks the first close brace ends the variable substitution.
   2593 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2594 
   2595 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2596 
   2597 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2598 
   2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2600 $as_echo_n "checking whether build environment is sane... " >&6; }
   2601 # Reject unsafe characters in $srcdir or the absolute working directory
   2602 # name.  Accept space and tab only in the latter.
   2603 am_lf='
   2604 '
   2605 case `pwd` in
   2606   *[\\\"\#\$\&\'\`$am_lf]*)
   2607     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2608 esac
   2609 case $srcdir in
   2610   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2611     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2612 esac
   2613 
   2614 # Do 'set' in a subshell so we don't clobber the current shell's
   2615 # arguments.  Must try -L first in case configure is actually a
   2616 # symlink; some systems play weird games with the mod time of symlinks
   2617 # (eg FreeBSD returns the mod time of the symlink's containing
   2618 # directory).
   2619 if (
   2620    am_has_slept=no
   2621    for am_try in 1 2; do
   2622      echo "timestamp, slept: $am_has_slept" > conftest.file
   2623      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2624      if test "$*" = "X"; then
   2625 	# -L didn't work.
   2626 	set X `ls -t "$srcdir/configure" conftest.file`
   2627      fi
   2628      if test "$*" != "X $srcdir/configure conftest.file" \
   2629 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2630 
   2631 	# If neither matched, then we have a broken ls.  This can happen
   2632 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2633 	# broken ls alias from the environment.  This has actually
   2634 	# happened.  Such a system could not be considered "sane".
   2635 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2636   alias in your environment" "$LINENO" 5
   2637      fi
   2638      if test "$2" = conftest.file || test $am_try -eq 2; then
   2639        break
   2640      fi
   2641      # Just in case.
   2642      sleep 1
   2643      am_has_slept=yes
   2644    done
   2645    test "$2" = conftest.file
   2646    )
   2647 then
   2648    # Ok.
   2649    :
   2650 else
   2651    as_fn_error $? "newly created file is older than distributed files!
   2652 Check your system clock" "$LINENO" 5
   2653 fi
   2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2655 $as_echo "yes" >&6; }
   2656 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2657 # generated files are strictly newer.
   2658 am_sleep_pid=
   2659 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2660   ( sleep 1 ) &
   2661   am_sleep_pid=$!
   2662 fi
   2663 
   2664 rm -f conftest.file
   2665 
   2666 test "$program_prefix" != NONE &&
   2667   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2668 # Use a double $ so make ignores it.
   2669 test "$program_suffix" != NONE &&
   2670   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2671 # Double any \ or $.
   2672 # By default was `s,x,x', remove it if useless.
   2673 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2674 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2675 
   2676 # expand $ac_aux_dir to an absolute path
   2677 am_aux_dir=`cd $ac_aux_dir && pwd`
   2678 
   2679 if test x"${MISSING+set}" != xset; then
   2680   case $am_aux_dir in
   2681   *\ * | *\	*)
   2682     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2683   *)
   2684     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2685   esac
   2686 fi
   2687 # Use eval to expand $SHELL
   2688 if eval "$MISSING --run true"; then
   2689   am_missing_run="$MISSING --run "
   2690 else
   2691   am_missing_run=
   2692   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2693 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2694 fi
   2695 
   2696 if test x"${install_sh}" != xset; then
   2697   case $am_aux_dir in
   2698   *\ * | *\	*)
   2699     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2700   *)
   2701     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2702   esac
   2703 fi
   2704 
   2705 # Installed binaries are usually stripped using 'strip' when the user
   2706 # run "make install-strip".  However 'strip' might not be the right
   2707 # tool to use in cross-compilation environments, therefore Automake
   2708 # will honor the 'STRIP' environment variable to overrule this program.
   2709 if test "$cross_compiling" != no; then
   2710   if test -n "$ac_tool_prefix"; then
   2711   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2712 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2714 $as_echo_n "checking for $ac_word... " >&6; }
   2715 if ${ac_cv_prog_STRIP+:} false; then :
   2716   $as_echo_n "(cached) " >&6
   2717 else
   2718   if test -n "$STRIP"; then
   2719   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2720 else
   2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2722 for as_dir in $PATH
   2723 do
   2724   IFS=$as_save_IFS
   2725   test -z "$as_dir" && as_dir=.
   2726     for ac_exec_ext in '' $ac_executable_extensions; do
   2727   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2728     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2729     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2730     break 2
   2731   fi
   2732 done
   2733   done
   2734 IFS=$as_save_IFS
   2735 
   2736 fi
   2737 fi
   2738 STRIP=$ac_cv_prog_STRIP
   2739 if test -n "$STRIP"; then
   2740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2741 $as_echo "$STRIP" >&6; }
   2742 else
   2743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2744 $as_echo "no" >&6; }
   2745 fi
   2746 
   2747 
   2748 fi
   2749 if test -z "$ac_cv_prog_STRIP"; then
   2750   ac_ct_STRIP=$STRIP
   2751   # Extract the first word of "strip", so it can be a program name with args.
   2752 set dummy strip; ac_word=$2
   2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2754 $as_echo_n "checking for $ac_word... " >&6; }
   2755 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2756   $as_echo_n "(cached) " >&6
   2757 else
   2758   if test -n "$ac_ct_STRIP"; then
   2759   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2760 else
   2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2762 for as_dir in $PATH
   2763 do
   2764   IFS=$as_save_IFS
   2765   test -z "$as_dir" && as_dir=.
   2766     for ac_exec_ext in '' $ac_executable_extensions; do
   2767   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2768     ac_cv_prog_ac_ct_STRIP="strip"
   2769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2770     break 2
   2771   fi
   2772 done
   2773   done
   2774 IFS=$as_save_IFS
   2775 
   2776 fi
   2777 fi
   2778 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2779 if test -n "$ac_ct_STRIP"; then
   2780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2781 $as_echo "$ac_ct_STRIP" >&6; }
   2782 else
   2783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2784 $as_echo "no" >&6; }
   2785 fi
   2786 
   2787   if test "x$ac_ct_STRIP" = x; then
   2788     STRIP=":"
   2789   else
   2790     case $cross_compiling:$ac_tool_warned in
   2791 yes:)
   2792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2794 ac_tool_warned=yes ;;
   2795 esac
   2796     STRIP=$ac_ct_STRIP
   2797   fi
   2798 else
   2799   STRIP="$ac_cv_prog_STRIP"
   2800 fi
   2801 
   2802 fi
   2803 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2804 
   2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2806 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2807 if test -z "$MKDIR_P"; then
   2808   if ${ac_cv_path_mkdir+:} false; then :
   2809   $as_echo_n "(cached) " >&6
   2810 else
   2811   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2812 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2813 do
   2814   IFS=$as_save_IFS
   2815   test -z "$as_dir" && as_dir=.
   2816     for ac_prog in mkdir gmkdir; do
   2817 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2818 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2819 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2820 	     'mkdir (GNU coreutils) '* | \
   2821 	     'mkdir (coreutils) '* | \
   2822 	     'mkdir (fileutils) '4.1*)
   2823 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2824 	       break 3;;
   2825 	   esac
   2826 	 done
   2827        done
   2828   done
   2829 IFS=$as_save_IFS
   2830 
   2831 fi
   2832 
   2833   test -d ./--version && rmdir ./--version
   2834   if test "${ac_cv_path_mkdir+set}" = set; then
   2835     MKDIR_P="$ac_cv_path_mkdir -p"
   2836   else
   2837     # As a last resort, use the slow shell script.  Don't cache a
   2838     # value for MKDIR_P within a source directory, because that will
   2839     # break other packages using the cache if that directory is
   2840     # removed, or if the value is a relative name.
   2841     MKDIR_P="$ac_install_sh -d"
   2842   fi
   2843 fi
   2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2845 $as_echo "$MKDIR_P" >&6; }
   2846 
   2847 for ac_prog in gawk mawk nawk awk
   2848 do
   2849   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2850 set dummy $ac_prog; ac_word=$2
   2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2852 $as_echo_n "checking for $ac_word... " >&6; }
   2853 if ${ac_cv_prog_AWK+:} false; then :
   2854   $as_echo_n "(cached) " >&6
   2855 else
   2856   if test -n "$AWK"; then
   2857   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2858 else
   2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2860 for as_dir in $PATH
   2861 do
   2862   IFS=$as_save_IFS
   2863   test -z "$as_dir" && as_dir=.
   2864     for ac_exec_ext in '' $ac_executable_extensions; do
   2865   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2866     ac_cv_prog_AWK="$ac_prog"
   2867     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2868     break 2
   2869   fi
   2870 done
   2871   done
   2872 IFS=$as_save_IFS
   2873 
   2874 fi
   2875 fi
   2876 AWK=$ac_cv_prog_AWK
   2877 if test -n "$AWK"; then
   2878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2879 $as_echo "$AWK" >&6; }
   2880 else
   2881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2882 $as_echo "no" >&6; }
   2883 fi
   2884 
   2885 
   2886   test -n "$AWK" && break
   2887 done
   2888 
   2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2890 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2891 set x ${MAKE-make}
   2892 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2893 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2894   $as_echo_n "(cached) " >&6
   2895 else
   2896   cat >conftest.make <<\_ACEOF
   2897 SHELL = /bin/sh
   2898 all:
   2899 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2900 _ACEOF
   2901 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2902 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2903   *@@@%%%=?*=@@@%%%*)
   2904     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2905   *)
   2906     eval ac_cv_prog_make_${ac_make}_set=no;;
   2907 esac
   2908 rm -f conftest.make
   2909 fi
   2910 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2912 $as_echo "yes" >&6; }
   2913   SET_MAKE=
   2914 else
   2915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2916 $as_echo "no" >&6; }
   2917   SET_MAKE="MAKE=${MAKE-make}"
   2918 fi
   2919 
   2920 rm -rf .tst 2>/dev/null
   2921 mkdir .tst 2>/dev/null
   2922 if test -d .tst; then
   2923   am__leading_dot=.
   2924 else
   2925   am__leading_dot=_
   2926 fi
   2927 rmdir .tst 2>/dev/null
   2928 
   2929 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2930   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2931   # is not polluted with repeated "-I."
   2932   am__isrc=' -I$(srcdir)'
   2933   # test to see if srcdir already configured
   2934   if test -f $srcdir/config.status; then
   2935     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2936   fi
   2937 fi
   2938 
   2939 # test whether we have cygpath
   2940 if test -z "$CYGPATH_W"; then
   2941   if (cygpath --version) >/dev/null 2>/dev/null; then
   2942     CYGPATH_W='cygpath -w'
   2943   else
   2944     CYGPATH_W=echo
   2945   fi
   2946 fi
   2947 
   2948 
   2949 # Define the identity of the package.
   2950  PACKAGE='glu'
   2951  VERSION='9.0.0'
   2952 
   2953 
   2954 cat >>confdefs.h <<_ACEOF
   2955 #define PACKAGE "$PACKAGE"
   2956 _ACEOF
   2957 
   2958 
   2959 cat >>confdefs.h <<_ACEOF
   2960 #define VERSION "$VERSION"
   2961 _ACEOF
   2962 
   2963 # Some tools Automake needs.
   2964 
   2965 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2966 
   2967 
   2968 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2969 
   2970 
   2971 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2972 
   2973 
   2974 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2975 
   2976 
   2977 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2978 
   2979 # For better backward compatibility.  To be removed once Automake 1.9.x
   2980 # dies out for good.  For more background, see:
   2981 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2982 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2983 mkdir_p='$(MKDIR_P)'
   2984 
   2985 # We need awk for the "check" target.  The system "awk" is bad on
   2986 # some platforms.
   2987 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2988 # in the wild :-(  We should find a proper way to deprecate it ...
   2989 AMTAR='$${TAR-tar}'
   2990 
   2991 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2992 
   2993 
   2994 
   2995 
   2996 
   2997 
   2998 
   2999 case `pwd` in
   3000   *\ * | *\	*)
   3001     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3002 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3003 esac
   3004 
   3005 
   3006 
   3007 macro_version='2.4'
   3008 macro_revision='1.3293'
   3009 
   3010 
   3011 
   3012 
   3013 
   3014 
   3015 
   3016 
   3017 
   3018 
   3019 
   3020 
   3021 
   3022 ltmain="$ac_aux_dir/ltmain.sh"
   3023 
   3024 # Backslashify metacharacters that are still active within
   3025 # double-quoted strings.
   3026 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3027 
   3028 # Same as above, but do not quote variable references.
   3029 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3030 
   3031 # Sed substitution to delay expansion of an escaped shell variable in a
   3032 # double_quote_subst'ed string.
   3033 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3034 
   3035 # Sed substitution to delay expansion of an escaped single quote.
   3036 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3037 
   3038 # Sed substitution to avoid accidental globbing in evaled expressions
   3039 no_glob_subst='s/\*/\\\*/g'
   3040 
   3041 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3042 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3043 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3044 
   3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3046 $as_echo_n "checking how to print strings... " >&6; }
   3047 # Test print first, because it will be a builtin if present.
   3048 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3049    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3050   ECHO='print -r --'
   3051 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3052   ECHO='printf %s\n'
   3053 else
   3054   # Use this function as a fallback that always works.
   3055   func_fallback_echo ()
   3056   {
   3057     eval 'cat <<_LTECHO_EOF
   3058 $1
   3059 _LTECHO_EOF'
   3060   }
   3061   ECHO='func_fallback_echo'
   3062 fi
   3063 
   3064 # func_echo_all arg...
   3065 # Invoke $ECHO with all args, space-separated.
   3066 func_echo_all ()
   3067 {
   3068     $ECHO ""
   3069 }
   3070 
   3071 case "$ECHO" in
   3072   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3073 $as_echo "printf" >&6; } ;;
   3074   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3075 $as_echo "print -r" >&6; } ;;
   3076   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3077 $as_echo "cat" >&6; } ;;
   3078 esac
   3079 
   3080 
   3081 
   3082 
   3083 
   3084 
   3085 
   3086 
   3087 
   3088 
   3089 
   3090 
   3091 
   3092 
   3093 DEPDIR="${am__leading_dot}deps"
   3094 
   3095 ac_config_commands="$ac_config_commands depfiles"
   3096 
   3097 
   3098 am_make=${MAKE-make}
   3099 cat > confinc << 'END'
   3100 am__doit:
   3101 	@echo this is the am__doit target
   3102 .PHONY: am__doit
   3103 END
   3104 # If we don't find an include directive, just comment out the code.
   3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3106 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3107 am__include="#"
   3108 am__quote=
   3109 _am_result=none
   3110 # First try GNU make style include.
   3111 echo "include confinc" > confmf
   3112 # Ignore all kinds of additional output from 'make'.
   3113 case `$am_make -s -f confmf 2> /dev/null` in #(
   3114 *the\ am__doit\ target*)
   3115   am__include=include
   3116   am__quote=
   3117   _am_result=GNU
   3118   ;;
   3119 esac
   3120 # Now try BSD make style include.
   3121 if test "$am__include" = "#"; then
   3122    echo '.include "confinc"' > confmf
   3123    case `$am_make -s -f confmf 2> /dev/null` in #(
   3124    *the\ am__doit\ target*)
   3125      am__include=.include
   3126      am__quote="\""
   3127      _am_result=BSD
   3128      ;;
   3129    esac
   3130 fi
   3131 
   3132 
   3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3134 $as_echo "$_am_result" >&6; }
   3135 rm -f confinc confmf
   3136 
   3137 # Check whether --enable-dependency-tracking was given.
   3138 if test "${enable_dependency_tracking+set}" = set; then :
   3139   enableval=$enable_dependency_tracking;
   3140 fi
   3141 
   3142 if test "x$enable_dependency_tracking" != xno; then
   3143   am_depcomp="$ac_aux_dir/depcomp"
   3144   AMDEPBACKSLASH='\'
   3145   am__nodep='_no'
   3146 fi
   3147  if test "x$enable_dependency_tracking" != xno; then
   3148   AMDEP_TRUE=
   3149   AMDEP_FALSE='#'
   3150 else
   3151   AMDEP_TRUE='#'
   3152   AMDEP_FALSE=
   3153 fi
   3154 
   3155 
   3156 ac_ext=c
   3157 ac_cpp='$CPP $CPPFLAGS'
   3158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3161 if test -n "$ac_tool_prefix"; then
   3162   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3163 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3165 $as_echo_n "checking for $ac_word... " >&6; }
   3166 if ${ac_cv_prog_CC+:} false; then :
   3167   $as_echo_n "(cached) " >&6
   3168 else
   3169   if test -n "$CC"; then
   3170   ac_cv_prog_CC="$CC" # Let the user override the test.
   3171 else
   3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3173 for as_dir in $PATH
   3174 do
   3175   IFS=$as_save_IFS
   3176   test -z "$as_dir" && as_dir=.
   3177     for ac_exec_ext in '' $ac_executable_extensions; do
   3178   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3179     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3181     break 2
   3182   fi
   3183 done
   3184   done
   3185 IFS=$as_save_IFS
   3186 
   3187 fi
   3188 fi
   3189 CC=$ac_cv_prog_CC
   3190 if test -n "$CC"; then
   3191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3192 $as_echo "$CC" >&6; }
   3193 else
   3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3195 $as_echo "no" >&6; }
   3196 fi
   3197 
   3198 
   3199 fi
   3200 if test -z "$ac_cv_prog_CC"; then
   3201   ac_ct_CC=$CC
   3202   # Extract the first word of "gcc", so it can be a program name with args.
   3203 set dummy gcc; ac_word=$2
   3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3205 $as_echo_n "checking for $ac_word... " >&6; }
   3206 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3207   $as_echo_n "(cached) " >&6
   3208 else
   3209   if test -n "$ac_ct_CC"; then
   3210   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3211 else
   3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3213 for as_dir in $PATH
   3214 do
   3215   IFS=$as_save_IFS
   3216   test -z "$as_dir" && as_dir=.
   3217     for ac_exec_ext in '' $ac_executable_extensions; do
   3218   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3219     ac_cv_prog_ac_ct_CC="gcc"
   3220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3221     break 2
   3222   fi
   3223 done
   3224   done
   3225 IFS=$as_save_IFS
   3226 
   3227 fi
   3228 fi
   3229 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3230 if test -n "$ac_ct_CC"; then
   3231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3232 $as_echo "$ac_ct_CC" >&6; }
   3233 else
   3234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3235 $as_echo "no" >&6; }
   3236 fi
   3237 
   3238   if test "x$ac_ct_CC" = x; then
   3239     CC=""
   3240   else
   3241     case $cross_compiling:$ac_tool_warned in
   3242 yes:)
   3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3245 ac_tool_warned=yes ;;
   3246 esac
   3247     CC=$ac_ct_CC
   3248   fi
   3249 else
   3250   CC="$ac_cv_prog_CC"
   3251 fi
   3252 
   3253 if test -z "$CC"; then
   3254           if test -n "$ac_tool_prefix"; then
   3255     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3256 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3258 $as_echo_n "checking for $ac_word... " >&6; }
   3259 if ${ac_cv_prog_CC+:} false; then :
   3260   $as_echo_n "(cached) " >&6
   3261 else
   3262   if test -n "$CC"; then
   3263   ac_cv_prog_CC="$CC" # Let the user override the test.
   3264 else
   3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3266 for as_dir in $PATH
   3267 do
   3268   IFS=$as_save_IFS
   3269   test -z "$as_dir" && as_dir=.
   3270     for ac_exec_ext in '' $ac_executable_extensions; do
   3271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3272     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3274     break 2
   3275   fi
   3276 done
   3277   done
   3278 IFS=$as_save_IFS
   3279 
   3280 fi
   3281 fi
   3282 CC=$ac_cv_prog_CC
   3283 if test -n "$CC"; then
   3284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3285 $as_echo "$CC" >&6; }
   3286 else
   3287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3288 $as_echo "no" >&6; }
   3289 fi
   3290 
   3291 
   3292   fi
   3293 fi
   3294 if test -z "$CC"; then
   3295   # Extract the first word of "cc", so it can be a program name with args.
   3296 set dummy cc; ac_word=$2
   3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3298 $as_echo_n "checking for $ac_word... " >&6; }
   3299 if ${ac_cv_prog_CC+:} false; then :
   3300   $as_echo_n "(cached) " >&6
   3301 else
   3302   if test -n "$CC"; then
   3303   ac_cv_prog_CC="$CC" # Let the user override the test.
   3304 else
   3305   ac_prog_rejected=no
   3306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3307 for as_dir in $PATH
   3308 do
   3309   IFS=$as_save_IFS
   3310   test -z "$as_dir" && as_dir=.
   3311     for ac_exec_ext in '' $ac_executable_extensions; do
   3312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3313     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3314        ac_prog_rejected=yes
   3315        continue
   3316      fi
   3317     ac_cv_prog_CC="cc"
   3318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3319     break 2
   3320   fi
   3321 done
   3322   done
   3323 IFS=$as_save_IFS
   3324 
   3325 if test $ac_prog_rejected = yes; then
   3326   # We found a bogon in the path, so make sure we never use it.
   3327   set dummy $ac_cv_prog_CC
   3328   shift
   3329   if test $# != 0; then
   3330     # We chose a different compiler from the bogus one.
   3331     # However, it has the same basename, so the bogon will be chosen
   3332     # first if we set CC to just the basename; use the full file name.
   3333     shift
   3334     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3335   fi
   3336 fi
   3337 fi
   3338 fi
   3339 CC=$ac_cv_prog_CC
   3340 if test -n "$CC"; then
   3341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3342 $as_echo "$CC" >&6; }
   3343 else
   3344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3345 $as_echo "no" >&6; }
   3346 fi
   3347 
   3348 
   3349 fi
   3350 if test -z "$CC"; then
   3351   if test -n "$ac_tool_prefix"; then
   3352   for ac_prog in cl.exe
   3353   do
   3354     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3355 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3357 $as_echo_n "checking for $ac_word... " >&6; }
   3358 if ${ac_cv_prog_CC+:} false; then :
   3359   $as_echo_n "(cached) " >&6
   3360 else
   3361   if test -n "$CC"; then
   3362   ac_cv_prog_CC="$CC" # Let the user override the test.
   3363 else
   3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3365 for as_dir in $PATH
   3366 do
   3367   IFS=$as_save_IFS
   3368   test -z "$as_dir" && as_dir=.
   3369     for ac_exec_ext in '' $ac_executable_extensions; do
   3370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3371     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3373     break 2
   3374   fi
   3375 done
   3376   done
   3377 IFS=$as_save_IFS
   3378 
   3379 fi
   3380 fi
   3381 CC=$ac_cv_prog_CC
   3382 if test -n "$CC"; then
   3383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3384 $as_echo "$CC" >&6; }
   3385 else
   3386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3387 $as_echo "no" >&6; }
   3388 fi
   3389 
   3390 
   3391     test -n "$CC" && break
   3392   done
   3393 fi
   3394 if test -z "$CC"; then
   3395   ac_ct_CC=$CC
   3396   for ac_prog in cl.exe
   3397 do
   3398   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3399 set dummy $ac_prog; ac_word=$2
   3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3401 $as_echo_n "checking for $ac_word... " >&6; }
   3402 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3403   $as_echo_n "(cached) " >&6
   3404 else
   3405   if test -n "$ac_ct_CC"; then
   3406   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3407 else
   3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3409 for as_dir in $PATH
   3410 do
   3411   IFS=$as_save_IFS
   3412   test -z "$as_dir" && as_dir=.
   3413     for ac_exec_ext in '' $ac_executable_extensions; do
   3414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3415     ac_cv_prog_ac_ct_CC="$ac_prog"
   3416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3417     break 2
   3418   fi
   3419 done
   3420   done
   3421 IFS=$as_save_IFS
   3422 
   3423 fi
   3424 fi
   3425 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3426 if test -n "$ac_ct_CC"; then
   3427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3428 $as_echo "$ac_ct_CC" >&6; }
   3429 else
   3430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3431 $as_echo "no" >&6; }
   3432 fi
   3433 
   3434 
   3435   test -n "$ac_ct_CC" && break
   3436 done
   3437 
   3438   if test "x$ac_ct_CC" = x; then
   3439     CC=""
   3440   else
   3441     case $cross_compiling:$ac_tool_warned in
   3442 yes:)
   3443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3445 ac_tool_warned=yes ;;
   3446 esac
   3447     CC=$ac_ct_CC
   3448   fi
   3449 fi
   3450 
   3451 fi
   3452 
   3453 
   3454 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3456 as_fn_error $? "no acceptable C compiler found in \$PATH
   3457 See \`config.log' for more details" "$LINENO" 5; }
   3458 
   3459 # Provide some information about the compiler.
   3460 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3461 set X $ac_compile
   3462 ac_compiler=$2
   3463 for ac_option in --version -v -V -qversion; do
   3464   { { ac_try="$ac_compiler $ac_option >&5"
   3465 case "(($ac_try" in
   3466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3467   *) ac_try_echo=$ac_try;;
   3468 esac
   3469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3470 $as_echo "$ac_try_echo"; } >&5
   3471   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3472   ac_status=$?
   3473   if test -s conftest.err; then
   3474     sed '10a\
   3475 ... rest of stderr output deleted ...
   3476          10q' conftest.err >conftest.er1
   3477     cat conftest.er1 >&5
   3478   fi
   3479   rm -f conftest.er1 conftest.err
   3480   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3481   test $ac_status = 0; }
   3482 done
   3483 
   3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3485 /* end confdefs.h.  */
   3486 
   3487 int
   3488 main ()
   3489 {
   3490 
   3491   ;
   3492   return 0;
   3493 }
   3494 _ACEOF
   3495 ac_clean_files_save=$ac_clean_files
   3496 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3497 # Try to create an executable without -o first, disregard a.out.
   3498 # It will help us diagnose broken compilers, and finding out an intuition
   3499 # of exeext.
   3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3501 $as_echo_n "checking whether the C compiler works... " >&6; }
   3502 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3503 
   3504 # The possible output files:
   3505 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3506 
   3507 ac_rmfiles=
   3508 for ac_file in $ac_files
   3509 do
   3510   case $ac_file in
   3511     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3512     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3513   esac
   3514 done
   3515 rm -f $ac_rmfiles
   3516 
   3517 if { { ac_try="$ac_link_default"
   3518 case "(($ac_try" in
   3519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3520   *) ac_try_echo=$ac_try;;
   3521 esac
   3522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3523 $as_echo "$ac_try_echo"; } >&5
   3524   (eval "$ac_link_default") 2>&5
   3525   ac_status=$?
   3526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3527   test $ac_status = 0; }; then :
   3528   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3529 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3530 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3531 # so that the user can short-circuit this test for compilers unknown to
   3532 # Autoconf.
   3533 for ac_file in $ac_files ''
   3534 do
   3535   test -f "$ac_file" || continue
   3536   case $ac_file in
   3537     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3538 	;;
   3539     [ab].out )
   3540 	# We found the default executable, but exeext='' is most
   3541 	# certainly right.
   3542 	break;;
   3543     *.* )
   3544 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3545 	then :; else
   3546 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3547 	fi
   3548 	# We set ac_cv_exeext here because the later test for it is not
   3549 	# safe: cross compilers may not add the suffix if given an `-o'
   3550 	# argument, so we may need to know it at that point already.
   3551 	# Even if this section looks crufty: it has the advantage of
   3552 	# actually working.
   3553 	break;;
   3554     * )
   3555 	break;;
   3556   esac
   3557 done
   3558 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3559 
   3560 else
   3561   ac_file=''
   3562 fi
   3563 if test -z "$ac_file"; then :
   3564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3565 $as_echo "no" >&6; }
   3566 $as_echo "$as_me: failed program was:" >&5
   3567 sed 's/^/| /' conftest.$ac_ext >&5
   3568 
   3569 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3571 as_fn_error 77 "C compiler cannot create executables
   3572 See \`config.log' for more details" "$LINENO" 5; }
   3573 else
   3574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3575 $as_echo "yes" >&6; }
   3576 fi
   3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3578 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3580 $as_echo "$ac_file" >&6; }
   3581 ac_exeext=$ac_cv_exeext
   3582 
   3583 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3584 ac_clean_files=$ac_clean_files_save
   3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3586 $as_echo_n "checking for suffix of executables... " >&6; }
   3587 if { { ac_try="$ac_link"
   3588 case "(($ac_try" in
   3589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3590   *) ac_try_echo=$ac_try;;
   3591 esac
   3592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3593 $as_echo "$ac_try_echo"; } >&5
   3594   (eval "$ac_link") 2>&5
   3595   ac_status=$?
   3596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3597   test $ac_status = 0; }; then :
   3598   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3599 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3600 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3601 # `rm'.
   3602 for ac_file in conftest.exe conftest conftest.*; do
   3603   test -f "$ac_file" || continue
   3604   case $ac_file in
   3605     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3606     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3607 	  break;;
   3608     * ) break;;
   3609   esac
   3610 done
   3611 else
   3612   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3614 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3615 See \`config.log' for more details" "$LINENO" 5; }
   3616 fi
   3617 rm -f conftest conftest$ac_cv_exeext
   3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3619 $as_echo "$ac_cv_exeext" >&6; }
   3620 
   3621 rm -f conftest.$ac_ext
   3622 EXEEXT=$ac_cv_exeext
   3623 ac_exeext=$EXEEXT
   3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3625 /* end confdefs.h.  */
   3626 #include <stdio.h>
   3627 int
   3628 main ()
   3629 {
   3630 FILE *f = fopen ("conftest.out", "w");
   3631  return ferror (f) || fclose (f) != 0;
   3632 
   3633   ;
   3634   return 0;
   3635 }
   3636 _ACEOF
   3637 ac_clean_files="$ac_clean_files conftest.out"
   3638 # Check that the compiler produces executables we can run.  If not, either
   3639 # the compiler is broken, or we cross compile.
   3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3641 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3642 if test "$cross_compiling" != yes; then
   3643   { { ac_try="$ac_link"
   3644 case "(($ac_try" in
   3645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3646   *) ac_try_echo=$ac_try;;
   3647 esac
   3648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3649 $as_echo "$ac_try_echo"; } >&5
   3650   (eval "$ac_link") 2>&5
   3651   ac_status=$?
   3652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3653   test $ac_status = 0; }
   3654   if { ac_try='./conftest$ac_cv_exeext'
   3655   { { case "(($ac_try" in
   3656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3657   *) ac_try_echo=$ac_try;;
   3658 esac
   3659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3660 $as_echo "$ac_try_echo"; } >&5
   3661   (eval "$ac_try") 2>&5
   3662   ac_status=$?
   3663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3664   test $ac_status = 0; }; }; then
   3665     cross_compiling=no
   3666   else
   3667     if test "$cross_compiling" = maybe; then
   3668 	cross_compiling=yes
   3669     else
   3670 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3672 as_fn_error $? "cannot run C compiled programs.
   3673 If you meant to cross compile, use \`--host'.
   3674 See \`config.log' for more details" "$LINENO" 5; }
   3675     fi
   3676   fi
   3677 fi
   3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3679 $as_echo "$cross_compiling" >&6; }
   3680 
   3681 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3682 ac_clean_files=$ac_clean_files_save
   3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3684 $as_echo_n "checking for suffix of object files... " >&6; }
   3685 if ${ac_cv_objext+:} false; then :
   3686   $as_echo_n "(cached) " >&6
   3687 else
   3688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3689 /* end confdefs.h.  */
   3690 
   3691 int
   3692 main ()
   3693 {
   3694 
   3695   ;
   3696   return 0;
   3697 }
   3698 _ACEOF
   3699 rm -f conftest.o conftest.obj
   3700 if { { ac_try="$ac_compile"
   3701 case "(($ac_try" in
   3702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3703   *) ac_try_echo=$ac_try;;
   3704 esac
   3705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3706 $as_echo "$ac_try_echo"; } >&5
   3707   (eval "$ac_compile") 2>&5
   3708   ac_status=$?
   3709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3710   test $ac_status = 0; }; then :
   3711   for ac_file in conftest.o conftest.obj conftest.*; do
   3712   test -f "$ac_file" || continue;
   3713   case $ac_file in
   3714     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3715     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3716        break;;
   3717   esac
   3718 done
   3719 else
   3720   $as_echo "$as_me: failed program was:" >&5
   3721 sed 's/^/| /' conftest.$ac_ext >&5
   3722 
   3723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3725 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3726 See \`config.log' for more details" "$LINENO" 5; }
   3727 fi
   3728 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3729 fi
   3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3731 $as_echo "$ac_cv_objext" >&6; }
   3732 OBJEXT=$ac_cv_objext
   3733 ac_objext=$OBJEXT
   3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3735 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3736 if ${ac_cv_c_compiler_gnu+:} false; then :
   3737   $as_echo_n "(cached) " >&6
   3738 else
   3739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3740 /* end confdefs.h.  */
   3741 
   3742 int
   3743 main ()
   3744 {
   3745 #ifndef __GNUC__
   3746        choke me
   3747 #endif
   3748 
   3749   ;
   3750   return 0;
   3751 }
   3752 _ACEOF
   3753 if ac_fn_c_try_compile "$LINENO"; then :
   3754   ac_compiler_gnu=yes
   3755 else
   3756   ac_compiler_gnu=no
   3757 fi
   3758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3759 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3760 
   3761 fi
   3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3763 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3764 if test $ac_compiler_gnu = yes; then
   3765   GCC=yes
   3766 else
   3767   GCC=
   3768 fi
   3769 ac_test_CFLAGS=${CFLAGS+set}
   3770 ac_save_CFLAGS=$CFLAGS
   3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3772 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3773 if ${ac_cv_prog_cc_g+:} false; then :
   3774   $as_echo_n "(cached) " >&6
   3775 else
   3776   ac_save_c_werror_flag=$ac_c_werror_flag
   3777    ac_c_werror_flag=yes
   3778    ac_cv_prog_cc_g=no
   3779    CFLAGS="-g"
   3780    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3781 /* end confdefs.h.  */
   3782 
   3783 int
   3784 main ()
   3785 {
   3786 
   3787   ;
   3788   return 0;
   3789 }
   3790 _ACEOF
   3791 if ac_fn_c_try_compile "$LINENO"; then :
   3792   ac_cv_prog_cc_g=yes
   3793 else
   3794   CFLAGS=""
   3795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3796 /* end confdefs.h.  */
   3797 
   3798 int
   3799 main ()
   3800 {
   3801 
   3802   ;
   3803   return 0;
   3804 }
   3805 _ACEOF
   3806 if ac_fn_c_try_compile "$LINENO"; then :
   3807 
   3808 else
   3809   ac_c_werror_flag=$ac_save_c_werror_flag
   3810 	 CFLAGS="-g"
   3811 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3812 /* end confdefs.h.  */
   3813 
   3814 int
   3815 main ()
   3816 {
   3817 
   3818   ;
   3819   return 0;
   3820 }
   3821 _ACEOF
   3822 if ac_fn_c_try_compile "$LINENO"; then :
   3823   ac_cv_prog_cc_g=yes
   3824 fi
   3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3826 fi
   3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3828 fi
   3829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3830    ac_c_werror_flag=$ac_save_c_werror_flag
   3831 fi
   3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3833 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3834 if test "$ac_test_CFLAGS" = set; then
   3835   CFLAGS=$ac_save_CFLAGS
   3836 elif test $ac_cv_prog_cc_g = yes; then
   3837   if test "$GCC" = yes; then
   3838     CFLAGS="-g -O2"
   3839   else
   3840     CFLAGS="-g"
   3841   fi
   3842 else
   3843   if test "$GCC" = yes; then
   3844     CFLAGS="-O2"
   3845   else
   3846     CFLAGS=
   3847   fi
   3848 fi
   3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3850 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3851 if ${ac_cv_prog_cc_c89+:} false; then :
   3852   $as_echo_n "(cached) " >&6
   3853 else
   3854   ac_cv_prog_cc_c89=no
   3855 ac_save_CC=$CC
   3856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3857 /* end confdefs.h.  */
   3858 #include <stdarg.h>
   3859 #include <stdio.h>
   3860 #include <sys/types.h>
   3861 #include <sys/stat.h>
   3862 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3863 struct buf { int x; };
   3864 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3865 static char *e (p, i)
   3866      char **p;
   3867      int i;
   3868 {
   3869   return p[i];
   3870 }
   3871 static char *f (char * (*g) (char **, int), char **p, ...)
   3872 {
   3873   char *s;
   3874   va_list v;
   3875   va_start (v,p);
   3876   s = g (p, va_arg (v,int));
   3877   va_end (v);
   3878   return s;
   3879 }
   3880 
   3881 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3882    function prototypes and stuff, but not '\xHH' hex character constants.
   3883    These don't provoke an error unfortunately, instead are silently treated
   3884    as 'x'.  The following induces an error, until -std is added to get
   3885    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3886    array size at least.  It's necessary to write '\x00'==0 to get something
   3887    that's true only with -std.  */
   3888 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3889 
   3890 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3891    inside strings and character constants.  */
   3892 #define FOO(x) 'x'
   3893 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3894 
   3895 int test (int i, double x);
   3896 struct s1 {int (*f) (int a);};
   3897 struct s2 {int (*f) (double a);};
   3898 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3899 int argc;
   3900 char **argv;
   3901 int
   3902 main ()
   3903 {
   3904 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3905   ;
   3906   return 0;
   3907 }
   3908 _ACEOF
   3909 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3910 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3911 do
   3912   CC="$ac_save_CC $ac_arg"
   3913   if ac_fn_c_try_compile "$LINENO"; then :
   3914   ac_cv_prog_cc_c89=$ac_arg
   3915 fi
   3916 rm -f core conftest.err conftest.$ac_objext
   3917   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3918 done
   3919 rm -f conftest.$ac_ext
   3920 CC=$ac_save_CC
   3921 
   3922 fi
   3923 # AC_CACHE_VAL
   3924 case "x$ac_cv_prog_cc_c89" in
   3925   x)
   3926     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3927 $as_echo "none needed" >&6; } ;;
   3928   xno)
   3929     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3930 $as_echo "unsupported" >&6; } ;;
   3931   *)
   3932     CC="$CC $ac_cv_prog_cc_c89"
   3933     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3934 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3935 esac
   3936 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3937 
   3938 fi
   3939 
   3940 ac_ext=c
   3941 ac_cpp='$CPP $CPPFLAGS'
   3942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3945 
   3946 depcc="$CC"   am_compiler_list=
   3947 
   3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3949 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3950 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3951   $as_echo_n "(cached) " >&6
   3952 else
   3953   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3954   # We make a subdir and do the tests there.  Otherwise we can end up
   3955   # making bogus files that we don't know about and never remove.  For
   3956   # instance it was reported that on HP-UX the gcc test will end up
   3957   # making a dummy file named 'D' -- because '-MD' means "put the output
   3958   # in D".
   3959   rm -rf conftest.dir
   3960   mkdir conftest.dir
   3961   # Copy depcomp to subdir because otherwise we won't find it if we're
   3962   # using a relative directory.
   3963   cp "$am_depcomp" conftest.dir
   3964   cd conftest.dir
   3965   # We will build objects and dependencies in a subdirectory because
   3966   # it helps to detect inapplicable dependency modes.  For instance
   3967   # both Tru64's cc and ICC support -MD to output dependencies as a
   3968   # side effect of compilation, but ICC will put the dependencies in
   3969   # the current directory while Tru64 will put them in the object
   3970   # directory.
   3971   mkdir sub
   3972 
   3973   am_cv_CC_dependencies_compiler_type=none
   3974   if test "$am_compiler_list" = ""; then
   3975      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3976   fi
   3977   am__universal=false
   3978   case " $depcc " in #(
   3979      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3980      esac
   3981 
   3982   for depmode in $am_compiler_list; do
   3983     # Setup a source with many dependencies, because some compilers
   3984     # like to wrap large dependency lists on column 80 (with \), and
   3985     # we should not choose a depcomp mode which is confused by this.
   3986     #
   3987     # We need to recreate these files for each test, as the compiler may
   3988     # overwrite some of them when testing with obscure command lines.
   3989     # This happens at least with the AIX C compiler.
   3990     : > sub/conftest.c
   3991     for i in 1 2 3 4 5 6; do
   3992       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3993       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3994       # Solaris 10 /bin/sh.
   3995       echo '/* dummy */' > sub/conftst$i.h
   3996     done
   3997     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3998 
   3999     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4000     # mode.  It turns out that the SunPro C++ compiler does not properly
   4001     # handle '-M -o', and we need to detect this.  Also, some Intel
   4002     # versions had trouble with output in subdirs.
   4003     am__obj=sub/conftest.${OBJEXT-o}
   4004     am__minus_obj="-o $am__obj"
   4005     case $depmode in
   4006     gcc)
   4007       # This depmode causes a compiler race in universal mode.
   4008       test "$am__universal" = false || continue
   4009       ;;
   4010     nosideeffect)
   4011       # After this tag, mechanisms are not by side-effect, so they'll
   4012       # only be used when explicitly requested.
   4013       if test "x$enable_dependency_tracking" = xyes; then
   4014 	continue
   4015       else
   4016 	break
   4017       fi
   4018       ;;
   4019     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4020       # This compiler won't grok '-c -o', but also, the minuso test has
   4021       # not run yet.  These depmodes are late enough in the game, and
   4022       # so weak that their functioning should not be impacted.
   4023       am__obj=conftest.${OBJEXT-o}
   4024       am__minus_obj=
   4025       ;;
   4026     none) break ;;
   4027     esac
   4028     if depmode=$depmode \
   4029        source=sub/conftest.c object=$am__obj \
   4030        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4031        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4032          >/dev/null 2>conftest.err &&
   4033        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4034        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4035        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4036        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4037       # icc doesn't choke on unknown options, it will just issue warnings
   4038       # or remarks (even with -Werror).  So we grep stderr for any message
   4039       # that says an option was ignored or not supported.
   4040       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4041       #   icc: Command line warning: ignoring option '-M'; no argument required
   4042       # The diagnosis changed in icc 8.0:
   4043       #   icc: Command line remark: option '-MP' not supported
   4044       if (grep 'ignoring option' conftest.err ||
   4045           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4046         am_cv_CC_dependencies_compiler_type=$depmode
   4047         break
   4048       fi
   4049     fi
   4050   done
   4051 
   4052   cd ..
   4053   rm -rf conftest.dir
   4054 else
   4055   am_cv_CC_dependencies_compiler_type=none
   4056 fi
   4057 
   4058 fi
   4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4060 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4061 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4062 
   4063  if
   4064   test "x$enable_dependency_tracking" != xno \
   4065   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4066   am__fastdepCC_TRUE=
   4067   am__fastdepCC_FALSE='#'
   4068 else
   4069   am__fastdepCC_TRUE='#'
   4070   am__fastdepCC_FALSE=
   4071 fi
   4072 
   4073 
   4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4075 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4076 if ${ac_cv_path_SED+:} false; then :
   4077   $as_echo_n "(cached) " >&6
   4078 else
   4079             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4080      for ac_i in 1 2 3 4 5 6 7; do
   4081        ac_script="$ac_script$as_nl$ac_script"
   4082      done
   4083      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4084      { ac_script=; unset ac_script;}
   4085      if test -z "$SED"; then
   4086   ac_path_SED_found=false
   4087   # Loop through the user's path and test for each of PROGNAME-LIST
   4088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4089 for as_dir in $PATH
   4090 do
   4091   IFS=$as_save_IFS
   4092   test -z "$as_dir" && as_dir=.
   4093     for ac_prog in sed gsed; do
   4094     for ac_exec_ext in '' $ac_executable_extensions; do
   4095       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4096       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4097 # Check for GNU ac_path_SED and select it if it is found.
   4098   # Check for GNU $ac_path_SED
   4099 case `"$ac_path_SED" --version 2>&1` in
   4100 *GNU*)
   4101   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4102 *)
   4103   ac_count=0
   4104   $as_echo_n 0123456789 >"conftest.in"
   4105   while :
   4106   do
   4107     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4108     mv "conftest.tmp" "conftest.in"
   4109     cp "conftest.in" "conftest.nl"
   4110     $as_echo '' >> "conftest.nl"
   4111     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4112     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4113     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4114     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4115       # Best one so far, save it but keep looking for a better one
   4116       ac_cv_path_SED="$ac_path_SED"
   4117       ac_path_SED_max=$ac_count
   4118     fi
   4119     # 10*(2^10) chars as input seems more than enough
   4120     test $ac_count -gt 10 && break
   4121   done
   4122   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4123 esac
   4124 
   4125       $ac_path_SED_found && break 3
   4126     done
   4127   done
   4128   done
   4129 IFS=$as_save_IFS
   4130   if test -z "$ac_cv_path_SED"; then
   4131     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4132   fi
   4133 else
   4134   ac_cv_path_SED=$SED
   4135 fi
   4136 
   4137 fi
   4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4139 $as_echo "$ac_cv_path_SED" >&6; }
   4140  SED="$ac_cv_path_SED"
   4141   rm -f conftest.sed
   4142 
   4143 test -z "$SED" && SED=sed
   4144 Xsed="$SED -e 1s/^X//"
   4145 
   4146 
   4147 
   4148 
   4149 
   4150 
   4151 
   4152 
   4153 
   4154 
   4155 
   4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4157 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4158 if ${ac_cv_path_GREP+:} false; then :
   4159   $as_echo_n "(cached) " >&6
   4160 else
   4161   if test -z "$GREP"; then
   4162   ac_path_GREP_found=false
   4163   # Loop through the user's path and test for each of PROGNAME-LIST
   4164   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4165 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4166 do
   4167   IFS=$as_save_IFS
   4168   test -z "$as_dir" && as_dir=.
   4169     for ac_prog in grep ggrep; do
   4170     for ac_exec_ext in '' $ac_executable_extensions; do
   4171       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4172       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4173 # Check for GNU ac_path_GREP and select it if it is found.
   4174   # Check for GNU $ac_path_GREP
   4175 case `"$ac_path_GREP" --version 2>&1` in
   4176 *GNU*)
   4177   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4178 *)
   4179   ac_count=0
   4180   $as_echo_n 0123456789 >"conftest.in"
   4181   while :
   4182   do
   4183     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4184     mv "conftest.tmp" "conftest.in"
   4185     cp "conftest.in" "conftest.nl"
   4186     $as_echo 'GREP' >> "conftest.nl"
   4187     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4188     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4189     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4190     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4191       # Best one so far, save it but keep looking for a better one
   4192       ac_cv_path_GREP="$ac_path_GREP"
   4193       ac_path_GREP_max=$ac_count
   4194     fi
   4195     # 10*(2^10) chars as input seems more than enough
   4196     test $ac_count -gt 10 && break
   4197   done
   4198   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4199 esac
   4200 
   4201       $ac_path_GREP_found && break 3
   4202     done
   4203   done
   4204   done
   4205 IFS=$as_save_IFS
   4206   if test -z "$ac_cv_path_GREP"; then
   4207     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4208   fi
   4209 else
   4210   ac_cv_path_GREP=$GREP
   4211 fi
   4212 
   4213 fi
   4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4215 $as_echo "$ac_cv_path_GREP" >&6; }
   4216  GREP="$ac_cv_path_GREP"
   4217 
   4218 
   4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4220 $as_echo_n "checking for egrep... " >&6; }
   4221 if ${ac_cv_path_EGREP+:} false; then :
   4222   $as_echo_n "(cached) " >&6
   4223 else
   4224   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4225    then ac_cv_path_EGREP="$GREP -E"
   4226    else
   4227      if test -z "$EGREP"; then
   4228   ac_path_EGREP_found=false
   4229   # Loop through the user's path and test for each of PROGNAME-LIST
   4230   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4231 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4232 do
   4233   IFS=$as_save_IFS
   4234   test -z "$as_dir" && as_dir=.
   4235     for ac_prog in egrep; do
   4236     for ac_exec_ext in '' $ac_executable_extensions; do
   4237       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4238       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4239 # Check for GNU ac_path_EGREP and select it if it is found.
   4240   # Check for GNU $ac_path_EGREP
   4241 case `"$ac_path_EGREP" --version 2>&1` in
   4242 *GNU*)
   4243   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4244 *)
   4245   ac_count=0
   4246   $as_echo_n 0123456789 >"conftest.in"
   4247   while :
   4248   do
   4249     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4250     mv "conftest.tmp" "conftest.in"
   4251     cp "conftest.in" "conftest.nl"
   4252     $as_echo 'EGREP' >> "conftest.nl"
   4253     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4254     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4255     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4256     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4257       # Best one so far, save it but keep looking for a better one
   4258       ac_cv_path_EGREP="$ac_path_EGREP"
   4259       ac_path_EGREP_max=$ac_count
   4260     fi
   4261     # 10*(2^10) chars as input seems more than enough
   4262     test $ac_count -gt 10 && break
   4263   done
   4264   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4265 esac
   4266 
   4267       $ac_path_EGREP_found && break 3
   4268     done
   4269   done
   4270   done
   4271 IFS=$as_save_IFS
   4272   if test -z "$ac_cv_path_EGREP"; then
   4273     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4274   fi
   4275 else
   4276   ac_cv_path_EGREP=$EGREP
   4277 fi
   4278 
   4279    fi
   4280 fi
   4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4282 $as_echo "$ac_cv_path_EGREP" >&6; }
   4283  EGREP="$ac_cv_path_EGREP"
   4284 
   4285 
   4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4287 $as_echo_n "checking for fgrep... " >&6; }
   4288 if ${ac_cv_path_FGREP+:} false; then :
   4289   $as_echo_n "(cached) " >&6
   4290 else
   4291   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4292    then ac_cv_path_FGREP="$GREP -F"
   4293    else
   4294      if test -z "$FGREP"; then
   4295   ac_path_FGREP_found=false
   4296   # Loop through the user's path and test for each of PROGNAME-LIST
   4297   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4298 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4299 do
   4300   IFS=$as_save_IFS
   4301   test -z "$as_dir" && as_dir=.
   4302     for ac_prog in fgrep; do
   4303     for ac_exec_ext in '' $ac_executable_extensions; do
   4304       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4305       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4306 # Check for GNU ac_path_FGREP and select it if it is found.
   4307   # Check for GNU $ac_path_FGREP
   4308 case `"$ac_path_FGREP" --version 2>&1` in
   4309 *GNU*)
   4310   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4311 *)
   4312   ac_count=0
   4313   $as_echo_n 0123456789 >"conftest.in"
   4314   while :
   4315   do
   4316     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4317     mv "conftest.tmp" "conftest.in"
   4318     cp "conftest.in" "conftest.nl"
   4319     $as_echo 'FGREP' >> "conftest.nl"
   4320     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4321     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4322     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4323     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4324       # Best one so far, save it but keep looking for a better one
   4325       ac_cv_path_FGREP="$ac_path_FGREP"
   4326       ac_path_FGREP_max=$ac_count
   4327     fi
   4328     # 10*(2^10) chars as input seems more than enough
   4329     test $ac_count -gt 10 && break
   4330   done
   4331   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4332 esac
   4333 
   4334       $ac_path_FGREP_found && break 3
   4335     done
   4336   done
   4337   done
   4338 IFS=$as_save_IFS
   4339   if test -z "$ac_cv_path_FGREP"; then
   4340     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4341   fi
   4342 else
   4343   ac_cv_path_FGREP=$FGREP
   4344 fi
   4345 
   4346    fi
   4347 fi
   4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4349 $as_echo "$ac_cv_path_FGREP" >&6; }
   4350  FGREP="$ac_cv_path_FGREP"
   4351 
   4352 
   4353 test -z "$GREP" && GREP=grep
   4354 
   4355 
   4356 
   4357 
   4358 
   4359 
   4360 
   4361 
   4362 
   4363 
   4364 
   4365 
   4366 
   4367 
   4368 
   4369 
   4370 
   4371 
   4372 
   4373 # Check whether --with-gnu-ld was given.
   4374 if test "${with_gnu_ld+set}" = set; then :
   4375   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4376 else
   4377   with_gnu_ld=no
   4378 fi
   4379 
   4380 ac_prog=ld
   4381 if test "$GCC" = yes; then
   4382   # Check if gcc -print-prog-name=ld gives a path.
   4383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4384 $as_echo_n "checking for ld used by $CC... " >&6; }
   4385   case $host in
   4386   *-*-mingw*)
   4387     # gcc leaves a trailing carriage return which upsets mingw
   4388     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4389   *)
   4390     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4391   esac
   4392   case $ac_prog in
   4393     # Accept absolute paths.
   4394     [\\/]* | ?:[\\/]*)
   4395       re_direlt='/[^/][^/]*/\.\./'
   4396       # Canonicalize the pathname of ld
   4397       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4398       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4399 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4400       done
   4401       test -z "$LD" && LD="$ac_prog"
   4402       ;;
   4403   "")
   4404     # If it fails, then pretend we aren't using GCC.
   4405     ac_prog=ld
   4406     ;;
   4407   *)
   4408     # If it is relative, then search for the first ld in PATH.
   4409     with_gnu_ld=unknown
   4410     ;;
   4411   esac
   4412 elif test "$with_gnu_ld" = yes; then
   4413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4414 $as_echo_n "checking for GNU ld... " >&6; }
   4415 else
   4416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4417 $as_echo_n "checking for non-GNU ld... " >&6; }
   4418 fi
   4419 if ${lt_cv_path_LD+:} false; then :
   4420   $as_echo_n "(cached) " >&6
   4421 else
   4422   if test -z "$LD"; then
   4423   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4424   for ac_dir in $PATH; do
   4425     IFS="$lt_save_ifs"
   4426     test -z "$ac_dir" && ac_dir=.
   4427     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4428       lt_cv_path_LD="$ac_dir/$ac_prog"
   4429       # Check to see if the program is GNU ld.  I'd rather use --version,
   4430       # but apparently some variants of GNU ld only accept -v.
   4431       # Break only if it was the GNU/non-GNU ld that we prefer.
   4432       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4433       *GNU* | *'with BFD'*)
   4434 	test "$with_gnu_ld" != no && break
   4435 	;;
   4436       *)
   4437 	test "$with_gnu_ld" != yes && break
   4438 	;;
   4439       esac
   4440     fi
   4441   done
   4442   IFS="$lt_save_ifs"
   4443 else
   4444   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4445 fi
   4446 fi
   4447 
   4448 LD="$lt_cv_path_LD"
   4449 if test -n "$LD"; then
   4450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4451 $as_echo "$LD" >&6; }
   4452 else
   4453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4454 $as_echo "no" >&6; }
   4455 fi
   4456 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4458 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4459 if ${lt_cv_prog_gnu_ld+:} false; then :
   4460   $as_echo_n "(cached) " >&6
   4461 else
   4462   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4463 case `$LD -v 2>&1 </dev/null` in
   4464 *GNU* | *'with BFD'*)
   4465   lt_cv_prog_gnu_ld=yes
   4466   ;;
   4467 *)
   4468   lt_cv_prog_gnu_ld=no
   4469   ;;
   4470 esac
   4471 fi
   4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4473 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4474 with_gnu_ld=$lt_cv_prog_gnu_ld
   4475 
   4476 
   4477 
   4478 
   4479 
   4480 
   4481 
   4482 
   4483 
   4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4485 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4486 if ${lt_cv_path_NM+:} false; then :
   4487   $as_echo_n "(cached) " >&6
   4488 else
   4489   if test -n "$NM"; then
   4490   # Let the user override the test.
   4491   lt_cv_path_NM="$NM"
   4492 else
   4493   lt_nm_to_check="${ac_tool_prefix}nm"
   4494   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4495     lt_nm_to_check="$lt_nm_to_check nm"
   4496   fi
   4497   for lt_tmp_nm in $lt_nm_to_check; do
   4498     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4499     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4500       IFS="$lt_save_ifs"
   4501       test -z "$ac_dir" && ac_dir=.
   4502       tmp_nm="$ac_dir/$lt_tmp_nm"
   4503       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4504 	# Check to see if the nm accepts a BSD-compat flag.
   4505 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4506 	#   nm: unknown option "B" ignored
   4507 	# Tru64's nm complains that /dev/null is an invalid object file
   4508 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4509 	*/dev/null* | *'Invalid file or object type'*)
   4510 	  lt_cv_path_NM="$tmp_nm -B"
   4511 	  break
   4512 	  ;;
   4513 	*)
   4514 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4515 	  */dev/null*)
   4516 	    lt_cv_path_NM="$tmp_nm -p"
   4517 	    break
   4518 	    ;;
   4519 	  *)
   4520 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4521 	    continue # so that we can try to find one that supports BSD flags
   4522 	    ;;
   4523 	  esac
   4524 	  ;;
   4525 	esac
   4526       fi
   4527     done
   4528     IFS="$lt_save_ifs"
   4529   done
   4530   : ${lt_cv_path_NM=no}
   4531 fi
   4532 fi
   4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4534 $as_echo "$lt_cv_path_NM" >&6; }
   4535 if test "$lt_cv_path_NM" != "no"; then
   4536   NM="$lt_cv_path_NM"
   4537 else
   4538   # Didn't find any BSD compatible name lister, look for dumpbin.
   4539   if test -n "$DUMPBIN"; then :
   4540     # Let the user override the test.
   4541   else
   4542     if test -n "$ac_tool_prefix"; then
   4543   for ac_prog in dumpbin "link -dump"
   4544   do
   4545     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4546 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4548 $as_echo_n "checking for $ac_word... " >&6; }
   4549 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4550   $as_echo_n "(cached) " >&6
   4551 else
   4552   if test -n "$DUMPBIN"; then
   4553   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4554 else
   4555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4556 for as_dir in $PATH
   4557 do
   4558   IFS=$as_save_IFS
   4559   test -z "$as_dir" && as_dir=.
   4560     for ac_exec_ext in '' $ac_executable_extensions; do
   4561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4562     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4564     break 2
   4565   fi
   4566 done
   4567   done
   4568 IFS=$as_save_IFS
   4569 
   4570 fi
   4571 fi
   4572 DUMPBIN=$ac_cv_prog_DUMPBIN
   4573 if test -n "$DUMPBIN"; then
   4574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4575 $as_echo "$DUMPBIN" >&6; }
   4576 else
   4577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4578 $as_echo "no" >&6; }
   4579 fi
   4580 
   4581 
   4582     test -n "$DUMPBIN" && break
   4583   done
   4584 fi
   4585 if test -z "$DUMPBIN"; then
   4586   ac_ct_DUMPBIN=$DUMPBIN
   4587   for ac_prog in dumpbin "link -dump"
   4588 do
   4589   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4590 set dummy $ac_prog; ac_word=$2
   4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4592 $as_echo_n "checking for $ac_word... " >&6; }
   4593 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4594   $as_echo_n "(cached) " >&6
   4595 else
   4596   if test -n "$ac_ct_DUMPBIN"; then
   4597   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4598 else
   4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4600 for as_dir in $PATH
   4601 do
   4602   IFS=$as_save_IFS
   4603   test -z "$as_dir" && as_dir=.
   4604     for ac_exec_ext in '' $ac_executable_extensions; do
   4605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4606     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4608     break 2
   4609   fi
   4610 done
   4611   done
   4612 IFS=$as_save_IFS
   4613 
   4614 fi
   4615 fi
   4616 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4617 if test -n "$ac_ct_DUMPBIN"; then
   4618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4619 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4620 else
   4621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4622 $as_echo "no" >&6; }
   4623 fi
   4624 
   4625 
   4626   test -n "$ac_ct_DUMPBIN" && break
   4627 done
   4628 
   4629   if test "x$ac_ct_DUMPBIN" = x; then
   4630     DUMPBIN=":"
   4631   else
   4632     case $cross_compiling:$ac_tool_warned in
   4633 yes:)
   4634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4636 ac_tool_warned=yes ;;
   4637 esac
   4638     DUMPBIN=$ac_ct_DUMPBIN
   4639   fi
   4640 fi
   4641 
   4642     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4643     *COFF*)
   4644       DUMPBIN="$DUMPBIN -symbols"
   4645       ;;
   4646     *)
   4647       DUMPBIN=:
   4648       ;;
   4649     esac
   4650   fi
   4651 
   4652   if test "$DUMPBIN" != ":"; then
   4653     NM="$DUMPBIN"
   4654   fi
   4655 fi
   4656 test -z "$NM" && NM=nm
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4664 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4665 if ${lt_cv_nm_interface+:} false; then :
   4666   $as_echo_n "(cached) " >&6
   4667 else
   4668   lt_cv_nm_interface="BSD nm"
   4669   echo "int some_variable = 0;" > conftest.$ac_ext
   4670   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4671   (eval "$ac_compile" 2>conftest.err)
   4672   cat conftest.err >&5
   4673   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4674   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4675   cat conftest.err >&5
   4676   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4677   cat conftest.out >&5
   4678   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4679     lt_cv_nm_interface="MS dumpbin"
   4680   fi
   4681   rm -f conftest*
   4682 fi
   4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4684 $as_echo "$lt_cv_nm_interface" >&6; }
   4685 
   4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4687 $as_echo_n "checking whether ln -s works... " >&6; }
   4688 LN_S=$as_ln_s
   4689 if test "$LN_S" = "ln -s"; then
   4690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4691 $as_echo "yes" >&6; }
   4692 else
   4693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4694 $as_echo "no, using $LN_S" >&6; }
   4695 fi
   4696 
   4697 # find the maximum length of command line arguments
   4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4699 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4700 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4701   $as_echo_n "(cached) " >&6
   4702 else
   4703     i=0
   4704   teststring="ABCD"
   4705 
   4706   case $build_os in
   4707   msdosdjgpp*)
   4708     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4709     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4710     # during glob expansion).  Even if it were fixed, the result of this
   4711     # check would be larger than it should be.
   4712     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4713     ;;
   4714 
   4715   gnu*)
   4716     # Under GNU Hurd, this test is not required because there is
   4717     # no limit to the length of command line arguments.
   4718     # Libtool will interpret -1 as no limit whatsoever
   4719     lt_cv_sys_max_cmd_len=-1;
   4720     ;;
   4721 
   4722   cygwin* | mingw* | cegcc*)
   4723     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4724     # about 5 minutes as the teststring grows exponentially.
   4725     # Worse, since 9x/ME are not pre-emptively multitasking,
   4726     # you end up with a "frozen" computer, even though with patience
   4727     # the test eventually succeeds (with a max line length of 256k).
   4728     # Instead, let's just punt: use the minimum linelength reported by
   4729     # all of the supported platforms: 8192 (on NT/2K/XP).
   4730     lt_cv_sys_max_cmd_len=8192;
   4731     ;;
   4732 
   4733   mint*)
   4734     # On MiNT this can take a long time and run out of memory.
   4735     lt_cv_sys_max_cmd_len=8192;
   4736     ;;
   4737 
   4738   amigaos*)
   4739     # On AmigaOS with pdksh, this test takes hours, literally.
   4740     # So we just punt and use a minimum line length of 8192.
   4741     lt_cv_sys_max_cmd_len=8192;
   4742     ;;
   4743 
   4744   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4745     # This has been around since 386BSD, at least.  Likely further.
   4746     if test -x /sbin/sysctl; then
   4747       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4748     elif test -x /usr/sbin/sysctl; then
   4749       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4750     else
   4751       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4752     fi
   4753     # And add a safety zone
   4754     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4755     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4756     ;;
   4757 
   4758   interix*)
   4759     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4760     lt_cv_sys_max_cmd_len=196608
   4761     ;;
   4762 
   4763   osf*)
   4764     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4765     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4766     # nice to cause kernel panics so lets avoid the loop below.
   4767     # First set a reasonable default.
   4768     lt_cv_sys_max_cmd_len=16384
   4769     #
   4770     if test -x /sbin/sysconfig; then
   4771       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4772         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4773       esac
   4774     fi
   4775     ;;
   4776   sco3.2v5*)
   4777     lt_cv_sys_max_cmd_len=102400
   4778     ;;
   4779   sysv5* | sco5v6* | sysv4.2uw2*)
   4780     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4781     if test -n "$kargmax"; then
   4782       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4783     else
   4784       lt_cv_sys_max_cmd_len=32768
   4785     fi
   4786     ;;
   4787   *)
   4788     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4789     if test -n "$lt_cv_sys_max_cmd_len"; then
   4790       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4791       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4792     else
   4793       # Make teststring a little bigger before we do anything with it.
   4794       # a 1K string should be a reasonable start.
   4795       for i in 1 2 3 4 5 6 7 8 ; do
   4796         teststring=$teststring$teststring
   4797       done
   4798       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4799       # If test is not a shell built-in, we'll probably end up computing a
   4800       # maximum length that is only half of the actual maximum length, but
   4801       # we can't tell.
   4802       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   4803 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4804 	      test $i != 17 # 1/2 MB should be enough
   4805       do
   4806         i=`expr $i + 1`
   4807         teststring=$teststring$teststring
   4808       done
   4809       # Only check the string length outside the loop.
   4810       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4811       teststring=
   4812       # Add a significant safety factor because C++ compilers can tack on
   4813       # massive amounts of additional arguments before passing them to the
   4814       # linker.  It appears as though 1/2 is a usable value.
   4815       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4816     fi
   4817     ;;
   4818   esac
   4819 
   4820 fi
   4821 
   4822 if test -n $lt_cv_sys_max_cmd_len ; then
   4823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4824 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4825 else
   4826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4827 $as_echo "none" >&6; }
   4828 fi
   4829 max_cmd_len=$lt_cv_sys_max_cmd_len
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 : ${CP="cp -f"}
   4837 : ${MV="mv -f"}
   4838 : ${RM="rm -f"}
   4839 
   4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4841 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4842 # Try some XSI features
   4843 xsi_shell=no
   4844 ( _lt_dummy="a/b/c"
   4845   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4846       = c,a/b,b/c, \
   4847     && eval 'test $(( 1 + 1 )) -eq 2 \
   4848     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4849   && xsi_shell=yes
   4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4851 $as_echo "$xsi_shell" >&6; }
   4852 
   4853 
   4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4855 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4856 lt_shell_append=no
   4857 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4858     >/dev/null 2>&1 \
   4859   && lt_shell_append=yes
   4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4861 $as_echo "$lt_shell_append" >&6; }
   4862 
   4863 
   4864 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4865   lt_unset=unset
   4866 else
   4867   lt_unset=false
   4868 fi
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 # test EBCDIC or ASCII
   4875 case `echo X|tr X '\101'` in
   4876  A) # ASCII based system
   4877     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4878   lt_SP2NL='tr \040 \012'
   4879   lt_NL2SP='tr \015\012 \040\040'
   4880   ;;
   4881  *) # EBCDIC based system
   4882   lt_SP2NL='tr \100 \n'
   4883   lt_NL2SP='tr \r\n \100\100'
   4884   ;;
   4885 esac
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4896 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4897 if ${lt_cv_to_host_file_cmd+:} false; then :
   4898   $as_echo_n "(cached) " >&6
   4899 else
   4900   case $host in
   4901   *-*-mingw* )
   4902     case $build in
   4903       *-*-mingw* ) # actually msys
   4904         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4905         ;;
   4906       *-*-cygwin* )
   4907         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4908         ;;
   4909       * ) # otherwise, assume *nix
   4910         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4911         ;;
   4912     esac
   4913     ;;
   4914   *-*-cygwin* )
   4915     case $build in
   4916       *-*-mingw* ) # actually msys
   4917         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4918         ;;
   4919       *-*-cygwin* )
   4920         lt_cv_to_host_file_cmd=func_convert_file_noop
   4921         ;;
   4922       * ) # otherwise, assume *nix
   4923         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4924         ;;
   4925     esac
   4926     ;;
   4927   * ) # unhandled hosts (and "normal" native builds)
   4928     lt_cv_to_host_file_cmd=func_convert_file_noop
   4929     ;;
   4930 esac
   4931 
   4932 fi
   4933 
   4934 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4936 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4943 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4944 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4945   $as_echo_n "(cached) " >&6
   4946 else
   4947   #assume ordinary cross tools, or native build.
   4948 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4949 case $host in
   4950   *-*-mingw* )
   4951     case $build in
   4952       *-*-mingw* ) # actually msys
   4953         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4954         ;;
   4955     esac
   4956     ;;
   4957 esac
   4958 
   4959 fi
   4960 
   4961 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4963 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4970 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4971 if ${lt_cv_ld_reload_flag+:} false; then :
   4972   $as_echo_n "(cached) " >&6
   4973 else
   4974   lt_cv_ld_reload_flag='-r'
   4975 fi
   4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4977 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4978 reload_flag=$lt_cv_ld_reload_flag
   4979 case $reload_flag in
   4980 "" | " "*) ;;
   4981 *) reload_flag=" $reload_flag" ;;
   4982 esac
   4983 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4984 case $host_os in
   4985   cygwin* | mingw* | pw32* | cegcc*)
   4986     if test "$GCC" != yes; then
   4987       reload_cmds=false
   4988     fi
   4989     ;;
   4990   darwin*)
   4991     if test "$GCC" = yes; then
   4992       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4993     else
   4994       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4995     fi
   4996     ;;
   4997 esac
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 if test -n "$ac_tool_prefix"; then
   5008   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5009 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5011 $as_echo_n "checking for $ac_word... " >&6; }
   5012 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5013   $as_echo_n "(cached) " >&6
   5014 else
   5015   if test -n "$OBJDUMP"; then
   5016   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5017 else
   5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5019 for as_dir in $PATH
   5020 do
   5021   IFS=$as_save_IFS
   5022   test -z "$as_dir" && as_dir=.
   5023     for ac_exec_ext in '' $ac_executable_extensions; do
   5024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5025     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5027     break 2
   5028   fi
   5029 done
   5030   done
   5031 IFS=$as_save_IFS
   5032 
   5033 fi
   5034 fi
   5035 OBJDUMP=$ac_cv_prog_OBJDUMP
   5036 if test -n "$OBJDUMP"; then
   5037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5038 $as_echo "$OBJDUMP" >&6; }
   5039 else
   5040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5041 $as_echo "no" >&6; }
   5042 fi
   5043 
   5044 
   5045 fi
   5046 if test -z "$ac_cv_prog_OBJDUMP"; then
   5047   ac_ct_OBJDUMP=$OBJDUMP
   5048   # Extract the first word of "objdump", so it can be a program name with args.
   5049 set dummy objdump; ac_word=$2
   5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5051 $as_echo_n "checking for $ac_word... " >&6; }
   5052 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5053   $as_echo_n "(cached) " >&6
   5054 else
   5055   if test -n "$ac_ct_OBJDUMP"; then
   5056   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5057 else
   5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5059 for as_dir in $PATH
   5060 do
   5061   IFS=$as_save_IFS
   5062   test -z "$as_dir" && as_dir=.
   5063     for ac_exec_ext in '' $ac_executable_extensions; do
   5064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5065     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5067     break 2
   5068   fi
   5069 done
   5070   done
   5071 IFS=$as_save_IFS
   5072 
   5073 fi
   5074 fi
   5075 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5076 if test -n "$ac_ct_OBJDUMP"; then
   5077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5078 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5079 else
   5080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5081 $as_echo "no" >&6; }
   5082 fi
   5083 
   5084   if test "x$ac_ct_OBJDUMP" = x; then
   5085     OBJDUMP="false"
   5086   else
   5087     case $cross_compiling:$ac_tool_warned in
   5088 yes:)
   5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5091 ac_tool_warned=yes ;;
   5092 esac
   5093     OBJDUMP=$ac_ct_OBJDUMP
   5094   fi
   5095 else
   5096   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5097 fi
   5098 
   5099 test -z "$OBJDUMP" && OBJDUMP=objdump
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5110 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5111 if ${lt_cv_deplibs_check_method+:} false; then :
   5112   $as_echo_n "(cached) " >&6
   5113 else
   5114   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5115 lt_cv_file_magic_test_file=
   5116 lt_cv_deplibs_check_method='unknown'
   5117 # Need to set the preceding variable on all platforms that support
   5118 # interlibrary dependencies.
   5119 # 'none' -- dependencies not supported.
   5120 # `unknown' -- same as none, but documents that we really don't know.
   5121 # 'pass_all' -- all dependencies passed with no checks.
   5122 # 'test_compile' -- check by making test program.
   5123 # 'file_magic [[regex]]' -- check by looking for files in library path
   5124 # which responds to the $file_magic_cmd with a given extended regex.
   5125 # If you have `file' or equivalent on your system and you're not sure
   5126 # whether `pass_all' will *always* work, you probably want this one.
   5127 
   5128 case $host_os in
   5129 aix[4-9]*)
   5130   lt_cv_deplibs_check_method=pass_all
   5131   ;;
   5132 
   5133 beos*)
   5134   lt_cv_deplibs_check_method=pass_all
   5135   ;;
   5136 
   5137 bsdi[45]*)
   5138   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5139   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5140   lt_cv_file_magic_test_file=/shlib/libc.so
   5141   ;;
   5142 
   5143 cygwin*)
   5144   # func_win32_libid is a shell function defined in ltmain.sh
   5145   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5146   lt_cv_file_magic_cmd='func_win32_libid'
   5147   ;;
   5148 
   5149 mingw* | pw32*)
   5150   # Base MSYS/MinGW do not provide the 'file' command needed by
   5151   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5152   # unless we find 'file', for example because we are cross-compiling.
   5153   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5154   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5155     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5156     lt_cv_file_magic_cmd='func_win32_libid'
   5157   else
   5158     # Keep this pattern in sync with the one in func_win32_libid.
   5159     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5160     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5161   fi
   5162   ;;
   5163 
   5164 cegcc*)
   5165   # use the weaker test based on 'objdump'. See mingw*.
   5166   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5167   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5168   ;;
   5169 
   5170 darwin* | rhapsody*)
   5171   lt_cv_deplibs_check_method=pass_all
   5172   ;;
   5173 
   5174 freebsd* | dragonfly*)
   5175   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5176     case $host_cpu in
   5177     i*86 )
   5178       # Not sure whether the presence of OpenBSD here was a mistake.
   5179       # Let's accept both of them until this is cleared up.
   5180       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5181       lt_cv_file_magic_cmd=/usr/bin/file
   5182       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5183       ;;
   5184     esac
   5185   else
   5186     lt_cv_deplibs_check_method=pass_all
   5187   fi
   5188   ;;
   5189 
   5190 gnu*)
   5191   lt_cv_deplibs_check_method=pass_all
   5192   ;;
   5193 
   5194 haiku*)
   5195   lt_cv_deplibs_check_method=pass_all
   5196   ;;
   5197 
   5198 hpux10.20* | hpux11*)
   5199   lt_cv_file_magic_cmd=/usr/bin/file
   5200   case $host_cpu in
   5201   ia64*)
   5202     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5203     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5204     ;;
   5205   hppa*64*)
   5206     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]'
   5207     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5208     ;;
   5209   *)
   5210     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5211     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5212     ;;
   5213   esac
   5214   ;;
   5215 
   5216 interix[3-9]*)
   5217   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5218   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5219   ;;
   5220 
   5221 irix5* | irix6* | nonstopux*)
   5222   case $LD in
   5223   *-32|*"-32 ") libmagic=32-bit;;
   5224   *-n32|*"-n32 ") libmagic=N32;;
   5225   *-64|*"-64 ") libmagic=64-bit;;
   5226   *) libmagic=never-match;;
   5227   esac
   5228   lt_cv_deplibs_check_method=pass_all
   5229   ;;
   5230 
   5231 # This must be Linux ELF.
   5232 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5233   lt_cv_deplibs_check_method=pass_all
   5234   ;;
   5235 
   5236 netbsd*)
   5237   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5238     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5239   else
   5240     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5241   fi
   5242   ;;
   5243 
   5244 newos6*)
   5245   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5246   lt_cv_file_magic_cmd=/usr/bin/file
   5247   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5248   ;;
   5249 
   5250 *nto* | *qnx*)
   5251   lt_cv_deplibs_check_method=pass_all
   5252   ;;
   5253 
   5254 openbsd*)
   5255   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5256     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5257   else
   5258     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5259   fi
   5260   ;;
   5261 
   5262 osf3* | osf4* | osf5*)
   5263   lt_cv_deplibs_check_method=pass_all
   5264   ;;
   5265 
   5266 rdos*)
   5267   lt_cv_deplibs_check_method=pass_all
   5268   ;;
   5269 
   5270 solaris*)
   5271   lt_cv_deplibs_check_method=pass_all
   5272   ;;
   5273 
   5274 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5275   lt_cv_deplibs_check_method=pass_all
   5276   ;;
   5277 
   5278 sysv4 | sysv4.3*)
   5279   case $host_vendor in
   5280   motorola)
   5281     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]'
   5282     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5283     ;;
   5284   ncr)
   5285     lt_cv_deplibs_check_method=pass_all
   5286     ;;
   5287   sequent)
   5288     lt_cv_file_magic_cmd='/bin/file'
   5289     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5290     ;;
   5291   sni)
   5292     lt_cv_file_magic_cmd='/bin/file'
   5293     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5294     lt_cv_file_magic_test_file=/lib/libc.so
   5295     ;;
   5296   siemens)
   5297     lt_cv_deplibs_check_method=pass_all
   5298     ;;
   5299   pc)
   5300     lt_cv_deplibs_check_method=pass_all
   5301     ;;
   5302   esac
   5303   ;;
   5304 
   5305 tpf*)
   5306   lt_cv_deplibs_check_method=pass_all
   5307   ;;
   5308 esac
   5309 
   5310 fi
   5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5312 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5313 
   5314 file_magic_glob=
   5315 want_nocaseglob=no
   5316 if test "$build" = "$host"; then
   5317   case $host_os in
   5318   mingw* | pw32*)
   5319     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5320       want_nocaseglob=yes
   5321     else
   5322       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5323     fi
   5324     ;;
   5325   esac
   5326 fi
   5327 
   5328 file_magic_cmd=$lt_cv_file_magic_cmd
   5329 deplibs_check_method=$lt_cv_deplibs_check_method
   5330 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 if test -n "$ac_tool_prefix"; then
   5354   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5355 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5357 $as_echo_n "checking for $ac_word... " >&6; }
   5358 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5359   $as_echo_n "(cached) " >&6
   5360 else
   5361   if test -n "$DLLTOOL"; then
   5362   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5363 else
   5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5365 for as_dir in $PATH
   5366 do
   5367   IFS=$as_save_IFS
   5368   test -z "$as_dir" && as_dir=.
   5369     for ac_exec_ext in '' $ac_executable_extensions; do
   5370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5371     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5373     break 2
   5374   fi
   5375 done
   5376   done
   5377 IFS=$as_save_IFS
   5378 
   5379 fi
   5380 fi
   5381 DLLTOOL=$ac_cv_prog_DLLTOOL
   5382 if test -n "$DLLTOOL"; then
   5383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5384 $as_echo "$DLLTOOL" >&6; }
   5385 else
   5386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5387 $as_echo "no" >&6; }
   5388 fi
   5389 
   5390 
   5391 fi
   5392 if test -z "$ac_cv_prog_DLLTOOL"; then
   5393   ac_ct_DLLTOOL=$DLLTOOL
   5394   # Extract the first word of "dlltool", so it can be a program name with args.
   5395 set dummy dlltool; ac_word=$2
   5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5397 $as_echo_n "checking for $ac_word... " >&6; }
   5398 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5399   $as_echo_n "(cached) " >&6
   5400 else
   5401   if test -n "$ac_ct_DLLTOOL"; then
   5402   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5403 else
   5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5405 for as_dir in $PATH
   5406 do
   5407   IFS=$as_save_IFS
   5408   test -z "$as_dir" && as_dir=.
   5409     for ac_exec_ext in '' $ac_executable_extensions; do
   5410   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5411     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5413     break 2
   5414   fi
   5415 done
   5416   done
   5417 IFS=$as_save_IFS
   5418 
   5419 fi
   5420 fi
   5421 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5422 if test -n "$ac_ct_DLLTOOL"; then
   5423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5424 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5425 else
   5426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5427 $as_echo "no" >&6; }
   5428 fi
   5429 
   5430   if test "x$ac_ct_DLLTOOL" = x; then
   5431     DLLTOOL="false"
   5432   else
   5433     case $cross_compiling:$ac_tool_warned in
   5434 yes:)
   5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5437 ac_tool_warned=yes ;;
   5438 esac
   5439     DLLTOOL=$ac_ct_DLLTOOL
   5440   fi
   5441 else
   5442   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5443 fi
   5444 
   5445 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5457 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5458 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5459   $as_echo_n "(cached) " >&6
   5460 else
   5461   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5462 
   5463 case $host_os in
   5464 cygwin* | mingw* | pw32* | cegcc*)
   5465   # two different shell functions defined in ltmain.sh
   5466   # decide which to use based on capabilities of $DLLTOOL
   5467   case `$DLLTOOL --help 2>&1` in
   5468   *--identify-strict*)
   5469     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5470     ;;
   5471   *)
   5472     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5473     ;;
   5474   esac
   5475   ;;
   5476 *)
   5477   # fallback: assume linklib IS sharedlib
   5478   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5479   ;;
   5480 esac
   5481 
   5482 fi
   5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5484 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5485 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5486 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 if test -n "$ac_tool_prefix"; then
   5496   for ac_prog in ar
   5497   do
   5498     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5501 $as_echo_n "checking for $ac_word... " >&6; }
   5502 if ${ac_cv_prog_AR+:} false; then :
   5503   $as_echo_n "(cached) " >&6
   5504 else
   5505   if test -n "$AR"; then
   5506   ac_cv_prog_AR="$AR" # Let the user override the test.
   5507 else
   5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5509 for as_dir in $PATH
   5510 do
   5511   IFS=$as_save_IFS
   5512   test -z "$as_dir" && as_dir=.
   5513     for ac_exec_ext in '' $ac_executable_extensions; do
   5514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5515     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5517     break 2
   5518   fi
   5519 done
   5520   done
   5521 IFS=$as_save_IFS
   5522 
   5523 fi
   5524 fi
   5525 AR=$ac_cv_prog_AR
   5526 if test -n "$AR"; then
   5527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5528 $as_echo "$AR" >&6; }
   5529 else
   5530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5531 $as_echo "no" >&6; }
   5532 fi
   5533 
   5534 
   5535     test -n "$AR" && break
   5536   done
   5537 fi
   5538 if test -z "$AR"; then
   5539   ac_ct_AR=$AR
   5540   for ac_prog in ar
   5541 do
   5542   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5543 set dummy $ac_prog; ac_word=$2
   5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5545 $as_echo_n "checking for $ac_word... " >&6; }
   5546 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5547   $as_echo_n "(cached) " >&6
   5548 else
   5549   if test -n "$ac_ct_AR"; then
   5550   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5551 else
   5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5553 for as_dir in $PATH
   5554 do
   5555   IFS=$as_save_IFS
   5556   test -z "$as_dir" && as_dir=.
   5557     for ac_exec_ext in '' $ac_executable_extensions; do
   5558   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5559     ac_cv_prog_ac_ct_AR="$ac_prog"
   5560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5561     break 2
   5562   fi
   5563 done
   5564   done
   5565 IFS=$as_save_IFS
   5566 
   5567 fi
   5568 fi
   5569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5570 if test -n "$ac_ct_AR"; then
   5571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5572 $as_echo "$ac_ct_AR" >&6; }
   5573 else
   5574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5575 $as_echo "no" >&6; }
   5576 fi
   5577 
   5578 
   5579   test -n "$ac_ct_AR" && break
   5580 done
   5581 
   5582   if test "x$ac_ct_AR" = x; then
   5583     AR="false"
   5584   else
   5585     case $cross_compiling:$ac_tool_warned in
   5586 yes:)
   5587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5589 ac_tool_warned=yes ;;
   5590 esac
   5591     AR=$ac_ct_AR
   5592   fi
   5593 fi
   5594 
   5595 : ${AR=ar}
   5596 : ${AR_FLAGS=cru}
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5609 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5610 if ${lt_cv_ar_at_file+:} false; then :
   5611   $as_echo_n "(cached) " >&6
   5612 else
   5613   lt_cv_ar_at_file=no
   5614    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5615 /* end confdefs.h.  */
   5616 
   5617 int
   5618 main ()
   5619 {
   5620 
   5621   ;
   5622   return 0;
   5623 }
   5624 _ACEOF
   5625 if ac_fn_c_try_compile "$LINENO"; then :
   5626   echo conftest.$ac_objext > conftest.lst
   5627       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5628       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5629   (eval $lt_ar_try) 2>&5
   5630   ac_status=$?
   5631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5632   test $ac_status = 0; }
   5633       if test "$ac_status" -eq 0; then
   5634 	# Ensure the archiver fails upon bogus file names.
   5635 	rm -f conftest.$ac_objext libconftest.a
   5636 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5637   (eval $lt_ar_try) 2>&5
   5638   ac_status=$?
   5639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5640   test $ac_status = 0; }
   5641 	if test "$ac_status" -ne 0; then
   5642           lt_cv_ar_at_file=@
   5643         fi
   5644       fi
   5645       rm -f conftest.* libconftest.a
   5646 
   5647 fi
   5648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5649 
   5650 fi
   5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5652 $as_echo "$lt_cv_ar_at_file" >&6; }
   5653 
   5654 if test "x$lt_cv_ar_at_file" = xno; then
   5655   archiver_list_spec=
   5656 else
   5657   archiver_list_spec=$lt_cv_ar_at_file
   5658 fi
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 if test -n "$ac_tool_prefix"; then
   5667   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5668 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5670 $as_echo_n "checking for $ac_word... " >&6; }
   5671 if ${ac_cv_prog_STRIP+:} false; then :
   5672   $as_echo_n "(cached) " >&6
   5673 else
   5674   if test -n "$STRIP"; then
   5675   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5676 else
   5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5678 for as_dir in $PATH
   5679 do
   5680   IFS=$as_save_IFS
   5681   test -z "$as_dir" && as_dir=.
   5682     for ac_exec_ext in '' $ac_executable_extensions; do
   5683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5684     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5686     break 2
   5687   fi
   5688 done
   5689   done
   5690 IFS=$as_save_IFS
   5691 
   5692 fi
   5693 fi
   5694 STRIP=$ac_cv_prog_STRIP
   5695 if test -n "$STRIP"; then
   5696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5697 $as_echo "$STRIP" >&6; }
   5698 else
   5699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5700 $as_echo "no" >&6; }
   5701 fi
   5702 
   5703 
   5704 fi
   5705 if test -z "$ac_cv_prog_STRIP"; then
   5706   ac_ct_STRIP=$STRIP
   5707   # Extract the first word of "strip", so it can be a program name with args.
   5708 set dummy strip; ac_word=$2
   5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5710 $as_echo_n "checking for $ac_word... " >&6; }
   5711 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5712   $as_echo_n "(cached) " >&6
   5713 else
   5714   if test -n "$ac_ct_STRIP"; then
   5715   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5716 else
   5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5718 for as_dir in $PATH
   5719 do
   5720   IFS=$as_save_IFS
   5721   test -z "$as_dir" && as_dir=.
   5722     for ac_exec_ext in '' $ac_executable_extensions; do
   5723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5724     ac_cv_prog_ac_ct_STRIP="strip"
   5725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5726     break 2
   5727   fi
   5728 done
   5729   done
   5730 IFS=$as_save_IFS
   5731 
   5732 fi
   5733 fi
   5734 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5735 if test -n "$ac_ct_STRIP"; then
   5736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5737 $as_echo "$ac_ct_STRIP" >&6; }
   5738 else
   5739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5740 $as_echo "no" >&6; }
   5741 fi
   5742 
   5743   if test "x$ac_ct_STRIP" = x; then
   5744     STRIP=":"
   5745   else
   5746     case $cross_compiling:$ac_tool_warned in
   5747 yes:)
   5748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5750 ac_tool_warned=yes ;;
   5751 esac
   5752     STRIP=$ac_ct_STRIP
   5753   fi
   5754 else
   5755   STRIP="$ac_cv_prog_STRIP"
   5756 fi
   5757 
   5758 test -z "$STRIP" && STRIP=:
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 if test -n "$ac_tool_prefix"; then
   5766   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5767 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5769 $as_echo_n "checking for $ac_word... " >&6; }
   5770 if ${ac_cv_prog_RANLIB+:} false; then :
   5771   $as_echo_n "(cached) " >&6
   5772 else
   5773   if test -n "$RANLIB"; then
   5774   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5775 else
   5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5777 for as_dir in $PATH
   5778 do
   5779   IFS=$as_save_IFS
   5780   test -z "$as_dir" && as_dir=.
   5781     for ac_exec_ext in '' $ac_executable_extensions; do
   5782   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5783     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5785     break 2
   5786   fi
   5787 done
   5788   done
   5789 IFS=$as_save_IFS
   5790 
   5791 fi
   5792 fi
   5793 RANLIB=$ac_cv_prog_RANLIB
   5794 if test -n "$RANLIB"; then
   5795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5796 $as_echo "$RANLIB" >&6; }
   5797 else
   5798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5799 $as_echo "no" >&6; }
   5800 fi
   5801 
   5802 
   5803 fi
   5804 if test -z "$ac_cv_prog_RANLIB"; then
   5805   ac_ct_RANLIB=$RANLIB
   5806   # Extract the first word of "ranlib", so it can be a program name with args.
   5807 set dummy ranlib; ac_word=$2
   5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5809 $as_echo_n "checking for $ac_word... " >&6; }
   5810 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5811   $as_echo_n "(cached) " >&6
   5812 else
   5813   if test -n "$ac_ct_RANLIB"; then
   5814   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5815 else
   5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5817 for as_dir in $PATH
   5818 do
   5819   IFS=$as_save_IFS
   5820   test -z "$as_dir" && as_dir=.
   5821     for ac_exec_ext in '' $ac_executable_extensions; do
   5822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5823     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5825     break 2
   5826   fi
   5827 done
   5828   done
   5829 IFS=$as_save_IFS
   5830 
   5831 fi
   5832 fi
   5833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5834 if test -n "$ac_ct_RANLIB"; then
   5835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5836 $as_echo "$ac_ct_RANLIB" >&6; }
   5837 else
   5838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5839 $as_echo "no" >&6; }
   5840 fi
   5841 
   5842   if test "x$ac_ct_RANLIB" = x; then
   5843     RANLIB=":"
   5844   else
   5845     case $cross_compiling:$ac_tool_warned in
   5846 yes:)
   5847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5849 ac_tool_warned=yes ;;
   5850 esac
   5851     RANLIB=$ac_ct_RANLIB
   5852   fi
   5853 else
   5854   RANLIB="$ac_cv_prog_RANLIB"
   5855 fi
   5856 
   5857 test -z "$RANLIB" && RANLIB=:
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 # Determine commands to create old-style static archives.
   5865 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5866 old_postinstall_cmds='chmod 644 $oldlib'
   5867 old_postuninstall_cmds=
   5868 
   5869 if test -n "$RANLIB"; then
   5870   case $host_os in
   5871   openbsd*)
   5872     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5873     ;;
   5874   *)
   5875     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5876     ;;
   5877   esac
   5878   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5879 fi
   5880 
   5881 case $host_os in
   5882   darwin*)
   5883     lock_old_archive_extraction=yes ;;
   5884   *)
   5885     lock_old_archive_extraction=no ;;
   5886 esac
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 # If no C compiler was specified, use CC.
   5927 LTCC=${LTCC-"$CC"}
   5928 
   5929 # If no C compiler flags were specified, use CFLAGS.
   5930 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5931 
   5932 # Allow CC to be a program name with arguments.
   5933 compiler=$CC
   5934 
   5935 
   5936 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5938 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5939 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5940   $as_echo_n "(cached) " >&6
   5941 else
   5942 
   5943 # These are sane defaults that work on at least a few old systems.
   5944 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5945 
   5946 # Character class describing NM global symbol codes.
   5947 symcode='[BCDEGRST]'
   5948 
   5949 # Regexp to match symbols that can be accessed directly from C.
   5950 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5951 
   5952 # Define system-specific variables.
   5953 case $host_os in
   5954 aix*)
   5955   symcode='[BCDT]'
   5956   ;;
   5957 cygwin* | mingw* | pw32* | cegcc*)
   5958   symcode='[ABCDGISTW]'
   5959   ;;
   5960 hpux*)
   5961   if test "$host_cpu" = ia64; then
   5962     symcode='[ABCDEGRST]'
   5963   fi
   5964   ;;
   5965 irix* | nonstopux*)
   5966   symcode='[BCDEGRST]'
   5967   ;;
   5968 osf*)
   5969   symcode='[BCDEGQRST]'
   5970   ;;
   5971 solaris*)
   5972   symcode='[BDRT]'
   5973   ;;
   5974 sco3.2v5*)
   5975   symcode='[DT]'
   5976   ;;
   5977 sysv4.2uw2*)
   5978   symcode='[DT]'
   5979   ;;
   5980 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5981   symcode='[ABDT]'
   5982   ;;
   5983 sysv4)
   5984   symcode='[DFNSTU]'
   5985   ;;
   5986 esac
   5987 
   5988 # If we're using GNU nm, then use its standard symbol codes.
   5989 case `$NM -V 2>&1` in
   5990 *GNU* | *'with BFD'*)
   5991   symcode='[ABCDGIRSTW]' ;;
   5992 esac
   5993 
   5994 # Transform an extracted symbol line into a proper C declaration.
   5995 # Some systems (esp. on ia64) link data and code symbols differently,
   5996 # so use this general approach.
   5997 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5998 
   5999 # Transform an extracted symbol line into symbol name and symbol address
   6000 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6001 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   6002 
   6003 # Handle CRLF in mingw tool chain
   6004 opt_cr=
   6005 case $build_os in
   6006 mingw*)
   6007   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6008   ;;
   6009 esac
   6010 
   6011 # Try without a prefix underscore, then with it.
   6012 for ac_symprfx in "" "_"; do
   6013 
   6014   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6015   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6016 
   6017   # Write the raw and C identifiers.
   6018   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6019     # Fake it for dumpbin and say T for any non-static function
   6020     # and D for any global variable.
   6021     # Also find C++ and __fastcall symbols from MSVC++,
   6022     # which start with @ or ?.
   6023     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6024 "     {last_section=section; section=\$ 3};"\
   6025 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6026 "     \$ 0!~/External *\|/{next};"\
   6027 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6028 "     {if(hide[section]) next};"\
   6029 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6030 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6031 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6032 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6033 "     ' prfx=^$ac_symprfx"
   6034   else
   6035     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6036   fi
   6037   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6038 
   6039   # Check to see that the pipe works correctly.
   6040   pipe_works=no
   6041 
   6042   rm -f conftest*
   6043   cat > conftest.$ac_ext <<_LT_EOF
   6044 #ifdef __cplusplus
   6045 extern "C" {
   6046 #endif
   6047 char nm_test_var;
   6048 void nm_test_func(void);
   6049 void nm_test_func(void){}
   6050 #ifdef __cplusplus
   6051 }
   6052 #endif
   6053 int main(){nm_test_var='a';nm_test_func();return(0);}
   6054 _LT_EOF
   6055 
   6056   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6057   (eval $ac_compile) 2>&5
   6058   ac_status=$?
   6059   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6060   test $ac_status = 0; }; then
   6061     # Now try to grab the symbols.
   6062     nlist=conftest.nm
   6063     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6064   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6065   ac_status=$?
   6066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6067   test $ac_status = 0; } && test -s "$nlist"; then
   6068       # Try sorting and uniquifying the output.
   6069       if sort "$nlist" | uniq > "$nlist"T; then
   6070 	mv -f "$nlist"T "$nlist"
   6071       else
   6072 	rm -f "$nlist"T
   6073       fi
   6074 
   6075       # Make sure that we snagged all the symbols we need.
   6076       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6077 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6078 	  cat <<_LT_EOF > conftest.$ac_ext
   6079 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6080 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6081 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6082    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6083 # define LT_DLSYM_CONST
   6084 #elif defined(__osf__)
   6085 /* This system does not cope well with relocations in const data.  */
   6086 # define LT_DLSYM_CONST
   6087 #else
   6088 # define LT_DLSYM_CONST const
   6089 #endif
   6090 
   6091 #ifdef __cplusplus
   6092 extern "C" {
   6093 #endif
   6094 
   6095 _LT_EOF
   6096 	  # Now generate the symbol file.
   6097 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6098 
   6099 	  cat <<_LT_EOF >> conftest.$ac_ext
   6100 
   6101 /* The mapping between symbol names and symbols.  */
   6102 LT_DLSYM_CONST struct {
   6103   const char *name;
   6104   void       *address;
   6105 }
   6106 lt__PROGRAM__LTX_preloaded_symbols[] =
   6107 {
   6108   { "@PROGRAM@", (void *) 0 },
   6109 _LT_EOF
   6110 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6111 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6112   {0, (void *) 0}
   6113 };
   6114 
   6115 /* This works around a problem in FreeBSD linker */
   6116 #ifdef FREEBSD_WORKAROUND
   6117 static const void *lt_preloaded_setup() {
   6118   return lt__PROGRAM__LTX_preloaded_symbols;
   6119 }
   6120 #endif
   6121 
   6122 #ifdef __cplusplus
   6123 }
   6124 #endif
   6125 _LT_EOF
   6126 	  # Now try linking the two files.
   6127 	  mv conftest.$ac_objext conftstm.$ac_objext
   6128 	  lt_globsym_save_LIBS=$LIBS
   6129 	  lt_globsym_save_CFLAGS=$CFLAGS
   6130 	  LIBS="conftstm.$ac_objext"
   6131 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6132 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6133   (eval $ac_link) 2>&5
   6134   ac_status=$?
   6135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6136   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6137 	    pipe_works=yes
   6138 	  fi
   6139 	  LIBS=$lt_globsym_save_LIBS
   6140 	  CFLAGS=$lt_globsym_save_CFLAGS
   6141 	else
   6142 	  echo "cannot find nm_test_func in $nlist" >&5
   6143 	fi
   6144       else
   6145 	echo "cannot find nm_test_var in $nlist" >&5
   6146       fi
   6147     else
   6148       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6149     fi
   6150   else
   6151     echo "$progname: failed program was:" >&5
   6152     cat conftest.$ac_ext >&5
   6153   fi
   6154   rm -rf conftest* conftst*
   6155 
   6156   # Do not use the global_symbol_pipe unless it works.
   6157   if test "$pipe_works" = yes; then
   6158     break
   6159   else
   6160     lt_cv_sys_global_symbol_pipe=
   6161   fi
   6162 done
   6163 
   6164 fi
   6165 
   6166 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6167   lt_cv_sys_global_symbol_to_cdecl=
   6168 fi
   6169 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6171 $as_echo "failed" >&6; }
   6172 else
   6173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6174 $as_echo "ok" >&6; }
   6175 fi
   6176 
   6177 # Response file support.
   6178 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6179   nm_file_list_spec='@'
   6180 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6181   nm_file_list_spec='@'
   6182 fi
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6211 $as_echo_n "checking for sysroot... " >&6; }
   6212 
   6213 # Check whether --with-sysroot was given.
   6214 if test "${with_sysroot+set}" = set; then :
   6215   withval=$with_sysroot;
   6216 else
   6217   with_sysroot=no
   6218 fi
   6219 
   6220 
   6221 lt_sysroot=
   6222 case ${with_sysroot} in #(
   6223  yes)
   6224    if test "$GCC" = yes; then
   6225      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6226    fi
   6227    ;; #(
   6228  /*)
   6229    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6230    ;; #(
   6231  no|'')
   6232    ;; #(
   6233  *)
   6234    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6235 $as_echo "${with_sysroot}" >&6; }
   6236    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6237    ;;
   6238 esac
   6239 
   6240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6241 $as_echo "${lt_sysroot:-no}" >&6; }
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 # Check whether --enable-libtool-lock was given.
   6248 if test "${enable_libtool_lock+set}" = set; then :
   6249   enableval=$enable_libtool_lock;
   6250 fi
   6251 
   6252 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6253 
   6254 # Some flags need to be propagated to the compiler or linker for good
   6255 # libtool support.
   6256 case $host in
   6257 ia64-*-hpux*)
   6258   # Find out which ABI we are using.
   6259   echo 'int i;' > conftest.$ac_ext
   6260   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6261   (eval $ac_compile) 2>&5
   6262   ac_status=$?
   6263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6264   test $ac_status = 0; }; then
   6265     case `/usr/bin/file conftest.$ac_objext` in
   6266       *ELF-32*)
   6267 	HPUX_IA64_MODE="32"
   6268 	;;
   6269       *ELF-64*)
   6270 	HPUX_IA64_MODE="64"
   6271 	;;
   6272     esac
   6273   fi
   6274   rm -rf conftest*
   6275   ;;
   6276 *-*-irix6*)
   6277   # Find out which ABI we are using.
   6278   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6279   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6280   (eval $ac_compile) 2>&5
   6281   ac_status=$?
   6282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6283   test $ac_status = 0; }; then
   6284     if test "$lt_cv_prog_gnu_ld" = yes; then
   6285       case `/usr/bin/file conftest.$ac_objext` in
   6286 	*32-bit*)
   6287 	  LD="${LD-ld} -melf32bsmip"
   6288 	  ;;
   6289 	*N32*)
   6290 	  LD="${LD-ld} -melf32bmipn32"
   6291 	  ;;
   6292 	*64-bit*)
   6293 	  LD="${LD-ld} -melf64bmip"
   6294 	;;
   6295       esac
   6296     else
   6297       case `/usr/bin/file conftest.$ac_objext` in
   6298 	*32-bit*)
   6299 	  LD="${LD-ld} -32"
   6300 	  ;;
   6301 	*N32*)
   6302 	  LD="${LD-ld} -n32"
   6303 	  ;;
   6304 	*64-bit*)
   6305 	  LD="${LD-ld} -64"
   6306 	  ;;
   6307       esac
   6308     fi
   6309   fi
   6310   rm -rf conftest*
   6311   ;;
   6312 
   6313 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6314 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6315   # Find out which ABI we are using.
   6316   echo 'int i;' > conftest.$ac_ext
   6317   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6318   (eval $ac_compile) 2>&5
   6319   ac_status=$?
   6320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6321   test $ac_status = 0; }; then
   6322     case `/usr/bin/file conftest.o` in
   6323       *32-bit*)
   6324 	case $host in
   6325 	  x86_64-*kfreebsd*-gnu)
   6326 	    LD="${LD-ld} -m elf_i386_fbsd"
   6327 	    ;;
   6328 	  x86_64-*linux*)
   6329 	    LD="${LD-ld} -m elf_i386"
   6330 	    ;;
   6331 	  ppc64-*linux*|powerpc64-*linux*)
   6332 	    LD="${LD-ld} -m elf32ppclinux"
   6333 	    ;;
   6334 	  s390x-*linux*)
   6335 	    LD="${LD-ld} -m elf_s390"
   6336 	    ;;
   6337 	  sparc64-*linux*)
   6338 	    LD="${LD-ld} -m elf32_sparc"
   6339 	    ;;
   6340 	esac
   6341 	;;
   6342       *64-bit*)
   6343 	case $host in
   6344 	  x86_64-*kfreebsd*-gnu)
   6345 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6346 	    ;;
   6347 	  x86_64-*linux*)
   6348 	    LD="${LD-ld} -m elf_x86_64"
   6349 	    ;;
   6350 	  ppc*-*linux*|powerpc*-*linux*)
   6351 	    LD="${LD-ld} -m elf64ppc"
   6352 	    ;;
   6353 	  s390*-*linux*|s390*-*tpf*)
   6354 	    LD="${LD-ld} -m elf64_s390"
   6355 	    ;;
   6356 	  sparc*-*linux*)
   6357 	    LD="${LD-ld} -m elf64_sparc"
   6358 	    ;;
   6359 	esac
   6360 	;;
   6361     esac
   6362   fi
   6363   rm -rf conftest*
   6364   ;;
   6365 
   6366 *-*-sco3.2v5*)
   6367   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6368   SAVE_CFLAGS="$CFLAGS"
   6369   CFLAGS="$CFLAGS -belf"
   6370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6371 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6372 if ${lt_cv_cc_needs_belf+:} false; then :
   6373   $as_echo_n "(cached) " >&6
   6374 else
   6375   ac_ext=c
   6376 ac_cpp='$CPP $CPPFLAGS'
   6377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6380 
   6381      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6382 /* end confdefs.h.  */
   6383 
   6384 int
   6385 main ()
   6386 {
   6387 
   6388   ;
   6389   return 0;
   6390 }
   6391 _ACEOF
   6392 if ac_fn_c_try_link "$LINENO"; then :
   6393   lt_cv_cc_needs_belf=yes
   6394 else
   6395   lt_cv_cc_needs_belf=no
   6396 fi
   6397 rm -f core conftest.err conftest.$ac_objext \
   6398     conftest$ac_exeext conftest.$ac_ext
   6399      ac_ext=c
   6400 ac_cpp='$CPP $CPPFLAGS'
   6401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6404 
   6405 fi
   6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6407 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6408   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6409     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6410     CFLAGS="$SAVE_CFLAGS"
   6411   fi
   6412   ;;
   6413 sparc*-*solaris*)
   6414   # Find out which ABI we are using.
   6415   echo 'int i;' > conftest.$ac_ext
   6416   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6417   (eval $ac_compile) 2>&5
   6418   ac_status=$?
   6419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6420   test $ac_status = 0; }; then
   6421     case `/usr/bin/file conftest.o` in
   6422     *64-bit*)
   6423       case $lt_cv_prog_gnu_ld in
   6424       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6425       *)
   6426 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6427 	  LD="${LD-ld} -64"
   6428 	fi
   6429 	;;
   6430       esac
   6431       ;;
   6432     esac
   6433   fi
   6434   rm -rf conftest*
   6435   ;;
   6436 esac
   6437 
   6438 need_locks="$enable_libtool_lock"
   6439 
   6440 if test -n "$ac_tool_prefix"; then
   6441   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6442 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6444 $as_echo_n "checking for $ac_word... " >&6; }
   6445 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6446   $as_echo_n "(cached) " >&6
   6447 else
   6448   if test -n "$MANIFEST_TOOL"; then
   6449   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6450 else
   6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6452 for as_dir in $PATH
   6453 do
   6454   IFS=$as_save_IFS
   6455   test -z "$as_dir" && as_dir=.
   6456     for ac_exec_ext in '' $ac_executable_extensions; do
   6457   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6458     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6460     break 2
   6461   fi
   6462 done
   6463   done
   6464 IFS=$as_save_IFS
   6465 
   6466 fi
   6467 fi
   6468 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6469 if test -n "$MANIFEST_TOOL"; then
   6470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6471 $as_echo "$MANIFEST_TOOL" >&6; }
   6472 else
   6473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6474 $as_echo "no" >&6; }
   6475 fi
   6476 
   6477 
   6478 fi
   6479 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6480   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6481   # Extract the first word of "mt", so it can be a program name with args.
   6482 set dummy mt; ac_word=$2
   6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6484 $as_echo_n "checking for $ac_word... " >&6; }
   6485 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6486   $as_echo_n "(cached) " >&6
   6487 else
   6488   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6489   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6490 else
   6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6492 for as_dir in $PATH
   6493 do
   6494   IFS=$as_save_IFS
   6495   test -z "$as_dir" && as_dir=.
   6496     for ac_exec_ext in '' $ac_executable_extensions; do
   6497   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6498     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6499     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6500     break 2
   6501   fi
   6502 done
   6503   done
   6504 IFS=$as_save_IFS
   6505 
   6506 fi
   6507 fi
   6508 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6509 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6511 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6512 else
   6513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6514 $as_echo "no" >&6; }
   6515 fi
   6516 
   6517   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6518     MANIFEST_TOOL=":"
   6519   else
   6520     case $cross_compiling:$ac_tool_warned in
   6521 yes:)
   6522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6524 ac_tool_warned=yes ;;
   6525 esac
   6526     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6527   fi
   6528 else
   6529   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6530 fi
   6531 
   6532 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6534 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6535 if ${lt_cv_path_mainfest_tool+:} false; then :
   6536   $as_echo_n "(cached) " >&6
   6537 else
   6538   lt_cv_path_mainfest_tool=no
   6539   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6540   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6541   cat conftest.err >&5
   6542   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6543     lt_cv_path_mainfest_tool=yes
   6544   fi
   6545   rm -f conftest*
   6546 fi
   6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6548 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6549 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6550   MANIFEST_TOOL=:
   6551 fi
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558   case $host_os in
   6559     rhapsody* | darwin*)
   6560     if test -n "$ac_tool_prefix"; then
   6561   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6562 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6564 $as_echo_n "checking for $ac_word... " >&6; }
   6565 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6566   $as_echo_n "(cached) " >&6
   6567 else
   6568   if test -n "$DSYMUTIL"; then
   6569   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6570 else
   6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6572 for as_dir in $PATH
   6573 do
   6574   IFS=$as_save_IFS
   6575   test -z "$as_dir" && as_dir=.
   6576     for ac_exec_ext in '' $ac_executable_extensions; do
   6577   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6578     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6580     break 2
   6581   fi
   6582 done
   6583   done
   6584 IFS=$as_save_IFS
   6585 
   6586 fi
   6587 fi
   6588 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6589 if test -n "$DSYMUTIL"; then
   6590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6591 $as_echo "$DSYMUTIL" >&6; }
   6592 else
   6593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6594 $as_echo "no" >&6; }
   6595 fi
   6596 
   6597 
   6598 fi
   6599 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6600   ac_ct_DSYMUTIL=$DSYMUTIL
   6601   # Extract the first word of "dsymutil", so it can be a program name with args.
   6602 set dummy dsymutil; ac_word=$2
   6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6604 $as_echo_n "checking for $ac_word... " >&6; }
   6605 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6606   $as_echo_n "(cached) " >&6
   6607 else
   6608   if test -n "$ac_ct_DSYMUTIL"; then
   6609   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6610 else
   6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6612 for as_dir in $PATH
   6613 do
   6614   IFS=$as_save_IFS
   6615   test -z "$as_dir" && as_dir=.
   6616     for ac_exec_ext in '' $ac_executable_extensions; do
   6617   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6618     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6620     break 2
   6621   fi
   6622 done
   6623   done
   6624 IFS=$as_save_IFS
   6625 
   6626 fi
   6627 fi
   6628 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6629 if test -n "$ac_ct_DSYMUTIL"; then
   6630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6631 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6632 else
   6633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6634 $as_echo "no" >&6; }
   6635 fi
   6636 
   6637   if test "x$ac_ct_DSYMUTIL" = x; then
   6638     DSYMUTIL=":"
   6639   else
   6640     case $cross_compiling:$ac_tool_warned in
   6641 yes:)
   6642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6644 ac_tool_warned=yes ;;
   6645 esac
   6646     DSYMUTIL=$ac_ct_DSYMUTIL
   6647   fi
   6648 else
   6649   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6650 fi
   6651 
   6652     if test -n "$ac_tool_prefix"; then
   6653   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6654 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6656 $as_echo_n "checking for $ac_word... " >&6; }
   6657 if ${ac_cv_prog_NMEDIT+:} false; then :
   6658   $as_echo_n "(cached) " >&6
   6659 else
   6660   if test -n "$NMEDIT"; then
   6661   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6662 else
   6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6664 for as_dir in $PATH
   6665 do
   6666   IFS=$as_save_IFS
   6667   test -z "$as_dir" && as_dir=.
   6668     for ac_exec_ext in '' $ac_executable_extensions; do
   6669   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6670     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6672     break 2
   6673   fi
   6674 done
   6675   done
   6676 IFS=$as_save_IFS
   6677 
   6678 fi
   6679 fi
   6680 NMEDIT=$ac_cv_prog_NMEDIT
   6681 if test -n "$NMEDIT"; then
   6682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6683 $as_echo "$NMEDIT" >&6; }
   6684 else
   6685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6686 $as_echo "no" >&6; }
   6687 fi
   6688 
   6689 
   6690 fi
   6691 if test -z "$ac_cv_prog_NMEDIT"; then
   6692   ac_ct_NMEDIT=$NMEDIT
   6693   # Extract the first word of "nmedit", so it can be a program name with args.
   6694 set dummy nmedit; ac_word=$2
   6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6696 $as_echo_n "checking for $ac_word... " >&6; }
   6697 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6698   $as_echo_n "(cached) " >&6
   6699 else
   6700   if test -n "$ac_ct_NMEDIT"; then
   6701   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6702 else
   6703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6704 for as_dir in $PATH
   6705 do
   6706   IFS=$as_save_IFS
   6707   test -z "$as_dir" && as_dir=.
   6708     for ac_exec_ext in '' $ac_executable_extensions; do
   6709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6710     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6712     break 2
   6713   fi
   6714 done
   6715   done
   6716 IFS=$as_save_IFS
   6717 
   6718 fi
   6719 fi
   6720 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6721 if test -n "$ac_ct_NMEDIT"; then
   6722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6723 $as_echo "$ac_ct_NMEDIT" >&6; }
   6724 else
   6725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6726 $as_echo "no" >&6; }
   6727 fi
   6728 
   6729   if test "x$ac_ct_NMEDIT" = x; then
   6730     NMEDIT=":"
   6731   else
   6732     case $cross_compiling:$ac_tool_warned in
   6733 yes:)
   6734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6736 ac_tool_warned=yes ;;
   6737 esac
   6738     NMEDIT=$ac_ct_NMEDIT
   6739   fi
   6740 else
   6741   NMEDIT="$ac_cv_prog_NMEDIT"
   6742 fi
   6743 
   6744     if test -n "$ac_tool_prefix"; then
   6745   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6746 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6748 $as_echo_n "checking for $ac_word... " >&6; }
   6749 if ${ac_cv_prog_LIPO+:} false; then :
   6750   $as_echo_n "(cached) " >&6
   6751 else
   6752   if test -n "$LIPO"; then
   6753   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6754 else
   6755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6756 for as_dir in $PATH
   6757 do
   6758   IFS=$as_save_IFS
   6759   test -z "$as_dir" && as_dir=.
   6760     for ac_exec_ext in '' $ac_executable_extensions; do
   6761   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6762     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6764     break 2
   6765   fi
   6766 done
   6767   done
   6768 IFS=$as_save_IFS
   6769 
   6770 fi
   6771 fi
   6772 LIPO=$ac_cv_prog_LIPO
   6773 if test -n "$LIPO"; then
   6774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6775 $as_echo "$LIPO" >&6; }
   6776 else
   6777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6778 $as_echo "no" >&6; }
   6779 fi
   6780 
   6781 
   6782 fi
   6783 if test -z "$ac_cv_prog_LIPO"; then
   6784   ac_ct_LIPO=$LIPO
   6785   # Extract the first word of "lipo", so it can be a program name with args.
   6786 set dummy lipo; ac_word=$2
   6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6788 $as_echo_n "checking for $ac_word... " >&6; }
   6789 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6790   $as_echo_n "(cached) " >&6
   6791 else
   6792   if test -n "$ac_ct_LIPO"; then
   6793   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6794 else
   6795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6796 for as_dir in $PATH
   6797 do
   6798   IFS=$as_save_IFS
   6799   test -z "$as_dir" && as_dir=.
   6800     for ac_exec_ext in '' $ac_executable_extensions; do
   6801   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6802     ac_cv_prog_ac_ct_LIPO="lipo"
   6803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6804     break 2
   6805   fi
   6806 done
   6807   done
   6808 IFS=$as_save_IFS
   6809 
   6810 fi
   6811 fi
   6812 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6813 if test -n "$ac_ct_LIPO"; then
   6814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6815 $as_echo "$ac_ct_LIPO" >&6; }
   6816 else
   6817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6818 $as_echo "no" >&6; }
   6819 fi
   6820 
   6821   if test "x$ac_ct_LIPO" = x; then
   6822     LIPO=":"
   6823   else
   6824     case $cross_compiling:$ac_tool_warned in
   6825 yes:)
   6826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6828 ac_tool_warned=yes ;;
   6829 esac
   6830     LIPO=$ac_ct_LIPO
   6831   fi
   6832 else
   6833   LIPO="$ac_cv_prog_LIPO"
   6834 fi
   6835 
   6836     if test -n "$ac_tool_prefix"; then
   6837   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6838 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6840 $as_echo_n "checking for $ac_word... " >&6; }
   6841 if ${ac_cv_prog_OTOOL+:} false; then :
   6842   $as_echo_n "(cached) " >&6
   6843 else
   6844   if test -n "$OTOOL"; then
   6845   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6846 else
   6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6848 for as_dir in $PATH
   6849 do
   6850   IFS=$as_save_IFS
   6851   test -z "$as_dir" && as_dir=.
   6852     for ac_exec_ext in '' $ac_executable_extensions; do
   6853   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6854     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6856     break 2
   6857   fi
   6858 done
   6859   done
   6860 IFS=$as_save_IFS
   6861 
   6862 fi
   6863 fi
   6864 OTOOL=$ac_cv_prog_OTOOL
   6865 if test -n "$OTOOL"; then
   6866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6867 $as_echo "$OTOOL" >&6; }
   6868 else
   6869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6870 $as_echo "no" >&6; }
   6871 fi
   6872 
   6873 
   6874 fi
   6875 if test -z "$ac_cv_prog_OTOOL"; then
   6876   ac_ct_OTOOL=$OTOOL
   6877   # Extract the first word of "otool", so it can be a program name with args.
   6878 set dummy otool; ac_word=$2
   6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6880 $as_echo_n "checking for $ac_word... " >&6; }
   6881 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6882   $as_echo_n "(cached) " >&6
   6883 else
   6884   if test -n "$ac_ct_OTOOL"; then
   6885   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6886 else
   6887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6888 for as_dir in $PATH
   6889 do
   6890   IFS=$as_save_IFS
   6891   test -z "$as_dir" && as_dir=.
   6892     for ac_exec_ext in '' $ac_executable_extensions; do
   6893   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6894     ac_cv_prog_ac_ct_OTOOL="otool"
   6895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6896     break 2
   6897   fi
   6898 done
   6899   done
   6900 IFS=$as_save_IFS
   6901 
   6902 fi
   6903 fi
   6904 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6905 if test -n "$ac_ct_OTOOL"; then
   6906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6907 $as_echo "$ac_ct_OTOOL" >&6; }
   6908 else
   6909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6910 $as_echo "no" >&6; }
   6911 fi
   6912 
   6913   if test "x$ac_ct_OTOOL" = x; then
   6914     OTOOL=":"
   6915   else
   6916     case $cross_compiling:$ac_tool_warned in
   6917 yes:)
   6918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6920 ac_tool_warned=yes ;;
   6921 esac
   6922     OTOOL=$ac_ct_OTOOL
   6923   fi
   6924 else
   6925   OTOOL="$ac_cv_prog_OTOOL"
   6926 fi
   6927 
   6928     if test -n "$ac_tool_prefix"; then
   6929   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6930 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6932 $as_echo_n "checking for $ac_word... " >&6; }
   6933 if ${ac_cv_prog_OTOOL64+:} false; then :
   6934   $as_echo_n "(cached) " >&6
   6935 else
   6936   if test -n "$OTOOL64"; then
   6937   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6938 else
   6939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6940 for as_dir in $PATH
   6941 do
   6942   IFS=$as_save_IFS
   6943   test -z "$as_dir" && as_dir=.
   6944     for ac_exec_ext in '' $ac_executable_extensions; do
   6945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6946     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6948     break 2
   6949   fi
   6950 done
   6951   done
   6952 IFS=$as_save_IFS
   6953 
   6954 fi
   6955 fi
   6956 OTOOL64=$ac_cv_prog_OTOOL64
   6957 if test -n "$OTOOL64"; then
   6958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6959 $as_echo "$OTOOL64" >&6; }
   6960 else
   6961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6962 $as_echo "no" >&6; }
   6963 fi
   6964 
   6965 
   6966 fi
   6967 if test -z "$ac_cv_prog_OTOOL64"; then
   6968   ac_ct_OTOOL64=$OTOOL64
   6969   # Extract the first word of "otool64", so it can be a program name with args.
   6970 set dummy otool64; ac_word=$2
   6971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6972 $as_echo_n "checking for $ac_word... " >&6; }
   6973 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6974   $as_echo_n "(cached) " >&6
   6975 else
   6976   if test -n "$ac_ct_OTOOL64"; then
   6977   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6978 else
   6979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6980 for as_dir in $PATH
   6981 do
   6982   IFS=$as_save_IFS
   6983   test -z "$as_dir" && as_dir=.
   6984     for ac_exec_ext in '' $ac_executable_extensions; do
   6985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6986     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6988     break 2
   6989   fi
   6990 done
   6991   done
   6992 IFS=$as_save_IFS
   6993 
   6994 fi
   6995 fi
   6996 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6997 if test -n "$ac_ct_OTOOL64"; then
   6998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6999 $as_echo "$ac_ct_OTOOL64" >&6; }
   7000 else
   7001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7002 $as_echo "no" >&6; }
   7003 fi
   7004 
   7005   if test "x$ac_ct_OTOOL64" = x; then
   7006     OTOOL64=":"
   7007   else
   7008     case $cross_compiling:$ac_tool_warned in
   7009 yes:)
   7010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7012 ac_tool_warned=yes ;;
   7013 esac
   7014     OTOOL64=$ac_ct_OTOOL64
   7015   fi
   7016 else
   7017   OTOOL64="$ac_cv_prog_OTOOL64"
   7018 fi
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7047 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7048 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7049   $as_echo_n "(cached) " >&6
   7050 else
   7051   lt_cv_apple_cc_single_mod=no
   7052       if test -z "${LT_MULTI_MODULE}"; then
   7053 	# By default we will add the -single_module flag. You can override
   7054 	# by either setting the environment variable LT_MULTI_MODULE
   7055 	# non-empty at configure time, or by adding -multi_module to the
   7056 	# link flags.
   7057 	rm -rf libconftest.dylib*
   7058 	echo "int foo(void){return 1;}" > conftest.c
   7059 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7060 -dynamiclib -Wl,-single_module conftest.c" >&5
   7061 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7062 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7063         _lt_result=$?
   7064 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7065 	  lt_cv_apple_cc_single_mod=yes
   7066 	else
   7067 	  cat conftest.err >&5
   7068 	fi
   7069 	rm -rf libconftest.dylib*
   7070 	rm -f conftest.*
   7071       fi
   7072 fi
   7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7074 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7075     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7076 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7077 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7078   $as_echo_n "(cached) " >&6
   7079 else
   7080   lt_cv_ld_exported_symbols_list=no
   7081       save_LDFLAGS=$LDFLAGS
   7082       echo "_main" > conftest.sym
   7083       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7085 /* end confdefs.h.  */
   7086 
   7087 int
   7088 main ()
   7089 {
   7090 
   7091   ;
   7092   return 0;
   7093 }
   7094 _ACEOF
   7095 if ac_fn_c_try_link "$LINENO"; then :
   7096   lt_cv_ld_exported_symbols_list=yes
   7097 else
   7098   lt_cv_ld_exported_symbols_list=no
   7099 fi
   7100 rm -f core conftest.err conftest.$ac_objext \
   7101     conftest$ac_exeext conftest.$ac_ext
   7102 	LDFLAGS="$save_LDFLAGS"
   7103 
   7104 fi
   7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7106 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7107     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7108 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7109 if ${lt_cv_ld_force_load+:} false; then :
   7110   $as_echo_n "(cached) " >&6
   7111 else
   7112   lt_cv_ld_force_load=no
   7113       cat > conftest.c << _LT_EOF
   7114 int forced_loaded() { return 2;}
   7115 _LT_EOF
   7116       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7117       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7118       echo "$AR cru libconftest.a conftest.o" >&5
   7119       $AR cru libconftest.a conftest.o 2>&5
   7120       echo "$RANLIB libconftest.a" >&5
   7121       $RANLIB libconftest.a 2>&5
   7122       cat > conftest.c << _LT_EOF
   7123 int main() { return 0;}
   7124 _LT_EOF
   7125       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7126       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7127       _lt_result=$?
   7128       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7129 	lt_cv_ld_force_load=yes
   7130       else
   7131 	cat conftest.err >&5
   7132       fi
   7133         rm -f conftest.err libconftest.a conftest conftest.c
   7134         rm -rf conftest.dSYM
   7135 
   7136 fi
   7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7138 $as_echo "$lt_cv_ld_force_load" >&6; }
   7139     case $host_os in
   7140     rhapsody* | darwin1.[012])
   7141       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7142     darwin1.*)
   7143       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7144     darwin*) # darwin 5.x on
   7145       # if running on 10.5 or later, the deployment target defaults
   7146       # to the OS version, if on x86, and 10.4, the deployment
   7147       # target defaults to 10.4. Don't you love it?
   7148       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7149 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7150 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7151 	10.[012]*)
   7152 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7153 	10.*)
   7154 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7155       esac
   7156     ;;
   7157   esac
   7158     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7159       _lt_dar_single_mod='$single_module'
   7160     fi
   7161     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7162       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7163     else
   7164       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7165     fi
   7166     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7167       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7168     else
   7169       _lt_dsymutil=
   7170     fi
   7171     ;;
   7172   esac
   7173 
   7174 ac_ext=c
   7175 ac_cpp='$CPP $CPPFLAGS'
   7176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7180 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7181 # On Suns, sometimes $CPP names a directory.
   7182 if test -n "$CPP" && test -d "$CPP"; then
   7183   CPP=
   7184 fi
   7185 if test -z "$CPP"; then
   7186   if ${ac_cv_prog_CPP+:} false; then :
   7187   $as_echo_n "(cached) " >&6
   7188 else
   7189       # Double quotes because CPP needs to be expanded
   7190     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7191     do
   7192       ac_preproc_ok=false
   7193 for ac_c_preproc_warn_flag in '' yes
   7194 do
   7195   # Use a header file that comes with gcc, so configuring glibc
   7196   # with a fresh cross-compiler works.
   7197   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7198   # <limits.h> exists even on freestanding compilers.
   7199   # On the NeXT, cc -E runs the code through the compiler's parser,
   7200   # not just through cpp. "Syntax error" is here to catch this case.
   7201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7202 /* end confdefs.h.  */
   7203 #ifdef __STDC__
   7204 # include <limits.h>
   7205 #else
   7206 # include <assert.h>
   7207 #endif
   7208 		     Syntax error
   7209 _ACEOF
   7210 if ac_fn_c_try_cpp "$LINENO"; then :
   7211 
   7212 else
   7213   # Broken: fails on valid input.
   7214 continue
   7215 fi
   7216 rm -f conftest.err conftest.i conftest.$ac_ext
   7217 
   7218   # OK, works on sane cases.  Now check whether nonexistent headers
   7219   # can be detected and how.
   7220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7221 /* end confdefs.h.  */
   7222 #include <ac_nonexistent.h>
   7223 _ACEOF
   7224 if ac_fn_c_try_cpp "$LINENO"; then :
   7225   # Broken: success on invalid input.
   7226 continue
   7227 else
   7228   # Passes both tests.
   7229 ac_preproc_ok=:
   7230 break
   7231 fi
   7232 rm -f conftest.err conftest.i conftest.$ac_ext
   7233 
   7234 done
   7235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7236 rm -f conftest.i conftest.err conftest.$ac_ext
   7237 if $ac_preproc_ok; then :
   7238   break
   7239 fi
   7240 
   7241     done
   7242     ac_cv_prog_CPP=$CPP
   7243 
   7244 fi
   7245   CPP=$ac_cv_prog_CPP
   7246 else
   7247   ac_cv_prog_CPP=$CPP
   7248 fi
   7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7250 $as_echo "$CPP" >&6; }
   7251 ac_preproc_ok=false
   7252 for ac_c_preproc_warn_flag in '' yes
   7253 do
   7254   # Use a header file that comes with gcc, so configuring glibc
   7255   # with a fresh cross-compiler works.
   7256   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7257   # <limits.h> exists even on freestanding compilers.
   7258   # On the NeXT, cc -E runs the code through the compiler's parser,
   7259   # not just through cpp. "Syntax error" is here to catch this case.
   7260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7261 /* end confdefs.h.  */
   7262 #ifdef __STDC__
   7263 # include <limits.h>
   7264 #else
   7265 # include <assert.h>
   7266 #endif
   7267 		     Syntax error
   7268 _ACEOF
   7269 if ac_fn_c_try_cpp "$LINENO"; then :
   7270 
   7271 else
   7272   # Broken: fails on valid input.
   7273 continue
   7274 fi
   7275 rm -f conftest.err conftest.i conftest.$ac_ext
   7276 
   7277   # OK, works on sane cases.  Now check whether nonexistent headers
   7278   # can be detected and how.
   7279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7280 /* end confdefs.h.  */
   7281 #include <ac_nonexistent.h>
   7282 _ACEOF
   7283 if ac_fn_c_try_cpp "$LINENO"; then :
   7284   # Broken: success on invalid input.
   7285 continue
   7286 else
   7287   # Passes both tests.
   7288 ac_preproc_ok=:
   7289 break
   7290 fi
   7291 rm -f conftest.err conftest.i conftest.$ac_ext
   7292 
   7293 done
   7294 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7295 rm -f conftest.i conftest.err conftest.$ac_ext
   7296 if $ac_preproc_ok; then :
   7297 
   7298 else
   7299   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7301 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7302 See \`config.log' for more details" "$LINENO" 5; }
   7303 fi
   7304 
   7305 ac_ext=c
   7306 ac_cpp='$CPP $CPPFLAGS'
   7307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7310 
   7311 
   7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7313 $as_echo_n "checking for ANSI C header files... " >&6; }
   7314 if ${ac_cv_header_stdc+:} false; then :
   7315   $as_echo_n "(cached) " >&6
   7316 else
   7317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7318 /* end confdefs.h.  */
   7319 #include <stdlib.h>
   7320 #include <stdarg.h>
   7321 #include <string.h>
   7322 #include <float.h>
   7323 
   7324 int
   7325 main ()
   7326 {
   7327 
   7328   ;
   7329   return 0;
   7330 }
   7331 _ACEOF
   7332 if ac_fn_c_try_compile "$LINENO"; then :
   7333   ac_cv_header_stdc=yes
   7334 else
   7335   ac_cv_header_stdc=no
   7336 fi
   7337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7338 
   7339 if test $ac_cv_header_stdc = yes; then
   7340   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7342 /* end confdefs.h.  */
   7343 #include <string.h>
   7344 
   7345 _ACEOF
   7346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7347   $EGREP "memchr" >/dev/null 2>&1; then :
   7348 
   7349 else
   7350   ac_cv_header_stdc=no
   7351 fi
   7352 rm -f conftest*
   7353 
   7354 fi
   7355 
   7356 if test $ac_cv_header_stdc = yes; then
   7357   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7359 /* end confdefs.h.  */
   7360 #include <stdlib.h>
   7361 
   7362 _ACEOF
   7363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7364   $EGREP "free" >/dev/null 2>&1; then :
   7365 
   7366 else
   7367   ac_cv_header_stdc=no
   7368 fi
   7369 rm -f conftest*
   7370 
   7371 fi
   7372 
   7373 if test $ac_cv_header_stdc = yes; then
   7374   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7375   if test "$cross_compiling" = yes; then :
   7376   :
   7377 else
   7378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7379 /* end confdefs.h.  */
   7380 #include <ctype.h>
   7381 #include <stdlib.h>
   7382 #if ((' ' & 0x0FF) == 0x020)
   7383 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7384 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7385 #else
   7386 # define ISLOWER(c) \
   7387 		   (('a' <= (c) && (c) <= 'i') \
   7388 		     || ('j' <= (c) && (c) <= 'r') \
   7389 		     || ('s' <= (c) && (c) <= 'z'))
   7390 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7391 #endif
   7392 
   7393 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7394 int
   7395 main ()
   7396 {
   7397   int i;
   7398   for (i = 0; i < 256; i++)
   7399     if (XOR (islower (i), ISLOWER (i))
   7400 	|| toupper (i) != TOUPPER (i))
   7401       return 2;
   7402   return 0;
   7403 }
   7404 _ACEOF
   7405 if ac_fn_c_try_run "$LINENO"; then :
   7406 
   7407 else
   7408   ac_cv_header_stdc=no
   7409 fi
   7410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7411   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7412 fi
   7413 
   7414 fi
   7415 fi
   7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7417 $as_echo "$ac_cv_header_stdc" >&6; }
   7418 if test $ac_cv_header_stdc = yes; then
   7419 
   7420 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7421 
   7422 fi
   7423 
   7424 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7425 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7426 		  inttypes.h stdint.h unistd.h
   7427 do :
   7428   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7429 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7430 "
   7431 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7432   cat >>confdefs.h <<_ACEOF
   7433 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7434 _ACEOF
   7435 
   7436 fi
   7437 
   7438 done
   7439 
   7440 
   7441 for ac_header in dlfcn.h
   7442 do :
   7443   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7444 "
   7445 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7446   cat >>confdefs.h <<_ACEOF
   7447 #define HAVE_DLFCN_H 1
   7448 _ACEOF
   7449 
   7450 fi
   7451 
   7452 done
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 # Set options
   7459 
   7460 
   7461 
   7462         enable_dlopen=no
   7463 
   7464 
   7465   enable_win32_dll=no
   7466 
   7467 
   7468             # Check whether --enable-shared was given.
   7469 if test "${enable_shared+set}" = set; then :
   7470   enableval=$enable_shared; p=${PACKAGE-default}
   7471     case $enableval in
   7472     yes) enable_shared=yes ;;
   7473     no) enable_shared=no ;;
   7474     *)
   7475       enable_shared=no
   7476       # Look at the argument we got.  We use all the common list separators.
   7477       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7478       for pkg in $enableval; do
   7479 	IFS="$lt_save_ifs"
   7480 	if test "X$pkg" = "X$p"; then
   7481 	  enable_shared=yes
   7482 	fi
   7483       done
   7484       IFS="$lt_save_ifs"
   7485       ;;
   7486     esac
   7487 else
   7488   enable_shared=yes
   7489 fi
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499   # Check whether --enable-static was given.
   7500 if test "${enable_static+set}" = set; then :
   7501   enableval=$enable_static; p=${PACKAGE-default}
   7502     case $enableval in
   7503     yes) enable_static=yes ;;
   7504     no) enable_static=no ;;
   7505     *)
   7506      enable_static=no
   7507       # Look at the argument we got.  We use all the common list separators.
   7508       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7509       for pkg in $enableval; do
   7510 	IFS="$lt_save_ifs"
   7511 	if test "X$pkg" = "X$p"; then
   7512 	  enable_static=yes
   7513 	fi
   7514       done
   7515       IFS="$lt_save_ifs"
   7516       ;;
   7517     esac
   7518 else
   7519   enable_static=yes
   7520 fi
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 # Check whether --with-pic was given.
   7532 if test "${with_pic+set}" = set; then :
   7533   withval=$with_pic; pic_mode="$withval"
   7534 else
   7535   pic_mode=default
   7536 fi
   7537 
   7538 
   7539 test -z "$pic_mode" && pic_mode=default
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547   # Check whether --enable-fast-install was given.
   7548 if test "${enable_fast_install+set}" = set; then :
   7549   enableval=$enable_fast_install; p=${PACKAGE-default}
   7550     case $enableval in
   7551     yes) enable_fast_install=yes ;;
   7552     no) enable_fast_install=no ;;
   7553     *)
   7554       enable_fast_install=no
   7555       # Look at the argument we got.  We use all the common list separators.
   7556       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7557       for pkg in $enableval; do
   7558 	IFS="$lt_save_ifs"
   7559 	if test "X$pkg" = "X$p"; then
   7560 	  enable_fast_install=yes
   7561 	fi
   7562       done
   7563       IFS="$lt_save_ifs"
   7564       ;;
   7565     esac
   7566 else
   7567   enable_fast_install=yes
   7568 fi
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 # This can be used to rebuild libtool when needed
   7581 LIBTOOL_DEPS="$ltmain"
   7582 
   7583 # Always use our own libtool.
   7584 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 test -z "$LN_S" && LN_S="ln -s"
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 if test -n "${ZSH_VERSION+set}" ; then
   7627    setopt NO_GLOB_SUBST
   7628 fi
   7629 
   7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7631 $as_echo_n "checking for objdir... " >&6; }
   7632 if ${lt_cv_objdir+:} false; then :
   7633   $as_echo_n "(cached) " >&6
   7634 else
   7635   rm -f .libs 2>/dev/null
   7636 mkdir .libs 2>/dev/null
   7637 if test -d .libs; then
   7638   lt_cv_objdir=.libs
   7639 else
   7640   # MS-DOS does not allow filenames that begin with a dot.
   7641   lt_cv_objdir=_libs
   7642 fi
   7643 rmdir .libs 2>/dev/null
   7644 fi
   7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7646 $as_echo "$lt_cv_objdir" >&6; }
   7647 objdir=$lt_cv_objdir
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 cat >>confdefs.h <<_ACEOF
   7654 #define LT_OBJDIR "$lt_cv_objdir/"
   7655 _ACEOF
   7656 
   7657 
   7658 
   7659 
   7660 case $host_os in
   7661 aix3*)
   7662   # AIX sometimes has problems with the GCC collect2 program.  For some
   7663   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7664   # vanish in a puff of smoke.
   7665   if test "X${COLLECT_NAMES+set}" != Xset; then
   7666     COLLECT_NAMES=
   7667     export COLLECT_NAMES
   7668   fi
   7669   ;;
   7670 esac
   7671 
   7672 # Global variables:
   7673 ofile=libtool
   7674 can_build_shared=yes
   7675 
   7676 # All known linkers require a `.a' archive for static linking (except MSVC,
   7677 # which needs '.lib').
   7678 libext=a
   7679 
   7680 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7681 
   7682 old_CC="$CC"
   7683 old_CFLAGS="$CFLAGS"
   7684 
   7685 # Set sane defaults for various variables
   7686 test -z "$CC" && CC=cc
   7687 test -z "$LTCC" && LTCC=$CC
   7688 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7689 test -z "$LD" && LD=ld
   7690 test -z "$ac_objext" && ac_objext=o
   7691 
   7692 for cc_temp in $compiler""; do
   7693   case $cc_temp in
   7694     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7695     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7696     \-*) ;;
   7697     *) break;;
   7698   esac
   7699 done
   7700 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7701 
   7702 
   7703 # Only perform the check for file, if the check method requires it
   7704 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7705 case $deplibs_check_method in
   7706 file_magic*)
   7707   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7708     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7709 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7710 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7711   $as_echo_n "(cached) " >&6
   7712 else
   7713   case $MAGIC_CMD in
   7714 [\\/*] |  ?:[\\/]*)
   7715   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7716   ;;
   7717 *)
   7718   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7719   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7720   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7721   for ac_dir in $ac_dummy; do
   7722     IFS="$lt_save_ifs"
   7723     test -z "$ac_dir" && ac_dir=.
   7724     if test -f $ac_dir/${ac_tool_prefix}file; then
   7725       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7726       if test -n "$file_magic_test_file"; then
   7727 	case $deplibs_check_method in
   7728 	"file_magic "*)
   7729 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7730 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7731 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7732 	    $EGREP "$file_magic_regex" > /dev/null; then
   7733 	    :
   7734 	  else
   7735 	    cat <<_LT_EOF 1>&2
   7736 
   7737 *** Warning: the command libtool uses to detect shared libraries,
   7738 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7739 *** The result is that libtool may fail to recognize shared libraries
   7740 *** as such.  This will affect the creation of libtool libraries that
   7741 *** depend on shared libraries, but programs linked with such libtool
   7742 *** libraries will work regardless of this problem.  Nevertheless, you
   7743 *** may want to report the problem to your system manager and/or to
   7744 *** bug-libtool@gnu.org
   7745 
   7746 _LT_EOF
   7747 	  fi ;;
   7748 	esac
   7749       fi
   7750       break
   7751     fi
   7752   done
   7753   IFS="$lt_save_ifs"
   7754   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7755   ;;
   7756 esac
   7757 fi
   7758 
   7759 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7760 if test -n "$MAGIC_CMD"; then
   7761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7762 $as_echo "$MAGIC_CMD" >&6; }
   7763 else
   7764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7765 $as_echo "no" >&6; }
   7766 fi
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7773   if test -n "$ac_tool_prefix"; then
   7774     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7775 $as_echo_n "checking for file... " >&6; }
   7776 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7777   $as_echo_n "(cached) " >&6
   7778 else
   7779   case $MAGIC_CMD in
   7780 [\\/*] |  ?:[\\/]*)
   7781   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7782   ;;
   7783 *)
   7784   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7785   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7786   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7787   for ac_dir in $ac_dummy; do
   7788     IFS="$lt_save_ifs"
   7789     test -z "$ac_dir" && ac_dir=.
   7790     if test -f $ac_dir/file; then
   7791       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7792       if test -n "$file_magic_test_file"; then
   7793 	case $deplibs_check_method in
   7794 	"file_magic "*)
   7795 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7796 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7797 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7798 	    $EGREP "$file_magic_regex" > /dev/null; then
   7799 	    :
   7800 	  else
   7801 	    cat <<_LT_EOF 1>&2
   7802 
   7803 *** Warning: the command libtool uses to detect shared libraries,
   7804 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7805 *** The result is that libtool may fail to recognize shared libraries
   7806 *** as such.  This will affect the creation of libtool libraries that
   7807 *** depend on shared libraries, but programs linked with such libtool
   7808 *** libraries will work regardless of this problem.  Nevertheless, you
   7809 *** may want to report the problem to your system manager and/or to
   7810 *** bug-libtool@gnu.org
   7811 
   7812 _LT_EOF
   7813 	  fi ;;
   7814 	esac
   7815       fi
   7816       break
   7817     fi
   7818   done
   7819   IFS="$lt_save_ifs"
   7820   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7821   ;;
   7822 esac
   7823 fi
   7824 
   7825 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7826 if test -n "$MAGIC_CMD"; then
   7827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7828 $as_echo "$MAGIC_CMD" >&6; }
   7829 else
   7830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7831 $as_echo "no" >&6; }
   7832 fi
   7833 
   7834 
   7835   else
   7836     MAGIC_CMD=:
   7837   fi
   7838 fi
   7839 
   7840   fi
   7841   ;;
   7842 esac
   7843 
   7844 # Use C for the default configuration in the libtool script
   7845 
   7846 lt_save_CC="$CC"
   7847 ac_ext=c
   7848 ac_cpp='$CPP $CPPFLAGS'
   7849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7852 
   7853 
   7854 # Source file extension for C test sources.
   7855 ac_ext=c
   7856 
   7857 # Object file extension for compiled C test sources.
   7858 objext=o
   7859 objext=$objext
   7860 
   7861 # Code to be used in simple compile tests
   7862 lt_simple_compile_test_code="int some_variable = 0;"
   7863 
   7864 # Code to be used in simple link tests
   7865 lt_simple_link_test_code='int main(){return(0);}'
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 # If no C compiler was specified, use CC.
   7874 LTCC=${LTCC-"$CC"}
   7875 
   7876 # If no C compiler flags were specified, use CFLAGS.
   7877 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7878 
   7879 # Allow CC to be a program name with arguments.
   7880 compiler=$CC
   7881 
   7882 # Save the default compiler, since it gets overwritten when the other
   7883 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7884 compiler_DEFAULT=$CC
   7885 
   7886 # save warnings/boilerplate of simple test code
   7887 ac_outfile=conftest.$ac_objext
   7888 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7889 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7890 _lt_compiler_boilerplate=`cat conftest.err`
   7891 $RM conftest*
   7892 
   7893 ac_outfile=conftest.$ac_objext
   7894 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7895 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7896 _lt_linker_boilerplate=`cat conftest.err`
   7897 $RM -r conftest*
   7898 
   7899 
   7900 if test -n "$compiler"; then
   7901 
   7902 lt_prog_compiler_no_builtin_flag=
   7903 
   7904 if test "$GCC" = yes; then
   7905   case $cc_basename in
   7906   nvcc*)
   7907     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7908   *)
   7909     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7910   esac
   7911 
   7912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7913 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7914 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7915   $as_echo_n "(cached) " >&6
   7916 else
   7917   lt_cv_prog_compiler_rtti_exceptions=no
   7918    ac_outfile=conftest.$ac_objext
   7919    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7920    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7921    # Insert the option either (1) after the last *FLAGS variable, or
   7922    # (2) before a word containing "conftest.", or (3) at the end.
   7923    # Note that $ac_compile itself does not contain backslashes and begins
   7924    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7925    # The option is referenced via a variable to avoid confusing sed.
   7926    lt_compile=`echo "$ac_compile" | $SED \
   7927    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7928    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7929    -e 's:$: $lt_compiler_flag:'`
   7930    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7931    (eval "$lt_compile" 2>conftest.err)
   7932    ac_status=$?
   7933    cat conftest.err >&5
   7934    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7935    if (exit $ac_status) && test -s "$ac_outfile"; then
   7936      # The compiler can only warn and ignore the option if not recognized
   7937      # So say no if there are warnings other than the usual output.
   7938      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7939      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7940      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7941        lt_cv_prog_compiler_rtti_exceptions=yes
   7942      fi
   7943    fi
   7944    $RM conftest*
   7945 
   7946 fi
   7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7948 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7949 
   7950 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7951     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7952 else
   7953     :
   7954 fi
   7955 
   7956 fi
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963   lt_prog_compiler_wl=
   7964 lt_prog_compiler_pic=
   7965 lt_prog_compiler_static=
   7966 
   7967 
   7968   if test "$GCC" = yes; then
   7969     lt_prog_compiler_wl='-Wl,'
   7970     lt_prog_compiler_static='-static'
   7971 
   7972     case $host_os in
   7973       aix*)
   7974       # All AIX code is PIC.
   7975       if test "$host_cpu" = ia64; then
   7976 	# AIX 5 now supports IA64 processor
   7977 	lt_prog_compiler_static='-Bstatic'
   7978       fi
   7979       ;;
   7980 
   7981     amigaos*)
   7982       case $host_cpu in
   7983       powerpc)
   7984             # see comment about AmigaOS4 .so support
   7985             lt_prog_compiler_pic='-fPIC'
   7986         ;;
   7987       m68k)
   7988             # FIXME: we need at least 68020 code to build shared libraries, but
   7989             # adding the `-m68020' flag to GCC prevents building anything better,
   7990             # like `-m68040'.
   7991             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7992         ;;
   7993       esac
   7994       ;;
   7995 
   7996     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7997       # PIC is the default for these OSes.
   7998       ;;
   7999 
   8000     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8001       # This hack is so that the source file can tell whether it is being
   8002       # built for inclusion in a dll (and should export symbols for example).
   8003       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8004       # (--disable-auto-import) libraries
   8005       lt_prog_compiler_pic='-DDLL_EXPORT'
   8006       ;;
   8007 
   8008     darwin* | rhapsody*)
   8009       # PIC is the default on this platform
   8010       # Common symbols not allowed in MH_DYLIB files
   8011       lt_prog_compiler_pic='-fno-common'
   8012       ;;
   8013 
   8014     haiku*)
   8015       # PIC is the default for Haiku.
   8016       # The "-static" flag exists, but is broken.
   8017       lt_prog_compiler_static=
   8018       ;;
   8019 
   8020     hpux*)
   8021       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8022       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8023       # sets the default TLS model and affects inlining.
   8024       case $host_cpu in
   8025       hppa*64*)
   8026 	# +Z the default
   8027 	;;
   8028       *)
   8029 	lt_prog_compiler_pic='-fPIC'
   8030 	;;
   8031       esac
   8032       ;;
   8033 
   8034     interix[3-9]*)
   8035       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8036       # Instead, we relocate shared libraries at runtime.
   8037       ;;
   8038 
   8039     msdosdjgpp*)
   8040       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8041       # on systems that don't support them.
   8042       lt_prog_compiler_can_build_shared=no
   8043       enable_shared=no
   8044       ;;
   8045 
   8046     *nto* | *qnx*)
   8047       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8048       # it will coredump.
   8049       lt_prog_compiler_pic='-fPIC -shared'
   8050       ;;
   8051 
   8052     sysv4*MP*)
   8053       if test -d /usr/nec; then
   8054 	lt_prog_compiler_pic=-Kconform_pic
   8055       fi
   8056       ;;
   8057 
   8058     *)
   8059       lt_prog_compiler_pic='-fPIC'
   8060       ;;
   8061     esac
   8062 
   8063     case $cc_basename in
   8064     nvcc*) # Cuda Compiler Driver 2.2
   8065       lt_prog_compiler_wl='-Xlinker '
   8066       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8067       ;;
   8068     esac
   8069   else
   8070     # PORTME Check for flag to pass linker flags through the system compiler.
   8071     case $host_os in
   8072     aix*)
   8073       lt_prog_compiler_wl='-Wl,'
   8074       if test "$host_cpu" = ia64; then
   8075 	# AIX 5 now supports IA64 processor
   8076 	lt_prog_compiler_static='-Bstatic'
   8077       else
   8078 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8079       fi
   8080       ;;
   8081 
   8082     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8083       # This hack is so that the source file can tell whether it is being
   8084       # built for inclusion in a dll (and should export symbols for example).
   8085       lt_prog_compiler_pic='-DDLL_EXPORT'
   8086       ;;
   8087 
   8088     hpux9* | hpux10* | hpux11*)
   8089       lt_prog_compiler_wl='-Wl,'
   8090       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8091       # not for PA HP-UX.
   8092       case $host_cpu in
   8093       hppa*64*|ia64*)
   8094 	# +Z the default
   8095 	;;
   8096       *)
   8097 	lt_prog_compiler_pic='+Z'
   8098 	;;
   8099       esac
   8100       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8101       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8102       ;;
   8103 
   8104     irix5* | irix6* | nonstopux*)
   8105       lt_prog_compiler_wl='-Wl,'
   8106       # PIC (with -KPIC) is the default.
   8107       lt_prog_compiler_static='-non_shared'
   8108       ;;
   8109 
   8110     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8111       case $cc_basename in
   8112       # old Intel for x86_64 which still supported -KPIC.
   8113       ecc*)
   8114 	lt_prog_compiler_wl='-Wl,'
   8115 	lt_prog_compiler_pic='-KPIC'
   8116 	lt_prog_compiler_static='-static'
   8117         ;;
   8118       # icc used to be incompatible with GCC.
   8119       # ICC 10 doesn't accept -KPIC any more.
   8120       icc* | ifort*)
   8121 	lt_prog_compiler_wl='-Wl,'
   8122 	lt_prog_compiler_pic='-fPIC'
   8123 	lt_prog_compiler_static='-static'
   8124         ;;
   8125       # Lahey Fortran 8.1.
   8126       lf95*)
   8127 	lt_prog_compiler_wl='-Wl,'
   8128 	lt_prog_compiler_pic='--shared'
   8129 	lt_prog_compiler_static='--static'
   8130 	;;
   8131       nagfor*)
   8132 	# NAG Fortran compiler
   8133 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8134 	lt_prog_compiler_pic='-PIC'
   8135 	lt_prog_compiler_static='-Bstatic'
   8136 	;;
   8137       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8138         # Portland Group compilers (*not* the Pentium gcc compiler,
   8139 	# which looks to be a dead project)
   8140 	lt_prog_compiler_wl='-Wl,'
   8141 	lt_prog_compiler_pic='-fpic'
   8142 	lt_prog_compiler_static='-Bstatic'
   8143         ;;
   8144       ccc*)
   8145         lt_prog_compiler_wl='-Wl,'
   8146         # All Alpha code is PIC.
   8147         lt_prog_compiler_static='-non_shared'
   8148         ;;
   8149       xl* | bgxl* | bgf* | mpixl*)
   8150 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8151 	lt_prog_compiler_wl='-Wl,'
   8152 	lt_prog_compiler_pic='-qpic'
   8153 	lt_prog_compiler_static='-qstaticlink'
   8154 	;;
   8155       *)
   8156 	case `$CC -V 2>&1 | sed 5q` in
   8157 	*Sun\ F* | *Sun*Fortran*)
   8158 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8159 	  lt_prog_compiler_pic='-KPIC'
   8160 	  lt_prog_compiler_static='-Bstatic'
   8161 	  lt_prog_compiler_wl=''
   8162 	  ;;
   8163 	*Sun\ C*)
   8164 	  # Sun C 5.9
   8165 	  lt_prog_compiler_pic='-KPIC'
   8166 	  lt_prog_compiler_static='-Bstatic'
   8167 	  lt_prog_compiler_wl='-Wl,'
   8168 	  ;;
   8169 	esac
   8170 	;;
   8171       esac
   8172       ;;
   8173 
   8174     newsos6)
   8175       lt_prog_compiler_pic='-KPIC'
   8176       lt_prog_compiler_static='-Bstatic'
   8177       ;;
   8178 
   8179     *nto* | *qnx*)
   8180       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8181       # it will coredump.
   8182       lt_prog_compiler_pic='-fPIC -shared'
   8183       ;;
   8184 
   8185     osf3* | osf4* | osf5*)
   8186       lt_prog_compiler_wl='-Wl,'
   8187       # All OSF/1 code is PIC.
   8188       lt_prog_compiler_static='-non_shared'
   8189       ;;
   8190 
   8191     rdos*)
   8192       lt_prog_compiler_static='-non_shared'
   8193       ;;
   8194 
   8195     solaris*)
   8196       lt_prog_compiler_pic='-KPIC'
   8197       lt_prog_compiler_static='-Bstatic'
   8198       case $cc_basename in
   8199       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8200 	lt_prog_compiler_wl='-Qoption ld ';;
   8201       *)
   8202 	lt_prog_compiler_wl='-Wl,';;
   8203       esac
   8204       ;;
   8205 
   8206     sunos4*)
   8207       lt_prog_compiler_wl='-Qoption ld '
   8208       lt_prog_compiler_pic='-PIC'
   8209       lt_prog_compiler_static='-Bstatic'
   8210       ;;
   8211 
   8212     sysv4 | sysv4.2uw2* | sysv4.3*)
   8213       lt_prog_compiler_wl='-Wl,'
   8214       lt_prog_compiler_pic='-KPIC'
   8215       lt_prog_compiler_static='-Bstatic'
   8216       ;;
   8217 
   8218     sysv4*MP*)
   8219       if test -d /usr/nec ;then
   8220 	lt_prog_compiler_pic='-Kconform_pic'
   8221 	lt_prog_compiler_static='-Bstatic'
   8222       fi
   8223       ;;
   8224 
   8225     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8226       lt_prog_compiler_wl='-Wl,'
   8227       lt_prog_compiler_pic='-KPIC'
   8228       lt_prog_compiler_static='-Bstatic'
   8229       ;;
   8230 
   8231     unicos*)
   8232       lt_prog_compiler_wl='-Wl,'
   8233       lt_prog_compiler_can_build_shared=no
   8234       ;;
   8235 
   8236     uts4*)
   8237       lt_prog_compiler_pic='-pic'
   8238       lt_prog_compiler_static='-Bstatic'
   8239       ;;
   8240 
   8241     *)
   8242       lt_prog_compiler_can_build_shared=no
   8243       ;;
   8244     esac
   8245   fi
   8246 
   8247 case $host_os in
   8248   # For platforms which do not support PIC, -DPIC is meaningless:
   8249   *djgpp*)
   8250     lt_prog_compiler_pic=
   8251     ;;
   8252   *)
   8253     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8254     ;;
   8255 esac
   8256 
   8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8258 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8259 if ${lt_cv_prog_compiler_pic+:} false; then :
   8260   $as_echo_n "(cached) " >&6
   8261 else
   8262   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8263 fi
   8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8265 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8266 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8267 
   8268 #
   8269 # Check to make sure the PIC flag actually works.
   8270 #
   8271 if test -n "$lt_prog_compiler_pic"; then
   8272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8273 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8274 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8275   $as_echo_n "(cached) " >&6
   8276 else
   8277   lt_cv_prog_compiler_pic_works=no
   8278    ac_outfile=conftest.$ac_objext
   8279    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8280    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8281    # Insert the option either (1) after the last *FLAGS variable, or
   8282    # (2) before a word containing "conftest.", or (3) at the end.
   8283    # Note that $ac_compile itself does not contain backslashes and begins
   8284    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8285    # The option is referenced via a variable to avoid confusing sed.
   8286    lt_compile=`echo "$ac_compile" | $SED \
   8287    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8288    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8289    -e 's:$: $lt_compiler_flag:'`
   8290    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8291    (eval "$lt_compile" 2>conftest.err)
   8292    ac_status=$?
   8293    cat conftest.err >&5
   8294    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8295    if (exit $ac_status) && test -s "$ac_outfile"; then
   8296      # The compiler can only warn and ignore the option if not recognized
   8297      # So say no if there are warnings other than the usual output.
   8298      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8299      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8300      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8301        lt_cv_prog_compiler_pic_works=yes
   8302      fi
   8303    fi
   8304    $RM conftest*
   8305 
   8306 fi
   8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8308 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8309 
   8310 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8311     case $lt_prog_compiler_pic in
   8312      "" | " "*) ;;
   8313      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8314      esac
   8315 else
   8316     lt_prog_compiler_pic=
   8317      lt_prog_compiler_can_build_shared=no
   8318 fi
   8319 
   8320 fi
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 #
   8333 # Check to make sure the static flag actually works.
   8334 #
   8335 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8337 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8338 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8339   $as_echo_n "(cached) " >&6
   8340 else
   8341   lt_cv_prog_compiler_static_works=no
   8342    save_LDFLAGS="$LDFLAGS"
   8343    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8344    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8345    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8346      # The linker can only warn and ignore the option if not recognized
   8347      # So say no if there are warnings
   8348      if test -s conftest.err; then
   8349        # Append any errors to the config.log.
   8350        cat conftest.err 1>&5
   8351        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8352        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8353        if diff conftest.exp conftest.er2 >/dev/null; then
   8354          lt_cv_prog_compiler_static_works=yes
   8355        fi
   8356      else
   8357        lt_cv_prog_compiler_static_works=yes
   8358      fi
   8359    fi
   8360    $RM -r conftest*
   8361    LDFLAGS="$save_LDFLAGS"
   8362 
   8363 fi
   8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8365 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8366 
   8367 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8368     :
   8369 else
   8370     lt_prog_compiler_static=
   8371 fi
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8380 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8381 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8382   $as_echo_n "(cached) " >&6
   8383 else
   8384   lt_cv_prog_compiler_c_o=no
   8385    $RM -r conftest 2>/dev/null
   8386    mkdir conftest
   8387    cd conftest
   8388    mkdir out
   8389    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8390 
   8391    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8392    # Insert the option either (1) after the last *FLAGS variable, or
   8393    # (2) before a word containing "conftest.", or (3) at the end.
   8394    # Note that $ac_compile itself does not contain backslashes and begins
   8395    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8396    lt_compile=`echo "$ac_compile" | $SED \
   8397    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8398    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8399    -e 's:$: $lt_compiler_flag:'`
   8400    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8401    (eval "$lt_compile" 2>out/conftest.err)
   8402    ac_status=$?
   8403    cat out/conftest.err >&5
   8404    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8405    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8406    then
   8407      # The compiler can only warn and ignore the option if not recognized
   8408      # So say no if there are warnings
   8409      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8410      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8411      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8412        lt_cv_prog_compiler_c_o=yes
   8413      fi
   8414    fi
   8415    chmod u+w . 2>&5
   8416    $RM conftest*
   8417    # SGI C++ compiler will create directory out/ii_files/ for
   8418    # template instantiation
   8419    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8420    $RM out/* && rmdir out
   8421    cd ..
   8422    $RM -r conftest
   8423    $RM conftest*
   8424 
   8425 fi
   8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8427 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8435 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8436 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8437   $as_echo_n "(cached) " >&6
   8438 else
   8439   lt_cv_prog_compiler_c_o=no
   8440    $RM -r conftest 2>/dev/null
   8441    mkdir conftest
   8442    cd conftest
   8443    mkdir out
   8444    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8445 
   8446    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8447    # Insert the option either (1) after the last *FLAGS variable, or
   8448    # (2) before a word containing "conftest.", or (3) at the end.
   8449    # Note that $ac_compile itself does not contain backslashes and begins
   8450    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8451    lt_compile=`echo "$ac_compile" | $SED \
   8452    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8453    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8454    -e 's:$: $lt_compiler_flag:'`
   8455    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8456    (eval "$lt_compile" 2>out/conftest.err)
   8457    ac_status=$?
   8458    cat out/conftest.err >&5
   8459    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8460    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8461    then
   8462      # The compiler can only warn and ignore the option if not recognized
   8463      # So say no if there are warnings
   8464      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8465      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8466      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8467        lt_cv_prog_compiler_c_o=yes
   8468      fi
   8469    fi
   8470    chmod u+w . 2>&5
   8471    $RM conftest*
   8472    # SGI C++ compiler will create directory out/ii_files/ for
   8473    # template instantiation
   8474    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8475    $RM out/* && rmdir out
   8476    cd ..
   8477    $RM -r conftest
   8478    $RM conftest*
   8479 
   8480 fi
   8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8482 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8483 
   8484 
   8485 
   8486 
   8487 hard_links="nottested"
   8488 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8489   # do not overwrite the value of need_locks provided by the user
   8490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8491 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8492   hard_links=yes
   8493   $RM conftest*
   8494   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8495   touch conftest.a
   8496   ln conftest.a conftest.b 2>&5 || hard_links=no
   8497   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8499 $as_echo "$hard_links" >&6; }
   8500   if test "$hard_links" = no; then
   8501     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8502 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8503     need_locks=warn
   8504   fi
   8505 else
   8506   need_locks=no
   8507 fi
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8515 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8516 
   8517   runpath_var=
   8518   allow_undefined_flag=
   8519   always_export_symbols=no
   8520   archive_cmds=
   8521   archive_expsym_cmds=
   8522   compiler_needs_object=no
   8523   enable_shared_with_static_runtimes=no
   8524   export_dynamic_flag_spec=
   8525   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8526   hardcode_automatic=no
   8527   hardcode_direct=no
   8528   hardcode_direct_absolute=no
   8529   hardcode_libdir_flag_spec=
   8530   hardcode_libdir_flag_spec_ld=
   8531   hardcode_libdir_separator=
   8532   hardcode_minus_L=no
   8533   hardcode_shlibpath_var=unsupported
   8534   inherit_rpath=no
   8535   link_all_deplibs=unknown
   8536   module_cmds=
   8537   module_expsym_cmds=
   8538   old_archive_from_new_cmds=
   8539   old_archive_from_expsyms_cmds=
   8540   thread_safe_flag_spec=
   8541   whole_archive_flag_spec=
   8542   # include_expsyms should be a list of space-separated symbols to be *always*
   8543   # included in the symbol list
   8544   include_expsyms=
   8545   # exclude_expsyms can be an extended regexp of symbols to exclude
   8546   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8547   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8548   # as well as any symbol that contains `d'.
   8549   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8550   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8551   # platforms (ab)use it in PIC code, but their linkers get confused if
   8552   # the symbol is explicitly referenced.  Since portable code cannot
   8553   # rely on this symbol name, it's probably fine to never include it in
   8554   # preloaded symbol tables.
   8555   # Exclude shared library initialization/finalization symbols.
   8556   extract_expsyms_cmds=
   8557 
   8558   case $host_os in
   8559   cygwin* | mingw* | pw32* | cegcc*)
   8560     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8561     # When not using gcc, we currently assume that we are using
   8562     # Microsoft Visual C++.
   8563     if test "$GCC" != yes; then
   8564       with_gnu_ld=no
   8565     fi
   8566     ;;
   8567   interix*)
   8568     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8569     with_gnu_ld=yes
   8570     ;;
   8571   openbsd*)
   8572     with_gnu_ld=no
   8573     ;;
   8574   esac
   8575 
   8576   ld_shlibs=yes
   8577 
   8578   # On some targets, GNU ld is compatible enough with the native linker
   8579   # that we're better off using the native interface for both.
   8580   lt_use_gnu_ld_interface=no
   8581   if test "$with_gnu_ld" = yes; then
   8582     case $host_os in
   8583       aix*)
   8584 	# The AIX port of GNU ld has always aspired to compatibility
   8585 	# with the native linker.  However, as the warning in the GNU ld
   8586 	# block says, versions before 2.19.5* couldn't really create working
   8587 	# shared libraries, regardless of the interface used.
   8588 	case `$LD -v 2>&1` in
   8589 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8590 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8591 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8592 	  *)
   8593 	    lt_use_gnu_ld_interface=yes
   8594 	    ;;
   8595 	esac
   8596 	;;
   8597       *)
   8598 	lt_use_gnu_ld_interface=yes
   8599 	;;
   8600     esac
   8601   fi
   8602 
   8603   if test "$lt_use_gnu_ld_interface" = yes; then
   8604     # If archive_cmds runs LD, not CC, wlarc should be empty
   8605     wlarc='${wl}'
   8606 
   8607     # Set some defaults for GNU ld with shared library support. These
   8608     # are reset later if shared libraries are not supported. Putting them
   8609     # here allows them to be overridden if necessary.
   8610     runpath_var=LD_RUN_PATH
   8611     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8612     export_dynamic_flag_spec='${wl}--export-dynamic'
   8613     # ancient GNU ld didn't support --whole-archive et. al.
   8614     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8615       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8616     else
   8617       whole_archive_flag_spec=
   8618     fi
   8619     supports_anon_versioning=no
   8620     case `$LD -v 2>&1` in
   8621       *GNU\ gold*) supports_anon_versioning=yes ;;
   8622       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8623       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8624       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8625       *\ 2.11.*) ;; # other 2.11 versions
   8626       *) supports_anon_versioning=yes ;;
   8627     esac
   8628 
   8629     # See if GNU ld supports shared libraries.
   8630     case $host_os in
   8631     aix[3-9]*)
   8632       # On AIX/PPC, the GNU linker is very broken
   8633       if test "$host_cpu" != ia64; then
   8634 	ld_shlibs=no
   8635 	cat <<_LT_EOF 1>&2
   8636 
   8637 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8638 *** to be unable to reliably create shared libraries on AIX.
   8639 *** Therefore, libtool is disabling shared libraries support.  If you
   8640 *** really care for shared libraries, you may want to install binutils
   8641 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8642 *** You will then need to restart the configuration process.
   8643 
   8644 _LT_EOF
   8645       fi
   8646       ;;
   8647 
   8648     amigaos*)
   8649       case $host_cpu in
   8650       powerpc)
   8651             # see comment about AmigaOS4 .so support
   8652             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8653             archive_expsym_cmds=''
   8654         ;;
   8655       m68k)
   8656             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)'
   8657             hardcode_libdir_flag_spec='-L$libdir'
   8658             hardcode_minus_L=yes
   8659         ;;
   8660       esac
   8661       ;;
   8662 
   8663     beos*)
   8664       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8665 	allow_undefined_flag=unsupported
   8666 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8667 	# support --undefined.  This deserves some investigation.  FIXME
   8668 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8669       else
   8670 	ld_shlibs=no
   8671       fi
   8672       ;;
   8673 
   8674     cygwin* | mingw* | pw32* | cegcc*)
   8675       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8676       # as there is no search path for DLLs.
   8677       hardcode_libdir_flag_spec='-L$libdir'
   8678       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8679       allow_undefined_flag=unsupported
   8680       always_export_symbols=no
   8681       enable_shared_with_static_runtimes=yes
   8682       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'
   8683       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8684 
   8685       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8686         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8687 	# If the export-symbols file already is a .def file (1st line
   8688 	# is EXPORTS), use it as is; otherwise, prepend...
   8689 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8690 	  cp $export_symbols $output_objdir/$soname.def;
   8691 	else
   8692 	  echo EXPORTS > $output_objdir/$soname.def;
   8693 	  cat $export_symbols >> $output_objdir/$soname.def;
   8694 	fi~
   8695 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8696       else
   8697 	ld_shlibs=no
   8698       fi
   8699       ;;
   8700 
   8701     haiku*)
   8702       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8703       link_all_deplibs=yes
   8704       ;;
   8705 
   8706     interix[3-9]*)
   8707       hardcode_direct=no
   8708       hardcode_shlibpath_var=no
   8709       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8710       export_dynamic_flag_spec='${wl}-E'
   8711       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8712       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8713       # default) and relocated if they conflict, which is a slow very memory
   8714       # consuming and fragmenting process.  To avoid this, we pick a random,
   8715       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8716       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8717       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8718       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'
   8719       ;;
   8720 
   8721     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8722       tmp_diet=no
   8723       if test "$host_os" = linux-dietlibc; then
   8724 	case $cc_basename in
   8725 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8726 	esac
   8727       fi
   8728       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8729 	 && test "$tmp_diet" = no
   8730       then
   8731 	tmp_addflag=' $pic_flag'
   8732 	tmp_sharedflag='-shared'
   8733 	case $cc_basename,$host_cpu in
   8734         pgcc*)				# Portland Group C compiler
   8735 	  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'
   8736 	  tmp_addflag=' $pic_flag'
   8737 	  ;;
   8738 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8739 					# Portland Group f77 and f90 compilers
   8740 	  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'
   8741 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8742 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8743 	  tmp_addflag=' -i_dynamic' ;;
   8744 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8745 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8746 	ifc* | ifort*)			# Intel Fortran compiler
   8747 	  tmp_addflag=' -nofor_main' ;;
   8748 	lf95*)				# Lahey Fortran 8.1
   8749 	  whole_archive_flag_spec=
   8750 	  tmp_sharedflag='--shared' ;;
   8751 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8752 	  tmp_sharedflag='-qmkshrobj'
   8753 	  tmp_addflag= ;;
   8754 	nvcc*)	# Cuda Compiler Driver 2.2
   8755 	  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'
   8756 	  compiler_needs_object=yes
   8757 	  ;;
   8758 	esac
   8759 	case `$CC -V 2>&1 | sed 5q` in
   8760 	*Sun\ C*)			# Sun C 5.9
   8761 	  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'
   8762 	  compiler_needs_object=yes
   8763 	  tmp_sharedflag='-G' ;;
   8764 	*Sun\ F*)			# Sun Fortran 8.3
   8765 	  tmp_sharedflag='-G' ;;
   8766 	esac
   8767 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8768 
   8769         if test "x$supports_anon_versioning" = xyes; then
   8770           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8771 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8772 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8773 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8774         fi
   8775 
   8776 	case $cc_basename in
   8777 	xlf* | bgf* | bgxlf* | mpixlf*)
   8778 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8779 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8780 	  hardcode_libdir_flag_spec=
   8781 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8782 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8783 	  if test "x$supports_anon_versioning" = xyes; then
   8784 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8785 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8786 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8787 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8788 	  fi
   8789 	  ;;
   8790 	esac
   8791       else
   8792         ld_shlibs=no
   8793       fi
   8794       ;;
   8795 
   8796     netbsd*)
   8797       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8798 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8799 	wlarc=
   8800       else
   8801 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8802 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8803       fi
   8804       ;;
   8805 
   8806     solaris*)
   8807       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8808 	ld_shlibs=no
   8809 	cat <<_LT_EOF 1>&2
   8810 
   8811 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8812 *** create shared libraries on Solaris systems.  Therefore, libtool
   8813 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8814 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8815 *** your PATH or compiler configuration so that the native linker is
   8816 *** used, and then restart.
   8817 
   8818 _LT_EOF
   8819       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8820 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8821 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8822       else
   8823 	ld_shlibs=no
   8824       fi
   8825       ;;
   8826 
   8827     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8828       case `$LD -v 2>&1` in
   8829         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8830 	ld_shlibs=no
   8831 	cat <<_LT_EOF 1>&2
   8832 
   8833 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8834 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8835 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8836 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8837 *** your PATH or compiler configuration so that the native linker is
   8838 *** used, and then restart.
   8839 
   8840 _LT_EOF
   8841 	;;
   8842 	*)
   8843 	  # For security reasons, it is highly recommended that you always
   8844 	  # use absolute paths for naming shared libraries, and exclude the
   8845 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8846 	  # requires that you compile everything twice, which is a pain.
   8847 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8848 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8849 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8850 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8851 	  else
   8852 	    ld_shlibs=no
   8853 	  fi
   8854 	;;
   8855       esac
   8856       ;;
   8857 
   8858     sunos4*)
   8859       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8860       wlarc=
   8861       hardcode_direct=yes
   8862       hardcode_shlibpath_var=no
   8863       ;;
   8864 
   8865     *)
   8866       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8867 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8868 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8869       else
   8870 	ld_shlibs=no
   8871       fi
   8872       ;;
   8873     esac
   8874 
   8875     if test "$ld_shlibs" = no; then
   8876       runpath_var=
   8877       hardcode_libdir_flag_spec=
   8878       export_dynamic_flag_spec=
   8879       whole_archive_flag_spec=
   8880     fi
   8881   else
   8882     # PORTME fill in a description of your system's linker (not GNU ld)
   8883     case $host_os in
   8884     aix3*)
   8885       allow_undefined_flag=unsupported
   8886       always_export_symbols=yes
   8887       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'
   8888       # Note: this linker hardcodes the directories in LIBPATH if there
   8889       # are no directories specified by -L.
   8890       hardcode_minus_L=yes
   8891       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8892 	# Neither direct hardcoding nor static linking is supported with a
   8893 	# broken collect2.
   8894 	hardcode_direct=unsupported
   8895       fi
   8896       ;;
   8897 
   8898     aix[4-9]*)
   8899       if test "$host_cpu" = ia64; then
   8900 	# On IA64, the linker does run time linking by default, so we don't
   8901 	# have to do anything special.
   8902 	aix_use_runtimelinking=no
   8903 	exp_sym_flag='-Bexport'
   8904 	no_entry_flag=""
   8905       else
   8906 	# If we're using GNU nm, then we don't want the "-C" option.
   8907 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8908 	# Also, AIX nm treats weak defined symbols like other global
   8909 	# defined symbols, whereas GNU nm marks them as "W".
   8910 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8911 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8912 	else
   8913 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8914 	fi
   8915 	aix_use_runtimelinking=no
   8916 
   8917 	# Test if we are trying to use run time linking or normal
   8918 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8919 	# need to do runtime linking.
   8920 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8921 	  for ld_flag in $LDFLAGS; do
   8922 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8923 	    aix_use_runtimelinking=yes
   8924 	    break
   8925 	  fi
   8926 	  done
   8927 	  ;;
   8928 	esac
   8929 
   8930 	exp_sym_flag='-bexport'
   8931 	no_entry_flag='-bnoentry'
   8932       fi
   8933 
   8934       # When large executables or shared objects are built, AIX ld can
   8935       # have problems creating the table of contents.  If linking a library
   8936       # or program results in "error TOC overflow" add -mminimal-toc to
   8937       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8938       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8939 
   8940       archive_cmds=''
   8941       hardcode_direct=yes
   8942       hardcode_direct_absolute=yes
   8943       hardcode_libdir_separator=':'
   8944       link_all_deplibs=yes
   8945       file_list_spec='${wl}-f,'
   8946 
   8947       if test "$GCC" = yes; then
   8948 	case $host_os in aix4.[012]|aix4.[012].*)
   8949 	# We only want to do this on AIX 4.2 and lower, the check
   8950 	# below for broken collect2 doesn't work under 4.3+
   8951 	  collect2name=`${CC} -print-prog-name=collect2`
   8952 	  if test -f "$collect2name" &&
   8953 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8954 	  then
   8955 	  # We have reworked collect2
   8956 	  :
   8957 	  else
   8958 	  # We have old collect2
   8959 	  hardcode_direct=unsupported
   8960 	  # It fails to find uninstalled libraries when the uninstalled
   8961 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8962 	  # to unsupported forces relinking
   8963 	  hardcode_minus_L=yes
   8964 	  hardcode_libdir_flag_spec='-L$libdir'
   8965 	  hardcode_libdir_separator=
   8966 	  fi
   8967 	  ;;
   8968 	esac
   8969 	shared_flag='-shared'
   8970 	if test "$aix_use_runtimelinking" = yes; then
   8971 	  shared_flag="$shared_flag "'${wl}-G'
   8972 	fi
   8973       else
   8974 	# not using gcc
   8975 	if test "$host_cpu" = ia64; then
   8976 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8977 	# chokes on -Wl,-G. The following line is correct:
   8978 	  shared_flag='-G'
   8979 	else
   8980 	  if test "$aix_use_runtimelinking" = yes; then
   8981 	    shared_flag='${wl}-G'
   8982 	  else
   8983 	    shared_flag='${wl}-bM:SRE'
   8984 	  fi
   8985 	fi
   8986       fi
   8987 
   8988       export_dynamic_flag_spec='${wl}-bexpall'
   8989       # It seems that -bexpall does not export symbols beginning with
   8990       # underscore (_), so it is better to generate a list of symbols to export.
   8991       always_export_symbols=yes
   8992       if test "$aix_use_runtimelinking" = yes; then
   8993 	# Warning - without using the other runtime loading flags (-brtl),
   8994 	# -berok will link without error, but may produce a broken library.
   8995 	allow_undefined_flag='-berok'
   8996         # Determine the default libpath from the value encoded in an
   8997         # empty executable.
   8998         if test "${lt_cv_aix_libpath+set}" = set; then
   8999   aix_libpath=$lt_cv_aix_libpath
   9000 else
   9001   if ${lt_cv_aix_libpath_+:} false; then :
   9002   $as_echo_n "(cached) " >&6
   9003 else
   9004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9005 /* end confdefs.h.  */
   9006 
   9007 int
   9008 main ()
   9009 {
   9010 
   9011   ;
   9012   return 0;
   9013 }
   9014 _ACEOF
   9015 if ac_fn_c_try_link "$LINENO"; then :
   9016 
   9017   lt_aix_libpath_sed='
   9018       /Import File Strings/,/^$/ {
   9019 	  /^0/ {
   9020 	      s/^0  *\([^ ]*\) *$/\1/
   9021 	      p
   9022 	  }
   9023       }'
   9024   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9025   # Check for a 64-bit object if we didn't find anything.
   9026   if test -z "$lt_cv_aix_libpath_"; then
   9027     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9028   fi
   9029 fi
   9030 rm -f core conftest.err conftest.$ac_objext \
   9031     conftest$ac_exeext conftest.$ac_ext
   9032   if test -z "$lt_cv_aix_libpath_"; then
   9033     lt_cv_aix_libpath_="/usr/lib:/lib"
   9034   fi
   9035 
   9036 fi
   9037 
   9038   aix_libpath=$lt_cv_aix_libpath_
   9039 fi
   9040 
   9041         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9042         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9043       else
   9044 	if test "$host_cpu" = ia64; then
   9045 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9046 	  allow_undefined_flag="-z nodefs"
   9047 	  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"
   9048 	else
   9049 	 # Determine the default libpath from the value encoded in an
   9050 	 # empty executable.
   9051 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9052   aix_libpath=$lt_cv_aix_libpath
   9053 else
   9054   if ${lt_cv_aix_libpath_+:} false; then :
   9055   $as_echo_n "(cached) " >&6
   9056 else
   9057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9058 /* end confdefs.h.  */
   9059 
   9060 int
   9061 main ()
   9062 {
   9063 
   9064   ;
   9065   return 0;
   9066 }
   9067 _ACEOF
   9068 if ac_fn_c_try_link "$LINENO"; then :
   9069 
   9070   lt_aix_libpath_sed='
   9071       /Import File Strings/,/^$/ {
   9072 	  /^0/ {
   9073 	      s/^0  *\([^ ]*\) *$/\1/
   9074 	      p
   9075 	  }
   9076       }'
   9077   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9078   # Check for a 64-bit object if we didn't find anything.
   9079   if test -z "$lt_cv_aix_libpath_"; then
   9080     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9081   fi
   9082 fi
   9083 rm -f core conftest.err conftest.$ac_objext \
   9084     conftest$ac_exeext conftest.$ac_ext
   9085   if test -z "$lt_cv_aix_libpath_"; then
   9086     lt_cv_aix_libpath_="/usr/lib:/lib"
   9087   fi
   9088 
   9089 fi
   9090 
   9091   aix_libpath=$lt_cv_aix_libpath_
   9092 fi
   9093 
   9094 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9095 	  # Warning - without using the other run time loading flags,
   9096 	  # -berok will link without error, but may produce a broken library.
   9097 	  no_undefined_flag=' ${wl}-bernotok'
   9098 	  allow_undefined_flag=' ${wl}-berok'
   9099 	  if test "$with_gnu_ld" = yes; then
   9100 	    # We only use this code for GNU lds that support --whole-archive.
   9101 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9102 	  else
   9103 	    # Exported symbols can be pulled into shared objects from archives
   9104 	    whole_archive_flag_spec='$convenience'
   9105 	  fi
   9106 	  archive_cmds_need_lc=yes
   9107 	  # This is similar to how AIX traditionally builds its shared libraries.
   9108 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9109 	fi
   9110       fi
   9111       ;;
   9112 
   9113     amigaos*)
   9114       case $host_cpu in
   9115       powerpc)
   9116             # see comment about AmigaOS4 .so support
   9117             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9118             archive_expsym_cmds=''
   9119         ;;
   9120       m68k)
   9121             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)'
   9122             hardcode_libdir_flag_spec='-L$libdir'
   9123             hardcode_minus_L=yes
   9124         ;;
   9125       esac
   9126       ;;
   9127 
   9128     bsdi[45]*)
   9129       export_dynamic_flag_spec=-rdynamic
   9130       ;;
   9131 
   9132     cygwin* | mingw* | pw32* | cegcc*)
   9133       # When not using gcc, we currently assume that we are using
   9134       # Microsoft Visual C++.
   9135       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9136       # no search path for DLLs.
   9137       case $cc_basename in
   9138       cl*)
   9139 	# Native MSVC
   9140 	hardcode_libdir_flag_spec=' '
   9141 	allow_undefined_flag=unsupported
   9142 	always_export_symbols=yes
   9143 	file_list_spec='@'
   9144 	# Tell ltmain to make .lib files, not .a files.
   9145 	libext=lib
   9146 	# Tell ltmain to make .dll files, not .so files.
   9147 	shrext_cmds=".dll"
   9148 	# FIXME: Setting linknames here is a bad hack.
   9149 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9150 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9151 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9152 	  else
   9153 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9154 	  fi~
   9155 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9156 	  linknames='
   9157 	# The linker will not automatically build a static lib if we build a DLL.
   9158 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9159 	enable_shared_with_static_runtimes=yes
   9160 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9161 	# Don't use ranlib
   9162 	old_postinstall_cmds='chmod 644 $oldlib'
   9163 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9164 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9165 	  case $lt_outputfile in
   9166 	    *.exe|*.EXE) ;;
   9167 	    *)
   9168 	      lt_outputfile="$lt_outputfile.exe"
   9169 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9170 	      ;;
   9171 	  esac~
   9172 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9173 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9174 	    $RM "$lt_outputfile.manifest";
   9175 	  fi'
   9176 	;;
   9177       *)
   9178 	# Assume MSVC wrapper
   9179 	hardcode_libdir_flag_spec=' '
   9180 	allow_undefined_flag=unsupported
   9181 	# Tell ltmain to make .lib files, not .a files.
   9182 	libext=lib
   9183 	# Tell ltmain to make .dll files, not .so files.
   9184 	shrext_cmds=".dll"
   9185 	# FIXME: Setting linknames here is a bad hack.
   9186 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9187 	# The linker will automatically build a .lib file if we build a DLL.
   9188 	old_archive_from_new_cmds='true'
   9189 	# FIXME: Should let the user specify the lib program.
   9190 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9191 	enable_shared_with_static_runtimes=yes
   9192 	;;
   9193       esac
   9194       ;;
   9195 
   9196     darwin* | rhapsody*)
   9197 
   9198 
   9199   archive_cmds_need_lc=no
   9200   hardcode_direct=no
   9201   hardcode_automatic=yes
   9202   hardcode_shlibpath_var=unsupported
   9203   if test "$lt_cv_ld_force_load" = "yes"; then
   9204     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\"`'
   9205   else
   9206     whole_archive_flag_spec=''
   9207   fi
   9208   link_all_deplibs=yes
   9209   allow_undefined_flag="$_lt_dar_allow_undefined"
   9210   case $cc_basename in
   9211      ifort*) _lt_dar_can_shared=yes ;;
   9212      *) _lt_dar_can_shared=$GCC ;;
   9213   esac
   9214   if test "$_lt_dar_can_shared" = "yes"; then
   9215     output_verbose_link_cmd=func_echo_all
   9216     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9217     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9218     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}"
   9219     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}"
   9220 
   9221   else
   9222   ld_shlibs=no
   9223   fi
   9224 
   9225       ;;
   9226 
   9227     dgux*)
   9228       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9229       hardcode_libdir_flag_spec='-L$libdir'
   9230       hardcode_shlibpath_var=no
   9231       ;;
   9232 
   9233     freebsd1*)
   9234       ld_shlibs=no
   9235       ;;
   9236 
   9237     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9238     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9239     # does not break anything, and helps significantly (at the cost of a little
   9240     # extra space).
   9241     freebsd2.2*)
   9242       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9243       hardcode_libdir_flag_spec='-R$libdir'
   9244       hardcode_direct=yes
   9245       hardcode_shlibpath_var=no
   9246       ;;
   9247 
   9248     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9249     freebsd2*)
   9250       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9251       hardcode_direct=yes
   9252       hardcode_minus_L=yes
   9253       hardcode_shlibpath_var=no
   9254       ;;
   9255 
   9256     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9257     freebsd* | dragonfly*)
   9258       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9259       hardcode_libdir_flag_spec='-R$libdir'
   9260       hardcode_direct=yes
   9261       hardcode_shlibpath_var=no
   9262       ;;
   9263 
   9264     hpux9*)
   9265       if test "$GCC" = yes; then
   9266 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9267       else
   9268 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9269       fi
   9270       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9271       hardcode_libdir_separator=:
   9272       hardcode_direct=yes
   9273 
   9274       # hardcode_minus_L: Not really in the search PATH,
   9275       # but as the default location of the library.
   9276       hardcode_minus_L=yes
   9277       export_dynamic_flag_spec='${wl}-E'
   9278       ;;
   9279 
   9280     hpux10*)
   9281       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9282 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9283       else
   9284 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9285       fi
   9286       if test "$with_gnu_ld" = no; then
   9287 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9288 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9289 	hardcode_libdir_separator=:
   9290 	hardcode_direct=yes
   9291 	hardcode_direct_absolute=yes
   9292 	export_dynamic_flag_spec='${wl}-E'
   9293 	# hardcode_minus_L: Not really in the search PATH,
   9294 	# but as the default location of the library.
   9295 	hardcode_minus_L=yes
   9296       fi
   9297       ;;
   9298 
   9299     hpux11*)
   9300       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9301 	case $host_cpu in
   9302 	hppa*64*)
   9303 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9304 	  ;;
   9305 	ia64*)
   9306 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9307 	  ;;
   9308 	*)
   9309 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9310 	  ;;
   9311 	esac
   9312       else
   9313 	case $host_cpu in
   9314 	hppa*64*)
   9315 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9316 	  ;;
   9317 	ia64*)
   9318 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9319 	  ;;
   9320 	*)
   9321 
   9322 	  # Older versions of the 11.00 compiler do not understand -b yet
   9323 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9324 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9325 $as_echo_n "checking if $CC understands -b... " >&6; }
   9326 if ${lt_cv_prog_compiler__b+:} false; then :
   9327   $as_echo_n "(cached) " >&6
   9328 else
   9329   lt_cv_prog_compiler__b=no
   9330    save_LDFLAGS="$LDFLAGS"
   9331    LDFLAGS="$LDFLAGS -b"
   9332    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9333    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9334      # The linker can only warn and ignore the option if not recognized
   9335      # So say no if there are warnings
   9336      if test -s conftest.err; then
   9337        # Append any errors to the config.log.
   9338        cat conftest.err 1>&5
   9339        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9340        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9341        if diff conftest.exp conftest.er2 >/dev/null; then
   9342          lt_cv_prog_compiler__b=yes
   9343        fi
   9344      else
   9345        lt_cv_prog_compiler__b=yes
   9346      fi
   9347    fi
   9348    $RM -r conftest*
   9349    LDFLAGS="$save_LDFLAGS"
   9350 
   9351 fi
   9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9353 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9354 
   9355 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9356     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9357 else
   9358     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9359 fi
   9360 
   9361 	  ;;
   9362 	esac
   9363       fi
   9364       if test "$with_gnu_ld" = no; then
   9365 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9366 	hardcode_libdir_separator=:
   9367 
   9368 	case $host_cpu in
   9369 	hppa*64*|ia64*)
   9370 	  hardcode_direct=no
   9371 	  hardcode_shlibpath_var=no
   9372 	  ;;
   9373 	*)
   9374 	  hardcode_direct=yes
   9375 	  hardcode_direct_absolute=yes
   9376 	  export_dynamic_flag_spec='${wl}-E'
   9377 
   9378 	  # hardcode_minus_L: Not really in the search PATH,
   9379 	  # but as the default location of the library.
   9380 	  hardcode_minus_L=yes
   9381 	  ;;
   9382 	esac
   9383       fi
   9384       ;;
   9385 
   9386     irix5* | irix6* | nonstopux*)
   9387       if test "$GCC" = yes; then
   9388 	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'
   9389 	# Try to use the -exported_symbol ld option, if it does not
   9390 	# work, assume that -exports_file does not work either and
   9391 	# implicitly export all symbols.
   9392 	# This should be the same for all languages, so no per-tag cache variable.
   9393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9394 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9395 if ${lt_cv_irix_exported_symbol+:} false; then :
   9396   $as_echo_n "(cached) " >&6
   9397 else
   9398   save_LDFLAGS="$LDFLAGS"
   9399 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9400 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9401 /* end confdefs.h.  */
   9402 int foo (void) { return 0; }
   9403 _ACEOF
   9404 if ac_fn_c_try_link "$LINENO"; then :
   9405   lt_cv_irix_exported_symbol=yes
   9406 else
   9407   lt_cv_irix_exported_symbol=no
   9408 fi
   9409 rm -f core conftest.err conftest.$ac_objext \
   9410     conftest$ac_exeext conftest.$ac_ext
   9411            LDFLAGS="$save_LDFLAGS"
   9412 fi
   9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9414 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9415 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9416           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'
   9417 	fi
   9418       else
   9419 	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'
   9420 	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'
   9421       fi
   9422       archive_cmds_need_lc='no'
   9423       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9424       hardcode_libdir_separator=:
   9425       inherit_rpath=yes
   9426       link_all_deplibs=yes
   9427       ;;
   9428 
   9429     netbsd*)
   9430       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9431 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9432       else
   9433 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9434       fi
   9435       hardcode_libdir_flag_spec='-R$libdir'
   9436       hardcode_direct=yes
   9437       hardcode_shlibpath_var=no
   9438       ;;
   9439 
   9440     newsos6)
   9441       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9442       hardcode_direct=yes
   9443       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9444       hardcode_libdir_separator=:
   9445       hardcode_shlibpath_var=no
   9446       ;;
   9447 
   9448     *nto* | *qnx*)
   9449       ;;
   9450 
   9451     openbsd*)
   9452       if test -f /usr/libexec/ld.so; then
   9453 	hardcode_direct=yes
   9454 	hardcode_shlibpath_var=no
   9455 	hardcode_direct_absolute=yes
   9456 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9457 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9458 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9459 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9460 	  export_dynamic_flag_spec='${wl}-E'
   9461 	else
   9462 	  case $host_os in
   9463 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9464 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9465 	     hardcode_libdir_flag_spec='-R$libdir'
   9466 	     ;;
   9467 	   *)
   9468 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9469 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9470 	     ;;
   9471 	  esac
   9472 	fi
   9473       else
   9474 	ld_shlibs=no
   9475       fi
   9476       ;;
   9477 
   9478     os2*)
   9479       hardcode_libdir_flag_spec='-L$libdir'
   9480       hardcode_minus_L=yes
   9481       allow_undefined_flag=unsupported
   9482       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9483       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9484       ;;
   9485 
   9486     osf3*)
   9487       if test "$GCC" = yes; then
   9488 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9489 	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'
   9490       else
   9491 	allow_undefined_flag=' -expect_unresolved \*'
   9492 	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'
   9493       fi
   9494       archive_cmds_need_lc='no'
   9495       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9496       hardcode_libdir_separator=:
   9497       ;;
   9498 
   9499     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9500       if test "$GCC" = yes; then
   9501 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9502 	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'
   9503 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9504       else
   9505 	allow_undefined_flag=' -expect_unresolved \*'
   9506 	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'
   9507 	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~
   9508 	$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'
   9509 
   9510 	# Both c and cxx compiler support -rpath directly
   9511 	hardcode_libdir_flag_spec='-rpath $libdir'
   9512       fi
   9513       archive_cmds_need_lc='no'
   9514       hardcode_libdir_separator=:
   9515       ;;
   9516 
   9517     solaris*)
   9518       no_undefined_flag=' -z defs'
   9519       if test "$GCC" = yes; then
   9520 	wlarc='${wl}'
   9521 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9522 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9523 	  $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'
   9524       else
   9525 	case `$CC -V 2>&1` in
   9526 	*"Compilers 5.0"*)
   9527 	  wlarc=''
   9528 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9529 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9530 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9531 	  ;;
   9532 	*)
   9533 	  wlarc='${wl}'
   9534 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9535 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9536 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9537 	  ;;
   9538 	esac
   9539       fi
   9540       hardcode_libdir_flag_spec='-R$libdir'
   9541       hardcode_shlibpath_var=no
   9542       case $host_os in
   9543       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9544       *)
   9545 	# The compiler driver will combine and reorder linker options,
   9546 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9547 	# but is careful enough not to reorder.
   9548 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9549 	if test "$GCC" = yes; then
   9550 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9551 	else
   9552 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9553 	fi
   9554 	;;
   9555       esac
   9556       link_all_deplibs=yes
   9557       ;;
   9558 
   9559     sunos4*)
   9560       if test "x$host_vendor" = xsequent; then
   9561 	# Use $CC to link under sequent, because it throws in some extra .o
   9562 	# files that make .init and .fini sections work.
   9563 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9564       else
   9565 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9566       fi
   9567       hardcode_libdir_flag_spec='-L$libdir'
   9568       hardcode_direct=yes
   9569       hardcode_minus_L=yes
   9570       hardcode_shlibpath_var=no
   9571       ;;
   9572 
   9573     sysv4)
   9574       case $host_vendor in
   9575 	sni)
   9576 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9577 	  hardcode_direct=yes # is this really true???
   9578 	;;
   9579 	siemens)
   9580 	  ## LD is ld it makes a PLAMLIB
   9581 	  ## CC just makes a GrossModule.
   9582 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9583 	  reload_cmds='$CC -r -o $output$reload_objs'
   9584 	  hardcode_direct=no
   9585         ;;
   9586 	motorola)
   9587 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9588 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9589 	;;
   9590       esac
   9591       runpath_var='LD_RUN_PATH'
   9592       hardcode_shlibpath_var=no
   9593       ;;
   9594 
   9595     sysv4.3*)
   9596       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9597       hardcode_shlibpath_var=no
   9598       export_dynamic_flag_spec='-Bexport'
   9599       ;;
   9600 
   9601     sysv4*MP*)
   9602       if test -d /usr/nec; then
   9603 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9604 	hardcode_shlibpath_var=no
   9605 	runpath_var=LD_RUN_PATH
   9606 	hardcode_runpath_var=yes
   9607 	ld_shlibs=yes
   9608       fi
   9609       ;;
   9610 
   9611     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9612       no_undefined_flag='${wl}-z,text'
   9613       archive_cmds_need_lc=no
   9614       hardcode_shlibpath_var=no
   9615       runpath_var='LD_RUN_PATH'
   9616 
   9617       if test "$GCC" = yes; then
   9618 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9619 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9620       else
   9621 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9622 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9623       fi
   9624       ;;
   9625 
   9626     sysv5* | sco3.2v5* | sco5v6*)
   9627       # Note: We can NOT use -z defs as we might desire, because we do not
   9628       # link with -lc, and that would cause any symbols used from libc to
   9629       # always be unresolved, which means just about no library would
   9630       # ever link correctly.  If we're not using GNU ld we use -z text
   9631       # though, which does catch some bad symbols but isn't as heavy-handed
   9632       # as -z defs.
   9633       no_undefined_flag='${wl}-z,text'
   9634       allow_undefined_flag='${wl}-z,nodefs'
   9635       archive_cmds_need_lc=no
   9636       hardcode_shlibpath_var=no
   9637       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9638       hardcode_libdir_separator=':'
   9639       link_all_deplibs=yes
   9640       export_dynamic_flag_spec='${wl}-Bexport'
   9641       runpath_var='LD_RUN_PATH'
   9642 
   9643       if test "$GCC" = yes; then
   9644 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9645 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9646       else
   9647 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9648 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9649       fi
   9650       ;;
   9651 
   9652     uts4*)
   9653       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9654       hardcode_libdir_flag_spec='-L$libdir'
   9655       hardcode_shlibpath_var=no
   9656       ;;
   9657 
   9658     *)
   9659       ld_shlibs=no
   9660       ;;
   9661     esac
   9662 
   9663     if test x$host_vendor = xsni; then
   9664       case $host in
   9665       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9666 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9667 	;;
   9668       esac
   9669     fi
   9670   fi
   9671 
   9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9673 $as_echo "$ld_shlibs" >&6; }
   9674 test "$ld_shlibs" = no && can_build_shared=no
   9675 
   9676 with_gnu_ld=$with_gnu_ld
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 #
   9693 # Do we need to explicitly link libc?
   9694 #
   9695 case "x$archive_cmds_need_lc" in
   9696 x|xyes)
   9697   # Assume -lc should be added
   9698   archive_cmds_need_lc=yes
   9699 
   9700   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9701     case $archive_cmds in
   9702     *'~'*)
   9703       # FIXME: we may have to deal with multi-command sequences.
   9704       ;;
   9705     '$CC '*)
   9706       # Test whether the compiler implicitly links with -lc since on some
   9707       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9708       # to ld, don't add -lc before -lgcc.
   9709       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9710 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9711 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9712   $as_echo_n "(cached) " >&6
   9713 else
   9714   $RM conftest*
   9715 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9716 
   9717 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9718   (eval $ac_compile) 2>&5
   9719   ac_status=$?
   9720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9721   test $ac_status = 0; } 2>conftest.err; then
   9722 	  soname=conftest
   9723 	  lib=conftest
   9724 	  libobjs=conftest.$ac_objext
   9725 	  deplibs=
   9726 	  wl=$lt_prog_compiler_wl
   9727 	  pic_flag=$lt_prog_compiler_pic
   9728 	  compiler_flags=-v
   9729 	  linker_flags=-v
   9730 	  verstring=
   9731 	  output_objdir=.
   9732 	  libname=conftest
   9733 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9734 	  allow_undefined_flag=
   9735 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9736   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9737   ac_status=$?
   9738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9739   test $ac_status = 0; }
   9740 	  then
   9741 	    lt_cv_archive_cmds_need_lc=no
   9742 	  else
   9743 	    lt_cv_archive_cmds_need_lc=yes
   9744 	  fi
   9745 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9746 	else
   9747 	  cat conftest.err 1>&5
   9748 	fi
   9749 	$RM conftest*
   9750 
   9751 fi
   9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9753 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9754       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9755       ;;
   9756     esac
   9757   fi
   9758   ;;
   9759 esac
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   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 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9918 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9919 
   9920 if test "$GCC" = yes; then
   9921   case $host_os in
   9922     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9923     *) lt_awk_arg="/^libraries:/" ;;
   9924   esac
   9925   case $host_os in
   9926     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9927     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9928   esac
   9929   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9930   case $lt_search_path_spec in
   9931   *\;*)
   9932     # if the path contains ";" then we assume it to be the separator
   9933     # otherwise default to the standard path separator (i.e. ":") - it is
   9934     # assumed that no part of a normal pathname contains ";" but that should
   9935     # okay in the real world where ";" in dirpaths is itself problematic.
   9936     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9937     ;;
   9938   *)
   9939     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9940     ;;
   9941   esac
   9942   # Ok, now we have the path, separated by spaces, we can step through it
   9943   # and add multilib dir if necessary.
   9944   lt_tmp_lt_search_path_spec=
   9945   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9946   for lt_sys_path in $lt_search_path_spec; do
   9947     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9948       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9949     else
   9950       test -d "$lt_sys_path" && \
   9951 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9952     fi
   9953   done
   9954   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9955 BEGIN {RS=" "; FS="/|\n";} {
   9956   lt_foo="";
   9957   lt_count=0;
   9958   for (lt_i = NF; lt_i > 0; lt_i--) {
   9959     if ($lt_i != "" && $lt_i != ".") {
   9960       if ($lt_i == "..") {
   9961         lt_count++;
   9962       } else {
   9963         if (lt_count == 0) {
   9964           lt_foo="/" $lt_i lt_foo;
   9965         } else {
   9966           lt_count--;
   9967         }
   9968       }
   9969     }
   9970   }
   9971   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9972   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9973 }'`
   9974   # AWK program above erroneously prepends '/' to C:/dos/paths
   9975   # for these hosts.
   9976   case $host_os in
   9977     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9978       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9979   esac
   9980   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9981 else
   9982   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9983 fi
   9984 library_names_spec=
   9985 libname_spec='lib$name'
   9986 soname_spec=
   9987 shrext_cmds=".so"
   9988 postinstall_cmds=
   9989 postuninstall_cmds=
   9990 finish_cmds=
   9991 finish_eval=
   9992 shlibpath_var=
   9993 shlibpath_overrides_runpath=unknown
   9994 version_type=none
   9995 dynamic_linker="$host_os ld.so"
   9996 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9997 need_lib_prefix=unknown
   9998 hardcode_into_libs=no
   9999 
   10000 # when you set need_version to no, make sure it does not cause -set_version
   10001 # flags to be left without arguments
   10002 need_version=unknown
   10003 
   10004 case $host_os in
   10005 aix3*)
   10006   version_type=linux
   10007   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10008   shlibpath_var=LIBPATH
   10009 
   10010   # AIX 3 has no versioning support, so we append a major version to the name.
   10011   soname_spec='${libname}${release}${shared_ext}$major'
   10012   ;;
   10013 
   10014 aix[4-9]*)
   10015   version_type=linux
   10016   need_lib_prefix=no
   10017   need_version=no
   10018   hardcode_into_libs=yes
   10019   if test "$host_cpu" = ia64; then
   10020     # AIX 5 supports IA64
   10021     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10022     shlibpath_var=LD_LIBRARY_PATH
   10023   else
   10024     # With GCC up to 2.95.x, collect2 would create an import file
   10025     # for dependence libraries.  The import file would start with
   10026     # the line `#! .'.  This would cause the generated library to
   10027     # depend on `.', always an invalid library.  This was fixed in
   10028     # development snapshots of GCC prior to 3.0.
   10029     case $host_os in
   10030       aix4 | aix4.[01] | aix4.[01].*)
   10031       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10032 	   echo ' yes '
   10033 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10034 	:
   10035       else
   10036 	can_build_shared=no
   10037       fi
   10038       ;;
   10039     esac
   10040     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10041     # soname into executable. Probably we can add versioning support to
   10042     # collect2, so additional links can be useful in future.
   10043     if test "$aix_use_runtimelinking" = yes; then
   10044       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10045       # instead of lib<name>.a to let people know that these are not
   10046       # typical AIX shared libraries.
   10047       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10048     else
   10049       # We preserve .a as extension for shared libraries through AIX4.2
   10050       # and later when we are not doing run time linking.
   10051       library_names_spec='${libname}${release}.a $libname.a'
   10052       soname_spec='${libname}${release}${shared_ext}$major'
   10053     fi
   10054     shlibpath_var=LIBPATH
   10055   fi
   10056   ;;
   10057 
   10058 amigaos*)
   10059   case $host_cpu in
   10060   powerpc)
   10061     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10062     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10063     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10064     ;;
   10065   m68k)
   10066     library_names_spec='$libname.ixlibrary $libname.a'
   10067     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10068     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10069     ;;
   10070   esac
   10071   ;;
   10072 
   10073 beos*)
   10074   library_names_spec='${libname}${shared_ext}'
   10075   dynamic_linker="$host_os ld.so"
   10076   shlibpath_var=LIBRARY_PATH
   10077   ;;
   10078 
   10079 bsdi[45]*)
   10080   version_type=linux
   10081   need_version=no
   10082   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10083   soname_spec='${libname}${release}${shared_ext}$major'
   10084   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10085   shlibpath_var=LD_LIBRARY_PATH
   10086   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10087   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10088   # the default ld.so.conf also contains /usr/contrib/lib and
   10089   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10090   # libtool to hard-code these into programs
   10091   ;;
   10092 
   10093 cygwin* | mingw* | pw32* | cegcc*)
   10094   version_type=windows
   10095   shrext_cmds=".dll"
   10096   need_version=no
   10097   need_lib_prefix=no
   10098 
   10099   case $GCC,$cc_basename in
   10100   yes,*)
   10101     # gcc
   10102     library_names_spec='$libname.dll.a'
   10103     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10104     postinstall_cmds='base_file=`basename \${file}`~
   10105       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10106       dldir=$destdir/`dirname \$dlpath`~
   10107       test -d \$dldir || mkdir -p \$dldir~
   10108       $install_prog $dir/$dlname \$dldir/$dlname~
   10109       chmod a+x \$dldir/$dlname~
   10110       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10111         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10112       fi'
   10113     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10114       dlpath=$dir/\$dldll~
   10115        $RM \$dlpath'
   10116     shlibpath_overrides_runpath=yes
   10117 
   10118     case $host_os in
   10119     cygwin*)
   10120       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10121       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10122 
   10123       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10124       ;;
   10125     mingw* | cegcc*)
   10126       # MinGW DLLs use traditional 'lib' prefix
   10127       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10128       ;;
   10129     pw32*)
   10130       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10131       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10132       ;;
   10133     esac
   10134     dynamic_linker='Win32 ld.exe'
   10135     ;;
   10136 
   10137   *,cl*)
   10138     # Native MSVC
   10139     libname_spec='$name'
   10140     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10141     library_names_spec='${libname}.dll.lib'
   10142 
   10143     case $build_os in
   10144     mingw*)
   10145       sys_lib_search_path_spec=
   10146       lt_save_ifs=$IFS
   10147       IFS=';'
   10148       for lt_path in $LIB
   10149       do
   10150         IFS=$lt_save_ifs
   10151         # Let DOS variable expansion print the short 8.3 style file name.
   10152         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10153         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10154       done
   10155       IFS=$lt_save_ifs
   10156       # Convert to MSYS style.
   10157       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10158       ;;
   10159     cygwin*)
   10160       # Convert to unix form, then to dos form, then back to unix form
   10161       # but this time dos style (no spaces!) so that the unix form looks
   10162       # like /cygdrive/c/PROGRA~1:/cygdr...
   10163       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10164       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10165       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10166       ;;
   10167     *)
   10168       sys_lib_search_path_spec="$LIB"
   10169       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10170         # It is most probably a Windows format PATH.
   10171         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10172       else
   10173         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10174       fi
   10175       # FIXME: find the short name or the path components, as spaces are
   10176       # common. (e.g. "Program Files" -> "PROGRA~1")
   10177       ;;
   10178     esac
   10179 
   10180     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10181     postinstall_cmds='base_file=`basename \${file}`~
   10182       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10183       dldir=$destdir/`dirname \$dlpath`~
   10184       test -d \$dldir || mkdir -p \$dldir~
   10185       $install_prog $dir/$dlname \$dldir/$dlname'
   10186     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10187       dlpath=$dir/\$dldll~
   10188        $RM \$dlpath'
   10189     shlibpath_overrides_runpath=yes
   10190     dynamic_linker='Win32 link.exe'
   10191     ;;
   10192 
   10193   *)
   10194     # Assume MSVC wrapper
   10195     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10196     dynamic_linker='Win32 ld.exe'
   10197     ;;
   10198   esac
   10199   # FIXME: first we should search . and the directory the executable is in
   10200   shlibpath_var=PATH
   10201   ;;
   10202 
   10203 darwin* | rhapsody*)
   10204   dynamic_linker="$host_os dyld"
   10205   version_type=darwin
   10206   need_lib_prefix=no
   10207   need_version=no
   10208   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10209   soname_spec='${libname}${release}${major}$shared_ext'
   10210   shlibpath_overrides_runpath=yes
   10211   shlibpath_var=DYLD_LIBRARY_PATH
   10212   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10213 
   10214   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10215   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10216   ;;
   10217 
   10218 dgux*)
   10219   version_type=linux
   10220   need_lib_prefix=no
   10221   need_version=no
   10222   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10223   soname_spec='${libname}${release}${shared_ext}$major'
   10224   shlibpath_var=LD_LIBRARY_PATH
   10225   ;;
   10226 
   10227 freebsd1*)
   10228   dynamic_linker=no
   10229   ;;
   10230 
   10231 freebsd* | dragonfly*)
   10232   # DragonFly does not have aout.  When/if they implement a new
   10233   # versioning mechanism, adjust this.
   10234   if test -x /usr/bin/objformat; then
   10235     objformat=`/usr/bin/objformat`
   10236   else
   10237     case $host_os in
   10238     freebsd[123]*) objformat=aout ;;
   10239     *) objformat=elf ;;
   10240     esac
   10241   fi
   10242   # Handle Gentoo/FreeBSD as it was Linux
   10243   case $host_vendor in
   10244     gentoo)
   10245       version_type=linux ;;
   10246     *)
   10247       version_type=freebsd-$objformat ;;
   10248   esac
   10249 
   10250   case $version_type in
   10251     freebsd-elf*)
   10252       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10253       need_version=no
   10254       need_lib_prefix=no
   10255       ;;
   10256     freebsd-*)
   10257       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10258       need_version=yes
   10259       ;;
   10260     linux)
   10261       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10262       soname_spec='${libname}${release}${shared_ext}$major'
   10263       need_lib_prefix=no
   10264       need_version=no
   10265       ;;
   10266   esac
   10267   shlibpath_var=LD_LIBRARY_PATH
   10268   case $host_os in
   10269   freebsd2*)
   10270     shlibpath_overrides_runpath=yes
   10271     ;;
   10272   freebsd3.[01]* | freebsdelf3.[01]*)
   10273     shlibpath_overrides_runpath=yes
   10274     hardcode_into_libs=yes
   10275     ;;
   10276   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10277   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10278     shlibpath_overrides_runpath=no
   10279     hardcode_into_libs=yes
   10280     ;;
   10281   *) # from 4.6 on, and DragonFly
   10282     shlibpath_overrides_runpath=yes
   10283     hardcode_into_libs=yes
   10284     ;;
   10285   esac
   10286   ;;
   10287 
   10288 gnu*)
   10289   version_type=linux
   10290   need_lib_prefix=no
   10291   need_version=no
   10292   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10293   soname_spec='${libname}${release}${shared_ext}$major'
   10294   shlibpath_var=LD_LIBRARY_PATH
   10295   hardcode_into_libs=yes
   10296   ;;
   10297 
   10298 haiku*)
   10299   version_type=linux
   10300   need_lib_prefix=no
   10301   need_version=no
   10302   dynamic_linker="$host_os runtime_loader"
   10303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10304   soname_spec='${libname}${release}${shared_ext}$major'
   10305   shlibpath_var=LIBRARY_PATH
   10306   shlibpath_overrides_runpath=yes
   10307   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10308   hardcode_into_libs=yes
   10309   ;;
   10310 
   10311 hpux9* | hpux10* | hpux11*)
   10312   # Give a soname corresponding to the major version so that dld.sl refuses to
   10313   # link against other versions.
   10314   version_type=sunos
   10315   need_lib_prefix=no
   10316   need_version=no
   10317   case $host_cpu in
   10318   ia64*)
   10319     shrext_cmds='.so'
   10320     hardcode_into_libs=yes
   10321     dynamic_linker="$host_os dld.so"
   10322     shlibpath_var=LD_LIBRARY_PATH
   10323     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10324     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10325     soname_spec='${libname}${release}${shared_ext}$major'
   10326     if test "X$HPUX_IA64_MODE" = X32; then
   10327       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10328     else
   10329       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10330     fi
   10331     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10332     ;;
   10333   hppa*64*)
   10334     shrext_cmds='.sl'
   10335     hardcode_into_libs=yes
   10336     dynamic_linker="$host_os dld.sl"
   10337     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10338     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10339     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10340     soname_spec='${libname}${release}${shared_ext}$major'
   10341     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10342     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10343     ;;
   10344   *)
   10345     shrext_cmds='.sl'
   10346     dynamic_linker="$host_os dld.sl"
   10347     shlibpath_var=SHLIB_PATH
   10348     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10349     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10350     soname_spec='${libname}${release}${shared_ext}$major'
   10351     ;;
   10352   esac
   10353   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10354   postinstall_cmds='chmod 555 $lib'
   10355   # or fails outright, so override atomically:
   10356   install_override_mode=555
   10357   ;;
   10358 
   10359 interix[3-9]*)
   10360   version_type=linux
   10361   need_lib_prefix=no
   10362   need_version=no
   10363   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10364   soname_spec='${libname}${release}${shared_ext}$major'
   10365   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10366   shlibpath_var=LD_LIBRARY_PATH
   10367   shlibpath_overrides_runpath=no
   10368   hardcode_into_libs=yes
   10369   ;;
   10370 
   10371 irix5* | irix6* | nonstopux*)
   10372   case $host_os in
   10373     nonstopux*) version_type=nonstopux ;;
   10374     *)
   10375 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10376 		version_type=linux
   10377 	else
   10378 		version_type=irix
   10379 	fi ;;
   10380   esac
   10381   need_lib_prefix=no
   10382   need_version=no
   10383   soname_spec='${libname}${release}${shared_ext}$major'
   10384   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10385   case $host_os in
   10386   irix5* | nonstopux*)
   10387     libsuff= shlibsuff=
   10388     ;;
   10389   *)
   10390     case $LD in # libtool.m4 will add one of these switches to LD
   10391     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10392       libsuff= shlibsuff= libmagic=32-bit;;
   10393     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10394       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10395     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10396       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10397     *) libsuff= shlibsuff= libmagic=never-match;;
   10398     esac
   10399     ;;
   10400   esac
   10401   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10402   shlibpath_overrides_runpath=no
   10403   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10404   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10405   hardcode_into_libs=yes
   10406   ;;
   10407 
   10408 # No shared lib support for Linux oldld, aout, or coff.
   10409 linux*oldld* | linux*aout* | linux*coff*)
   10410   dynamic_linker=no
   10411   ;;
   10412 
   10413 # This must be Linux ELF.
   10414 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10415   version_type=linux
   10416   need_lib_prefix=no
   10417   need_version=no
   10418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10419   soname_spec='${libname}${release}${shared_ext}$major'
   10420   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10421   shlibpath_var=LD_LIBRARY_PATH
   10422   shlibpath_overrides_runpath=no
   10423 
   10424   # Some binutils ld are patched to set DT_RUNPATH
   10425   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10426   $as_echo_n "(cached) " >&6
   10427 else
   10428   lt_cv_shlibpath_overrides_runpath=no
   10429     save_LDFLAGS=$LDFLAGS
   10430     save_libdir=$libdir
   10431     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10432 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10433     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10434 /* end confdefs.h.  */
   10435 
   10436 int
   10437 main ()
   10438 {
   10439 
   10440   ;
   10441   return 0;
   10442 }
   10443 _ACEOF
   10444 if ac_fn_c_try_link "$LINENO"; then :
   10445   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10446   lt_cv_shlibpath_overrides_runpath=yes
   10447 fi
   10448 fi
   10449 rm -f core conftest.err conftest.$ac_objext \
   10450     conftest$ac_exeext conftest.$ac_ext
   10451     LDFLAGS=$save_LDFLAGS
   10452     libdir=$save_libdir
   10453 
   10454 fi
   10455 
   10456   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10457 
   10458   # This implies no fast_install, which is unacceptable.
   10459   # Some rework will be needed to allow for fast_install
   10460   # before this can be enabled.
   10461   hardcode_into_libs=yes
   10462 
   10463   # Append ld.so.conf contents to the search path
   10464   if test -f /etc/ld.so.conf; then
   10465     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   10466     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10467   fi
   10468 
   10469   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10470   # powerpc, because MkLinux only supported shared libraries with the
   10471   # GNU dynamic linker.  Since this was broken with cross compilers,
   10472   # most powerpc-linux boxes support dynamic linking these days and
   10473   # people can always --disable-shared, the test was removed, and we
   10474   # assume the GNU/Linux dynamic linker is in use.
   10475   dynamic_linker='GNU/Linux ld.so'
   10476   ;;
   10477 
   10478 netbsd*)
   10479   version_type=sunos
   10480   need_lib_prefix=no
   10481   need_version=no
   10482   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10483     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10484     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10485     dynamic_linker='NetBSD (a.out) ld.so'
   10486   else
   10487     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10488     soname_spec='${libname}${release}${shared_ext}$major'
   10489     dynamic_linker='NetBSD ld.elf_so'
   10490   fi
   10491   shlibpath_var=LD_LIBRARY_PATH
   10492   shlibpath_overrides_runpath=yes
   10493   hardcode_into_libs=yes
   10494   ;;
   10495 
   10496 newsos6)
   10497   version_type=linux
   10498   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10499   shlibpath_var=LD_LIBRARY_PATH
   10500   shlibpath_overrides_runpath=yes
   10501   ;;
   10502 
   10503 *nto* | *qnx*)
   10504   version_type=qnx
   10505   need_lib_prefix=no
   10506   need_version=no
   10507   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10508   soname_spec='${libname}${release}${shared_ext}$major'
   10509   shlibpath_var=LD_LIBRARY_PATH
   10510   shlibpath_overrides_runpath=no
   10511   hardcode_into_libs=yes
   10512   dynamic_linker='ldqnx.so'
   10513   ;;
   10514 
   10515 openbsd*)
   10516   version_type=sunos
   10517   sys_lib_dlsearch_path_spec="/usr/lib"
   10518   need_lib_prefix=no
   10519   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10520   case $host_os in
   10521     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10522     *)				need_version=no  ;;
   10523   esac
   10524   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10525   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10526   shlibpath_var=LD_LIBRARY_PATH
   10527   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10528     case $host_os in
   10529       openbsd2.[89] | openbsd2.[89].*)
   10530 	shlibpath_overrides_runpath=no
   10531 	;;
   10532       *)
   10533 	shlibpath_overrides_runpath=yes
   10534 	;;
   10535       esac
   10536   else
   10537     shlibpath_overrides_runpath=yes
   10538   fi
   10539   ;;
   10540 
   10541 os2*)
   10542   libname_spec='$name'
   10543   shrext_cmds=".dll"
   10544   need_lib_prefix=no
   10545   library_names_spec='$libname${shared_ext} $libname.a'
   10546   dynamic_linker='OS/2 ld.exe'
   10547   shlibpath_var=LIBPATH
   10548   ;;
   10549 
   10550 osf3* | osf4* | osf5*)
   10551   version_type=osf
   10552   need_lib_prefix=no
   10553   need_version=no
   10554   soname_spec='${libname}${release}${shared_ext}$major'
   10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10556   shlibpath_var=LD_LIBRARY_PATH
   10557   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10558   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10559   ;;
   10560 
   10561 rdos*)
   10562   dynamic_linker=no
   10563   ;;
   10564 
   10565 solaris*)
   10566   version_type=linux
   10567   need_lib_prefix=no
   10568   need_version=no
   10569   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10570   soname_spec='${libname}${release}${shared_ext}$major'
   10571   shlibpath_var=LD_LIBRARY_PATH
   10572   shlibpath_overrides_runpath=yes
   10573   hardcode_into_libs=yes
   10574   # ldd complains unless libraries are executable
   10575   postinstall_cmds='chmod +x $lib'
   10576   ;;
   10577 
   10578 sunos4*)
   10579   version_type=sunos
   10580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10581   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10582   shlibpath_var=LD_LIBRARY_PATH
   10583   shlibpath_overrides_runpath=yes
   10584   if test "$with_gnu_ld" = yes; then
   10585     need_lib_prefix=no
   10586   fi
   10587   need_version=yes
   10588   ;;
   10589 
   10590 sysv4 | sysv4.3*)
   10591   version_type=linux
   10592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10593   soname_spec='${libname}${release}${shared_ext}$major'
   10594   shlibpath_var=LD_LIBRARY_PATH
   10595   case $host_vendor in
   10596     sni)
   10597       shlibpath_overrides_runpath=no
   10598       need_lib_prefix=no
   10599       runpath_var=LD_RUN_PATH
   10600       ;;
   10601     siemens)
   10602       need_lib_prefix=no
   10603       ;;
   10604     motorola)
   10605       need_lib_prefix=no
   10606       need_version=no
   10607       shlibpath_overrides_runpath=no
   10608       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10609       ;;
   10610   esac
   10611   ;;
   10612 
   10613 sysv4*MP*)
   10614   if test -d /usr/nec ;then
   10615     version_type=linux
   10616     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10617     soname_spec='$libname${shared_ext}.$major'
   10618     shlibpath_var=LD_LIBRARY_PATH
   10619   fi
   10620   ;;
   10621 
   10622 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10623   version_type=freebsd-elf
   10624   need_lib_prefix=no
   10625   need_version=no
   10626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10627   soname_spec='${libname}${release}${shared_ext}$major'
   10628   shlibpath_var=LD_LIBRARY_PATH
   10629   shlibpath_overrides_runpath=yes
   10630   hardcode_into_libs=yes
   10631   if test "$with_gnu_ld" = yes; then
   10632     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10633   else
   10634     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10635     case $host_os in
   10636       sco3.2v5*)
   10637         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10638 	;;
   10639     esac
   10640   fi
   10641   sys_lib_dlsearch_path_spec='/usr/lib'
   10642   ;;
   10643 
   10644 tpf*)
   10645   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10646   version_type=linux
   10647   need_lib_prefix=no
   10648   need_version=no
   10649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10650   shlibpath_var=LD_LIBRARY_PATH
   10651   shlibpath_overrides_runpath=no
   10652   hardcode_into_libs=yes
   10653   ;;
   10654 
   10655 uts4*)
   10656   version_type=linux
   10657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10658   soname_spec='${libname}${release}${shared_ext}$major'
   10659   shlibpath_var=LD_LIBRARY_PATH
   10660   ;;
   10661 
   10662 *)
   10663   dynamic_linker=no
   10664   ;;
   10665 esac
   10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10667 $as_echo "$dynamic_linker" >&6; }
   10668 test "$dynamic_linker" = no && can_build_shared=no
   10669 
   10670 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10671 if test "$GCC" = yes; then
   10672   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10673 fi
   10674 
   10675 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10676   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10677 fi
   10678 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10679   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10680 fi
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10774 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10775 hardcode_action=
   10776 if test -n "$hardcode_libdir_flag_spec" ||
   10777    test -n "$runpath_var" ||
   10778    test "X$hardcode_automatic" = "Xyes" ; then
   10779 
   10780   # We can hardcode non-existent directories.
   10781   if test "$hardcode_direct" != no &&
   10782      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10783      # have to relink, otherwise we might link with an installed library
   10784      # when we should be linking with a yet-to-be-installed one
   10785      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10786      test "$hardcode_minus_L" != no; then
   10787     # Linking always hardcodes the temporary library directory.
   10788     hardcode_action=relink
   10789   else
   10790     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10791     hardcode_action=immediate
   10792   fi
   10793 else
   10794   # We cannot hardcode anything, or else we can only hardcode existing
   10795   # directories.
   10796   hardcode_action=unsupported
   10797 fi
   10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10799 $as_echo "$hardcode_action" >&6; }
   10800 
   10801 if test "$hardcode_action" = relink ||
   10802    test "$inherit_rpath" = yes; then
   10803   # Fast installation is not supported
   10804   enable_fast_install=no
   10805 elif test "$shlibpath_overrides_runpath" = yes ||
   10806      test "$enable_shared" = no; then
   10807   # Fast installation is not necessary
   10808   enable_fast_install=needless
   10809 fi
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816   if test "x$enable_dlopen" != xyes; then
   10817   enable_dlopen=unknown
   10818   enable_dlopen_self=unknown
   10819   enable_dlopen_self_static=unknown
   10820 else
   10821   lt_cv_dlopen=no
   10822   lt_cv_dlopen_libs=
   10823 
   10824   case $host_os in
   10825   beos*)
   10826     lt_cv_dlopen="load_add_on"
   10827     lt_cv_dlopen_libs=
   10828     lt_cv_dlopen_self=yes
   10829     ;;
   10830 
   10831   mingw* | pw32* | cegcc*)
   10832     lt_cv_dlopen="LoadLibrary"
   10833     lt_cv_dlopen_libs=
   10834     ;;
   10835 
   10836   cygwin*)
   10837     lt_cv_dlopen="dlopen"
   10838     lt_cv_dlopen_libs=
   10839     ;;
   10840 
   10841   darwin*)
   10842   # if libdl is installed we need to link against it
   10843     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10844 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10845 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10846   $as_echo_n "(cached) " >&6
   10847 else
   10848   ac_check_lib_save_LIBS=$LIBS
   10849 LIBS="-ldl  $LIBS"
   10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10851 /* end confdefs.h.  */
   10852 
   10853 /* Override any GCC internal prototype to avoid an error.
   10854    Use char because int might match the return type of a GCC
   10855    builtin and then its argument prototype would still apply.  */
   10856 #ifdef __cplusplus
   10857 extern "C"
   10858 #endif
   10859 char dlopen ();
   10860 int
   10861 main ()
   10862 {
   10863 return dlopen ();
   10864   ;
   10865   return 0;
   10866 }
   10867 _ACEOF
   10868 if ac_fn_c_try_link "$LINENO"; then :
   10869   ac_cv_lib_dl_dlopen=yes
   10870 else
   10871   ac_cv_lib_dl_dlopen=no
   10872 fi
   10873 rm -f core conftest.err conftest.$ac_objext \
   10874     conftest$ac_exeext conftest.$ac_ext
   10875 LIBS=$ac_check_lib_save_LIBS
   10876 fi
   10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10878 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10879 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10880   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10881 else
   10882 
   10883     lt_cv_dlopen="dyld"
   10884     lt_cv_dlopen_libs=
   10885     lt_cv_dlopen_self=yes
   10886 
   10887 fi
   10888 
   10889     ;;
   10890 
   10891   *)
   10892     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10893 if test "x$ac_cv_func_shl_load" = xyes; then :
   10894   lt_cv_dlopen="shl_load"
   10895 else
   10896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10897 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10898 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10899   $as_echo_n "(cached) " >&6
   10900 else
   10901   ac_check_lib_save_LIBS=$LIBS
   10902 LIBS="-ldld  $LIBS"
   10903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10904 /* end confdefs.h.  */
   10905 
   10906 /* Override any GCC internal prototype to avoid an error.
   10907    Use char because int might match the return type of a GCC
   10908    builtin and then its argument prototype would still apply.  */
   10909 #ifdef __cplusplus
   10910 extern "C"
   10911 #endif
   10912 char shl_load ();
   10913 int
   10914 main ()
   10915 {
   10916 return shl_load ();
   10917   ;
   10918   return 0;
   10919 }
   10920 _ACEOF
   10921 if ac_fn_c_try_link "$LINENO"; then :
   10922   ac_cv_lib_dld_shl_load=yes
   10923 else
   10924   ac_cv_lib_dld_shl_load=no
   10925 fi
   10926 rm -f core conftest.err conftest.$ac_objext \
   10927     conftest$ac_exeext conftest.$ac_ext
   10928 LIBS=$ac_check_lib_save_LIBS
   10929 fi
   10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10931 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10932 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10933   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10934 else
   10935   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10936 if test "x$ac_cv_func_dlopen" = xyes; then :
   10937   lt_cv_dlopen="dlopen"
   10938 else
   10939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10940 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10941 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10942   $as_echo_n "(cached) " >&6
   10943 else
   10944   ac_check_lib_save_LIBS=$LIBS
   10945 LIBS="-ldl  $LIBS"
   10946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10947 /* end confdefs.h.  */
   10948 
   10949 /* Override any GCC internal prototype to avoid an error.
   10950    Use char because int might match the return type of a GCC
   10951    builtin and then its argument prototype would still apply.  */
   10952 #ifdef __cplusplus
   10953 extern "C"
   10954 #endif
   10955 char dlopen ();
   10956 int
   10957 main ()
   10958 {
   10959 return dlopen ();
   10960   ;
   10961   return 0;
   10962 }
   10963 _ACEOF
   10964 if ac_fn_c_try_link "$LINENO"; then :
   10965   ac_cv_lib_dl_dlopen=yes
   10966 else
   10967   ac_cv_lib_dl_dlopen=no
   10968 fi
   10969 rm -f core conftest.err conftest.$ac_objext \
   10970     conftest$ac_exeext conftest.$ac_ext
   10971 LIBS=$ac_check_lib_save_LIBS
   10972 fi
   10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10974 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10975 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10976   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10977 else
   10978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10979 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10980 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10981   $as_echo_n "(cached) " >&6
   10982 else
   10983   ac_check_lib_save_LIBS=$LIBS
   10984 LIBS="-lsvld  $LIBS"
   10985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10986 /* end confdefs.h.  */
   10987 
   10988 /* Override any GCC internal prototype to avoid an error.
   10989    Use char because int might match the return type of a GCC
   10990    builtin and then its argument prototype would still apply.  */
   10991 #ifdef __cplusplus
   10992 extern "C"
   10993 #endif
   10994 char dlopen ();
   10995 int
   10996 main ()
   10997 {
   10998 return dlopen ();
   10999   ;
   11000   return 0;
   11001 }
   11002 _ACEOF
   11003 if ac_fn_c_try_link "$LINENO"; then :
   11004   ac_cv_lib_svld_dlopen=yes
   11005 else
   11006   ac_cv_lib_svld_dlopen=no
   11007 fi
   11008 rm -f core conftest.err conftest.$ac_objext \
   11009     conftest$ac_exeext conftest.$ac_ext
   11010 LIBS=$ac_check_lib_save_LIBS
   11011 fi
   11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11013 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11014 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11015   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11016 else
   11017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11018 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11019 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11020   $as_echo_n "(cached) " >&6
   11021 else
   11022   ac_check_lib_save_LIBS=$LIBS
   11023 LIBS="-ldld  $LIBS"
   11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11025 /* end confdefs.h.  */
   11026 
   11027 /* Override any GCC internal prototype to avoid an error.
   11028    Use char because int might match the return type of a GCC
   11029    builtin and then its argument prototype would still apply.  */
   11030 #ifdef __cplusplus
   11031 extern "C"
   11032 #endif
   11033 char dld_link ();
   11034 int
   11035 main ()
   11036 {
   11037 return dld_link ();
   11038   ;
   11039   return 0;
   11040 }
   11041 _ACEOF
   11042 if ac_fn_c_try_link "$LINENO"; then :
   11043   ac_cv_lib_dld_dld_link=yes
   11044 else
   11045   ac_cv_lib_dld_dld_link=no
   11046 fi
   11047 rm -f core conftest.err conftest.$ac_objext \
   11048     conftest$ac_exeext conftest.$ac_ext
   11049 LIBS=$ac_check_lib_save_LIBS
   11050 fi
   11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11052 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11053 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11054   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11055 fi
   11056 
   11057 
   11058 fi
   11059 
   11060 
   11061 fi
   11062 
   11063 
   11064 fi
   11065 
   11066 
   11067 fi
   11068 
   11069 
   11070 fi
   11071 
   11072     ;;
   11073   esac
   11074 
   11075   if test "x$lt_cv_dlopen" != xno; then
   11076     enable_dlopen=yes
   11077   else
   11078     enable_dlopen=no
   11079   fi
   11080 
   11081   case $lt_cv_dlopen in
   11082   dlopen)
   11083     save_CPPFLAGS="$CPPFLAGS"
   11084     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11085 
   11086     save_LDFLAGS="$LDFLAGS"
   11087     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11088 
   11089     save_LIBS="$LIBS"
   11090     LIBS="$lt_cv_dlopen_libs $LIBS"
   11091 
   11092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11093 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11094 if ${lt_cv_dlopen_self+:} false; then :
   11095   $as_echo_n "(cached) " >&6
   11096 else
   11097   	  if test "$cross_compiling" = yes; then :
   11098   lt_cv_dlopen_self=cross
   11099 else
   11100   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11101   lt_status=$lt_dlunknown
   11102   cat > conftest.$ac_ext <<_LT_EOF
   11103 #line $LINENO "configure"
   11104 #include "confdefs.h"
   11105 
   11106 #if HAVE_DLFCN_H
   11107 #include <dlfcn.h>
   11108 #endif
   11109 
   11110 #include <stdio.h>
   11111 
   11112 #ifdef RTLD_GLOBAL
   11113 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11114 #else
   11115 #  ifdef DL_GLOBAL
   11116 #    define LT_DLGLOBAL		DL_GLOBAL
   11117 #  else
   11118 #    define LT_DLGLOBAL		0
   11119 #  endif
   11120 #endif
   11121 
   11122 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11123    find out it does not work in some platform. */
   11124 #ifndef LT_DLLAZY_OR_NOW
   11125 #  ifdef RTLD_LAZY
   11126 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11127 #  else
   11128 #    ifdef DL_LAZY
   11129 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11130 #    else
   11131 #      ifdef RTLD_NOW
   11132 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11133 #      else
   11134 #        ifdef DL_NOW
   11135 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11136 #        else
   11137 #          define LT_DLLAZY_OR_NOW	0
   11138 #        endif
   11139 #      endif
   11140 #    endif
   11141 #  endif
   11142 #endif
   11143 
   11144 /* When -fvisbility=hidden is used, assume the code has been annotated
   11145    correspondingly for the symbols needed.  */
   11146 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11147 int fnord () __attribute__((visibility("default")));
   11148 #endif
   11149 
   11150 int fnord () { return 42; }
   11151 int main ()
   11152 {
   11153   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11154   int status = $lt_dlunknown;
   11155 
   11156   if (self)
   11157     {
   11158       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11159       else
   11160         {
   11161 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11162           else puts (dlerror ());
   11163 	}
   11164       /* dlclose (self); */
   11165     }
   11166   else
   11167     puts (dlerror ());
   11168 
   11169   return status;
   11170 }
   11171 _LT_EOF
   11172   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11173   (eval $ac_link) 2>&5
   11174   ac_status=$?
   11175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11176   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11177     (./conftest; exit; ) >&5 2>/dev/null
   11178     lt_status=$?
   11179     case x$lt_status in
   11180       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11181       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11182       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11183     esac
   11184   else :
   11185     # compilation failed
   11186     lt_cv_dlopen_self=no
   11187   fi
   11188 fi
   11189 rm -fr conftest*
   11190 
   11191 
   11192 fi
   11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11194 $as_echo "$lt_cv_dlopen_self" >&6; }
   11195 
   11196     if test "x$lt_cv_dlopen_self" = xyes; then
   11197       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11198       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11199 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11200 if ${lt_cv_dlopen_self_static+:} false; then :
   11201   $as_echo_n "(cached) " >&6
   11202 else
   11203   	  if test "$cross_compiling" = yes; then :
   11204   lt_cv_dlopen_self_static=cross
   11205 else
   11206   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11207   lt_status=$lt_dlunknown
   11208   cat > conftest.$ac_ext <<_LT_EOF
   11209 #line $LINENO "configure"
   11210 #include "confdefs.h"
   11211 
   11212 #if HAVE_DLFCN_H
   11213 #include <dlfcn.h>
   11214 #endif
   11215 
   11216 #include <stdio.h>
   11217 
   11218 #ifdef RTLD_GLOBAL
   11219 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11220 #else
   11221 #  ifdef DL_GLOBAL
   11222 #    define LT_DLGLOBAL		DL_GLOBAL
   11223 #  else
   11224 #    define LT_DLGLOBAL		0
   11225 #  endif
   11226 #endif
   11227 
   11228 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11229    find out it does not work in some platform. */
   11230 #ifndef LT_DLLAZY_OR_NOW
   11231 #  ifdef RTLD_LAZY
   11232 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11233 #  else
   11234 #    ifdef DL_LAZY
   11235 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11236 #    else
   11237 #      ifdef RTLD_NOW
   11238 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11239 #      else
   11240 #        ifdef DL_NOW
   11241 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11242 #        else
   11243 #          define LT_DLLAZY_OR_NOW	0
   11244 #        endif
   11245 #      endif
   11246 #    endif
   11247 #  endif
   11248 #endif
   11249 
   11250 /* When -fvisbility=hidden is used, assume the code has been annotated
   11251    correspondingly for the symbols needed.  */
   11252 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11253 int fnord () __attribute__((visibility("default")));
   11254 #endif
   11255 
   11256 int fnord () { return 42; }
   11257 int main ()
   11258 {
   11259   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11260   int status = $lt_dlunknown;
   11261 
   11262   if (self)
   11263     {
   11264       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11265       else
   11266         {
   11267 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11268           else puts (dlerror ());
   11269 	}
   11270       /* dlclose (self); */
   11271     }
   11272   else
   11273     puts (dlerror ());
   11274 
   11275   return status;
   11276 }
   11277 _LT_EOF
   11278   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11279   (eval $ac_link) 2>&5
   11280   ac_status=$?
   11281   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11282   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11283     (./conftest; exit; ) >&5 2>/dev/null
   11284     lt_status=$?
   11285     case x$lt_status in
   11286       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11287       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11288       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11289     esac
   11290   else :
   11291     # compilation failed
   11292     lt_cv_dlopen_self_static=no
   11293   fi
   11294 fi
   11295 rm -fr conftest*
   11296 
   11297 
   11298 fi
   11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11300 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11301     fi
   11302 
   11303     CPPFLAGS="$save_CPPFLAGS"
   11304     LDFLAGS="$save_LDFLAGS"
   11305     LIBS="$save_LIBS"
   11306     ;;
   11307   esac
   11308 
   11309   case $lt_cv_dlopen_self in
   11310   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11311   *) enable_dlopen_self=unknown ;;
   11312   esac
   11313 
   11314   case $lt_cv_dlopen_self_static in
   11315   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11316   *) enable_dlopen_self_static=unknown ;;
   11317   esac
   11318 fi
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 striplib=
   11337 old_striplib=
   11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11339 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11340 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11341   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11342   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11344 $as_echo "yes" >&6; }
   11345 else
   11346 # FIXME - insert some real tests, host_os isn't really good enough
   11347   case $host_os in
   11348   darwin*)
   11349     if test -n "$STRIP" ; then
   11350       striplib="$STRIP -x"
   11351       old_striplib="$STRIP -S"
   11352       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11353 $as_echo "yes" >&6; }
   11354     else
   11355       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11356 $as_echo "no" >&6; }
   11357     fi
   11358     ;;
   11359   *)
   11360     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11361 $as_echo "no" >&6; }
   11362     ;;
   11363   esac
   11364 fi
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377   # Report which library types will actually be built
   11378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11379 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11381 $as_echo "$can_build_shared" >&6; }
   11382 
   11383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11384 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11385   test "$can_build_shared" = "no" && enable_shared=no
   11386 
   11387   # On AIX, shared libraries and static libraries use the same namespace, and
   11388   # are all built from PIC.
   11389   case $host_os in
   11390   aix3*)
   11391     test "$enable_shared" = yes && enable_static=no
   11392     if test -n "$RANLIB"; then
   11393       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11394       postinstall_cmds='$RANLIB $lib'
   11395     fi
   11396     ;;
   11397 
   11398   aix[4-9]*)
   11399     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11400       test "$enable_shared" = yes && enable_static=no
   11401     fi
   11402     ;;
   11403   esac
   11404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11405 $as_echo "$enable_shared" >&6; }
   11406 
   11407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11408 $as_echo_n "checking whether to build static libraries... " >&6; }
   11409   # Make sure either enable_shared or enable_static is yes.
   11410   test "$enable_shared" = yes || enable_static=yes
   11411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11412 $as_echo "$enable_static" >&6; }
   11413 
   11414 
   11415 
   11416 
   11417 fi
   11418 ac_ext=c
   11419 ac_cpp='$CPP $CPPFLAGS'
   11420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11423 
   11424 CC="$lt_save_CC"
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438         ac_config_commands="$ac_config_commands libtool"
   11439 
   11440 
   11441 
   11442 
   11443 # Only expand once:
   11444 
   11445 
   11446 
   11447 ac_ext=c
   11448 ac_cpp='$CPP $CPPFLAGS'
   11449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   11453 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   11454 # On Suns, sometimes $CPP names a directory.
   11455 if test -n "$CPP" && test -d "$CPP"; then
   11456   CPP=
   11457 fi
   11458 if test -z "$CPP"; then
   11459   if ${ac_cv_prog_CPP+:} false; then :
   11460   $as_echo_n "(cached) " >&6
   11461 else
   11462       # Double quotes because CPP needs to be expanded
   11463     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   11464     do
   11465       ac_preproc_ok=false
   11466 for ac_c_preproc_warn_flag in '' yes
   11467 do
   11468   # Use a header file that comes with gcc, so configuring glibc
   11469   # with a fresh cross-compiler works.
   11470   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11471   # <limits.h> exists even on freestanding compilers.
   11472   # On the NeXT, cc -E runs the code through the compiler's parser,
   11473   # not just through cpp. "Syntax error" is here to catch this case.
   11474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11475 /* end confdefs.h.  */
   11476 #ifdef __STDC__
   11477 # include <limits.h>
   11478 #else
   11479 # include <assert.h>
   11480 #endif
   11481 		     Syntax error
   11482 _ACEOF
   11483 if ac_fn_c_try_cpp "$LINENO"; then :
   11484 
   11485 else
   11486   # Broken: fails on valid input.
   11487 continue
   11488 fi
   11489 rm -f conftest.err conftest.i conftest.$ac_ext
   11490 
   11491   # OK, works on sane cases.  Now check whether nonexistent headers
   11492   # can be detected and how.
   11493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11494 /* end confdefs.h.  */
   11495 #include <ac_nonexistent.h>
   11496 _ACEOF
   11497 if ac_fn_c_try_cpp "$LINENO"; then :
   11498   # Broken: success on invalid input.
   11499 continue
   11500 else
   11501   # Passes both tests.
   11502 ac_preproc_ok=:
   11503 break
   11504 fi
   11505 rm -f conftest.err conftest.i conftest.$ac_ext
   11506 
   11507 done
   11508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   11509 rm -f conftest.i conftest.err conftest.$ac_ext
   11510 if $ac_preproc_ok; then :
   11511   break
   11512 fi
   11513 
   11514     done
   11515     ac_cv_prog_CPP=$CPP
   11516 
   11517 fi
   11518   CPP=$ac_cv_prog_CPP
   11519 else
   11520   ac_cv_prog_CPP=$CPP
   11521 fi
   11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   11523 $as_echo "$CPP" >&6; }
   11524 ac_preproc_ok=false
   11525 for ac_c_preproc_warn_flag in '' yes
   11526 do
   11527   # Use a header file that comes with gcc, so configuring glibc
   11528   # with a fresh cross-compiler works.
   11529   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11530   # <limits.h> exists even on freestanding compilers.
   11531   # On the NeXT, cc -E runs the code through the compiler's parser,
   11532   # not just through cpp. "Syntax error" is here to catch this case.
   11533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11534 /* end confdefs.h.  */
   11535 #ifdef __STDC__
   11536 # include <limits.h>
   11537 #else
   11538 # include <assert.h>
   11539 #endif
   11540 		     Syntax error
   11541 _ACEOF
   11542 if ac_fn_c_try_cpp "$LINENO"; then :
   11543 
   11544 else
   11545   # Broken: fails on valid input.
   11546 continue
   11547 fi
   11548 rm -f conftest.err conftest.i conftest.$ac_ext
   11549 
   11550   # OK, works on sane cases.  Now check whether nonexistent headers
   11551   # can be detected and how.
   11552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11553 /* end confdefs.h.  */
   11554 #include <ac_nonexistent.h>
   11555 _ACEOF
   11556 if ac_fn_c_try_cpp "$LINENO"; then :
   11557   # Broken: success on invalid input.
   11558 continue
   11559 else
   11560   # Passes both tests.
   11561 ac_preproc_ok=:
   11562 break
   11563 fi
   11564 rm -f conftest.err conftest.i conftest.$ac_ext
   11565 
   11566 done
   11567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   11568 rm -f conftest.i conftest.err conftest.$ac_ext
   11569 if $ac_preproc_ok; then :
   11570 
   11571 else
   11572   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11574 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   11575 See \`config.log' for more details" "$LINENO" 5; }
   11576 fi
   11577 
   11578 ac_ext=c
   11579 ac_cpp='$CPP $CPPFLAGS'
   11580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11583 
   11584 ac_ext=c
   11585 ac_cpp='$CPP $CPPFLAGS'
   11586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11589 if test -n "$ac_tool_prefix"; then
   11590   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   11591 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11593 $as_echo_n "checking for $ac_word... " >&6; }
   11594 if ${ac_cv_prog_CC+:} false; then :
   11595   $as_echo_n "(cached) " >&6
   11596 else
   11597   if test -n "$CC"; then
   11598   ac_cv_prog_CC="$CC" # Let the user override the test.
   11599 else
   11600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11601 for as_dir in $PATH
   11602 do
   11603   IFS=$as_save_IFS
   11604   test -z "$as_dir" && as_dir=.
   11605     for ac_exec_ext in '' $ac_executable_extensions; do
   11606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11607     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   11608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11609     break 2
   11610   fi
   11611 done
   11612   done
   11613 IFS=$as_save_IFS
   11614 
   11615 fi
   11616 fi
   11617 CC=$ac_cv_prog_CC
   11618 if test -n "$CC"; then
   11619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11620 $as_echo "$CC" >&6; }
   11621 else
   11622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11623 $as_echo "no" >&6; }
   11624 fi
   11625 
   11626 
   11627 fi
   11628 if test -z "$ac_cv_prog_CC"; then
   11629   ac_ct_CC=$CC
   11630   # Extract the first word of "gcc", so it can be a program name with args.
   11631 set dummy gcc; ac_word=$2
   11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11633 $as_echo_n "checking for $ac_word... " >&6; }
   11634 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   11635   $as_echo_n "(cached) " >&6
   11636 else
   11637   if test -n "$ac_ct_CC"; then
   11638   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11639 else
   11640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11641 for as_dir in $PATH
   11642 do
   11643   IFS=$as_save_IFS
   11644   test -z "$as_dir" && as_dir=.
   11645     for ac_exec_ext in '' $ac_executable_extensions; do
   11646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11647     ac_cv_prog_ac_ct_CC="gcc"
   11648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11649     break 2
   11650   fi
   11651 done
   11652   done
   11653 IFS=$as_save_IFS
   11654 
   11655 fi
   11656 fi
   11657 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11658 if test -n "$ac_ct_CC"; then
   11659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   11660 $as_echo "$ac_ct_CC" >&6; }
   11661 else
   11662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11663 $as_echo "no" >&6; }
   11664 fi
   11665 
   11666   if test "x$ac_ct_CC" = x; then
   11667     CC=""
   11668   else
   11669     case $cross_compiling:$ac_tool_warned in
   11670 yes:)
   11671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11673 ac_tool_warned=yes ;;
   11674 esac
   11675     CC=$ac_ct_CC
   11676   fi
   11677 else
   11678   CC="$ac_cv_prog_CC"
   11679 fi
   11680 
   11681 if test -z "$CC"; then
   11682           if test -n "$ac_tool_prefix"; then
   11683     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   11684 set dummy ${ac_tool_prefix}cc; ac_word=$2
   11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11686 $as_echo_n "checking for $ac_word... " >&6; }
   11687 if ${ac_cv_prog_CC+:} false; then :
   11688   $as_echo_n "(cached) " >&6
   11689 else
   11690   if test -n "$CC"; then
   11691   ac_cv_prog_CC="$CC" # Let the user override the test.
   11692 else
   11693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11694 for as_dir in $PATH
   11695 do
   11696   IFS=$as_save_IFS
   11697   test -z "$as_dir" && as_dir=.
   11698     for ac_exec_ext in '' $ac_executable_extensions; do
   11699   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11700     ac_cv_prog_CC="${ac_tool_prefix}cc"
   11701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11702     break 2
   11703   fi
   11704 done
   11705   done
   11706 IFS=$as_save_IFS
   11707 
   11708 fi
   11709 fi
   11710 CC=$ac_cv_prog_CC
   11711 if test -n "$CC"; then
   11712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11713 $as_echo "$CC" >&6; }
   11714 else
   11715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11716 $as_echo "no" >&6; }
   11717 fi
   11718 
   11719 
   11720   fi
   11721 fi
   11722 if test -z "$CC"; then
   11723   # Extract the first word of "cc", so it can be a program name with args.
   11724 set dummy cc; ac_word=$2
   11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11726 $as_echo_n "checking for $ac_word... " >&6; }
   11727 if ${ac_cv_prog_CC+:} false; then :
   11728   $as_echo_n "(cached) " >&6
   11729 else
   11730   if test -n "$CC"; then
   11731   ac_cv_prog_CC="$CC" # Let the user override the test.
   11732 else
   11733   ac_prog_rejected=no
   11734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11735 for as_dir in $PATH
   11736 do
   11737   IFS=$as_save_IFS
   11738   test -z "$as_dir" && as_dir=.
   11739     for ac_exec_ext in '' $ac_executable_extensions; do
   11740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11741     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   11742        ac_prog_rejected=yes
   11743        continue
   11744      fi
   11745     ac_cv_prog_CC="cc"
   11746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11747     break 2
   11748   fi
   11749 done
   11750   done
   11751 IFS=$as_save_IFS
   11752 
   11753 if test $ac_prog_rejected = yes; then
   11754   # We found a bogon in the path, so make sure we never use it.
   11755   set dummy $ac_cv_prog_CC
   11756   shift
   11757   if test $# != 0; then
   11758     # We chose a different compiler from the bogus one.
   11759     # However, it has the same basename, so the bogon will be chosen
   11760     # first if we set CC to just the basename; use the full file name.
   11761     shift
   11762     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   11763   fi
   11764 fi
   11765 fi
   11766 fi
   11767 CC=$ac_cv_prog_CC
   11768 if test -n "$CC"; then
   11769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11770 $as_echo "$CC" >&6; }
   11771 else
   11772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11773 $as_echo "no" >&6; }
   11774 fi
   11775 
   11776 
   11777 fi
   11778 if test -z "$CC"; then
   11779   if test -n "$ac_tool_prefix"; then
   11780   for ac_prog in cl.exe
   11781   do
   11782     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11783 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11785 $as_echo_n "checking for $ac_word... " >&6; }
   11786 if ${ac_cv_prog_CC+:} false; then :
   11787   $as_echo_n "(cached) " >&6
   11788 else
   11789   if test -n "$CC"; then
   11790   ac_cv_prog_CC="$CC" # Let the user override the test.
   11791 else
   11792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11793 for as_dir in $PATH
   11794 do
   11795   IFS=$as_save_IFS
   11796   test -z "$as_dir" && as_dir=.
   11797     for ac_exec_ext in '' $ac_executable_extensions; do
   11798   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11799     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   11800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11801     break 2
   11802   fi
   11803 done
   11804   done
   11805 IFS=$as_save_IFS
   11806 
   11807 fi
   11808 fi
   11809 CC=$ac_cv_prog_CC
   11810 if test -n "$CC"; then
   11811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11812 $as_echo "$CC" >&6; }
   11813 else
   11814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11815 $as_echo "no" >&6; }
   11816 fi
   11817 
   11818 
   11819     test -n "$CC" && break
   11820   done
   11821 fi
   11822 if test -z "$CC"; then
   11823   ac_ct_CC=$CC
   11824   for ac_prog in cl.exe
   11825 do
   11826   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11827 set dummy $ac_prog; ac_word=$2
   11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11829 $as_echo_n "checking for $ac_word... " >&6; }
   11830 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   11831   $as_echo_n "(cached) " >&6
   11832 else
   11833   if test -n "$ac_ct_CC"; then
   11834   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11835 else
   11836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11837 for as_dir in $PATH
   11838 do
   11839   IFS=$as_save_IFS
   11840   test -z "$as_dir" && as_dir=.
   11841     for ac_exec_ext in '' $ac_executable_extensions; do
   11842   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11843     ac_cv_prog_ac_ct_CC="$ac_prog"
   11844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11845     break 2
   11846   fi
   11847 done
   11848   done
   11849 IFS=$as_save_IFS
   11850 
   11851 fi
   11852 fi
   11853 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11854 if test -n "$ac_ct_CC"; then
   11855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   11856 $as_echo "$ac_ct_CC" >&6; }
   11857 else
   11858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11859 $as_echo "no" >&6; }
   11860 fi
   11861 
   11862 
   11863   test -n "$ac_ct_CC" && break
   11864 done
   11865 
   11866   if test "x$ac_ct_CC" = x; then
   11867     CC=""
   11868   else
   11869     case $cross_compiling:$ac_tool_warned in
   11870 yes:)
   11871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11873 ac_tool_warned=yes ;;
   11874 esac
   11875     CC=$ac_ct_CC
   11876   fi
   11877 fi
   11878 
   11879 fi
   11880 
   11881 
   11882 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11884 as_fn_error $? "no acceptable C compiler found in \$PATH
   11885 See \`config.log' for more details" "$LINENO" 5; }
   11886 
   11887 # Provide some information about the compiler.
   11888 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   11889 set X $ac_compile
   11890 ac_compiler=$2
   11891 for ac_option in --version -v -V -qversion; do
   11892   { { ac_try="$ac_compiler $ac_option >&5"
   11893 case "(($ac_try" in
   11894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11895   *) ac_try_echo=$ac_try;;
   11896 esac
   11897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   11898 $as_echo "$ac_try_echo"; } >&5
   11899   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   11900   ac_status=$?
   11901   if test -s conftest.err; then
   11902     sed '10a\
   11903 ... rest of stderr output deleted ...
   11904          10q' conftest.err >conftest.er1
   11905     cat conftest.er1 >&5
   11906   fi
   11907   rm -f conftest.er1 conftest.err
   11908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11909   test $ac_status = 0; }
   11910 done
   11911 
   11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   11913 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   11914 if ${ac_cv_c_compiler_gnu+:} false; then :
   11915   $as_echo_n "(cached) " >&6
   11916 else
   11917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11918 /* end confdefs.h.  */
   11919 
   11920 int
   11921 main ()
   11922 {
   11923 #ifndef __GNUC__
   11924        choke me
   11925 #endif
   11926 
   11927   ;
   11928   return 0;
   11929 }
   11930 _ACEOF
   11931 if ac_fn_c_try_compile "$LINENO"; then :
   11932   ac_compiler_gnu=yes
   11933 else
   11934   ac_compiler_gnu=no
   11935 fi
   11936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11937 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   11938 
   11939 fi
   11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   11941 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   11942 if test $ac_compiler_gnu = yes; then
   11943   GCC=yes
   11944 else
   11945   GCC=
   11946 fi
   11947 ac_test_CFLAGS=${CFLAGS+set}
   11948 ac_save_CFLAGS=$CFLAGS
   11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   11950 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   11951 if ${ac_cv_prog_cc_g+:} false; then :
   11952   $as_echo_n "(cached) " >&6
   11953 else
   11954   ac_save_c_werror_flag=$ac_c_werror_flag
   11955    ac_c_werror_flag=yes
   11956    ac_cv_prog_cc_g=no
   11957    CFLAGS="-g"
   11958    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11959 /* end confdefs.h.  */
   11960 
   11961 int
   11962 main ()
   11963 {
   11964 
   11965   ;
   11966   return 0;
   11967 }
   11968 _ACEOF
   11969 if ac_fn_c_try_compile "$LINENO"; then :
   11970   ac_cv_prog_cc_g=yes
   11971 else
   11972   CFLAGS=""
   11973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11974 /* end confdefs.h.  */
   11975 
   11976 int
   11977 main ()
   11978 {
   11979 
   11980   ;
   11981   return 0;
   11982 }
   11983 _ACEOF
   11984 if ac_fn_c_try_compile "$LINENO"; then :
   11985 
   11986 else
   11987   ac_c_werror_flag=$ac_save_c_werror_flag
   11988 	 CFLAGS="-g"
   11989 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11990 /* end confdefs.h.  */
   11991 
   11992 int
   11993 main ()
   11994 {
   11995 
   11996   ;
   11997   return 0;
   11998 }
   11999 _ACEOF
   12000 if ac_fn_c_try_compile "$LINENO"; then :
   12001   ac_cv_prog_cc_g=yes
   12002 fi
   12003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12004 fi
   12005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12006 fi
   12007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12008    ac_c_werror_flag=$ac_save_c_werror_flag
   12009 fi
   12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   12011 $as_echo "$ac_cv_prog_cc_g" >&6; }
   12012 if test "$ac_test_CFLAGS" = set; then
   12013   CFLAGS=$ac_save_CFLAGS
   12014 elif test $ac_cv_prog_cc_g = yes; then
   12015   if test "$GCC" = yes; then
   12016     CFLAGS="-g -O2"
   12017   else
   12018     CFLAGS="-g"
   12019   fi
   12020 else
   12021   if test "$GCC" = yes; then
   12022     CFLAGS="-O2"
   12023   else
   12024     CFLAGS=
   12025   fi
   12026 fi
   12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   12028 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   12029 if ${ac_cv_prog_cc_c89+:} false; then :
   12030   $as_echo_n "(cached) " >&6
   12031 else
   12032   ac_cv_prog_cc_c89=no
   12033 ac_save_CC=$CC
   12034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12035 /* end confdefs.h.  */
   12036 #include <stdarg.h>
   12037 #include <stdio.h>
   12038 #include <sys/types.h>
   12039 #include <sys/stat.h>
   12040 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   12041 struct buf { int x; };
   12042 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   12043 static char *e (p, i)
   12044      char **p;
   12045      int i;
   12046 {
   12047   return p[i];
   12048 }
   12049 static char *f (char * (*g) (char **, int), char **p, ...)
   12050 {
   12051   char *s;
   12052   va_list v;
   12053   va_start (v,p);
   12054   s = g (p, va_arg (v,int));
   12055   va_end (v);
   12056   return s;
   12057 }
   12058 
   12059 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   12060    function prototypes and stuff, but not '\xHH' hex character constants.
   12061    These don't provoke an error unfortunately, instead are silently treated
   12062    as 'x'.  The following induces an error, until -std is added to get
   12063    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   12064    array size at least.  It's necessary to write '\x00'==0 to get something
   12065    that's true only with -std.  */
   12066 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   12067 
   12068 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   12069    inside strings and character constants.  */
   12070 #define FOO(x) 'x'
   12071 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   12072 
   12073 int test (int i, double x);
   12074 struct s1 {int (*f) (int a);};
   12075 struct s2 {int (*f) (double a);};
   12076 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   12077 int argc;
   12078 char **argv;
   12079 int
   12080 main ()
   12081 {
   12082 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   12083   ;
   12084   return 0;
   12085 }
   12086 _ACEOF
   12087 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   12088 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   12089 do
   12090   CC="$ac_save_CC $ac_arg"
   12091   if ac_fn_c_try_compile "$LINENO"; then :
   12092   ac_cv_prog_cc_c89=$ac_arg
   12093 fi
   12094 rm -f core conftest.err conftest.$ac_objext
   12095   test "x$ac_cv_prog_cc_c89" != "xno" && break
   12096 done
   12097 rm -f conftest.$ac_ext
   12098 CC=$ac_save_CC
   12099 
   12100 fi
   12101 # AC_CACHE_VAL
   12102 case "x$ac_cv_prog_cc_c89" in
   12103   x)
   12104     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12105 $as_echo "none needed" >&6; } ;;
   12106   xno)
   12107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12108 $as_echo "unsupported" >&6; } ;;
   12109   *)
   12110     CC="$CC $ac_cv_prog_cc_c89"
   12111     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   12112 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   12113 esac
   12114 if test "x$ac_cv_prog_cc_c89" != xno; then :
   12115 
   12116 fi
   12117 
   12118 ac_ext=c
   12119 ac_cpp='$CPP $CPPFLAGS'
   12120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12123 
   12124 depcc="$CC"   am_compiler_list=
   12125 
   12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   12127 $as_echo_n "checking dependency style of $depcc... " >&6; }
   12128 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   12129   $as_echo_n "(cached) " >&6
   12130 else
   12131   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   12132   # We make a subdir and do the tests there.  Otherwise we can end up
   12133   # making bogus files that we don't know about and never remove.  For
   12134   # instance it was reported that on HP-UX the gcc test will end up
   12135   # making a dummy file named 'D' -- because '-MD' means "put the output
   12136   # in D".
   12137   rm -rf conftest.dir
   12138   mkdir conftest.dir
   12139   # Copy depcomp to subdir because otherwise we won't find it if we're
   12140   # using a relative directory.
   12141   cp "$am_depcomp" conftest.dir
   12142   cd conftest.dir
   12143   # We will build objects and dependencies in a subdirectory because
   12144   # it helps to detect inapplicable dependency modes.  For instance
   12145   # both Tru64's cc and ICC support -MD to output dependencies as a
   12146   # side effect of compilation, but ICC will put the dependencies in
   12147   # the current directory while Tru64 will put them in the object
   12148   # directory.
   12149   mkdir sub
   12150 
   12151   am_cv_CC_dependencies_compiler_type=none
   12152   if test "$am_compiler_list" = ""; then
   12153      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   12154   fi
   12155   am__universal=false
   12156   case " $depcc " in #(
   12157      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   12158      esac
   12159 
   12160   for depmode in $am_compiler_list; do
   12161     # Setup a source with many dependencies, because some compilers
   12162     # like to wrap large dependency lists on column 80 (with \), and
   12163     # we should not choose a depcomp mode which is confused by this.
   12164     #
   12165     # We need to recreate these files for each test, as the compiler may
   12166     # overwrite some of them when testing with obscure command lines.
   12167     # This happens at least with the AIX C compiler.
   12168     : > sub/conftest.c
   12169     for i in 1 2 3 4 5 6; do
   12170       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   12171       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   12172       # Solaris 10 /bin/sh.
   12173       echo '/* dummy */' > sub/conftst$i.h
   12174     done
   12175     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   12176 
   12177     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   12178     # mode.  It turns out that the SunPro C++ compiler does not properly
   12179     # handle '-M -o', and we need to detect this.  Also, some Intel
   12180     # versions had trouble with output in subdirs.
   12181     am__obj=sub/conftest.${OBJEXT-o}
   12182     am__minus_obj="-o $am__obj"
   12183     case $depmode in
   12184     gcc)
   12185       # This depmode causes a compiler race in universal mode.
   12186       test "$am__universal" = false || continue
   12187       ;;
   12188     nosideeffect)
   12189       # After this tag, mechanisms are not by side-effect, so they'll
   12190       # only be used when explicitly requested.
   12191       if test "x$enable_dependency_tracking" = xyes; then
   12192 	continue
   12193       else
   12194 	break
   12195       fi
   12196       ;;
   12197     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   12198       # This compiler won't grok '-c -o', but also, the minuso test has
   12199       # not run yet.  These depmodes are late enough in the game, and
   12200       # so weak that their functioning should not be impacted.
   12201       am__obj=conftest.${OBJEXT-o}
   12202       am__minus_obj=
   12203       ;;
   12204     none) break ;;
   12205     esac
   12206     if depmode=$depmode \
   12207        source=sub/conftest.c object=$am__obj \
   12208        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   12209        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   12210          >/dev/null 2>conftest.err &&
   12211        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   12212        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   12213        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   12214        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   12215       # icc doesn't choke on unknown options, it will just issue warnings
   12216       # or remarks (even with -Werror).  So we grep stderr for any message
   12217       # that says an option was ignored or not supported.
   12218       # When given -MP, icc 7.0 and 7.1 complain thusly:
   12219       #   icc: Command line warning: ignoring option '-M'; no argument required
   12220       # The diagnosis changed in icc 8.0:
   12221       #   icc: Command line remark: option '-MP' not supported
   12222       if (grep 'ignoring option' conftest.err ||
   12223           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   12224         am_cv_CC_dependencies_compiler_type=$depmode
   12225         break
   12226       fi
   12227     fi
   12228   done
   12229 
   12230   cd ..
   12231   rm -rf conftest.dir
   12232 else
   12233   am_cv_CC_dependencies_compiler_type=none
   12234 fi
   12235 
   12236 fi
   12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   12238 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   12239 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   12240 
   12241  if
   12242   test "x$enable_dependency_tracking" != xno \
   12243   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   12244   am__fastdepCC_TRUE=
   12245   am__fastdepCC_FALSE='#'
   12246 else
   12247   am__fastdepCC_TRUE='#'
   12248   am__fastdepCC_FALSE=
   12249 fi
   12250 
   12251 
   12252 ac_ext=cpp
   12253 ac_cpp='$CXXCPP $CPPFLAGS'
   12254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12257 if test -z "$CXX"; then
   12258   if test -n "$CCC"; then
   12259     CXX=$CCC
   12260   else
   12261     if test -n "$ac_tool_prefix"; then
   12262   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   12263   do
   12264     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12265 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12267 $as_echo_n "checking for $ac_word... " >&6; }
   12268 if ${ac_cv_prog_CXX+:} false; then :
   12269   $as_echo_n "(cached) " >&6
   12270 else
   12271   if test -n "$CXX"; then
   12272   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   12273 else
   12274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12275 for as_dir in $PATH
   12276 do
   12277   IFS=$as_save_IFS
   12278   test -z "$as_dir" && as_dir=.
   12279     for ac_exec_ext in '' $ac_executable_extensions; do
   12280   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12281     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   12282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12283     break 2
   12284   fi
   12285 done
   12286   done
   12287 IFS=$as_save_IFS
   12288 
   12289 fi
   12290 fi
   12291 CXX=$ac_cv_prog_CXX
   12292 if test -n "$CXX"; then
   12293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   12294 $as_echo "$CXX" >&6; }
   12295 else
   12296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12297 $as_echo "no" >&6; }
   12298 fi
   12299 
   12300 
   12301     test -n "$CXX" && break
   12302   done
   12303 fi
   12304 if test -z "$CXX"; then
   12305   ac_ct_CXX=$CXX
   12306   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   12307 do
   12308   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12309 set dummy $ac_prog; ac_word=$2
   12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12311 $as_echo_n "checking for $ac_word... " >&6; }
   12312 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   12313   $as_echo_n "(cached) " >&6
   12314 else
   12315   if test -n "$ac_ct_CXX"; then
   12316   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   12317 else
   12318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12319 for as_dir in $PATH
   12320 do
   12321   IFS=$as_save_IFS
   12322   test -z "$as_dir" && as_dir=.
   12323     for ac_exec_ext in '' $ac_executable_extensions; do
   12324   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12325     ac_cv_prog_ac_ct_CXX="$ac_prog"
   12326     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12327     break 2
   12328   fi
   12329 done
   12330   done
   12331 IFS=$as_save_IFS
   12332 
   12333 fi
   12334 fi
   12335 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   12336 if test -n "$ac_ct_CXX"; then
   12337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   12338 $as_echo "$ac_ct_CXX" >&6; }
   12339 else
   12340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12341 $as_echo "no" >&6; }
   12342 fi
   12343 
   12344 
   12345   test -n "$ac_ct_CXX" && break
   12346 done
   12347 
   12348   if test "x$ac_ct_CXX" = x; then
   12349     CXX="g++"
   12350   else
   12351     case $cross_compiling:$ac_tool_warned in
   12352 yes:)
   12353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12355 ac_tool_warned=yes ;;
   12356 esac
   12357     CXX=$ac_ct_CXX
   12358   fi
   12359 fi
   12360 
   12361   fi
   12362 fi
   12363 # Provide some information about the compiler.
   12364 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   12365 set X $ac_compile
   12366 ac_compiler=$2
   12367 for ac_option in --version -v -V -qversion; do
   12368   { { ac_try="$ac_compiler $ac_option >&5"
   12369 case "(($ac_try" in
   12370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12371   *) ac_try_echo=$ac_try;;
   12372 esac
   12373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   12374 $as_echo "$ac_try_echo"; } >&5
   12375   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   12376   ac_status=$?
   12377   if test -s conftest.err; then
   12378     sed '10a\
   12379 ... rest of stderr output deleted ...
   12380          10q' conftest.err >conftest.er1
   12381     cat conftest.er1 >&5
   12382   fi
   12383   rm -f conftest.er1 conftest.err
   12384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12385   test $ac_status = 0; }
   12386 done
   12387 
   12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   12389 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   12390 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   12391   $as_echo_n "(cached) " >&6
   12392 else
   12393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12394 /* end confdefs.h.  */
   12395 
   12396 int
   12397 main ()
   12398 {
   12399 #ifndef __GNUC__
   12400        choke me
   12401 #endif
   12402 
   12403   ;
   12404   return 0;
   12405 }
   12406 _ACEOF
   12407 if ac_fn_cxx_try_compile "$LINENO"; then :
   12408   ac_compiler_gnu=yes
   12409 else
   12410   ac_compiler_gnu=no
   12411 fi
   12412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12413 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   12414 
   12415 fi
   12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   12417 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   12418 if test $ac_compiler_gnu = yes; then
   12419   GXX=yes
   12420 else
   12421   GXX=
   12422 fi
   12423 ac_test_CXXFLAGS=${CXXFLAGS+set}
   12424 ac_save_CXXFLAGS=$CXXFLAGS
   12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   12426 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   12427 if ${ac_cv_prog_cxx_g+:} false; then :
   12428   $as_echo_n "(cached) " >&6
   12429 else
   12430   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   12431    ac_cxx_werror_flag=yes
   12432    ac_cv_prog_cxx_g=no
   12433    CXXFLAGS="-g"
   12434    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12435 /* end confdefs.h.  */
   12436 
   12437 int
   12438 main ()
   12439 {
   12440 
   12441   ;
   12442   return 0;
   12443 }
   12444 _ACEOF
   12445 if ac_fn_cxx_try_compile "$LINENO"; then :
   12446   ac_cv_prog_cxx_g=yes
   12447 else
   12448   CXXFLAGS=""
   12449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12450 /* end confdefs.h.  */
   12451 
   12452 int
   12453 main ()
   12454 {
   12455 
   12456   ;
   12457   return 0;
   12458 }
   12459 _ACEOF
   12460 if ac_fn_cxx_try_compile "$LINENO"; then :
   12461 
   12462 else
   12463   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   12464 	 CXXFLAGS="-g"
   12465 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12466 /* end confdefs.h.  */
   12467 
   12468 int
   12469 main ()
   12470 {
   12471 
   12472   ;
   12473   return 0;
   12474 }
   12475 _ACEOF
   12476 if ac_fn_cxx_try_compile "$LINENO"; then :
   12477   ac_cv_prog_cxx_g=yes
   12478 fi
   12479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12480 fi
   12481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12482 fi
   12483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12484    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   12485 fi
   12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   12487 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   12488 if test "$ac_test_CXXFLAGS" = set; then
   12489   CXXFLAGS=$ac_save_CXXFLAGS
   12490 elif test $ac_cv_prog_cxx_g = yes; then
   12491   if test "$GXX" = yes; then
   12492     CXXFLAGS="-g -O2"
   12493   else
   12494     CXXFLAGS="-g"
   12495   fi
   12496 else
   12497   if test "$GXX" = yes; then
   12498     CXXFLAGS="-O2"
   12499   else
   12500     CXXFLAGS=
   12501   fi
   12502 fi
   12503 ac_ext=c
   12504 ac_cpp='$CPP $CPPFLAGS'
   12505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12508 
   12509 depcc="$CXX"  am_compiler_list=
   12510 
   12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   12512 $as_echo_n "checking dependency style of $depcc... " >&6; }
   12513 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   12514   $as_echo_n "(cached) " >&6
   12515 else
   12516   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   12517   # We make a subdir and do the tests there.  Otherwise we can end up
   12518   # making bogus files that we don't know about and never remove.  For
   12519   # instance it was reported that on HP-UX the gcc test will end up
   12520   # making a dummy file named 'D' -- because '-MD' means "put the output
   12521   # in D".
   12522   rm -rf conftest.dir
   12523   mkdir conftest.dir
   12524   # Copy depcomp to subdir because otherwise we won't find it if we're
   12525   # using a relative directory.
   12526   cp "$am_depcomp" conftest.dir
   12527   cd conftest.dir
   12528   # We will build objects and dependencies in a subdirectory because
   12529   # it helps to detect inapplicable dependency modes.  For instance
   12530   # both Tru64's cc and ICC support -MD to output dependencies as a
   12531   # side effect of compilation, but ICC will put the dependencies in
   12532   # the current directory while Tru64 will put them in the object
   12533   # directory.
   12534   mkdir sub
   12535 
   12536   am_cv_CXX_dependencies_compiler_type=none
   12537   if test "$am_compiler_list" = ""; then
   12538      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   12539   fi
   12540   am__universal=false
   12541   case " $depcc " in #(
   12542      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   12543      esac
   12544 
   12545   for depmode in $am_compiler_list; do
   12546     # Setup a source with many dependencies, because some compilers
   12547     # like to wrap large dependency lists on column 80 (with \), and
   12548     # we should not choose a depcomp mode which is confused by this.
   12549     #
   12550     # We need to recreate these files for each test, as the compiler may
   12551     # overwrite some of them when testing with obscure command lines.
   12552     # This happens at least with the AIX C compiler.
   12553     : > sub/conftest.c
   12554     for i in 1 2 3 4 5 6; do
   12555       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   12556       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   12557       # Solaris 10 /bin/sh.
   12558       echo '/* dummy */' > sub/conftst$i.h
   12559     done
   12560     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   12561 
   12562     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   12563     # mode.  It turns out that the SunPro C++ compiler does not properly
   12564     # handle '-M -o', and we need to detect this.  Also, some Intel
   12565     # versions had trouble with output in subdirs.
   12566     am__obj=sub/conftest.${OBJEXT-o}
   12567     am__minus_obj="-o $am__obj"
   12568     case $depmode in
   12569     gcc)
   12570       # This depmode causes a compiler race in universal mode.
   12571       test "$am__universal" = false || continue
   12572       ;;
   12573     nosideeffect)
   12574       # After this tag, mechanisms are not by side-effect, so they'll
   12575       # only be used when explicitly requested.
   12576       if test "x$enable_dependency_tracking" = xyes; then
   12577 	continue
   12578       else
   12579 	break
   12580       fi
   12581       ;;
   12582     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   12583       # This compiler won't grok '-c -o', but also, the minuso test has
   12584       # not run yet.  These depmodes are late enough in the game, and
   12585       # so weak that their functioning should not be impacted.
   12586       am__obj=conftest.${OBJEXT-o}
   12587       am__minus_obj=
   12588       ;;
   12589     none) break ;;
   12590     esac
   12591     if depmode=$depmode \
   12592        source=sub/conftest.c object=$am__obj \
   12593        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   12594        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   12595          >/dev/null 2>conftest.err &&
   12596        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   12597        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   12598        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   12599        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   12600       # icc doesn't choke on unknown options, it will just issue warnings
   12601       # or remarks (even with -Werror).  So we grep stderr for any message
   12602       # that says an option was ignored or not supported.
   12603       # When given -MP, icc 7.0 and 7.1 complain thusly:
   12604       #   icc: Command line warning: ignoring option '-M'; no argument required
   12605       # The diagnosis changed in icc 8.0:
   12606       #   icc: Command line remark: option '-MP' not supported
   12607       if (grep 'ignoring option' conftest.err ||
   12608           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   12609         am_cv_CXX_dependencies_compiler_type=$depmode
   12610         break
   12611       fi
   12612     fi
   12613   done
   12614 
   12615   cd ..
   12616   rm -rf conftest.dir
   12617 else
   12618   am_cv_CXX_dependencies_compiler_type=none
   12619 fi
   12620 
   12621 fi
   12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   12623 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   12624 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   12625 
   12626  if
   12627   test "x$enable_dependency_tracking" != xno \
   12628   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   12629   am__fastdepCXX_TRUE=
   12630   am__fastdepCXX_FALSE='#'
   12631 else
   12632   am__fastdepCXX_TRUE='#'
   12633   am__fastdepCXX_FALSE=
   12634 fi
   12635 
   12636 
   12637 
   12638 
   12639 func_stripname_cnf ()
   12640 {
   12641   case ${2} in
   12642   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   12643   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   12644   esac
   12645 } # func_stripname_cnf
   12646 
   12647       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   12648     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   12649     (test "X$CXX" != "Xg++"))) ; then
   12650   ac_ext=cpp
   12651 ac_cpp='$CXXCPP $CPPFLAGS'
   12652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   12656 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   12657 if test -z "$CXXCPP"; then
   12658   if ${ac_cv_prog_CXXCPP+:} false; then :
   12659   $as_echo_n "(cached) " >&6
   12660 else
   12661       # Double quotes because CXXCPP needs to be expanded
   12662     for CXXCPP in "$CXX -E" "/lib/cpp"
   12663     do
   12664       ac_preproc_ok=false
   12665 for ac_cxx_preproc_warn_flag in '' yes
   12666 do
   12667   # Use a header file that comes with gcc, so configuring glibc
   12668   # with a fresh cross-compiler works.
   12669   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12670   # <limits.h> exists even on freestanding compilers.
   12671   # On the NeXT, cc -E runs the code through the compiler's parser,
   12672   # not just through cpp. "Syntax error" is here to catch this case.
   12673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12674 /* end confdefs.h.  */
   12675 #ifdef __STDC__
   12676 # include <limits.h>
   12677 #else
   12678 # include <assert.h>
   12679 #endif
   12680 		     Syntax error
   12681 _ACEOF
   12682 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12683 
   12684 else
   12685   # Broken: fails on valid input.
   12686 continue
   12687 fi
   12688 rm -f conftest.err conftest.i conftest.$ac_ext
   12689 
   12690   # OK, works on sane cases.  Now check whether nonexistent headers
   12691   # can be detected and how.
   12692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12693 /* end confdefs.h.  */
   12694 #include <ac_nonexistent.h>
   12695 _ACEOF
   12696 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12697   # Broken: success on invalid input.
   12698 continue
   12699 else
   12700   # Passes both tests.
   12701 ac_preproc_ok=:
   12702 break
   12703 fi
   12704 rm -f conftest.err conftest.i conftest.$ac_ext
   12705 
   12706 done
   12707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12708 rm -f conftest.i conftest.err conftest.$ac_ext
   12709 if $ac_preproc_ok; then :
   12710   break
   12711 fi
   12712 
   12713     done
   12714     ac_cv_prog_CXXCPP=$CXXCPP
   12715 
   12716 fi
   12717   CXXCPP=$ac_cv_prog_CXXCPP
   12718 else
   12719   ac_cv_prog_CXXCPP=$CXXCPP
   12720 fi
   12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   12722 $as_echo "$CXXCPP" >&6; }
   12723 ac_preproc_ok=false
   12724 for ac_cxx_preproc_warn_flag in '' yes
   12725 do
   12726   # Use a header file that comes with gcc, so configuring glibc
   12727   # with a fresh cross-compiler works.
   12728   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12729   # <limits.h> exists even on freestanding compilers.
   12730   # On the NeXT, cc -E runs the code through the compiler's parser,
   12731   # not just through cpp. "Syntax error" is here to catch this case.
   12732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12733 /* end confdefs.h.  */
   12734 #ifdef __STDC__
   12735 # include <limits.h>
   12736 #else
   12737 # include <assert.h>
   12738 #endif
   12739 		     Syntax error
   12740 _ACEOF
   12741 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12742 
   12743 else
   12744   # Broken: fails on valid input.
   12745 continue
   12746 fi
   12747 rm -f conftest.err conftest.i conftest.$ac_ext
   12748 
   12749   # OK, works on sane cases.  Now check whether nonexistent headers
   12750   # can be detected and how.
   12751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12752 /* end confdefs.h.  */
   12753 #include <ac_nonexistent.h>
   12754 _ACEOF
   12755 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12756   # Broken: success on invalid input.
   12757 continue
   12758 else
   12759   # Passes both tests.
   12760 ac_preproc_ok=:
   12761 break
   12762 fi
   12763 rm -f conftest.err conftest.i conftest.$ac_ext
   12764 
   12765 done
   12766 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12767 rm -f conftest.i conftest.err conftest.$ac_ext
   12768 if $ac_preproc_ok; then :
   12769 
   12770 else
   12771   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12773 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   12774 See \`config.log' for more details" "$LINENO" 5; }
   12775 fi
   12776 
   12777 ac_ext=c
   12778 ac_cpp='$CPP $CPPFLAGS'
   12779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12782 
   12783 else
   12784   _lt_caught_CXX_error=yes
   12785 fi
   12786 
   12787 ac_ext=cpp
   12788 ac_cpp='$CXXCPP $CPPFLAGS'
   12789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12792 
   12793 archive_cmds_need_lc_CXX=no
   12794 allow_undefined_flag_CXX=
   12795 always_export_symbols_CXX=no
   12796 archive_expsym_cmds_CXX=
   12797 compiler_needs_object_CXX=no
   12798 export_dynamic_flag_spec_CXX=
   12799 hardcode_direct_CXX=no
   12800 hardcode_direct_absolute_CXX=no
   12801 hardcode_libdir_flag_spec_CXX=
   12802 hardcode_libdir_flag_spec_ld_CXX=
   12803 hardcode_libdir_separator_CXX=
   12804 hardcode_minus_L_CXX=no
   12805 hardcode_shlibpath_var_CXX=unsupported
   12806 hardcode_automatic_CXX=no
   12807 inherit_rpath_CXX=no
   12808 module_cmds_CXX=
   12809 module_expsym_cmds_CXX=
   12810 link_all_deplibs_CXX=unknown
   12811 old_archive_cmds_CXX=$old_archive_cmds
   12812 reload_flag_CXX=$reload_flag
   12813 reload_cmds_CXX=$reload_cmds
   12814 no_undefined_flag_CXX=
   12815 whole_archive_flag_spec_CXX=
   12816 enable_shared_with_static_runtimes_CXX=no
   12817 
   12818 # Source file extension for C++ test sources.
   12819 ac_ext=cpp
   12820 
   12821 # Object file extension for compiled C++ test sources.
   12822 objext=o
   12823 objext_CXX=$objext
   12824 
   12825 # No sense in running all these tests if we already determined that
   12826 # the CXX compiler isn't working.  Some variables (like enable_shared)
   12827 # are currently assumed to apply to all compilers on this platform,
   12828 # and will be corrupted by setting them based on a non-working compiler.
   12829 if test "$_lt_caught_CXX_error" != yes; then
   12830   # Code to be used in simple compile tests
   12831   lt_simple_compile_test_code="int some_variable = 0;"
   12832 
   12833   # Code to be used in simple link tests
   12834   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   12835 
   12836   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   12837 
   12838 
   12839 
   12840 
   12841 
   12842 
   12843 # If no C compiler was specified, use CC.
   12844 LTCC=${LTCC-"$CC"}
   12845 
   12846 # If no C compiler flags were specified, use CFLAGS.
   12847 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12848 
   12849 # Allow CC to be a program name with arguments.
   12850 compiler=$CC
   12851 
   12852 
   12853   # save warnings/boilerplate of simple test code
   12854   ac_outfile=conftest.$ac_objext
   12855 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12856 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12857 _lt_compiler_boilerplate=`cat conftest.err`
   12858 $RM conftest*
   12859 
   12860   ac_outfile=conftest.$ac_objext
   12861 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   12862 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12863 _lt_linker_boilerplate=`cat conftest.err`
   12864 $RM -r conftest*
   12865 
   12866 
   12867   # Allow CC to be a program name with arguments.
   12868   lt_save_CC=$CC
   12869   lt_save_CFLAGS=$CFLAGS
   12870   lt_save_LD=$LD
   12871   lt_save_GCC=$GCC
   12872   GCC=$GXX
   12873   lt_save_with_gnu_ld=$with_gnu_ld
   12874   lt_save_path_LD=$lt_cv_path_LD
   12875   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   12876     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   12877   else
   12878     $as_unset lt_cv_prog_gnu_ld
   12879   fi
   12880   if test -n "${lt_cv_path_LDCXX+set}"; then
   12881     lt_cv_path_LD=$lt_cv_path_LDCXX
   12882   else
   12883     $as_unset lt_cv_path_LD
   12884   fi
   12885   test -z "${LDCXX+set}" || LD=$LDCXX
   12886   CC=${CXX-"c++"}
   12887   CFLAGS=$CXXFLAGS
   12888   compiler=$CC
   12889   compiler_CXX=$CC
   12890   for cc_temp in $compiler""; do
   12891   case $cc_temp in
   12892     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   12893     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   12894     \-*) ;;
   12895     *) break;;
   12896   esac
   12897 done
   12898 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   12899 
   12900 
   12901   if test -n "$compiler"; then
   12902     # We don't want -fno-exception when compiling C++ code, so set the
   12903     # no_builtin_flag separately
   12904     if test "$GXX" = yes; then
   12905       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   12906     else
   12907       lt_prog_compiler_no_builtin_flag_CXX=
   12908     fi
   12909 
   12910     if test "$GXX" = yes; then
   12911       # Set up default GNU C++ configuration
   12912 
   12913 
   12914 
   12915 # Check whether --with-gnu-ld was given.
   12916 if test "${with_gnu_ld+set}" = set; then :
   12917   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12918 else
   12919   with_gnu_ld=no
   12920 fi
   12921 
   12922 ac_prog=ld
   12923 if test "$GCC" = yes; then
   12924   # Check if gcc -print-prog-name=ld gives a path.
   12925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12926 $as_echo_n "checking for ld used by $CC... " >&6; }
   12927   case $host in
   12928   *-*-mingw*)
   12929     # gcc leaves a trailing carriage return which upsets mingw
   12930     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12931   *)
   12932     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12933   esac
   12934   case $ac_prog in
   12935     # Accept absolute paths.
   12936     [\\/]* | ?:[\\/]*)
   12937       re_direlt='/[^/][^/]*/\.\./'
   12938       # Canonicalize the pathname of ld
   12939       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12940       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12941 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12942       done
   12943       test -z "$LD" && LD="$ac_prog"
   12944       ;;
   12945   "")
   12946     # If it fails, then pretend we aren't using GCC.
   12947     ac_prog=ld
   12948     ;;
   12949   *)
   12950     # If it is relative, then search for the first ld in PATH.
   12951     with_gnu_ld=unknown
   12952     ;;
   12953   esac
   12954 elif test "$with_gnu_ld" = yes; then
   12955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12956 $as_echo_n "checking for GNU ld... " >&6; }
   12957 else
   12958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12959 $as_echo_n "checking for non-GNU ld... " >&6; }
   12960 fi
   12961 if ${lt_cv_path_LD+:} false; then :
   12962   $as_echo_n "(cached) " >&6
   12963 else
   12964   if test -z "$LD"; then
   12965   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   12966   for ac_dir in $PATH; do
   12967     IFS="$lt_save_ifs"
   12968     test -z "$ac_dir" && ac_dir=.
   12969     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12970       lt_cv_path_LD="$ac_dir/$ac_prog"
   12971       # Check to see if the program is GNU ld.  I'd rather use --version,
   12972       # but apparently some variants of GNU ld only accept -v.
   12973       # Break only if it was the GNU/non-GNU ld that we prefer.
   12974       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12975       *GNU* | *'with BFD'*)
   12976 	test "$with_gnu_ld" != no && break
   12977 	;;
   12978       *)
   12979 	test "$with_gnu_ld" != yes && break
   12980 	;;
   12981       esac
   12982     fi
   12983   done
   12984   IFS="$lt_save_ifs"
   12985 else
   12986   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   12987 fi
   12988 fi
   12989 
   12990 LD="$lt_cv_path_LD"
   12991 if test -n "$LD"; then
   12992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12993 $as_echo "$LD" >&6; }
   12994 else
   12995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12996 $as_echo "no" >&6; }
   12997 fi
   12998 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   13000 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   13001 if ${lt_cv_prog_gnu_ld+:} false; then :
   13002   $as_echo_n "(cached) " >&6
   13003 else
   13004   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   13005 case `$LD -v 2>&1 </dev/null` in
   13006 *GNU* | *'with BFD'*)
   13007   lt_cv_prog_gnu_ld=yes
   13008   ;;
   13009 *)
   13010   lt_cv_prog_gnu_ld=no
   13011   ;;
   13012 esac
   13013 fi
   13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   13015 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   13016 with_gnu_ld=$lt_cv_prog_gnu_ld
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   13025       # archiving commands below assume that GNU ld is being used.
   13026       if test "$with_gnu_ld" = yes; then
   13027         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13028         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13029 
   13030         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13031         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13032 
   13033         # If archive_cmds runs LD, not CC, wlarc should be empty
   13034         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   13035         #     investigate it a little bit more. (MM)
   13036         wlarc='${wl}'
   13037 
   13038         # ancient GNU ld didn't support --whole-archive et. al.
   13039         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   13040 	  $GREP 'no-whole-archive' > /dev/null; then
   13041           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13042         else
   13043           whole_archive_flag_spec_CXX=
   13044         fi
   13045       else
   13046         with_gnu_ld=no
   13047         wlarc=
   13048 
   13049         # A generic and very simple default shared library creation
   13050         # command for GNU C++ for the case where it uses the native
   13051         # linker, instead of GNU ld.  If possible, this setting should
   13052         # overridden to take advantage of the native linker features on
   13053         # the platform it is being used on.
   13054         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   13055       fi
   13056 
   13057       # Commands to make compiler produce verbose output that lists
   13058       # what "hidden" libraries, object files and flags are used when
   13059       # linking a shared library.
   13060       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13061 
   13062     else
   13063       GXX=no
   13064       with_gnu_ld=no
   13065       wlarc=
   13066     fi
   13067 
   13068     # PORTME: fill in a description of your system's C++ link characteristics
   13069     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13070 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13071     ld_shlibs_CXX=yes
   13072     case $host_os in
   13073       aix3*)
   13074         # FIXME: insert proper C++ library support
   13075         ld_shlibs_CXX=no
   13076         ;;
   13077       aix[4-9]*)
   13078         if test "$host_cpu" = ia64; then
   13079           # On IA64, the linker does run time linking by default, so we don't
   13080           # have to do anything special.
   13081           aix_use_runtimelinking=no
   13082           exp_sym_flag='-Bexport'
   13083           no_entry_flag=""
   13084         else
   13085           aix_use_runtimelinking=no
   13086 
   13087           # Test if we are trying to use run time linking or normal
   13088           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   13089           # need to do runtime linking.
   13090           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   13091 	    for ld_flag in $LDFLAGS; do
   13092 	      case $ld_flag in
   13093 	      *-brtl*)
   13094 	        aix_use_runtimelinking=yes
   13095 	        break
   13096 	        ;;
   13097 	      esac
   13098 	    done
   13099 	    ;;
   13100           esac
   13101 
   13102           exp_sym_flag='-bexport'
   13103           no_entry_flag='-bnoentry'
   13104         fi
   13105 
   13106         # When large executables or shared objects are built, AIX ld can
   13107         # have problems creating the table of contents.  If linking a library
   13108         # or program results in "error TOC overflow" add -mminimal-toc to
   13109         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   13110         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   13111 
   13112         archive_cmds_CXX=''
   13113         hardcode_direct_CXX=yes
   13114         hardcode_direct_absolute_CXX=yes
   13115         hardcode_libdir_separator_CXX=':'
   13116         link_all_deplibs_CXX=yes
   13117         file_list_spec_CXX='${wl}-f,'
   13118 
   13119         if test "$GXX" = yes; then
   13120           case $host_os in aix4.[012]|aix4.[012].*)
   13121           # We only want to do this on AIX 4.2 and lower, the check
   13122           # below for broken collect2 doesn't work under 4.3+
   13123 	  collect2name=`${CC} -print-prog-name=collect2`
   13124 	  if test -f "$collect2name" &&
   13125 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   13126 	  then
   13127 	    # We have reworked collect2
   13128 	    :
   13129 	  else
   13130 	    # We have old collect2
   13131 	    hardcode_direct_CXX=unsupported
   13132 	    # It fails to find uninstalled libraries when the uninstalled
   13133 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   13134 	    # to unsupported forces relinking
   13135 	    hardcode_minus_L_CXX=yes
   13136 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   13137 	    hardcode_libdir_separator_CXX=
   13138 	  fi
   13139           esac
   13140           shared_flag='-shared'
   13141 	  if test "$aix_use_runtimelinking" = yes; then
   13142 	    shared_flag="$shared_flag "'${wl}-G'
   13143 	  fi
   13144         else
   13145           # not using gcc
   13146           if test "$host_cpu" = ia64; then
   13147 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   13148 	  # chokes on -Wl,-G. The following line is correct:
   13149 	  shared_flag='-G'
   13150           else
   13151 	    if test "$aix_use_runtimelinking" = yes; then
   13152 	      shared_flag='${wl}-G'
   13153 	    else
   13154 	      shared_flag='${wl}-bM:SRE'
   13155 	    fi
   13156           fi
   13157         fi
   13158 
   13159         export_dynamic_flag_spec_CXX='${wl}-bexpall'
   13160         # It seems that -bexpall does not export symbols beginning with
   13161         # underscore (_), so it is better to generate a list of symbols to
   13162 	# export.
   13163         always_export_symbols_CXX=yes
   13164         if test "$aix_use_runtimelinking" = yes; then
   13165           # Warning - without using the other runtime loading flags (-brtl),
   13166           # -berok will link without error, but may produce a broken library.
   13167           allow_undefined_flag_CXX='-berok'
   13168           # Determine the default libpath from the value encoded in an empty
   13169           # executable.
   13170           if test "${lt_cv_aix_libpath+set}" = set; then
   13171   aix_libpath=$lt_cv_aix_libpath
   13172 else
   13173   if ${lt_cv_aix_libpath__CXX+:} false; then :
   13174   $as_echo_n "(cached) " >&6
   13175 else
   13176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13177 /* end confdefs.h.  */
   13178 
   13179 int
   13180 main ()
   13181 {
   13182 
   13183   ;
   13184   return 0;
   13185 }
   13186 _ACEOF
   13187 if ac_fn_cxx_try_link "$LINENO"; then :
   13188 
   13189   lt_aix_libpath_sed='
   13190       /Import File Strings/,/^$/ {
   13191 	  /^0/ {
   13192 	      s/^0  *\([^ ]*\) *$/\1/
   13193 	      p
   13194 	  }
   13195       }'
   13196   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13197   # Check for a 64-bit object if we didn't find anything.
   13198   if test -z "$lt_cv_aix_libpath__CXX"; then
   13199     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13200   fi
   13201 fi
   13202 rm -f core conftest.err conftest.$ac_objext \
   13203     conftest$ac_exeext conftest.$ac_ext
   13204   if test -z "$lt_cv_aix_libpath__CXX"; then
   13205     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
   13206   fi
   13207 
   13208 fi
   13209 
   13210   aix_libpath=$lt_cv_aix_libpath__CXX
   13211 fi
   13212 
   13213           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13214 
   13215           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   13216         else
   13217           if test "$host_cpu" = ia64; then
   13218 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   13219 	    allow_undefined_flag_CXX="-z nodefs"
   13220 	    archive_expsym_cmds_CXX="\$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"
   13221           else
   13222 	    # Determine the default libpath from the value encoded in an
   13223 	    # empty executable.
   13224 	    if test "${lt_cv_aix_libpath+set}" = set; then
   13225   aix_libpath=$lt_cv_aix_libpath
   13226 else
   13227   if ${lt_cv_aix_libpath__CXX+:} false; then :
   13228   $as_echo_n "(cached) " >&6
   13229 else
   13230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13231 /* end confdefs.h.  */
   13232 
   13233 int
   13234 main ()
   13235 {
   13236 
   13237   ;
   13238   return 0;
   13239 }
   13240 _ACEOF
   13241 if ac_fn_cxx_try_link "$LINENO"; then :
   13242 
   13243   lt_aix_libpath_sed='
   13244       /Import File Strings/,/^$/ {
   13245 	  /^0/ {
   13246 	      s/^0  *\([^ ]*\) *$/\1/
   13247 	      p
   13248 	  }
   13249       }'
   13250   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13251   # Check for a 64-bit object if we didn't find anything.
   13252   if test -z "$lt_cv_aix_libpath__CXX"; then
   13253     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13254   fi
   13255 fi
   13256 rm -f core conftest.err conftest.$ac_objext \
   13257     conftest$ac_exeext conftest.$ac_ext
   13258   if test -z "$lt_cv_aix_libpath__CXX"; then
   13259     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
   13260   fi
   13261 
   13262 fi
   13263 
   13264   aix_libpath=$lt_cv_aix_libpath__CXX
   13265 fi
   13266 
   13267 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13268 	    # Warning - without using the other run time loading flags,
   13269 	    # -berok will link without error, but may produce a broken library.
   13270 	    no_undefined_flag_CXX=' ${wl}-bernotok'
   13271 	    allow_undefined_flag_CXX=' ${wl}-berok'
   13272 	    if test "$with_gnu_ld" = yes; then
   13273 	      # We only use this code for GNU lds that support --whole-archive.
   13274 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13275 	    else
   13276 	      # Exported symbols can be pulled into shared objects from archives
   13277 	      whole_archive_flag_spec_CXX='$convenience'
   13278 	    fi
   13279 	    archive_cmds_need_lc_CXX=yes
   13280 	    # This is similar to how AIX traditionally builds its shared
   13281 	    # libraries.
   13282 	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   13283           fi
   13284         fi
   13285         ;;
   13286 
   13287       beos*)
   13288 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13289 	  allow_undefined_flag_CXX=unsupported
   13290 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13291 	  # support --undefined.  This deserves some investigation.  FIXME
   13292 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13293 	else
   13294 	  ld_shlibs_CXX=no
   13295 	fi
   13296 	;;
   13297 
   13298       chorus*)
   13299         case $cc_basename in
   13300           *)
   13301 	  # FIXME: insert proper C++ library support
   13302 	  ld_shlibs_CXX=no
   13303 	  ;;
   13304         esac
   13305         ;;
   13306 
   13307       cygwin* | mingw* | pw32* | cegcc*)
   13308 	case $GXX,$cc_basename in
   13309 	,cl* | no,cl*)
   13310 	  # Native MSVC
   13311 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
   13312 	  # no search path for DLLs.
   13313 	  hardcode_libdir_flag_spec_CXX=' '
   13314 	  allow_undefined_flag_CXX=unsupported
   13315 	  always_export_symbols_CXX=yes
   13316 	  file_list_spec_CXX='@'
   13317 	  # Tell ltmain to make .lib files, not .a files.
   13318 	  libext=lib
   13319 	  # Tell ltmain to make .dll files, not .so files.
   13320 	  shrext_cmds=".dll"
   13321 	  # FIXME: Setting linknames here is a bad hack.
   13322 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   13323 	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13324 	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   13325 	    else
   13326 	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   13327 	    fi~
   13328 	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   13329 	    linknames='
   13330 	  # The linker will not automatically build a static lib if we build a DLL.
   13331 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
   13332 	  enable_shared_with_static_runtimes_CXX=yes
   13333 	  # Don't use ranlib
   13334 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
   13335 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
   13336 	    lt_tool_outputfile="@TOOL_OUTPUT@"~
   13337 	    case $lt_outputfile in
   13338 	      *.exe|*.EXE) ;;
   13339 	      *)
   13340 		lt_outputfile="$lt_outputfile.exe"
   13341 		lt_tool_outputfile="$lt_tool_outputfile.exe"
   13342 		;;
   13343 	    esac~
   13344 	    func_to_tool_file "$lt_outputfile"~
   13345 	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   13346 	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   13347 	      $RM "$lt_outputfile.manifest";
   13348 	    fi'
   13349 	  ;;
   13350 	*)
   13351 	  # g++
   13352 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   13353 	  # as there is no search path for DLLs.
   13354 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   13355 	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
   13356 	  allow_undefined_flag_CXX=unsupported
   13357 	  always_export_symbols_CXX=no
   13358 	  enable_shared_with_static_runtimes_CXX=yes
   13359 
   13360 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   13361 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13362 	    # If the export-symbols file already is a .def file (1st line
   13363 	    # is EXPORTS), use it as is; otherwise, prepend...
   13364 	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13365 	      cp $export_symbols $output_objdir/$soname.def;
   13366 	    else
   13367 	      echo EXPORTS > $output_objdir/$soname.def;
   13368 	      cat $export_symbols >> $output_objdir/$soname.def;
   13369 	    fi~
   13370 	    $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13371 	  else
   13372 	    ld_shlibs_CXX=no
   13373 	  fi
   13374 	  ;;
   13375 	esac
   13376 	;;
   13377       darwin* | rhapsody*)
   13378 
   13379 
   13380   archive_cmds_need_lc_CXX=no
   13381   hardcode_direct_CXX=no
   13382   hardcode_automatic_CXX=yes
   13383   hardcode_shlibpath_var_CXX=unsupported
   13384   if test "$lt_cv_ld_force_load" = "yes"; then
   13385     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   13386   else
   13387     whole_archive_flag_spec_CXX=''
   13388   fi
   13389   link_all_deplibs_CXX=yes
   13390   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   13391   case $cc_basename in
   13392      ifort*) _lt_dar_can_shared=yes ;;
   13393      *) _lt_dar_can_shared=$GCC ;;
   13394   esac
   13395   if test "$_lt_dar_can_shared" = "yes"; then
   13396     output_verbose_link_cmd=func_echo_all
   13397     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   13398     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   13399     archive_expsym_cmds_CXX="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}"
   13400     module_expsym_cmds_CXX="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}"
   13401        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   13402       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
   13403       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
   13404     fi
   13405 
   13406   else
   13407   ld_shlibs_CXX=no
   13408   fi
   13409 
   13410 	;;
   13411 
   13412       dgux*)
   13413         case $cc_basename in
   13414           ec++*)
   13415 	    # FIXME: insert proper C++ library support
   13416 	    ld_shlibs_CXX=no
   13417 	    ;;
   13418           ghcx*)
   13419 	    # Green Hills C++ Compiler
   13420 	    # FIXME: insert proper C++ library support
   13421 	    ld_shlibs_CXX=no
   13422 	    ;;
   13423           *)
   13424 	    # FIXME: insert proper C++ library support
   13425 	    ld_shlibs_CXX=no
   13426 	    ;;
   13427         esac
   13428         ;;
   13429 
   13430       freebsd[12]*)
   13431         # C++ shared libraries reported to be fairly broken before
   13432 	# switch to ELF
   13433         ld_shlibs_CXX=no
   13434         ;;
   13435 
   13436       freebsd-elf*)
   13437         archive_cmds_need_lc_CXX=no
   13438         ;;
   13439 
   13440       freebsd* | dragonfly*)
   13441         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   13442         # conventions
   13443         ld_shlibs_CXX=yes
   13444         ;;
   13445 
   13446       gnu*)
   13447         ;;
   13448 
   13449       haiku*)
   13450         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13451         link_all_deplibs_CXX=yes
   13452         ;;
   13453 
   13454       hpux9*)
   13455         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13456         hardcode_libdir_separator_CXX=:
   13457         export_dynamic_flag_spec_CXX='${wl}-E'
   13458         hardcode_direct_CXX=yes
   13459         hardcode_minus_L_CXX=yes # Not in the search PATH,
   13460 				             # but as the default
   13461 				             # location of the library.
   13462 
   13463         case $cc_basename in
   13464           CC*)
   13465             # FIXME: insert proper C++ library support
   13466             ld_shlibs_CXX=no
   13467             ;;
   13468           aCC*)
   13469             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   13470             # Commands to make compiler produce verbose output that lists
   13471             # what "hidden" libraries, object files and flags are used when
   13472             # linking a shared library.
   13473             #
   13474             # There doesn't appear to be a way to prevent this compiler from
   13475             # explicitly linking system object files so we need to strip them
   13476             # from the output so that they don't get included in the library
   13477             # dependencies.
   13478             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   13479             ;;
   13480           *)
   13481             if test "$GXX" = yes; then
   13482               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   13483             else
   13484               # FIXME: insert proper C++ library support
   13485               ld_shlibs_CXX=no
   13486             fi
   13487             ;;
   13488         esac
   13489         ;;
   13490 
   13491       hpux10*|hpux11*)
   13492         if test $with_gnu_ld = no; then
   13493 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13494 	  hardcode_libdir_separator_CXX=:
   13495 
   13496           case $host_cpu in
   13497             hppa*64*|ia64*)
   13498               ;;
   13499             *)
   13500 	      export_dynamic_flag_spec_CXX='${wl}-E'
   13501               ;;
   13502           esac
   13503         fi
   13504         case $host_cpu in
   13505           hppa*64*|ia64*)
   13506             hardcode_direct_CXX=no
   13507             hardcode_shlibpath_var_CXX=no
   13508             ;;
   13509           *)
   13510             hardcode_direct_CXX=yes
   13511             hardcode_direct_absolute_CXX=yes
   13512             hardcode_minus_L_CXX=yes # Not in the search PATH,
   13513 					         # but as the default
   13514 					         # location of the library.
   13515             ;;
   13516         esac
   13517 
   13518         case $cc_basename in
   13519           CC*)
   13520 	    # FIXME: insert proper C++ library support
   13521 	    ld_shlibs_CXX=no
   13522 	    ;;
   13523           aCC*)
   13524 	    case $host_cpu in
   13525 	      hppa*64*)
   13526 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13527 	        ;;
   13528 	      ia64*)
   13529 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13530 	        ;;
   13531 	      *)
   13532 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13533 	        ;;
   13534 	    esac
   13535 	    # Commands to make compiler produce verbose output that lists
   13536 	    # what "hidden" libraries, object files and flags are used when
   13537 	    # linking a shared library.
   13538 	    #
   13539 	    # There doesn't appear to be a way to prevent this compiler from
   13540 	    # explicitly linking system object files so we need to strip them
   13541 	    # from the output so that they don't get included in the library
   13542 	    # dependencies.
   13543 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   13544 	    ;;
   13545           *)
   13546 	    if test "$GXX" = yes; then
   13547 	      if test $with_gnu_ld = no; then
   13548 	        case $host_cpu in
   13549 	          hppa*64*)
   13550 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13551 	            ;;
   13552 	          ia64*)
   13553 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13554 	            ;;
   13555 	          *)
   13556 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13557 	            ;;
   13558 	        esac
   13559 	      fi
   13560 	    else
   13561 	      # FIXME: insert proper C++ library support
   13562 	      ld_shlibs_CXX=no
   13563 	    fi
   13564 	    ;;
   13565         esac
   13566         ;;
   13567 
   13568       interix[3-9]*)
   13569 	hardcode_direct_CXX=no
   13570 	hardcode_shlibpath_var_CXX=no
   13571 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13572 	export_dynamic_flag_spec_CXX='${wl}-E'
   13573 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13574 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   13575 	# default) and relocated if they conflict, which is a slow very memory
   13576 	# consuming and fragmenting process.  To avoid this, we pick a random,
   13577 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13578 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13579 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   13580 	archive_expsym_cmds_CXX='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'
   13581 	;;
   13582       irix5* | irix6*)
   13583         case $cc_basename in
   13584           CC*)
   13585 	    # SGI C++
   13586 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   13587 
   13588 	    # Archives containing C++ object files must be created using
   13589 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   13590 	    # necessary to make sure instantiated templates are included
   13591 	    # in the archive.
   13592 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   13593 	    ;;
   13594           *)
   13595 	    if test "$GXX" = yes; then
   13596 	      if test "$with_gnu_ld" = no; then
   13597 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
   13598 	      else
   13599 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
   13600 	      fi
   13601 	    fi
   13602 	    link_all_deplibs_CXX=yes
   13603 	    ;;
   13604         esac
   13605         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13606         hardcode_libdir_separator_CXX=:
   13607         inherit_rpath_CXX=yes
   13608         ;;
   13609 
   13610       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   13611         case $cc_basename in
   13612           KCC*)
   13613 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13614 
   13615 	    # KCC will only create a shared library if the output file
   13616 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13617 	    # to its proper name (with version) after linking.
   13618 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   13619 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
   13620 	    # Commands to make compiler produce verbose output that lists
   13621 	    # what "hidden" libraries, object files and flags are used when
   13622 	    # linking a shared library.
   13623 	    #
   13624 	    # There doesn't appear to be a way to prevent this compiler from
   13625 	    # explicitly linking system object files so we need to strip them
   13626 	    # from the output so that they don't get included in the library
   13627 	    # dependencies.
   13628 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   13629 
   13630 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13631 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13632 
   13633 	    # Archives containing C++ object files must be created using
   13634 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   13635 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   13636 	    ;;
   13637 	  icpc* | ecpc* )
   13638 	    # Intel C++
   13639 	    with_gnu_ld=yes
   13640 	    # version 8.0 and above of icpc choke on multiply defined symbols
   13641 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   13642 	    # earlier do not add the objects themselves.
   13643 	    case `$CC -V 2>&1` in
   13644 	      *"Version 7."*)
   13645 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13646 		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13647 		;;
   13648 	      *)  # Version 8.0 or newer
   13649 	        tmp_idyn=
   13650 	        case $host_cpu in
   13651 		  ia64*) tmp_idyn=' -i_dynamic';;
   13652 		esac
   13653 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13654 		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13655 		;;
   13656 	    esac
   13657 	    archive_cmds_need_lc_CXX=no
   13658 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13659 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13660 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13661 	    ;;
   13662           pgCC* | pgcpp*)
   13663             # Portland Group C++ compiler
   13664 	    case `$CC -V` in
   13665 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   13666 	      prelink_cmds_CXX='tpldir=Template.dir~
   13667 		rm -rf $tpldir~
   13668 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   13669 		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   13670 	      old_archive_cmds_CXX='tpldir=Template.dir~
   13671 		rm -rf $tpldir~
   13672 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   13673 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   13674 		$RANLIB $oldlib'
   13675 	      archive_cmds_CXX='tpldir=Template.dir~
   13676 		rm -rf $tpldir~
   13677 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13678 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13679 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   13680 		rm -rf $tpldir~
   13681 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13682 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   13683 	      ;;
   13684 	    *) # Version 6 and above use weak symbols
   13685 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13686 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   13687 	      ;;
   13688 	    esac
   13689 
   13690 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   13691 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13692 	    whole_archive_flag_spec_CXX='${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'
   13693             ;;
   13694 	  cxx*)
   13695 	    # Compaq C++
   13696 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13697 	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
   13698 
   13699 	    runpath_var=LD_RUN_PATH
   13700 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13701 	    hardcode_libdir_separator_CXX=:
   13702 
   13703 	    # Commands to make compiler produce verbose output that lists
   13704 	    # what "hidden" libraries, object files and flags are used when
   13705 	    # linking a shared library.
   13706 	    #
   13707 	    # There doesn't appear to be a way to prevent this compiler from
   13708 	    # explicitly linking system object files so we need to strip them
   13709 	    # from the output so that they don't get included in the library
   13710 	    # dependencies.
   13711 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
   13712 	    ;;
   13713 	  xl* | mpixl* | bgxl*)
   13714 	    # IBM XL 8.0 on PPC, with GNU ld
   13715 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13716 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13717 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13718 	    if test "x$supports_anon_versioning" = xyes; then
   13719 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   13720 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13721 		echo "local: *; };" >> $output_objdir/$libname.ver~
   13722 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13723 	    fi
   13724 	    ;;
   13725 	  *)
   13726 	    case `$CC -V 2>&1 | sed 5q` in
   13727 	    *Sun\ C*)
   13728 	      # Sun C++ 5.9
   13729 	      no_undefined_flag_CXX=' -zdefs'
   13730 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13731 	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   13732 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   13733 	      whole_archive_flag_spec_CXX='${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'
   13734 	      compiler_needs_object_CXX=yes
   13735 
   13736 	      # Not sure whether something based on
   13737 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   13738 	      # would be better.
   13739 	      output_verbose_link_cmd='func_echo_all'
   13740 
   13741 	      # Archives containing C++ object files must be created using
   13742 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13743 	      # necessary to make sure instantiated templates are included
   13744 	      # in the archive.
   13745 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13746 	      ;;
   13747 	    esac
   13748 	    ;;
   13749 	esac
   13750 	;;
   13751 
   13752       lynxos*)
   13753         # FIXME: insert proper C++ library support
   13754 	ld_shlibs_CXX=no
   13755 	;;
   13756 
   13757       m88k*)
   13758         # FIXME: insert proper C++ library support
   13759         ld_shlibs_CXX=no
   13760 	;;
   13761 
   13762       mvs*)
   13763         case $cc_basename in
   13764           cxx*)
   13765 	    # FIXME: insert proper C++ library support
   13766 	    ld_shlibs_CXX=no
   13767 	    ;;
   13768 	  *)
   13769 	    # FIXME: insert proper C++ library support
   13770 	    ld_shlibs_CXX=no
   13771 	    ;;
   13772 	esac
   13773 	;;
   13774 
   13775       netbsd*)
   13776         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13777 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   13778 	  wlarc=
   13779 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   13780 	  hardcode_direct_CXX=yes
   13781 	  hardcode_shlibpath_var_CXX=no
   13782 	fi
   13783 	# Workaround some broken pre-1.5 toolchains
   13784 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   13785 	;;
   13786 
   13787       *nto* | *qnx*)
   13788         ld_shlibs_CXX=yes
   13789 	;;
   13790 
   13791       openbsd2*)
   13792         # C++ shared libraries are fairly broken
   13793 	ld_shlibs_CXX=no
   13794 	;;
   13795 
   13796       openbsd*)
   13797 	if test -f /usr/libexec/ld.so; then
   13798 	  hardcode_direct_CXX=yes
   13799 	  hardcode_shlibpath_var_CXX=no
   13800 	  hardcode_direct_absolute_CXX=yes
   13801 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   13802 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13803 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13804 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   13805 	    export_dynamic_flag_spec_CXX='${wl}-E'
   13806 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13807 	  fi
   13808 	  output_verbose_link_cmd=func_echo_all
   13809 	else
   13810 	  ld_shlibs_CXX=no
   13811 	fi
   13812 	;;
   13813 
   13814       osf3* | osf4* | osf5*)
   13815         case $cc_basename in
   13816           KCC*)
   13817 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13818 
   13819 	    # KCC will only create a shared library if the output file
   13820 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13821 	    # to its proper name (with version) after linking.
   13822 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   13823 
   13824 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13825 	    hardcode_libdir_separator_CXX=:
   13826 
   13827 	    # Archives containing C++ object files must be created using
   13828 	    # the KAI C++ compiler.
   13829 	    case $host in
   13830 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   13831 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   13832 	    esac
   13833 	    ;;
   13834           RCC*)
   13835 	    # Rational C++ 2.4.1
   13836 	    # FIXME: insert proper C++ library support
   13837 	    ld_shlibs_CXX=no
   13838 	    ;;
   13839           cxx*)
   13840 	    case $host in
   13841 	      osf3*)
   13842 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   13843 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   13844 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13845 		;;
   13846 	      *)
   13847 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   13848 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   13849 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   13850 	          echo "-hidden">> $lib.exp~
   13851 	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
   13852 	          $RM $lib.exp'
   13853 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13854 		;;
   13855 	    esac
   13856 
   13857 	    hardcode_libdir_separator_CXX=:
   13858 
   13859 	    # Commands to make compiler produce verbose output that lists
   13860 	    # what "hidden" libraries, object files and flags are used when
   13861 	    # linking a shared library.
   13862 	    #
   13863 	    # There doesn't appear to be a way to prevent this compiler from
   13864 	    # explicitly linking system object files so we need to strip them
   13865 	    # from the output so that they don't get included in the library
   13866 	    # dependencies.
   13867 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   13868 	    ;;
   13869 	  *)
   13870 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13871 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   13872 	      case $host in
   13873 	        osf3*)
   13874 	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
   13875 		  ;;
   13876 	        *)
   13877 	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
   13878 		  ;;
   13879 	      esac
   13880 
   13881 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13882 	      hardcode_libdir_separator_CXX=:
   13883 
   13884 	      # Commands to make compiler produce verbose output that lists
   13885 	      # what "hidden" libraries, object files and flags are used when
   13886 	      # linking a shared library.
   13887 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13888 
   13889 	    else
   13890 	      # FIXME: insert proper C++ library support
   13891 	      ld_shlibs_CXX=no
   13892 	    fi
   13893 	    ;;
   13894         esac
   13895         ;;
   13896 
   13897       psos*)
   13898         # FIXME: insert proper C++ library support
   13899         ld_shlibs_CXX=no
   13900         ;;
   13901 
   13902       sunos4*)
   13903         case $cc_basename in
   13904           CC*)
   13905 	    # Sun C++ 4.x
   13906 	    # FIXME: insert proper C++ library support
   13907 	    ld_shlibs_CXX=no
   13908 	    ;;
   13909           lcc*)
   13910 	    # Lucid
   13911 	    # FIXME: insert proper C++ library support
   13912 	    ld_shlibs_CXX=no
   13913 	    ;;
   13914           *)
   13915 	    # FIXME: insert proper C++ library support
   13916 	    ld_shlibs_CXX=no
   13917 	    ;;
   13918         esac
   13919         ;;
   13920 
   13921       solaris*)
   13922         case $cc_basename in
   13923           CC* | sunCC*)
   13924 	    # Sun C++ 4.2, 5.x and Centerline C++
   13925             archive_cmds_need_lc_CXX=yes
   13926 	    no_undefined_flag_CXX=' -zdefs'
   13927 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13928 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13929 	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13930 
   13931 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   13932 	    hardcode_shlibpath_var_CXX=no
   13933 	    case $host_os in
   13934 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   13935 	      *)
   13936 		# The compiler driver will combine and reorder linker options,
   13937 		# but understands `-z linker_flag'.
   13938 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   13939 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   13940 	        ;;
   13941 	    esac
   13942 	    link_all_deplibs_CXX=yes
   13943 
   13944 	    output_verbose_link_cmd='func_echo_all'
   13945 
   13946 	    # Archives containing C++ object files must be created using
   13947 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13948 	    # necessary to make sure instantiated templates are included
   13949 	    # in the archive.
   13950 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13951 	    ;;
   13952           gcx*)
   13953 	    # Green Hills C++ Compiler
   13954 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13955 
   13956 	    # The C++ compiler must be used to create the archive.
   13957 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   13958 	    ;;
   13959           *)
   13960 	    # GNU C++ compiler with Solaris linker
   13961 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13962 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   13963 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   13964 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13965 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13966 		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13967 
   13968 	        # Commands to make compiler produce verbose output that lists
   13969 	        # what "hidden" libraries, object files and flags are used when
   13970 	        # linking a shared library.
   13971 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13972 	      else
   13973 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
   13974 	        # platform.
   13975 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13976 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13977 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13978 
   13979 	        # Commands to make compiler produce verbose output that lists
   13980 	        # what "hidden" libraries, object files and flags are used when
   13981 	        # linking a shared library.
   13982 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13983 	      fi
   13984 
   13985 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   13986 	      case $host_os in
   13987 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   13988 		*)
   13989 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   13990 		  ;;
   13991 	      esac
   13992 	    fi
   13993 	    ;;
   13994         esac
   13995         ;;
   13996 
   13997     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   13998       no_undefined_flag_CXX='${wl}-z,text'
   13999       archive_cmds_need_lc_CXX=no
   14000       hardcode_shlibpath_var_CXX=no
   14001       runpath_var='LD_RUN_PATH'
   14002 
   14003       case $cc_basename in
   14004         CC*)
   14005 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14006 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14007 	  ;;
   14008 	*)
   14009 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14010 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14011 	  ;;
   14012       esac
   14013       ;;
   14014 
   14015       sysv5* | sco3.2v5* | sco5v6*)
   14016 	# Note: We can NOT use -z defs as we might desire, because we do not
   14017 	# link with -lc, and that would cause any symbols used from libc to
   14018 	# always be unresolved, which means just about no library would
   14019 	# ever link correctly.  If we're not using GNU ld we use -z text
   14020 	# though, which does catch some bad symbols but isn't as heavy-handed
   14021 	# as -z defs.
   14022 	no_undefined_flag_CXX='${wl}-z,text'
   14023 	allow_undefined_flag_CXX='${wl}-z,nodefs'
   14024 	archive_cmds_need_lc_CXX=no
   14025 	hardcode_shlibpath_var_CXX=no
   14026 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
   14027 	hardcode_libdir_separator_CXX=':'
   14028 	link_all_deplibs_CXX=yes
   14029 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
   14030 	runpath_var='LD_RUN_PATH'
   14031 
   14032 	case $cc_basename in
   14033           CC*)
   14034 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14035 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14036 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   14037 	      '"$old_archive_cmds_CXX"
   14038 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   14039 	      '"$reload_cmds_CXX"
   14040 	    ;;
   14041 	  *)
   14042 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14043 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14044 	    ;;
   14045 	esac
   14046       ;;
   14047 
   14048       tandem*)
   14049         case $cc_basename in
   14050           NCC*)
   14051 	    # NonStop-UX NCC 3.20
   14052 	    # FIXME: insert proper C++ library support
   14053 	    ld_shlibs_CXX=no
   14054 	    ;;
   14055           *)
   14056 	    # FIXME: insert proper C++ library support
   14057 	    ld_shlibs_CXX=no
   14058 	    ;;
   14059         esac
   14060         ;;
   14061 
   14062       vxworks*)
   14063         # FIXME: insert proper C++ library support
   14064         ld_shlibs_CXX=no
   14065         ;;
   14066 
   14067       *)
   14068         # FIXME: insert proper C++ library support
   14069         ld_shlibs_CXX=no
   14070         ;;
   14071     esac
   14072 
   14073     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   14074 $as_echo "$ld_shlibs_CXX" >&6; }
   14075     test "$ld_shlibs_CXX" = no && can_build_shared=no
   14076 
   14077     GCC_CXX="$GXX"
   14078     LD_CXX="$LD"
   14079 
   14080     ## CAVEAT EMPTOR:
   14081     ## There is no encapsulation within the following macros, do not change
   14082     ## the running order or otherwise move them around unless you know exactly
   14083     ## what you are doing...
   14084     # Dependencies to place before and after the object being linked:
   14085 predep_objects_CXX=
   14086 postdep_objects_CXX=
   14087 predeps_CXX=
   14088 postdeps_CXX=
   14089 compiler_lib_search_path_CXX=
   14090 
   14091 cat > conftest.$ac_ext <<_LT_EOF
   14092 class Foo
   14093 {
   14094 public:
   14095   Foo (void) { a = 0; }
   14096 private:
   14097   int a;
   14098 };
   14099 _LT_EOF
   14100 
   14101 
   14102 _lt_libdeps_save_CFLAGS=$CFLAGS
   14103 case "$CC $CFLAGS " in #(
   14104 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
   14105 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
   14106 esac
   14107 
   14108 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14109   (eval $ac_compile) 2>&5
   14110   ac_status=$?
   14111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14112   test $ac_status = 0; }; then
   14113   # Parse the compiler output and extract the necessary
   14114   # objects, libraries and library flags.
   14115 
   14116   # Sentinel used to keep track of whether or not we are before
   14117   # the conftest object file.
   14118   pre_test_object_deps_done=no
   14119 
   14120   for p in `eval "$output_verbose_link_cmd"`; do
   14121     case ${prev}${p} in
   14122 
   14123     -L* | -R* | -l*)
   14124        # Some compilers place space between "-{L,R}" and the path.
   14125        # Remove the space.
   14126        if test $p = "-L" ||
   14127           test $p = "-R"; then
   14128 	 prev=$p
   14129 	 continue
   14130        fi
   14131 
   14132        # Expand the sysroot to ease extracting the directories later.
   14133        if test -z "$prev"; then
   14134          case $p in
   14135          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
   14136          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
   14137          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
   14138          esac
   14139        fi
   14140        case $p in
   14141        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
   14142        esac
   14143        if test "$pre_test_object_deps_done" = no; then
   14144 	 case ${prev} in
   14145 	 -L | -R)
   14146 	   # Internal compiler library paths should come after those
   14147 	   # provided the user.  The postdeps already come after the
   14148 	   # user supplied libs so there is no need to process them.
   14149 	   if test -z "$compiler_lib_search_path_CXX"; then
   14150 	     compiler_lib_search_path_CXX="${prev}${p}"
   14151 	   else
   14152 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   14153 	   fi
   14154 	   ;;
   14155 	 # The "-l" case would never come before the object being
   14156 	 # linked, so don't bother handling this case.
   14157 	 esac
   14158        else
   14159 	 if test -z "$postdeps_CXX"; then
   14160 	   postdeps_CXX="${prev}${p}"
   14161 	 else
   14162 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   14163 	 fi
   14164        fi
   14165        prev=
   14166        ;;
   14167 
   14168     *.lto.$objext) ;; # Ignore GCC LTO objects
   14169     *.$objext)
   14170        # This assumes that the test object file only shows up
   14171        # once in the compiler output.
   14172        if test "$p" = "conftest.$objext"; then
   14173 	 pre_test_object_deps_done=yes
   14174 	 continue
   14175        fi
   14176 
   14177        if test "$pre_test_object_deps_done" = no; then
   14178 	 if test -z "$predep_objects_CXX"; then
   14179 	   predep_objects_CXX="$p"
   14180 	 else
   14181 	   predep_objects_CXX="$predep_objects_CXX $p"
   14182 	 fi
   14183        else
   14184 	 if test -z "$postdep_objects_CXX"; then
   14185 	   postdep_objects_CXX="$p"
   14186 	 else
   14187 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   14188 	 fi
   14189        fi
   14190        ;;
   14191 
   14192     *) ;; # Ignore the rest.
   14193 
   14194     esac
   14195   done
   14196 
   14197   # Clean up.
   14198   rm -f a.out a.exe
   14199 else
   14200   echo "libtool.m4: error: problem compiling CXX test program"
   14201 fi
   14202 
   14203 $RM -f confest.$objext
   14204 CFLAGS=$_lt_libdeps_save_CFLAGS
   14205 
   14206 # PORTME: override above test on systems where it is broken
   14207 case $host_os in
   14208 interix[3-9]*)
   14209   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   14210   # hack all around it, let's just trust "g++" to DTRT.
   14211   predep_objects_CXX=
   14212   postdep_objects_CXX=
   14213   postdeps_CXX=
   14214   ;;
   14215 
   14216 linux*)
   14217   case `$CC -V 2>&1 | sed 5q` in
   14218   *Sun\ C*)
   14219     # Sun C++ 5.9
   14220 
   14221     # The more standards-conforming stlport4 library is
   14222     # incompatible with the Cstd library. Avoid specifying
   14223     # it if it's in CXXFLAGS. Ignore libCrun as
   14224     # -library=stlport4 depends on it.
   14225     case " $CXX $CXXFLAGS " in
   14226     *" -library=stlport4 "*)
   14227       solaris_use_stlport4=yes
   14228       ;;
   14229     esac
   14230 
   14231     if test "$solaris_use_stlport4" != yes; then
   14232       postdeps_CXX='-library=Cstd -library=Crun'
   14233     fi
   14234     ;;
   14235   esac
   14236   ;;
   14237 
   14238 solaris*)
   14239   case $cc_basename in
   14240   CC* | sunCC*)
   14241     # The more standards-conforming stlport4 library is
   14242     # incompatible with the Cstd library. Avoid specifying
   14243     # it if it's in CXXFLAGS. Ignore libCrun as
   14244     # -library=stlport4 depends on it.
   14245     case " $CXX $CXXFLAGS " in
   14246     *" -library=stlport4 "*)
   14247       solaris_use_stlport4=yes
   14248       ;;
   14249     esac
   14250 
   14251     # Adding this requires a known-good setup of shared libraries for
   14252     # Sun compiler versions before 5.6, else PIC objects from an old
   14253     # archive will be linked into the output, leading to subtle bugs.
   14254     if test "$solaris_use_stlport4" != yes; then
   14255       postdeps_CXX='-library=Cstd -library=Crun'
   14256     fi
   14257     ;;
   14258   esac
   14259   ;;
   14260 esac
   14261 
   14262 
   14263 case " $postdeps_CXX " in
   14264 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   14265 esac
   14266  compiler_lib_search_dirs_CXX=
   14267 if test -n "${compiler_lib_search_path_CXX}"; then
   14268  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   14269 fi
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 
   14294 
   14295 
   14296 
   14297 
   14298 
   14299 
   14300 
   14301     lt_prog_compiler_wl_CXX=
   14302 lt_prog_compiler_pic_CXX=
   14303 lt_prog_compiler_static_CXX=
   14304 
   14305 
   14306   # C++ specific cases for pic, static, wl, etc.
   14307   if test "$GXX" = yes; then
   14308     lt_prog_compiler_wl_CXX='-Wl,'
   14309     lt_prog_compiler_static_CXX='-static'
   14310 
   14311     case $host_os in
   14312     aix*)
   14313       # All AIX code is PIC.
   14314       if test "$host_cpu" = ia64; then
   14315 	# AIX 5 now supports IA64 processor
   14316 	lt_prog_compiler_static_CXX='-Bstatic'
   14317       fi
   14318       ;;
   14319 
   14320     amigaos*)
   14321       case $host_cpu in
   14322       powerpc)
   14323             # see comment about AmigaOS4 .so support
   14324             lt_prog_compiler_pic_CXX='-fPIC'
   14325         ;;
   14326       m68k)
   14327             # FIXME: we need at least 68020 code to build shared libraries, but
   14328             # adding the `-m68020' flag to GCC prevents building anything better,
   14329             # like `-m68040'.
   14330             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   14331         ;;
   14332       esac
   14333       ;;
   14334 
   14335     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14336       # PIC is the default for these OSes.
   14337       ;;
   14338     mingw* | cygwin* | os2* | pw32* | cegcc*)
   14339       # This hack is so that the source file can tell whether it is being
   14340       # built for inclusion in a dll (and should export symbols for example).
   14341       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14342       # (--disable-auto-import) libraries
   14343       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   14344       ;;
   14345     darwin* | rhapsody*)
   14346       # PIC is the default on this platform
   14347       # Common symbols not allowed in MH_DYLIB files
   14348       lt_prog_compiler_pic_CXX='-fno-common'
   14349       ;;
   14350     *djgpp*)
   14351       # DJGPP does not support shared libraries at all
   14352       lt_prog_compiler_pic_CXX=
   14353       ;;
   14354     haiku*)
   14355       # PIC is the default for Haiku.
   14356       # The "-static" flag exists, but is broken.
   14357       lt_prog_compiler_static_CXX=
   14358       ;;
   14359     interix[3-9]*)
   14360       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14361       # Instead, we relocate shared libraries at runtime.
   14362       ;;
   14363     sysv4*MP*)
   14364       if test -d /usr/nec; then
   14365 	lt_prog_compiler_pic_CXX=-Kconform_pic
   14366       fi
   14367       ;;
   14368     hpux*)
   14369       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14370       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14371       # sets the default TLS model and affects inlining.
   14372       case $host_cpu in
   14373       hppa*64*)
   14374 	;;
   14375       *)
   14376 	lt_prog_compiler_pic_CXX='-fPIC'
   14377 	;;
   14378       esac
   14379       ;;
   14380     *qnx* | *nto*)
   14381       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14382       # it will coredump.
   14383       lt_prog_compiler_pic_CXX='-fPIC -shared'
   14384       ;;
   14385     *)
   14386       lt_prog_compiler_pic_CXX='-fPIC'
   14387       ;;
   14388     esac
   14389   else
   14390     case $host_os in
   14391       aix[4-9]*)
   14392 	# All AIX code is PIC.
   14393 	if test "$host_cpu" = ia64; then
   14394 	  # AIX 5 now supports IA64 processor
   14395 	  lt_prog_compiler_static_CXX='-Bstatic'
   14396 	else
   14397 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   14398 	fi
   14399 	;;
   14400       chorus*)
   14401 	case $cc_basename in
   14402 	cxch68*)
   14403 	  # Green Hills C++ Compiler
   14404 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   14405 	  ;;
   14406 	esac
   14407 	;;
   14408       mingw* | cygwin* | os2* | pw32* | cegcc*)
   14409 	# This hack is so that the source file can tell whether it is being
   14410 	# built for inclusion in a dll (and should export symbols for example).
   14411 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   14412 	;;
   14413       dgux*)
   14414 	case $cc_basename in
   14415 	  ec++*)
   14416 	    lt_prog_compiler_pic_CXX='-KPIC'
   14417 	    ;;
   14418 	  ghcx*)
   14419 	    # Green Hills C++ Compiler
   14420 	    lt_prog_compiler_pic_CXX='-pic'
   14421 	    ;;
   14422 	  *)
   14423 	    ;;
   14424 	esac
   14425 	;;
   14426       freebsd* | dragonfly*)
   14427 	# FreeBSD uses GNU C++
   14428 	;;
   14429       hpux9* | hpux10* | hpux11*)
   14430 	case $cc_basename in
   14431 	  CC*)
   14432 	    lt_prog_compiler_wl_CXX='-Wl,'
   14433 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14434 	    if test "$host_cpu" != ia64; then
   14435 	      lt_prog_compiler_pic_CXX='+Z'
   14436 	    fi
   14437 	    ;;
   14438 	  aCC*)
   14439 	    lt_prog_compiler_wl_CXX='-Wl,'
   14440 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14441 	    case $host_cpu in
   14442 	    hppa*64*|ia64*)
   14443 	      # +Z the default
   14444 	      ;;
   14445 	    *)
   14446 	      lt_prog_compiler_pic_CXX='+Z'
   14447 	      ;;
   14448 	    esac
   14449 	    ;;
   14450 	  *)
   14451 	    ;;
   14452 	esac
   14453 	;;
   14454       interix*)
   14455 	# This is c89, which is MS Visual C++ (no shared libs)
   14456 	# Anyone wants to do a port?
   14457 	;;
   14458       irix5* | irix6* | nonstopux*)
   14459 	case $cc_basename in
   14460 	  CC*)
   14461 	    lt_prog_compiler_wl_CXX='-Wl,'
   14462 	    lt_prog_compiler_static_CXX='-non_shared'
   14463 	    # CC pic flag -KPIC is the default.
   14464 	    ;;
   14465 	  *)
   14466 	    ;;
   14467 	esac
   14468 	;;
   14469       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14470 	case $cc_basename in
   14471 	  KCC*)
   14472 	    # KAI C++ Compiler
   14473 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14474 	    lt_prog_compiler_pic_CXX='-fPIC'
   14475 	    ;;
   14476 	  ecpc* )
   14477 	    # old Intel C++ for x86_64 which still supported -KPIC.
   14478 	    lt_prog_compiler_wl_CXX='-Wl,'
   14479 	    lt_prog_compiler_pic_CXX='-KPIC'
   14480 	    lt_prog_compiler_static_CXX='-static'
   14481 	    ;;
   14482 	  icpc* )
   14483 	    # Intel C++, used to be incompatible with GCC.
   14484 	    # ICC 10 doesn't accept -KPIC any more.
   14485 	    lt_prog_compiler_wl_CXX='-Wl,'
   14486 	    lt_prog_compiler_pic_CXX='-fPIC'
   14487 	    lt_prog_compiler_static_CXX='-static'
   14488 	    ;;
   14489 	  pgCC* | pgcpp*)
   14490 	    # Portland Group C++ compiler
   14491 	    lt_prog_compiler_wl_CXX='-Wl,'
   14492 	    lt_prog_compiler_pic_CXX='-fpic'
   14493 	    lt_prog_compiler_static_CXX='-Bstatic'
   14494 	    ;;
   14495 	  cxx*)
   14496 	    # Compaq C++
   14497 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14498 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14499 	    lt_prog_compiler_pic_CXX=
   14500 	    lt_prog_compiler_static_CXX='-non_shared'
   14501 	    ;;
   14502 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   14503 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   14504 	    lt_prog_compiler_wl_CXX='-Wl,'
   14505 	    lt_prog_compiler_pic_CXX='-qpic'
   14506 	    lt_prog_compiler_static_CXX='-qstaticlink'
   14507 	    ;;
   14508 	  *)
   14509 	    case `$CC -V 2>&1 | sed 5q` in
   14510 	    *Sun\ C*)
   14511 	      # Sun C++ 5.9
   14512 	      lt_prog_compiler_pic_CXX='-KPIC'
   14513 	      lt_prog_compiler_static_CXX='-Bstatic'
   14514 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   14515 	      ;;
   14516 	    esac
   14517 	    ;;
   14518 	esac
   14519 	;;
   14520       lynxos*)
   14521 	;;
   14522       m88k*)
   14523 	;;
   14524       mvs*)
   14525 	case $cc_basename in
   14526 	  cxx*)
   14527 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   14528 	    ;;
   14529 	  *)
   14530 	    ;;
   14531 	esac
   14532 	;;
   14533       netbsd*)
   14534 	;;
   14535       *qnx* | *nto*)
   14536         # QNX uses GNU C++, but need to define -shared option too, otherwise
   14537         # it will coredump.
   14538         lt_prog_compiler_pic_CXX='-fPIC -shared'
   14539         ;;
   14540       osf3* | osf4* | osf5*)
   14541 	case $cc_basename in
   14542 	  KCC*)
   14543 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14544 	    ;;
   14545 	  RCC*)
   14546 	    # Rational C++ 2.4.1
   14547 	    lt_prog_compiler_pic_CXX='-pic'
   14548 	    ;;
   14549 	  cxx*)
   14550 	    # Digital/Compaq C++
   14551 	    lt_prog_compiler_wl_CXX='-Wl,'
   14552 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14553 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14554 	    lt_prog_compiler_pic_CXX=
   14555 	    lt_prog_compiler_static_CXX='-non_shared'
   14556 	    ;;
   14557 	  *)
   14558 	    ;;
   14559 	esac
   14560 	;;
   14561       psos*)
   14562 	;;
   14563       solaris*)
   14564 	case $cc_basename in
   14565 	  CC* | sunCC*)
   14566 	    # Sun C++ 4.2, 5.x and Centerline C++
   14567 	    lt_prog_compiler_pic_CXX='-KPIC'
   14568 	    lt_prog_compiler_static_CXX='-Bstatic'
   14569 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   14570 	    ;;
   14571 	  gcx*)
   14572 	    # Green Hills C++ Compiler
   14573 	    lt_prog_compiler_pic_CXX='-PIC'
   14574 	    ;;
   14575 	  *)
   14576 	    ;;
   14577 	esac
   14578 	;;
   14579       sunos4*)
   14580 	case $cc_basename in
   14581 	  CC*)
   14582 	    # Sun C++ 4.x
   14583 	    lt_prog_compiler_pic_CXX='-pic'
   14584 	    lt_prog_compiler_static_CXX='-Bstatic'
   14585 	    ;;
   14586 	  lcc*)
   14587 	    # Lucid
   14588 	    lt_prog_compiler_pic_CXX='-pic'
   14589 	    ;;
   14590 	  *)
   14591 	    ;;
   14592 	esac
   14593 	;;
   14594       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14595 	case $cc_basename in
   14596 	  CC*)
   14597 	    lt_prog_compiler_wl_CXX='-Wl,'
   14598 	    lt_prog_compiler_pic_CXX='-KPIC'
   14599 	    lt_prog_compiler_static_CXX='-Bstatic'
   14600 	    ;;
   14601 	esac
   14602 	;;
   14603       tandem*)
   14604 	case $cc_basename in
   14605 	  NCC*)
   14606 	    # NonStop-UX NCC 3.20
   14607 	    lt_prog_compiler_pic_CXX='-KPIC'
   14608 	    ;;
   14609 	  *)
   14610 	    ;;
   14611 	esac
   14612 	;;
   14613       vxworks*)
   14614 	;;
   14615       *)
   14616 	lt_prog_compiler_can_build_shared_CXX=no
   14617 	;;
   14618     esac
   14619   fi
   14620 
   14621 case $host_os in
   14622   # For platforms which do not support PIC, -DPIC is meaningless:
   14623   *djgpp*)
   14624     lt_prog_compiler_pic_CXX=
   14625     ;;
   14626   *)
   14627     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   14628     ;;
   14629 esac
   14630 
   14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14632 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14633 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
   14634   $as_echo_n "(cached) " >&6
   14635 else
   14636   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
   14637 fi
   14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   14639 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
   14640 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   14641 
   14642 #
   14643 # Check to make sure the PIC flag actually works.
   14644 #
   14645 if test -n "$lt_prog_compiler_pic_CXX"; then
   14646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   14647 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   14648 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   14649   $as_echo_n "(cached) " >&6
   14650 else
   14651   lt_cv_prog_compiler_pic_works_CXX=no
   14652    ac_outfile=conftest.$ac_objext
   14653    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14654    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   14655    # Insert the option either (1) after the last *FLAGS variable, or
   14656    # (2) before a word containing "conftest.", or (3) at the end.
   14657    # Note that $ac_compile itself does not contain backslashes and begins
   14658    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14659    # The option is referenced via a variable to avoid confusing sed.
   14660    lt_compile=`echo "$ac_compile" | $SED \
   14661    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14662    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14663    -e 's:$: $lt_compiler_flag:'`
   14664    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14665    (eval "$lt_compile" 2>conftest.err)
   14666    ac_status=$?
   14667    cat conftest.err >&5
   14668    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14669    if (exit $ac_status) && test -s "$ac_outfile"; then
   14670      # The compiler can only warn and ignore the option if not recognized
   14671      # So say no if there are warnings other than the usual output.
   14672      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14673      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14674      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14675        lt_cv_prog_compiler_pic_works_CXX=yes
   14676      fi
   14677    fi
   14678    $RM conftest*
   14679 
   14680 fi
   14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   14682 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   14683 
   14684 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   14685     case $lt_prog_compiler_pic_CXX in
   14686      "" | " "*) ;;
   14687      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   14688      esac
   14689 else
   14690     lt_prog_compiler_pic_CXX=
   14691      lt_prog_compiler_can_build_shared_CXX=no
   14692 fi
   14693 
   14694 fi
   14695 
   14696 
   14697 
   14698 
   14699 
   14700 #
   14701 # Check to make sure the static flag actually works.
   14702 #
   14703 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14705 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14706 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   14707   $as_echo_n "(cached) " >&6
   14708 else
   14709   lt_cv_prog_compiler_static_works_CXX=no
   14710    save_LDFLAGS="$LDFLAGS"
   14711    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14712    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14713    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14714      # The linker can only warn and ignore the option if not recognized
   14715      # So say no if there are warnings
   14716      if test -s conftest.err; then
   14717        # Append any errors to the config.log.
   14718        cat conftest.err 1>&5
   14719        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14720        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14721        if diff conftest.exp conftest.er2 >/dev/null; then
   14722          lt_cv_prog_compiler_static_works_CXX=yes
   14723        fi
   14724      else
   14725        lt_cv_prog_compiler_static_works_CXX=yes
   14726      fi
   14727    fi
   14728    $RM -r conftest*
   14729    LDFLAGS="$save_LDFLAGS"
   14730 
   14731 fi
   14732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   14733 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   14734 
   14735 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   14736     :
   14737 else
   14738     lt_prog_compiler_static_CXX=
   14739 fi
   14740 
   14741 
   14742 
   14743 
   14744     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14745 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14746 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   14747   $as_echo_n "(cached) " >&6
   14748 else
   14749   lt_cv_prog_compiler_c_o_CXX=no
   14750    $RM -r conftest 2>/dev/null
   14751    mkdir conftest
   14752    cd conftest
   14753    mkdir out
   14754    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14755 
   14756    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14757    # Insert the option either (1) after the last *FLAGS variable, or
   14758    # (2) before a word containing "conftest.", or (3) at the end.
   14759    # Note that $ac_compile itself does not contain backslashes and begins
   14760    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14761    lt_compile=`echo "$ac_compile" | $SED \
   14762    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14763    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14764    -e 's:$: $lt_compiler_flag:'`
   14765    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14766    (eval "$lt_compile" 2>out/conftest.err)
   14767    ac_status=$?
   14768    cat out/conftest.err >&5
   14769    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14770    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14771    then
   14772      # The compiler can only warn and ignore the option if not recognized
   14773      # So say no if there are warnings
   14774      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14775      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14776      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14777        lt_cv_prog_compiler_c_o_CXX=yes
   14778      fi
   14779    fi
   14780    chmod u+w . 2>&5
   14781    $RM conftest*
   14782    # SGI C++ compiler will create directory out/ii_files/ for
   14783    # template instantiation
   14784    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14785    $RM out/* && rmdir out
   14786    cd ..
   14787    $RM -r conftest
   14788    $RM conftest*
   14789 
   14790 fi
   14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14792 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14793 
   14794 
   14795 
   14796     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14797 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14798 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   14799   $as_echo_n "(cached) " >&6
   14800 else
   14801   lt_cv_prog_compiler_c_o_CXX=no
   14802    $RM -r conftest 2>/dev/null
   14803    mkdir conftest
   14804    cd conftest
   14805    mkdir out
   14806    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14807 
   14808    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14809    # Insert the option either (1) after the last *FLAGS variable, or
   14810    # (2) before a word containing "conftest.", or (3) at the end.
   14811    # Note that $ac_compile itself does not contain backslashes and begins
   14812    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14813    lt_compile=`echo "$ac_compile" | $SED \
   14814    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14815    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14816    -e 's:$: $lt_compiler_flag:'`
   14817    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14818    (eval "$lt_compile" 2>out/conftest.err)
   14819    ac_status=$?
   14820    cat out/conftest.err >&5
   14821    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14822    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14823    then
   14824      # The compiler can only warn and ignore the option if not recognized
   14825      # So say no if there are warnings
   14826      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14827      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14828      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14829        lt_cv_prog_compiler_c_o_CXX=yes
   14830      fi
   14831    fi
   14832    chmod u+w . 2>&5
   14833    $RM conftest*
   14834    # SGI C++ compiler will create directory out/ii_files/ for
   14835    # template instantiation
   14836    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14837    $RM out/* && rmdir out
   14838    cd ..
   14839    $RM -r conftest
   14840    $RM conftest*
   14841 
   14842 fi
   14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14844 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14845 
   14846 
   14847 
   14848 
   14849 hard_links="nottested"
   14850 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   14851   # do not overwrite the value of need_locks provided by the user
   14852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14853 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14854   hard_links=yes
   14855   $RM conftest*
   14856   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14857   touch conftest.a
   14858   ln conftest.a conftest.b 2>&5 || hard_links=no
   14859   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14861 $as_echo "$hard_links" >&6; }
   14862   if test "$hard_links" = no; then
   14863     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14864 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14865     need_locks=warn
   14866   fi
   14867 else
   14868   need_locks=no
   14869 fi
   14870 
   14871 
   14872 
   14873     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14874 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14875 
   14876   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14877   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14878   case $host_os in
   14879   aix[4-9]*)
   14880     # If we're using GNU nm, then we don't want the "-C" option.
   14881     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   14882     # Also, AIX nm treats weak defined symbols like other global defined
   14883     # symbols, whereas GNU nm marks them as "W".
   14884     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   14885       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   14886     else
   14887       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   14888     fi
   14889     ;;
   14890   pw32*)
   14891     export_symbols_cmds_CXX="$ltdll_cmds"
   14892     ;;
   14893   cygwin* | mingw* | cegcc*)
   14894     case $cc_basename in
   14895     cl*) ;;
   14896     *)
   14897       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   14898       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   14899       ;;
   14900     esac
   14901     ;;
   14902   *)
   14903     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14904     ;;
   14905   esac
   14906 
   14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   14908 $as_echo "$ld_shlibs_CXX" >&6; }
   14909 test "$ld_shlibs_CXX" = no && can_build_shared=no
   14910 
   14911 with_gnu_ld_CXX=$with_gnu_ld
   14912 
   14913 
   14914 
   14915 
   14916 
   14917 
   14918 #
   14919 # Do we need to explicitly link libc?
   14920 #
   14921 case "x$archive_cmds_need_lc_CXX" in
   14922 x|xyes)
   14923   # Assume -lc should be added
   14924   archive_cmds_need_lc_CXX=yes
   14925 
   14926   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14927     case $archive_cmds_CXX in
   14928     *'~'*)
   14929       # FIXME: we may have to deal with multi-command sequences.
   14930       ;;
   14931     '$CC '*)
   14932       # Test whether the compiler implicitly links with -lc since on some
   14933       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14934       # to ld, don't add -lc before -lgcc.
   14935       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   14936 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   14937 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   14938   $as_echo_n "(cached) " >&6
   14939 else
   14940   $RM conftest*
   14941 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14942 
   14943 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14944   (eval $ac_compile) 2>&5
   14945   ac_status=$?
   14946   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14947   test $ac_status = 0; } 2>conftest.err; then
   14948 	  soname=conftest
   14949 	  lib=conftest
   14950 	  libobjs=conftest.$ac_objext
   14951 	  deplibs=
   14952 	  wl=$lt_prog_compiler_wl_CXX
   14953 	  pic_flag=$lt_prog_compiler_pic_CXX
   14954 	  compiler_flags=-v
   14955 	  linker_flags=-v
   14956 	  verstring=
   14957 	  output_objdir=.
   14958 	  libname=conftest
   14959 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   14960 	  allow_undefined_flag_CXX=
   14961 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   14962   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14963   ac_status=$?
   14964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14965   test $ac_status = 0; }
   14966 	  then
   14967 	    lt_cv_archive_cmds_need_lc_CXX=no
   14968 	  else
   14969 	    lt_cv_archive_cmds_need_lc_CXX=yes
   14970 	  fi
   14971 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   14972 	else
   14973 	  cat conftest.err 1>&5
   14974 	fi
   14975 	$RM conftest*
   14976 
   14977 fi
   14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   14979 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   14980       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   14981       ;;
   14982     esac
   14983   fi
   14984   ;;
   14985 esac
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 
   14997 
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 
   15011 
   15012 
   15013 
   15014 
   15015 
   15016 
   15017 
   15018 
   15019 
   15020 
   15021 
   15022 
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 
   15045 
   15046 
   15047 
   15048 
   15049 
   15050     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   15051 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15052 
   15053 library_names_spec=
   15054 libname_spec='lib$name'
   15055 soname_spec=
   15056 shrext_cmds=".so"
   15057 postinstall_cmds=
   15058 postuninstall_cmds=
   15059 finish_cmds=
   15060 finish_eval=
   15061 shlibpath_var=
   15062 shlibpath_overrides_runpath=unknown
   15063 version_type=none
   15064 dynamic_linker="$host_os ld.so"
   15065 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15066 need_lib_prefix=unknown
   15067 hardcode_into_libs=no
   15068 
   15069 # when you set need_version to no, make sure it does not cause -set_version
   15070 # flags to be left without arguments
   15071 need_version=unknown
   15072 
   15073 case $host_os in
   15074 aix3*)
   15075   version_type=linux
   15076   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15077   shlibpath_var=LIBPATH
   15078 
   15079   # AIX 3 has no versioning support, so we append a major version to the name.
   15080   soname_spec='${libname}${release}${shared_ext}$major'
   15081   ;;
   15082 
   15083 aix[4-9]*)
   15084   version_type=linux
   15085   need_lib_prefix=no
   15086   need_version=no
   15087   hardcode_into_libs=yes
   15088   if test "$host_cpu" = ia64; then
   15089     # AIX 5 supports IA64
   15090     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15091     shlibpath_var=LD_LIBRARY_PATH
   15092   else
   15093     # With GCC up to 2.95.x, collect2 would create an import file
   15094     # for dependence libraries.  The import file would start with
   15095     # the line `#! .'.  This would cause the generated library to
   15096     # depend on `.', always an invalid library.  This was fixed in
   15097     # development snapshots of GCC prior to 3.0.
   15098     case $host_os in
   15099       aix4 | aix4.[01] | aix4.[01].*)
   15100       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15101 	   echo ' yes '
   15102 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   15103 	:
   15104       else
   15105 	can_build_shared=no
   15106       fi
   15107       ;;
   15108     esac
   15109     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15110     # soname into executable. Probably we can add versioning support to
   15111     # collect2, so additional links can be useful in future.
   15112     if test "$aix_use_runtimelinking" = yes; then
   15113       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15114       # instead of lib<name>.a to let people know that these are not
   15115       # typical AIX shared libraries.
   15116       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15117     else
   15118       # We preserve .a as extension for shared libraries through AIX4.2
   15119       # and later when we are not doing run time linking.
   15120       library_names_spec='${libname}${release}.a $libname.a'
   15121       soname_spec='${libname}${release}${shared_ext}$major'
   15122     fi
   15123     shlibpath_var=LIBPATH
   15124   fi
   15125   ;;
   15126 
   15127 amigaos*)
   15128   case $host_cpu in
   15129   powerpc)
   15130     # Since July 2007 AmigaOS4 officially supports .so libraries.
   15131     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   15132     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15133     ;;
   15134   m68k)
   15135     library_names_spec='$libname.ixlibrary $libname.a'
   15136     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15137     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   15138     ;;
   15139   esac
   15140   ;;
   15141 
   15142 beos*)
   15143   library_names_spec='${libname}${shared_ext}'
   15144   dynamic_linker="$host_os ld.so"
   15145   shlibpath_var=LIBRARY_PATH
   15146   ;;
   15147 
   15148 bsdi[45]*)
   15149   version_type=linux
   15150   need_version=no
   15151   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15152   soname_spec='${libname}${release}${shared_ext}$major'
   15153   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15154   shlibpath_var=LD_LIBRARY_PATH
   15155   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15156   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15157   # the default ld.so.conf also contains /usr/contrib/lib and
   15158   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15159   # libtool to hard-code these into programs
   15160   ;;
   15161 
   15162 cygwin* | mingw* | pw32* | cegcc*)
   15163   version_type=windows
   15164   shrext_cmds=".dll"
   15165   need_version=no
   15166   need_lib_prefix=no
   15167 
   15168   case $GCC,$cc_basename in
   15169   yes,*)
   15170     # gcc
   15171     library_names_spec='$libname.dll.a'
   15172     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15173     postinstall_cmds='base_file=`basename \${file}`~
   15174       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   15175       dldir=$destdir/`dirname \$dlpath`~
   15176       test -d \$dldir || mkdir -p \$dldir~
   15177       $install_prog $dir/$dlname \$dldir/$dlname~
   15178       chmod a+x \$dldir/$dlname~
   15179       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   15180         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   15181       fi'
   15182     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15183       dlpath=$dir/\$dldll~
   15184        $RM \$dlpath'
   15185     shlibpath_overrides_runpath=yes
   15186 
   15187     case $host_os in
   15188     cygwin*)
   15189       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15190       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15191 
   15192       ;;
   15193     mingw* | cegcc*)
   15194       # MinGW DLLs use traditional 'lib' prefix
   15195       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15196       ;;
   15197     pw32*)
   15198       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15199       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15200       ;;
   15201     esac
   15202     dynamic_linker='Win32 ld.exe'
   15203     ;;
   15204 
   15205   *,cl*)
   15206     # Native MSVC
   15207     libname_spec='$name'
   15208     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15209     library_names_spec='${libname}.dll.lib'
   15210 
   15211     case $build_os in
   15212     mingw*)
   15213       sys_lib_search_path_spec=
   15214       lt_save_ifs=$IFS
   15215       IFS=';'
   15216       for lt_path in $LIB
   15217       do
   15218         IFS=$lt_save_ifs
   15219         # Let DOS variable expansion print the short 8.3 style file name.
   15220         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   15221         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   15222       done
   15223       IFS=$lt_save_ifs
   15224       # Convert to MSYS style.
   15225       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   15226       ;;
   15227     cygwin*)
   15228       # Convert to unix form, then to dos form, then back to unix form
   15229       # but this time dos style (no spaces!) so that the unix form looks
   15230       # like /cygdrive/c/PROGRA~1:/cygdr...
   15231       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   15232       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   15233       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15234       ;;
   15235     *)
   15236       sys_lib_search_path_spec="$LIB"
   15237       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   15238         # It is most probably a Windows format PATH.
   15239         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15240       else
   15241         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15242       fi
   15243       # FIXME: find the short name or the path components, as spaces are
   15244       # common. (e.g. "Program Files" -> "PROGRA~1")
   15245       ;;
   15246     esac
   15247 
   15248     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15249     postinstall_cmds='base_file=`basename \${file}`~
   15250       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   15251       dldir=$destdir/`dirname \$dlpath`~
   15252       test -d \$dldir || mkdir -p \$dldir~
   15253       $install_prog $dir/$dlname \$dldir/$dlname'
   15254     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15255       dlpath=$dir/\$dldll~
   15256        $RM \$dlpath'
   15257     shlibpath_overrides_runpath=yes
   15258     dynamic_linker='Win32 link.exe'
   15259     ;;
   15260 
   15261   *)
   15262     # Assume MSVC wrapper
   15263     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15264     dynamic_linker='Win32 ld.exe'
   15265     ;;
   15266   esac
   15267   # FIXME: first we should search . and the directory the executable is in
   15268   shlibpath_var=PATH
   15269   ;;
   15270 
   15271 darwin* | rhapsody*)
   15272   dynamic_linker="$host_os dyld"
   15273   version_type=darwin
   15274   need_lib_prefix=no
   15275   need_version=no
   15276   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15277   soname_spec='${libname}${release}${major}$shared_ext'
   15278   shlibpath_overrides_runpath=yes
   15279   shlibpath_var=DYLD_LIBRARY_PATH
   15280   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15281 
   15282   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15283   ;;
   15284 
   15285 dgux*)
   15286   version_type=linux
   15287   need_lib_prefix=no
   15288   need_version=no
   15289   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15290   soname_spec='${libname}${release}${shared_ext}$major'
   15291   shlibpath_var=LD_LIBRARY_PATH
   15292   ;;
   15293 
   15294 freebsd1*)
   15295   dynamic_linker=no
   15296   ;;
   15297 
   15298 freebsd* | dragonfly*)
   15299   # DragonFly does not have aout.  When/if they implement a new
   15300   # versioning mechanism, adjust this.
   15301   if test -x /usr/bin/objformat; then
   15302     objformat=`/usr/bin/objformat`
   15303   else
   15304     case $host_os in
   15305     freebsd[123]*) objformat=aout ;;
   15306     *) objformat=elf ;;
   15307     esac
   15308   fi
   15309   # Handle Gentoo/FreeBSD as it was Linux
   15310   case $host_vendor in
   15311     gentoo)
   15312       version_type=linux ;;
   15313     *)
   15314       version_type=freebsd-$objformat ;;
   15315   esac
   15316 
   15317   case $version_type in
   15318     freebsd-elf*)
   15319       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15320       need_version=no
   15321       need_lib_prefix=no
   15322       ;;
   15323     freebsd-*)
   15324       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15325       need_version=yes
   15326       ;;
   15327     linux)
   15328       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15329       soname_spec='${libname}${release}${shared_ext}$major'
   15330       need_lib_prefix=no
   15331       need_version=no
   15332       ;;
   15333   esac
   15334   shlibpath_var=LD_LIBRARY_PATH
   15335   case $host_os in
   15336   freebsd2*)
   15337     shlibpath_overrides_runpath=yes
   15338     ;;
   15339   freebsd3.[01]* | freebsdelf3.[01]*)
   15340     shlibpath_overrides_runpath=yes
   15341     hardcode_into_libs=yes
   15342     ;;
   15343   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15344   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15345     shlibpath_overrides_runpath=no
   15346     hardcode_into_libs=yes
   15347     ;;
   15348   *) # from 4.6 on, and DragonFly
   15349     shlibpath_overrides_runpath=yes
   15350     hardcode_into_libs=yes
   15351     ;;
   15352   esac
   15353   ;;
   15354 
   15355 gnu*)
   15356   version_type=linux
   15357   need_lib_prefix=no
   15358   need_version=no
   15359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15360   soname_spec='${libname}${release}${shared_ext}$major'
   15361   shlibpath_var=LD_LIBRARY_PATH
   15362   hardcode_into_libs=yes
   15363   ;;
   15364 
   15365 haiku*)
   15366   version_type=linux
   15367   need_lib_prefix=no
   15368   need_version=no
   15369   dynamic_linker="$host_os runtime_loader"
   15370   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15371   soname_spec='${libname}${release}${shared_ext}$major'
   15372   shlibpath_var=LIBRARY_PATH
   15373   shlibpath_overrides_runpath=yes
   15374   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   15375   hardcode_into_libs=yes
   15376   ;;
   15377 
   15378 hpux9* | hpux10* | hpux11*)
   15379   # Give a soname corresponding to the major version so that dld.sl refuses to
   15380   # link against other versions.
   15381   version_type=sunos
   15382   need_lib_prefix=no
   15383   need_version=no
   15384   case $host_cpu in
   15385   ia64*)
   15386     shrext_cmds='.so'
   15387     hardcode_into_libs=yes
   15388     dynamic_linker="$host_os dld.so"
   15389     shlibpath_var=LD_LIBRARY_PATH
   15390     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15391     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15392     soname_spec='${libname}${release}${shared_ext}$major'
   15393     if test "X$HPUX_IA64_MODE" = X32; then
   15394       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15395     else
   15396       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15397     fi
   15398     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15399     ;;
   15400   hppa*64*)
   15401     shrext_cmds='.sl'
   15402     hardcode_into_libs=yes
   15403     dynamic_linker="$host_os dld.sl"
   15404     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15405     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15406     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15407     soname_spec='${libname}${release}${shared_ext}$major'
   15408     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15409     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15410     ;;
   15411   *)
   15412     shrext_cmds='.sl'
   15413     dynamic_linker="$host_os dld.sl"
   15414     shlibpath_var=SHLIB_PATH
   15415     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15416     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15417     soname_spec='${libname}${release}${shared_ext}$major'
   15418     ;;
   15419   esac
   15420   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   15421   postinstall_cmds='chmod 555 $lib'
   15422   # or fails outright, so override atomically:
   15423   install_override_mode=555
   15424   ;;
   15425 
   15426 interix[3-9]*)
   15427   version_type=linux
   15428   need_lib_prefix=no
   15429   need_version=no
   15430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15431   soname_spec='${libname}${release}${shared_ext}$major'
   15432   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15433   shlibpath_var=LD_LIBRARY_PATH
   15434   shlibpath_overrides_runpath=no
   15435   hardcode_into_libs=yes
   15436   ;;
   15437 
   15438 irix5* | irix6* | nonstopux*)
   15439   case $host_os in
   15440     nonstopux*) version_type=nonstopux ;;
   15441     *)
   15442 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15443 		version_type=linux
   15444 	else
   15445 		version_type=irix
   15446 	fi ;;
   15447   esac
   15448   need_lib_prefix=no
   15449   need_version=no
   15450   soname_spec='${libname}${release}${shared_ext}$major'
   15451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15452   case $host_os in
   15453   irix5* | nonstopux*)
   15454     libsuff= shlibsuff=
   15455     ;;
   15456   *)
   15457     case $LD in # libtool.m4 will add one of these switches to LD
   15458     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15459       libsuff= shlibsuff= libmagic=32-bit;;
   15460     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15461       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15462     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15463       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15464     *) libsuff= shlibsuff= libmagic=never-match;;
   15465     esac
   15466     ;;
   15467   esac
   15468   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15469   shlibpath_overrides_runpath=no
   15470   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15471   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15472   hardcode_into_libs=yes
   15473   ;;
   15474 
   15475 # No shared lib support for Linux oldld, aout, or coff.
   15476 linux*oldld* | linux*aout* | linux*coff*)
   15477   dynamic_linker=no
   15478   ;;
   15479 
   15480 # This must be Linux ELF.
   15481 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   15482   version_type=linux
   15483   need_lib_prefix=no
   15484   need_version=no
   15485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15486   soname_spec='${libname}${release}${shared_ext}$major'
   15487   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15488   shlibpath_var=LD_LIBRARY_PATH
   15489   shlibpath_overrides_runpath=no
   15490 
   15491   # Some binutils ld are patched to set DT_RUNPATH
   15492   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   15493   $as_echo_n "(cached) " >&6
   15494 else
   15495   lt_cv_shlibpath_overrides_runpath=no
   15496     save_LDFLAGS=$LDFLAGS
   15497     save_libdir=$libdir
   15498     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   15499 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   15500     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15501 /* end confdefs.h.  */
   15502 
   15503 int
   15504 main ()
   15505 {
   15506 
   15507   ;
   15508   return 0;
   15509 }
   15510 _ACEOF
   15511 if ac_fn_cxx_try_link "$LINENO"; then :
   15512   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   15513   lt_cv_shlibpath_overrides_runpath=yes
   15514 fi
   15515 fi
   15516 rm -f core conftest.err conftest.$ac_objext \
   15517     conftest$ac_exeext conftest.$ac_ext
   15518     LDFLAGS=$save_LDFLAGS
   15519     libdir=$save_libdir
   15520 
   15521 fi
   15522 
   15523   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   15524 
   15525   # This implies no fast_install, which is unacceptable.
   15526   # Some rework will be needed to allow for fast_install
   15527   # before this can be enabled.
   15528   hardcode_into_libs=yes
   15529 
   15530   # Append ld.so.conf contents to the search path
   15531   if test -f /etc/ld.so.conf; then
   15532     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   15533     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15534   fi
   15535 
   15536   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15537   # powerpc, because MkLinux only supported shared libraries with the
   15538   # GNU dynamic linker.  Since this was broken with cross compilers,
   15539   # most powerpc-linux boxes support dynamic linking these days and
   15540   # people can always --disable-shared, the test was removed, and we
   15541   # assume the GNU/Linux dynamic linker is in use.
   15542   dynamic_linker='GNU/Linux ld.so'
   15543   ;;
   15544 
   15545 netbsd*)
   15546   version_type=sunos
   15547   need_lib_prefix=no
   15548   need_version=no
   15549   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15550     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15551     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15552     dynamic_linker='NetBSD (a.out) ld.so'
   15553   else
   15554     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15555     soname_spec='${libname}${release}${shared_ext}$major'
   15556     dynamic_linker='NetBSD ld.elf_so'
   15557   fi
   15558   shlibpath_var=LD_LIBRARY_PATH
   15559   shlibpath_overrides_runpath=yes
   15560   hardcode_into_libs=yes
   15561   ;;
   15562 
   15563 newsos6)
   15564   version_type=linux
   15565   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15566   shlibpath_var=LD_LIBRARY_PATH
   15567   shlibpath_overrides_runpath=yes
   15568   ;;
   15569 
   15570 *nto* | *qnx*)
   15571   version_type=qnx
   15572   need_lib_prefix=no
   15573   need_version=no
   15574   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15575   soname_spec='${libname}${release}${shared_ext}$major'
   15576   shlibpath_var=LD_LIBRARY_PATH
   15577   shlibpath_overrides_runpath=no
   15578   hardcode_into_libs=yes
   15579   dynamic_linker='ldqnx.so'
   15580   ;;
   15581 
   15582 openbsd*)
   15583   version_type=sunos
   15584   sys_lib_dlsearch_path_spec="/usr/lib"
   15585   need_lib_prefix=no
   15586   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15587   case $host_os in
   15588     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   15589     *)				need_version=no  ;;
   15590   esac
   15591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15592   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15593   shlibpath_var=LD_LIBRARY_PATH
   15594   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15595     case $host_os in
   15596       openbsd2.[89] | openbsd2.[89].*)
   15597 	shlibpath_overrides_runpath=no
   15598 	;;
   15599       *)
   15600 	shlibpath_overrides_runpath=yes
   15601 	;;
   15602       esac
   15603   else
   15604     shlibpath_overrides_runpath=yes
   15605   fi
   15606   ;;
   15607 
   15608 os2*)
   15609   libname_spec='$name'
   15610   shrext_cmds=".dll"
   15611   need_lib_prefix=no
   15612   library_names_spec='$libname${shared_ext} $libname.a'
   15613   dynamic_linker='OS/2 ld.exe'
   15614   shlibpath_var=LIBPATH
   15615   ;;
   15616 
   15617 osf3* | osf4* | osf5*)
   15618   version_type=osf
   15619   need_lib_prefix=no
   15620   need_version=no
   15621   soname_spec='${libname}${release}${shared_ext}$major'
   15622   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15623   shlibpath_var=LD_LIBRARY_PATH
   15624   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15625   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15626   ;;
   15627 
   15628 rdos*)
   15629   dynamic_linker=no
   15630   ;;
   15631 
   15632 solaris*)
   15633   version_type=linux
   15634   need_lib_prefix=no
   15635   need_version=no
   15636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15637   soname_spec='${libname}${release}${shared_ext}$major'
   15638   shlibpath_var=LD_LIBRARY_PATH
   15639   shlibpath_overrides_runpath=yes
   15640   hardcode_into_libs=yes
   15641   # ldd complains unless libraries are executable
   15642   postinstall_cmds='chmod +x $lib'
   15643   ;;
   15644 
   15645 sunos4*)
   15646   version_type=sunos
   15647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15648   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15649   shlibpath_var=LD_LIBRARY_PATH
   15650   shlibpath_overrides_runpath=yes
   15651   if test "$with_gnu_ld" = yes; then
   15652     need_lib_prefix=no
   15653   fi
   15654   need_version=yes
   15655   ;;
   15656 
   15657 sysv4 | sysv4.3*)
   15658   version_type=linux
   15659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15660   soname_spec='${libname}${release}${shared_ext}$major'
   15661   shlibpath_var=LD_LIBRARY_PATH
   15662   case $host_vendor in
   15663     sni)
   15664       shlibpath_overrides_runpath=no
   15665       need_lib_prefix=no
   15666       runpath_var=LD_RUN_PATH
   15667       ;;
   15668     siemens)
   15669       need_lib_prefix=no
   15670       ;;
   15671     motorola)
   15672       need_lib_prefix=no
   15673       need_version=no
   15674       shlibpath_overrides_runpath=no
   15675       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15676       ;;
   15677   esac
   15678   ;;
   15679 
   15680 sysv4*MP*)
   15681   if test -d /usr/nec ;then
   15682     version_type=linux
   15683     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15684     soname_spec='$libname${shared_ext}.$major'
   15685     shlibpath_var=LD_LIBRARY_PATH
   15686   fi
   15687   ;;
   15688 
   15689 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15690   version_type=freebsd-elf
   15691   need_lib_prefix=no
   15692   need_version=no
   15693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15694   soname_spec='${libname}${release}${shared_ext}$major'
   15695   shlibpath_var=LD_LIBRARY_PATH
   15696   shlibpath_overrides_runpath=yes
   15697   hardcode_into_libs=yes
   15698   if test "$with_gnu_ld" = yes; then
   15699     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15700   else
   15701     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15702     case $host_os in
   15703       sco3.2v5*)
   15704         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15705 	;;
   15706     esac
   15707   fi
   15708   sys_lib_dlsearch_path_spec='/usr/lib'
   15709   ;;
   15710 
   15711 tpf*)
   15712   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   15713   version_type=linux
   15714   need_lib_prefix=no
   15715   need_version=no
   15716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15717   shlibpath_var=LD_LIBRARY_PATH
   15718   shlibpath_overrides_runpath=no
   15719   hardcode_into_libs=yes
   15720   ;;
   15721 
   15722 uts4*)
   15723   version_type=linux
   15724   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15725   soname_spec='${libname}${release}${shared_ext}$major'
   15726   shlibpath_var=LD_LIBRARY_PATH
   15727   ;;
   15728 
   15729 *)
   15730   dynamic_linker=no
   15731   ;;
   15732 esac
   15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   15734 $as_echo "$dynamic_linker" >&6; }
   15735 test "$dynamic_linker" = no && can_build_shared=no
   15736 
   15737 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15738 if test "$GCC" = yes; then
   15739   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15740 fi
   15741 
   15742 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   15743   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   15744 fi
   15745 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   15746   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   15747 fi
   15748 
   15749 
   15750 
   15751 
   15752 
   15753 
   15754 
   15755 
   15756 
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 
   15766 
   15767 
   15768 
   15769 
   15770 
   15771 
   15772 
   15773 
   15774 
   15775 
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 
   15783 
   15784 
   15785 
   15786     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   15787 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   15788 hardcode_action_CXX=
   15789 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   15790    test -n "$runpath_var_CXX" ||
   15791    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   15792 
   15793   # We can hardcode non-existent directories.
   15794   if test "$hardcode_direct_CXX" != no &&
   15795      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15796      # have to relink, otherwise we might link with an installed library
   15797      # when we should be linking with a yet-to-be-installed one
   15798      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   15799      test "$hardcode_minus_L_CXX" != no; then
   15800     # Linking always hardcodes the temporary library directory.
   15801     hardcode_action_CXX=relink
   15802   else
   15803     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15804     hardcode_action_CXX=immediate
   15805   fi
   15806 else
   15807   # We cannot hardcode anything, or else we can only hardcode existing
   15808   # directories.
   15809   hardcode_action_CXX=unsupported
   15810 fi
   15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   15812 $as_echo "$hardcode_action_CXX" >&6; }
   15813 
   15814 if test "$hardcode_action_CXX" = relink ||
   15815    test "$inherit_rpath_CXX" = yes; then
   15816   # Fast installation is not supported
   15817   enable_fast_install=no
   15818 elif test "$shlibpath_overrides_runpath" = yes ||
   15819      test "$enable_shared" = no; then
   15820   # Fast installation is not necessary
   15821   enable_fast_install=needless
   15822 fi
   15823 
   15824 
   15825 
   15826 
   15827 
   15828 
   15829 
   15830   fi # test -n "$compiler"
   15831 
   15832   CC=$lt_save_CC
   15833   CFLAGS=$lt_save_CFLAGS
   15834   LDCXX=$LD
   15835   LD=$lt_save_LD
   15836   GCC=$lt_save_GCC
   15837   with_gnu_ld=$lt_save_with_gnu_ld
   15838   lt_cv_path_LDCXX=$lt_cv_path_LD
   15839   lt_cv_path_LD=$lt_save_path_LD
   15840   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   15841   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   15842 fi # test "$_lt_caught_CXX_error" != yes
   15843 
   15844 ac_ext=c
   15845 ac_cpp='$CPP $CPPFLAGS'
   15846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15849 
   15850 
   15851 
   15852 # Check whether --enable-silent-rules was given.
   15853 if test "${enable_silent_rules+set}" = set; then :
   15854   enableval=$enable_silent_rules;
   15855 fi
   15856 
   15857 case $enable_silent_rules in # (((
   15858   yes) AM_DEFAULT_VERBOSITY=0;;
   15859    no) AM_DEFAULT_VERBOSITY=1;;
   15860     *) AM_DEFAULT_VERBOSITY=0;;
   15861 esac
   15862 am_make=${MAKE-make}
   15863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   15864 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   15865 if ${am_cv_make_support_nested_variables+:} false; then :
   15866   $as_echo_n "(cached) " >&6
   15867 else
   15868   if $as_echo 'TRUE=$(BAR$(V))
   15869 BAR0=false
   15870 BAR1=true
   15871 V=1
   15872 am__doit:
   15873 	@$(TRUE)
   15874 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   15875   am_cv_make_support_nested_variables=yes
   15876 else
   15877   am_cv_make_support_nested_variables=no
   15878 fi
   15879 fi
   15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   15881 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   15882 if test $am_cv_make_support_nested_variables = yes; then
   15883     AM_V='$(V)'
   15884   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   15885 else
   15886   AM_V=$AM_DEFAULT_VERBOSITY
   15887   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   15888 fi
   15889 AM_BACKSLASH='\'
   15890 
   15891 
   15892 # Check whether --enable-debug was given.
   15893 if test "${enable_debug+set}" = set; then :
   15894   enableval=$enable_debug; CFLAGS="$CFLAGS -g -O0"
   15895                CXXFLAGS="$CXXFLAGS -g -O0"
   15896 fi
   15897 
   15898 
   15899 
   15900 
   15901 
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   15908 	if test -n "$ac_tool_prefix"; then
   15909   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   15910 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   15911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15912 $as_echo_n "checking for $ac_word... " >&6; }
   15913 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   15914   $as_echo_n "(cached) " >&6
   15915 else
   15916   case $PKG_CONFIG in
   15917   [\\/]* | ?:[\\/]*)
   15918   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   15919   ;;
   15920   *)
   15921   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15922 for as_dir in $PATH
   15923 do
   15924   IFS=$as_save_IFS
   15925   test -z "$as_dir" && as_dir=.
   15926     for ac_exec_ext in '' $ac_executable_extensions; do
   15927   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   15928     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   15929     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15930     break 2
   15931   fi
   15932 done
   15933   done
   15934 IFS=$as_save_IFS
   15935 
   15936   ;;
   15937 esac
   15938 fi
   15939 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   15940 if test -n "$PKG_CONFIG"; then
   15941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   15942 $as_echo "$PKG_CONFIG" >&6; }
   15943 else
   15944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15945 $as_echo "no" >&6; }
   15946 fi
   15947 
   15948 
   15949 fi
   15950 if test -z "$ac_cv_path_PKG_CONFIG"; then
   15951   ac_pt_PKG_CONFIG=$PKG_CONFIG
   15952   # Extract the first word of "pkg-config", so it can be a program name with args.
   15953 set dummy pkg-config; ac_word=$2
   15954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15955 $as_echo_n "checking for $ac_word... " >&6; }
   15956 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   15957   $as_echo_n "(cached) " >&6
   15958 else
   15959   case $ac_pt_PKG_CONFIG in
   15960   [\\/]* | ?:[\\/]*)
   15961   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   15962   ;;
   15963   *)
   15964   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15965 for as_dir in $PATH
   15966 do
   15967   IFS=$as_save_IFS
   15968   test -z "$as_dir" && as_dir=.
   15969     for ac_exec_ext in '' $ac_executable_extensions; do
   15970   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   15971     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   15972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15973     break 2
   15974   fi
   15975 done
   15976   done
   15977 IFS=$as_save_IFS
   15978 
   15979   ;;
   15980 esac
   15981 fi
   15982 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   15983 if test -n "$ac_pt_PKG_CONFIG"; then
   15984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   15985 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   15986 else
   15987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15988 $as_echo "no" >&6; }
   15989 fi
   15990 
   15991   if test "x$ac_pt_PKG_CONFIG" = x; then
   15992     PKG_CONFIG=""
   15993   else
   15994     case $cross_compiling:$ac_tool_warned in
   15995 yes:)
   15996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15998 ac_tool_warned=yes ;;
   15999 esac
   16000     PKG_CONFIG=$ac_pt_PKG_CONFIG
   16001   fi
   16002 else
   16003   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   16004 fi
   16005 
   16006 fi
   16007 if test -n "$PKG_CONFIG"; then
   16008 	_pkg_min_version=0.9.0
   16009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   16010 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   16011 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   16012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16013 $as_echo "yes" >&6; }
   16014 	else
   16015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16016 $as_echo "no" >&6; }
   16017 		PKG_CONFIG=""
   16018 	fi
   16019 fi
   16020 
   16021 # Check whether --enable-osmesa was given.
   16022 if test "${enable_osmesa+set}" = set; then :
   16023   enableval=$enable_osmesa; OSMESA="$enableval"
   16024 else
   16025   OSMESA=no
   16026 fi
   16027 
   16028 
   16029 if test "x$OSMESA" = "xyes"; then
   16030     GLU_REQUIRES="osmesa"
   16031 
   16032 pkg_failed=no
   16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSMESA" >&5
   16034 $as_echo_n "checking for OSMESA... " >&6; }
   16035 
   16036 if test -n "$OSMESA_CFLAGS"; then
   16037     pkg_cv_OSMESA_CFLAGS="$OSMESA_CFLAGS"
   16038  elif test -n "$PKG_CONFIG"; then
   16039     if test -n "$PKG_CONFIG" && \
   16040     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"osmesa\""; } >&5
   16041   ($PKG_CONFIG --exists --print-errors "osmesa") 2>&5
   16042   ac_status=$?
   16043   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16044   test $ac_status = 0; }; then
   16045   pkg_cv_OSMESA_CFLAGS=`$PKG_CONFIG --cflags "osmesa" 2>/dev/null`
   16046 		      test "x$?" != "x0" && pkg_failed=yes
   16047 else
   16048   pkg_failed=yes
   16049 fi
   16050  else
   16051     pkg_failed=untried
   16052 fi
   16053 if test -n "$OSMESA_LIBS"; then
   16054     pkg_cv_OSMESA_LIBS="$OSMESA_LIBS"
   16055  elif test -n "$PKG_CONFIG"; then
   16056     if test -n "$PKG_CONFIG" && \
   16057     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"osmesa\""; } >&5
   16058   ($PKG_CONFIG --exists --print-errors "osmesa") 2>&5
   16059   ac_status=$?
   16060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16061   test $ac_status = 0; }; then
   16062   pkg_cv_OSMESA_LIBS=`$PKG_CONFIG --libs "osmesa" 2>/dev/null`
   16063 		      test "x$?" != "x0" && pkg_failed=yes
   16064 else
   16065   pkg_failed=yes
   16066 fi
   16067  else
   16068     pkg_failed=untried
   16069 fi
   16070 
   16071 
   16072 
   16073 if test $pkg_failed = yes; then
   16074    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16075 $as_echo "no" >&6; }
   16076 
   16077 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16078         _pkg_short_errors_supported=yes
   16079 else
   16080         _pkg_short_errors_supported=no
   16081 fi
   16082         if test $_pkg_short_errors_supported = yes; then
   16083 	        OSMESA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "osmesa" 2>&1`
   16084         else
   16085 	        OSMESA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "osmesa" 2>&1`
   16086         fi
   16087 	# Put the nasty error message in config.log where it belongs
   16088 	echo "$OSMESA_PKG_ERRORS" >&5
   16089 
   16090 
   16091           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lOSMesa" >&5
   16092 $as_echo_n "checking for glBegin in -lOSMesa... " >&6; }
   16093 if ${ac_cv_lib_OSMesa_glBegin+:} false; then :
   16094   $as_echo_n "(cached) " >&6
   16095 else
   16096   ac_check_lib_save_LIBS=$LIBS
   16097 LIBS="-lOSMesa  $LIBS"
   16098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16099 /* end confdefs.h.  */
   16100 
   16101 /* Override any GCC internal prototype to avoid an error.
   16102    Use char because int might match the return type of a GCC
   16103    builtin and then its argument prototype would still apply.  */
   16104 #ifdef __cplusplus
   16105 extern "C"
   16106 #endif
   16107 char glBegin ();
   16108 int
   16109 main ()
   16110 {
   16111 return glBegin ();
   16112   ;
   16113   return 0;
   16114 }
   16115 _ACEOF
   16116 if ac_fn_c_try_link "$LINENO"; then :
   16117   ac_cv_lib_OSMesa_glBegin=yes
   16118 else
   16119   ac_cv_lib_OSMesa_glBegin=no
   16120 fi
   16121 rm -f core conftest.err conftest.$ac_objext \
   16122     conftest$ac_exeext conftest.$ac_ext
   16123 LIBS=$ac_check_lib_save_LIBS
   16124 fi
   16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OSMesa_glBegin" >&5
   16126 $as_echo "$ac_cv_lib_OSMesa_glBegin" >&6; }
   16127 if test "x$ac_cv_lib_OSMesa_glBegin" = xyes; then :
   16128   OSMESA_LIBS=-lOSMesa
   16129 else
   16130   as_fn_error $? "OSMesa required" "$LINENO" 5
   16131 fi
   16132 
   16133 
   16134 elif test $pkg_failed = untried; then
   16135      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16136 $as_echo "no" >&6; }
   16137 
   16138           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lOSMesa" >&5
   16139 $as_echo_n "checking for glBegin in -lOSMesa... " >&6; }
   16140 if ${ac_cv_lib_OSMesa_glBegin+:} false; then :
   16141   $as_echo_n "(cached) " >&6
   16142 else
   16143   ac_check_lib_save_LIBS=$LIBS
   16144 LIBS="-lOSMesa  $LIBS"
   16145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16146 /* end confdefs.h.  */
   16147 
   16148 /* Override any GCC internal prototype to avoid an error.
   16149    Use char because int might match the return type of a GCC
   16150    builtin and then its argument prototype would still apply.  */
   16151 #ifdef __cplusplus
   16152 extern "C"
   16153 #endif
   16154 char glBegin ();
   16155 int
   16156 main ()
   16157 {
   16158 return glBegin ();
   16159   ;
   16160   return 0;
   16161 }
   16162 _ACEOF
   16163 if ac_fn_c_try_link "$LINENO"; then :
   16164   ac_cv_lib_OSMesa_glBegin=yes
   16165 else
   16166   ac_cv_lib_OSMesa_glBegin=no
   16167 fi
   16168 rm -f core conftest.err conftest.$ac_objext \
   16169     conftest$ac_exeext conftest.$ac_ext
   16170 LIBS=$ac_check_lib_save_LIBS
   16171 fi
   16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OSMesa_glBegin" >&5
   16173 $as_echo "$ac_cv_lib_OSMesa_glBegin" >&6; }
   16174 if test "x$ac_cv_lib_OSMesa_glBegin" = xyes; then :
   16175   OSMESA_LIBS=-lOSMesa
   16176 else
   16177   as_fn_error $? "OSMesa required" "$LINENO" 5
   16178 fi
   16179 
   16180 
   16181 else
   16182 	OSMESA_CFLAGS=$pkg_cv_OSMESA_CFLAGS
   16183 	OSMESA_LIBS=$pkg_cv_OSMESA_LIBS
   16184         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16185 $as_echo "yes" >&6; }
   16186 
   16187 fi
   16188 else
   16189     GLU_REQUIRES="gl"
   16190 
   16191 pkg_failed=no
   16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
   16193 $as_echo_n "checking for GL... " >&6; }
   16194 
   16195 if test -n "$GL_CFLAGS"; then
   16196     pkg_cv_GL_CFLAGS="$GL_CFLAGS"
   16197  elif test -n "$PKG_CONFIG"; then
   16198     if test -n "$PKG_CONFIG" && \
   16199     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl\""; } >&5
   16200   ($PKG_CONFIG --exists --print-errors "gl") 2>&5
   16201   ac_status=$?
   16202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16203   test $ac_status = 0; }; then
   16204   pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "gl" 2>/dev/null`
   16205 		      test "x$?" != "x0" && pkg_failed=yes
   16206 else
   16207   pkg_failed=yes
   16208 fi
   16209  else
   16210     pkg_failed=untried
   16211 fi
   16212 if test -n "$GL_LIBS"; then
   16213     pkg_cv_GL_LIBS="$GL_LIBS"
   16214  elif test -n "$PKG_CONFIG"; then
   16215     if test -n "$PKG_CONFIG" && \
   16216     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl\""; } >&5
   16217   ($PKG_CONFIG --exists --print-errors "gl") 2>&5
   16218   ac_status=$?
   16219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16220   test $ac_status = 0; }; then
   16221   pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "gl" 2>/dev/null`
   16222 		      test "x$?" != "x0" && pkg_failed=yes
   16223 else
   16224   pkg_failed=yes
   16225 fi
   16226  else
   16227     pkg_failed=untried
   16228 fi
   16229 
   16230 
   16231 
   16232 if test $pkg_failed = yes; then
   16233    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16234 $as_echo "no" >&6; }
   16235 
   16236 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16237         _pkg_short_errors_supported=yes
   16238 else
   16239         _pkg_short_errors_supported=no
   16240 fi
   16241         if test $_pkg_short_errors_supported = yes; then
   16242 	        GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gl" 2>&1`
   16243         else
   16244 	        GL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gl" 2>&1`
   16245         fi
   16246 	# Put the nasty error message in config.log where it belongs
   16247 	echo "$GL_PKG_ERRORS" >&5
   16248 
   16249 
   16250           ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
   16251 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
   16252 
   16253 else
   16254   as_fn_error $? "GL not found" "$LINENO" 5
   16255 fi
   16256 
   16257 
   16258           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
   16259 $as_echo_n "checking for glBegin in -lGL... " >&6; }
   16260 if ${ac_cv_lib_GL_glBegin+:} false; then :
   16261   $as_echo_n "(cached) " >&6
   16262 else
   16263   ac_check_lib_save_LIBS=$LIBS
   16264 LIBS="-lGL  $LIBS"
   16265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16266 /* end confdefs.h.  */
   16267 
   16268 /* Override any GCC internal prototype to avoid an error.
   16269    Use char because int might match the return type of a GCC
   16270    builtin and then its argument prototype would still apply.  */
   16271 #ifdef __cplusplus
   16272 extern "C"
   16273 #endif
   16274 char glBegin ();
   16275 int
   16276 main ()
   16277 {
   16278 return glBegin ();
   16279   ;
   16280   return 0;
   16281 }
   16282 _ACEOF
   16283 if ac_fn_c_try_link "$LINENO"; then :
   16284   ac_cv_lib_GL_glBegin=yes
   16285 else
   16286   ac_cv_lib_GL_glBegin=no
   16287 fi
   16288 rm -f core conftest.err conftest.$ac_objext \
   16289     conftest$ac_exeext conftest.$ac_ext
   16290 LIBS=$ac_check_lib_save_LIBS
   16291 fi
   16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
   16293 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
   16294 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
   16295   GL_LIBS=-lGL
   16296 else
   16297   as_fn_error $? "GL required" "$LINENO" 5
   16298 fi
   16299 
   16300 
   16301 elif test $pkg_failed = untried; then
   16302      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16303 $as_echo "no" >&6; }
   16304 
   16305           ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
   16306 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
   16307 
   16308 else
   16309   as_fn_error $? "GL not found" "$LINENO" 5
   16310 fi
   16311 
   16312 
   16313           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
   16314 $as_echo_n "checking for glBegin in -lGL... " >&6; }
   16315 if ${ac_cv_lib_GL_glBegin+:} false; then :
   16316   $as_echo_n "(cached) " >&6
   16317 else
   16318   ac_check_lib_save_LIBS=$LIBS
   16319 LIBS="-lGL  $LIBS"
   16320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16321 /* end confdefs.h.  */
   16322 
   16323 /* Override any GCC internal prototype to avoid an error.
   16324    Use char because int might match the return type of a GCC
   16325    builtin and then its argument prototype would still apply.  */
   16326 #ifdef __cplusplus
   16327 extern "C"
   16328 #endif
   16329 char glBegin ();
   16330 int
   16331 main ()
   16332 {
   16333 return glBegin ();
   16334   ;
   16335   return 0;
   16336 }
   16337 _ACEOF
   16338 if ac_fn_c_try_link "$LINENO"; then :
   16339   ac_cv_lib_GL_glBegin=yes
   16340 else
   16341   ac_cv_lib_GL_glBegin=no
   16342 fi
   16343 rm -f core conftest.err conftest.$ac_objext \
   16344     conftest$ac_exeext conftest.$ac_ext
   16345 LIBS=$ac_check_lib_save_LIBS
   16346 fi
   16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
   16348 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
   16349 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
   16350   GL_LIBS=-lGL
   16351 else
   16352   as_fn_error $? "GL required" "$LINENO" 5
   16353 fi
   16354 
   16355 
   16356 else
   16357 	GL_CFLAGS=$pkg_cv_GL_CFLAGS
   16358 	GL_LIBS=$pkg_cv_GL_LIBS
   16359         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16360 $as_echo "yes" >&6; }
   16361 
   16362 fi
   16363 fi
   16364 
   16365 
   16366 if test "x$GCC" = xyes; then
   16367     WARNCFLAGS="-Wall"
   16368 
   16369     # Enable -fvisibility=hidden if using a gcc that supports it
   16370     save_CFLAGS="$CFLAGS"
   16371     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fvisibility=hidden" >&5
   16372 $as_echo_n "checking whether $CC supports -fvisibility=hidden... " >&6; }
   16373     VISIBILITY_CFLAGS="-fvisibility=hidden"
   16374     CFLAGS="$CFLAGS $VISIBILITY_CFLAGS"
   16375     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16376 /* end confdefs.h.  */
   16377 
   16378 int
   16379 main ()
   16380 {
   16381 
   16382   ;
   16383   return 0;
   16384 }
   16385 _ACEOF
   16386 if ac_fn_c_try_link "$LINENO"; then :
   16387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16388 $as_echo "yes" >&6; }
   16389 else
   16390   VISIBILITY_CFLAGS=""; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16391 $as_echo "no" >&6; }
   16392 fi
   16393 rm -f core conftest.err conftest.$ac_objext \
   16394     conftest$ac_exeext conftest.$ac_ext;
   16395 
   16396     # Restore CFLAGS; VISIBILITY_CFLAGS are added to it where needed.
   16397     CFLAGS=$save_CFLAGS
   16398 
   16399     if test "x$GXX" = xyes; then
   16400         WARNCXXFLAGS="-Wall"
   16401 
   16402         # Enable -fvisibility=hidden if using a gcc that supports it
   16403         save_CXXFLAGS="$CXXFLAGS"
   16404         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports -fvisibility=hidden" >&5
   16405 $as_echo_n "checking whether $CXX supports -fvisibility=hidden... " >&6; }
   16406         VISIBILITY_CXXFLAGS="-fvisibility=hidden"
   16407         CXXFLAGS="$CXXFLAGS $VISIBILITY_CXXFLAGS"
   16408         ac_ext=cpp
   16409 ac_cpp='$CXXCPP $CPPFLAGS'
   16410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   16413 
   16414         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16415 /* end confdefs.h.  */
   16416 
   16417 int
   16418 main ()
   16419 {
   16420 
   16421   ;
   16422   return 0;
   16423 }
   16424 _ACEOF
   16425 if ac_fn_cxx_try_link "$LINENO"; then :
   16426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16427 $as_echo "yes" >&6; }
   16428 else
   16429   VISIBILITY_CXXFLAGS=""; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16430 $as_echo "no" >&6; }
   16431 fi
   16432 rm -f core conftest.err conftest.$ac_objext \
   16433     conftest$ac_exeext conftest.$ac_ext;
   16434         ac_ext=c
   16435 ac_cpp='$CPP $CPPFLAGS'
   16436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16439 
   16440 
   16441         # Restore CXXFLAGS; VISIBILITY_CXXFLAGS are added to it where needed.
   16442         CXXFLAGS=$save_CXXFLAGS
   16443     fi
   16444 else
   16445     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   16446 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   16447   SUNCC="yes"
   16448 else
   16449   SUNCC="no"
   16450 fi
   16451 
   16452     if test "x$SUNCC" = "xyes"; then
   16453         WARNCFLAGS="-v"
   16454         WARNCXXFLAGS="-v"
   16455     fi
   16456 fi
   16457 
   16458 
   16459 
   16460 
   16461 
   16462 ac_config_files="$ac_config_files Makefile glu.pc"
   16463 
   16464 cat >confcache <<\_ACEOF
   16465 # This file is a shell script that caches the results of configure
   16466 # tests run on this system so they can be shared between configure
   16467 # scripts and configure runs, see configure's option --config-cache.
   16468 # It is not useful on other systems.  If it contains results you don't
   16469 # want to keep, you may remove or edit it.
   16470 #
   16471 # config.status only pays attention to the cache file if you give it
   16472 # the --recheck option to rerun configure.
   16473 #
   16474 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   16475 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   16476 # following values.
   16477 
   16478 _ACEOF
   16479 
   16480 # The following way of writing the cache mishandles newlines in values,
   16481 # but we know of no workaround that is simple, portable, and efficient.
   16482 # So, we kill variables containing newlines.
   16483 # Ultrix sh set writes to stderr and can't be redirected directly,
   16484 # and sets the high bit in the cache file unless we assign to the vars.
   16485 (
   16486   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   16487     eval ac_val=\$$ac_var
   16488     case $ac_val in #(
   16489     *${as_nl}*)
   16490       case $ac_var in #(
   16491       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   16492 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   16493       esac
   16494       case $ac_var in #(
   16495       _ | IFS | as_nl) ;; #(
   16496       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   16497       *) { eval $ac_var=; unset $ac_var;} ;;
   16498       esac ;;
   16499     esac
   16500   done
   16501 
   16502   (set) 2>&1 |
   16503     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   16504     *${as_nl}ac_space=\ *)
   16505       # `set' does not quote correctly, so add quotes: double-quote
   16506       # substitution turns \\\\ into \\, and sed turns \\ into \.
   16507       sed -n \
   16508 	"s/'/'\\\\''/g;
   16509 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   16510       ;; #(
   16511     *)
   16512       # `set' quotes correctly as required by POSIX, so do not add quotes.
   16513       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   16514       ;;
   16515     esac |
   16516     sort
   16517 ) |
   16518   sed '
   16519      /^ac_cv_env_/b end
   16520      t clear
   16521      :clear
   16522      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   16523      t end
   16524      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   16525      :end' >>confcache
   16526 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   16527   if test -w "$cache_file"; then
   16528     if test "x$cache_file" != "x/dev/null"; then
   16529       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   16530 $as_echo "$as_me: updating cache $cache_file" >&6;}
   16531       if test ! -f "$cache_file" || test -h "$cache_file"; then
   16532 	cat confcache >"$cache_file"
   16533       else
   16534         case $cache_file in #(
   16535         */* | ?:*)
   16536 	  mv -f confcache "$cache_file"$$ &&
   16537 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   16538         *)
   16539 	  mv -f confcache "$cache_file" ;;
   16540 	esac
   16541       fi
   16542     fi
   16543   else
   16544     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   16545 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   16546   fi
   16547 fi
   16548 rm -f confcache
   16549 
   16550 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   16551 # Let make expand exec_prefix.
   16552 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   16553 
   16554 # Transform confdefs.h into DEFS.
   16555 # Protect against shell expansion while executing Makefile rules.
   16556 # Protect against Makefile macro expansion.
   16557 #
   16558 # If the first sed substitution is executed (which looks for macros that
   16559 # take arguments), then branch to the quote section.  Otherwise,
   16560 # look for a macro that doesn't take arguments.
   16561 ac_script='
   16562 :mline
   16563 /\\$/{
   16564  N
   16565  s,\\\n,,
   16566  b mline
   16567 }
   16568 t clear
   16569 :clear
   16570 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   16571 t quote
   16572 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   16573 t quote
   16574 b any
   16575 :quote
   16576 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   16577 s/\[/\\&/g
   16578 s/\]/\\&/g
   16579 s/\$/$$/g
   16580 H
   16581 :any
   16582 ${
   16583 	g
   16584 	s/^\n//
   16585 	s/\n/ /g
   16586 	p
   16587 }
   16588 '
   16589 DEFS=`sed -n "$ac_script" confdefs.h`
   16590 
   16591 
   16592 ac_libobjs=
   16593 ac_ltlibobjs=
   16594 U=
   16595 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   16596   # 1. Remove the extension, and $U if already installed.
   16597   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   16598   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   16599   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   16600   #    will be set to the directory where LIBOBJS objects are built.
   16601   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   16602   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   16603 done
   16604 LIBOBJS=$ac_libobjs
   16605 
   16606 LTLIBOBJS=$ac_ltlibobjs
   16607 
   16608 
   16609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   16610 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   16611    if test -n "$am_sleep_pid"; then
   16612      # Hide warnings about reused PIDs.
   16613      wait $am_sleep_pid 2>/dev/null
   16614    fi
   16615    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   16616 $as_echo "done" >&6; }
   16617  if test -n "$EXEEXT"; then
   16618   am__EXEEXT_TRUE=
   16619   am__EXEEXT_FALSE='#'
   16620 else
   16621   am__EXEEXT_TRUE='#'
   16622   am__EXEEXT_FALSE=
   16623 fi
   16624 
   16625 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   16626   as_fn_error $? "conditional \"AMDEP\" was never defined.
   16627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16628 fi
   16629 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   16630   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   16631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16632 fi
   16633 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   16634   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   16635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16636 fi
   16637 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   16638   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   16639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16640 fi
   16641 
   16642 : "${CONFIG_STATUS=./config.status}"
   16643 ac_write_fail=0
   16644 ac_clean_files_save=$ac_clean_files
   16645 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   16646 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   16647 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   16648 as_write_fail=0
   16649 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   16650 #! $SHELL
   16651 # Generated by $as_me.
   16652 # Run this file to recreate the current configuration.
   16653 # Compiler output produced by configure, useful for debugging
   16654 # configure, is in config.log if it exists.
   16655 
   16656 debug=false
   16657 ac_cs_recheck=false
   16658 ac_cs_silent=false
   16659 
   16660 SHELL=\${CONFIG_SHELL-$SHELL}
   16661 export SHELL
   16662 _ASEOF
   16663 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   16664 ## -------------------- ##
   16665 ## M4sh Initialization. ##
   16666 ## -------------------- ##
   16667 
   16668 # Be more Bourne compatible
   16669 DUALCASE=1; export DUALCASE # for MKS sh
   16670 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   16671   emulate sh
   16672   NULLCMD=:
   16673   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   16674   # is contrary to our usage.  Disable this feature.
   16675   alias -g '${1+"$@"}'='"$@"'
   16676   setopt NO_GLOB_SUBST
   16677 else
   16678   case `(set -o) 2>/dev/null` in #(
   16679   *posix*) :
   16680     set -o posix ;; #(
   16681   *) :
   16682      ;;
   16683 esac
   16684 fi
   16685 
   16686 
   16687 as_nl='
   16688 '
   16689 export as_nl
   16690 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   16691 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   16692 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   16693 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   16694 # Prefer a ksh shell builtin over an external printf program on Solaris,
   16695 # but without wasting forks for bash or zsh.
   16696 if test -z "$BASH_VERSION$ZSH_VERSION" \
   16697     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   16698   as_echo='print -r --'
   16699   as_echo_n='print -rn --'
   16700 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   16701   as_echo='printf %s\n'
   16702   as_echo_n='printf %s'
   16703 else
   16704   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   16705     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   16706     as_echo_n='/usr/ucb/echo -n'
   16707   else
   16708     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   16709     as_echo_n_body='eval
   16710       arg=$1;
   16711       case $arg in #(
   16712       *"$as_nl"*)
   16713 	expr "X$arg" : "X\\(.*\\)$as_nl";
   16714 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   16715       esac;
   16716       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   16717     '
   16718     export as_echo_n_body
   16719     as_echo_n='sh -c $as_echo_n_body as_echo'
   16720   fi
   16721   export as_echo_body
   16722   as_echo='sh -c $as_echo_body as_echo'
   16723 fi
   16724 
   16725 # The user is always right.
   16726 if test "${PATH_SEPARATOR+set}" != set; then
   16727   PATH_SEPARATOR=:
   16728   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   16729     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   16730       PATH_SEPARATOR=';'
   16731   }
   16732 fi
   16733 
   16734 
   16735 # IFS
   16736 # We need space, tab and new line, in precisely that order.  Quoting is
   16737 # there to prevent editors from complaining about space-tab.
   16738 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   16739 # splitting by setting IFS to empty value.)
   16740 IFS=" ""	$as_nl"
   16741 
   16742 # Find who we are.  Look in the path if we contain no directory separator.
   16743 as_myself=
   16744 case $0 in #((
   16745   *[\\/]* ) as_myself=$0 ;;
   16746   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16747 for as_dir in $PATH
   16748 do
   16749   IFS=$as_save_IFS
   16750   test -z "$as_dir" && as_dir=.
   16751     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   16752   done
   16753 IFS=$as_save_IFS
   16754 
   16755      ;;
   16756 esac
   16757 # We did not find ourselves, most probably we were run as `sh COMMAND'
   16758 # in which case we are not to be found in the path.
   16759 if test "x$as_myself" = x; then
   16760   as_myself=$0
   16761 fi
   16762 if test ! -f "$as_myself"; then
   16763   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   16764   exit 1
   16765 fi
   16766 
   16767 # Unset variables that we do not need and which cause bugs (e.g. in
   16768 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   16769 # suppresses any "Segmentation fault" message there.  '((' could
   16770 # trigger a bug in pdksh 5.2.14.
   16771 for as_var in BASH_ENV ENV MAIL MAILPATH
   16772 do eval test x\${$as_var+set} = xset \
   16773   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   16774 done
   16775 PS1='$ '
   16776 PS2='> '
   16777 PS4='+ '
   16778 
   16779 # NLS nuisances.
   16780 LC_ALL=C
   16781 export LC_ALL
   16782 LANGUAGE=C
   16783 export LANGUAGE
   16784 
   16785 # CDPATH.
   16786 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   16787 
   16788 
   16789 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   16790 # ----------------------------------------
   16791 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   16792 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   16793 # script with STATUS, using 1 if that was 0.
   16794 as_fn_error ()
   16795 {
   16796   as_status=$1; test $as_status -eq 0 && as_status=1
   16797   if test "$4"; then
   16798     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   16799     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   16800   fi
   16801   $as_echo "$as_me: error: $2" >&2
   16802   as_fn_exit $as_status
   16803 } # as_fn_error
   16804 
   16805 
   16806 # as_fn_set_status STATUS
   16807 # -----------------------
   16808 # Set $? to STATUS, without forking.
   16809 as_fn_set_status ()
   16810 {
   16811   return $1
   16812 } # as_fn_set_status
   16813 
   16814 # as_fn_exit STATUS
   16815 # -----------------
   16816 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   16817 as_fn_exit ()
   16818 {
   16819   set +e
   16820   as_fn_set_status $1
   16821   exit $1
   16822 } # as_fn_exit
   16823 
   16824 # as_fn_unset VAR
   16825 # ---------------
   16826 # Portably unset VAR.
   16827 as_fn_unset ()
   16828 {
   16829   { eval $1=; unset $1;}
   16830 }
   16831 as_unset=as_fn_unset
   16832 # as_fn_append VAR VALUE
   16833 # ----------------------
   16834 # Append the text in VALUE to the end of the definition contained in VAR. Take
   16835 # advantage of any shell optimizations that allow amortized linear growth over
   16836 # repeated appends, instead of the typical quadratic growth present in naive
   16837 # implementations.
   16838 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   16839   eval 'as_fn_append ()
   16840   {
   16841     eval $1+=\$2
   16842   }'
   16843 else
   16844   as_fn_append ()
   16845   {
   16846     eval $1=\$$1\$2
   16847   }
   16848 fi # as_fn_append
   16849 
   16850 # as_fn_arith ARG...
   16851 # ------------------
   16852 # Perform arithmetic evaluation on the ARGs, and store the result in the
   16853 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   16854 # must be portable across $(()) and expr.
   16855 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   16856   eval 'as_fn_arith ()
   16857   {
   16858     as_val=$(( $* ))
   16859   }'
   16860 else
   16861   as_fn_arith ()
   16862   {
   16863     as_val=`expr "$@" || test $? -eq 1`
   16864   }
   16865 fi # as_fn_arith
   16866 
   16867 
   16868 if expr a : '\(a\)' >/dev/null 2>&1 &&
   16869    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   16870   as_expr=expr
   16871 else
   16872   as_expr=false
   16873 fi
   16874 
   16875 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   16876   as_basename=basename
   16877 else
   16878   as_basename=false
   16879 fi
   16880 
   16881 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   16882   as_dirname=dirname
   16883 else
   16884   as_dirname=false
   16885 fi
   16886 
   16887 as_me=`$as_basename -- "$0" ||
   16888 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   16889 	 X"$0" : 'X\(//\)$' \| \
   16890 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   16891 $as_echo X/"$0" |
   16892     sed '/^.*\/\([^/][^/]*\)\/*$/{
   16893 	    s//\1/
   16894 	    q
   16895 	  }
   16896 	  /^X\/\(\/\/\)$/{
   16897 	    s//\1/
   16898 	    q
   16899 	  }
   16900 	  /^X\/\(\/\).*/{
   16901 	    s//\1/
   16902 	    q
   16903 	  }
   16904 	  s/.*/./; q'`
   16905 
   16906 # Avoid depending upon Character Ranges.
   16907 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   16908 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   16909 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   16910 as_cr_digits='0123456789'
   16911 as_cr_alnum=$as_cr_Letters$as_cr_digits
   16912 
   16913 ECHO_C= ECHO_N= ECHO_T=
   16914 case `echo -n x` in #(((((
   16915 -n*)
   16916   case `echo 'xy\c'` in
   16917   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   16918   xy)  ECHO_C='\c';;
   16919   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   16920        ECHO_T='	';;
   16921   esac;;
   16922 *)
   16923   ECHO_N='-n';;
   16924 esac
   16925 
   16926 rm -f conf$$ conf$$.exe conf$$.file
   16927 if test -d conf$$.dir; then
   16928   rm -f conf$$.dir/conf$$.file
   16929 else
   16930   rm -f conf$$.dir
   16931   mkdir conf$$.dir 2>/dev/null
   16932 fi
   16933 if (echo >conf$$.file) 2>/dev/null; then
   16934   if ln -s conf$$.file conf$$ 2>/dev/null; then
   16935     as_ln_s='ln -s'
   16936     # ... but there are two gotchas:
   16937     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   16938     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   16939     # In both cases, we have to default to `cp -p'.
   16940     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   16941       as_ln_s='cp -p'
   16942   elif ln conf$$.file conf$$ 2>/dev/null; then
   16943     as_ln_s=ln
   16944   else
   16945     as_ln_s='cp -p'
   16946   fi
   16947 else
   16948   as_ln_s='cp -p'
   16949 fi
   16950 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   16951 rmdir conf$$.dir 2>/dev/null
   16952 
   16953 
   16954 # as_fn_mkdir_p
   16955 # -------------
   16956 # Create "$as_dir" as a directory, including parents if necessary.
   16957 as_fn_mkdir_p ()
   16958 {
   16959 
   16960   case $as_dir in #(
   16961   -*) as_dir=./$as_dir;;
   16962   esac
   16963   test -d "$as_dir" || eval $as_mkdir_p || {
   16964     as_dirs=
   16965     while :; do
   16966       case $as_dir in #(
   16967       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   16968       *) as_qdir=$as_dir;;
   16969       esac
   16970       as_dirs="'$as_qdir' $as_dirs"
   16971       as_dir=`$as_dirname -- "$as_dir" ||
   16972 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16973 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16974 	 X"$as_dir" : 'X\(//\)$' \| \
   16975 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16976 $as_echo X"$as_dir" |
   16977     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16978 	    s//\1/
   16979 	    q
   16980 	  }
   16981 	  /^X\(\/\/\)[^/].*/{
   16982 	    s//\1/
   16983 	    q
   16984 	  }
   16985 	  /^X\(\/\/\)$/{
   16986 	    s//\1/
   16987 	    q
   16988 	  }
   16989 	  /^X\(\/\).*/{
   16990 	    s//\1/
   16991 	    q
   16992 	  }
   16993 	  s/.*/./; q'`
   16994       test -d "$as_dir" && break
   16995     done
   16996     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16997   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   16998 
   16999 
   17000 } # as_fn_mkdir_p
   17001 if mkdir -p . 2>/dev/null; then
   17002   as_mkdir_p='mkdir -p "$as_dir"'
   17003 else
   17004   test -d ./-p && rmdir ./-p
   17005   as_mkdir_p=false
   17006 fi
   17007 
   17008 if test -x / >/dev/null 2>&1; then
   17009   as_test_x='test -x'
   17010 else
   17011   if ls -dL / >/dev/null 2>&1; then
   17012     as_ls_L_option=L
   17013   else
   17014     as_ls_L_option=
   17015   fi
   17016   as_test_x='
   17017     eval sh -c '\''
   17018       if test -d "$1"; then
   17019 	test -d "$1/.";
   17020       else
   17021 	case $1 in #(
   17022 	-*)set "./$1";;
   17023 	esac;
   17024 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   17025 	???[sx]*):;;*)false;;esac;fi
   17026     '\'' sh
   17027   '
   17028 fi
   17029 as_executable_p=$as_test_x
   17030 
   17031 # Sed expression to map a string onto a valid CPP name.
   17032 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   17033 
   17034 # Sed expression to map a string onto a valid variable name.
   17035 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   17036 
   17037 
   17038 exec 6>&1
   17039 ## ----------------------------------- ##
   17040 ## Main body of $CONFIG_STATUS script. ##
   17041 ## ----------------------------------- ##
   17042 _ASEOF
   17043 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   17044 
   17045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17046 # Save the log message, to keep $0 and so on meaningful, and to
   17047 # report actual input values of CONFIG_FILES etc. instead of their
   17048 # values after options handling.
   17049 ac_log="
   17050 This file was extended by glu $as_me 9.0.0, which was
   17051 generated by GNU Autoconf 2.68.  Invocation command line was
   17052 
   17053   CONFIG_FILES    = $CONFIG_FILES
   17054   CONFIG_HEADERS  = $CONFIG_HEADERS
   17055   CONFIG_LINKS    = $CONFIG_LINKS
   17056   CONFIG_COMMANDS = $CONFIG_COMMANDS
   17057   $ $0 $@
   17058 
   17059 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   17060 "
   17061 
   17062 _ACEOF
   17063 
   17064 case $ac_config_files in *"
   17065 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   17066 esac
   17067 
   17068 
   17069 
   17070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17071 # Files that config.status was made for.
   17072 config_files="$ac_config_files"
   17073 config_commands="$ac_config_commands"
   17074 
   17075 _ACEOF
   17076 
   17077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17078 ac_cs_usage="\
   17079 \`$as_me' instantiates files and other configuration actions
   17080 from templates according to the current configuration.  Unless the files
   17081 and actions are specified as TAGs, all are instantiated by default.
   17082 
   17083 Usage: $0 [OPTION]... [TAG]...
   17084 
   17085   -h, --help       print this help, then exit
   17086   -V, --version    print version number and configuration settings, then exit
   17087       --config     print configuration, then exit
   17088   -q, --quiet, --silent
   17089                    do not print progress messages
   17090   -d, --debug      don't remove temporary files
   17091       --recheck    update $as_me by reconfiguring in the same conditions
   17092       --file=FILE[:TEMPLATE]
   17093                    instantiate the configuration file FILE
   17094 
   17095 Configuration files:
   17096 $config_files
   17097 
   17098 Configuration commands:
   17099 $config_commands
   17100 
   17101 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=GLU>."
   17102 
   17103 _ACEOF
   17104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17105 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   17106 ac_cs_version="\\
   17107 glu config.status 9.0.0
   17108 configured by $0, generated by GNU Autoconf 2.68,
   17109   with options \\"\$ac_cs_config\\"
   17110 
   17111 Copyright (C) 2010 Free Software Foundation, Inc.
   17112 This config.status script is free software; the Free Software Foundation
   17113 gives unlimited permission to copy, distribute and modify it."
   17114 
   17115 ac_pwd='$ac_pwd'
   17116 srcdir='$srcdir'
   17117 INSTALL='$INSTALL'
   17118 MKDIR_P='$MKDIR_P'
   17119 AWK='$AWK'
   17120 test -n "\$AWK" || AWK=awk
   17121 _ACEOF
   17122 
   17123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17124 # The default lists apply if the user does not specify any file.
   17125 ac_need_defaults=:
   17126 while test $# != 0
   17127 do
   17128   case $1 in
   17129   --*=?*)
   17130     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17131     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   17132     ac_shift=:
   17133     ;;
   17134   --*=)
   17135     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17136     ac_optarg=
   17137     ac_shift=:
   17138     ;;
   17139   *)
   17140     ac_option=$1
   17141     ac_optarg=$2
   17142     ac_shift=shift
   17143     ;;
   17144   esac
   17145 
   17146   case $ac_option in
   17147   # Handling of the options.
   17148   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   17149     ac_cs_recheck=: ;;
   17150   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   17151     $as_echo "$ac_cs_version"; exit ;;
   17152   --config | --confi | --conf | --con | --co | --c )
   17153     $as_echo "$ac_cs_config"; exit ;;
   17154   --debug | --debu | --deb | --de | --d | -d )
   17155     debug=: ;;
   17156   --file | --fil | --fi | --f )
   17157     $ac_shift
   17158     case $ac_optarg in
   17159     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17160     '') as_fn_error $? "missing file argument" ;;
   17161     esac
   17162     as_fn_append CONFIG_FILES " '$ac_optarg'"
   17163     ac_need_defaults=false;;
   17164   --he | --h |  --help | --hel | -h )
   17165     $as_echo "$ac_cs_usage"; exit ;;
   17166   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   17167   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   17168     ac_cs_silent=: ;;
   17169 
   17170   # This is an error.
   17171   -*) as_fn_error $? "unrecognized option: \`$1'
   17172 Try \`$0 --help' for more information." ;;
   17173 
   17174   *) as_fn_append ac_config_targets " $1"
   17175      ac_need_defaults=false ;;
   17176 
   17177   esac
   17178   shift
   17179 done
   17180 
   17181 ac_configure_extra_args=
   17182 
   17183 if $ac_cs_silent; then
   17184   exec 6>/dev/null
   17185   ac_configure_extra_args="$ac_configure_extra_args --silent"
   17186 fi
   17187 
   17188 _ACEOF
   17189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17190 if \$ac_cs_recheck; then
   17191   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   17192   shift
   17193   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   17194   CONFIG_SHELL='$SHELL'
   17195   export CONFIG_SHELL
   17196   exec "\$@"
   17197 fi
   17198 
   17199 _ACEOF
   17200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17201 exec 5>>config.log
   17202 {
   17203   echo
   17204   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   17205 ## Running $as_me. ##
   17206 _ASBOX
   17207   $as_echo "$ac_log"
   17208 } >&5
   17209 
   17210 _ACEOF
   17211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17212 #
   17213 # INIT-COMMANDS
   17214 #
   17215 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   17216 
   17217 
   17218 # The HP-UX ksh and POSIX shell print the target directory to stdout
   17219 # if CDPATH is set.
   17220 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17221 
   17222 sed_quote_subst='$sed_quote_subst'
   17223 double_quote_subst='$double_quote_subst'
   17224 delay_variable_subst='$delay_variable_subst'
   17225 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   17226 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   17227 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   17228 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   17229 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   17230 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   17231 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   17232 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   17233 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   17234 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   17235 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   17236 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   17237 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   17238 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   17239 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   17240 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   17241 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   17242 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   17243 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   17244 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   17245 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   17246 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   17247 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   17248 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   17249 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   17250 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   17251 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   17252 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   17253 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   17254 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   17255 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   17256 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   17257 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   17258 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   17259 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   17260 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   17261 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   17262 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   17263 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   17264 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   17265 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   17266 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   17267 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   17268 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   17269 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17270 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17271 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   17272 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   17273 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   17274 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   17275 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   17276 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   17277 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   17278 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   17279 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   17280 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   17281 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   17282 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   17283 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   17284 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   17285 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   17286 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   17287 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   17288 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   17289 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   17290 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   17291 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   17292 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   17293 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   17294 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   17295 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   17296 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   17297 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   17298 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   17299 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17300 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   17301 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   17302 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   17303 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   17304 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   17305 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   17306 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17307 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   17308 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17309 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   17310 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17311 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   17312 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17313 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17314 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   17315 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   17316 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   17317 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   17318 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   17319 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   17320 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17321 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   17322 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   17323 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   17324 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   17325 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   17326 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   17327 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   17328 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   17329 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   17330 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   17331 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   17332 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   17333 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   17334 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   17335 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   17336 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17337 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   17338 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   17339 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   17340 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   17341 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   17342 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17343 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17344 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   17345 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   17346 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   17347 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   17348 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   17349 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   17350 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   17351 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   17352 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   17353 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   17354 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   17355 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   17356 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   17357 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   17358 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   17359 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   17360 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   17361 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   17362 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17363 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17364 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17365 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   17366 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   17367 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17368 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   17369 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   17370 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   17371 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   17372 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   17373 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   17374 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17375 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17376 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   17377 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17378 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17379 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17380 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17381 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17382 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17383 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   17384 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17385 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17386 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17387 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
   17388 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   17389 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   17390 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   17391 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   17392 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   17393 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   17394 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   17395 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   17396 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   17397 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17398 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   17399 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   17400 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17401 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17402 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17403 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   17404 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   17405 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   17406 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   17407 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   17408 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   17409 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   17410 
   17411 LTCC='$LTCC'
   17412 LTCFLAGS='$LTCFLAGS'
   17413 compiler='$compiler_DEFAULT'
   17414 
   17415 # A function that is used when there is no print builtin or printf.
   17416 func_fallback_echo ()
   17417 {
   17418   eval 'cat <<_LTECHO_EOF
   17419 \$1
   17420 _LTECHO_EOF'
   17421 }
   17422 
   17423 # Quote evaled strings.
   17424 for var in SHELL \
   17425 ECHO \
   17426 SED \
   17427 GREP \
   17428 EGREP \
   17429 FGREP \
   17430 LD \
   17431 NM \
   17432 LN_S \
   17433 lt_SP2NL \
   17434 lt_NL2SP \
   17435 reload_flag \
   17436 OBJDUMP \
   17437 deplibs_check_method \
   17438 file_magic_cmd \
   17439 file_magic_glob \
   17440 want_nocaseglob \
   17441 DLLTOOL \
   17442 sharedlib_from_linklib_cmd \
   17443 AR \
   17444 AR_FLAGS \
   17445 archiver_list_spec \
   17446 STRIP \
   17447 RANLIB \
   17448 CC \
   17449 CFLAGS \
   17450 compiler \
   17451 lt_cv_sys_global_symbol_pipe \
   17452 lt_cv_sys_global_symbol_to_cdecl \
   17453 lt_cv_sys_global_symbol_to_c_name_address \
   17454 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   17455 nm_file_list_spec \
   17456 lt_prog_compiler_no_builtin_flag \
   17457 lt_prog_compiler_pic \
   17458 lt_prog_compiler_wl \
   17459 lt_prog_compiler_static \
   17460 lt_cv_prog_compiler_c_o \
   17461 need_locks \
   17462 MANIFEST_TOOL \
   17463 DSYMUTIL \
   17464 NMEDIT \
   17465 LIPO \
   17466 OTOOL \
   17467 OTOOL64 \
   17468 shrext_cmds \
   17469 export_dynamic_flag_spec \
   17470 whole_archive_flag_spec \
   17471 compiler_needs_object \
   17472 with_gnu_ld \
   17473 allow_undefined_flag \
   17474 no_undefined_flag \
   17475 hardcode_libdir_flag_spec \
   17476 hardcode_libdir_flag_spec_ld \
   17477 hardcode_libdir_separator \
   17478 exclude_expsyms \
   17479 include_expsyms \
   17480 file_list_spec \
   17481 variables_saved_for_relink \
   17482 libname_spec \
   17483 library_names_spec \
   17484 soname_spec \
   17485 install_override_mode \
   17486 finish_eval \
   17487 old_striplib \
   17488 striplib \
   17489 compiler_lib_search_dirs \
   17490 predep_objects \
   17491 postdep_objects \
   17492 predeps \
   17493 postdeps \
   17494 compiler_lib_search_path \
   17495 LD_CXX \
   17496 reload_flag_CXX \
   17497 compiler_CXX \
   17498 lt_prog_compiler_no_builtin_flag_CXX \
   17499 lt_prog_compiler_pic_CXX \
   17500 lt_prog_compiler_wl_CXX \
   17501 lt_prog_compiler_static_CXX \
   17502 lt_cv_prog_compiler_c_o_CXX \
   17503 export_dynamic_flag_spec_CXX \
   17504 whole_archive_flag_spec_CXX \
   17505 compiler_needs_object_CXX \
   17506 with_gnu_ld_CXX \
   17507 allow_undefined_flag_CXX \
   17508 no_undefined_flag_CXX \
   17509 hardcode_libdir_flag_spec_CXX \
   17510 hardcode_libdir_flag_spec_ld_CXX \
   17511 hardcode_libdir_separator_CXX \
   17512 exclude_expsyms_CXX \
   17513 include_expsyms_CXX \
   17514 file_list_spec_CXX \
   17515 compiler_lib_search_dirs_CXX \
   17516 predep_objects_CXX \
   17517 postdep_objects_CXX \
   17518 predeps_CXX \
   17519 postdeps_CXX \
   17520 compiler_lib_search_path_CXX; do
   17521     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   17522     *[\\\\\\\`\\"\\\$]*)
   17523       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   17524       ;;
   17525     *)
   17526       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   17527       ;;
   17528     esac
   17529 done
   17530 
   17531 # Double-quote double-evaled strings.
   17532 for var in reload_cmds \
   17533 old_postinstall_cmds \
   17534 old_postuninstall_cmds \
   17535 old_archive_cmds \
   17536 extract_expsyms_cmds \
   17537 old_archive_from_new_cmds \
   17538 old_archive_from_expsyms_cmds \
   17539 archive_cmds \
   17540 archive_expsym_cmds \
   17541 module_cmds \
   17542 module_expsym_cmds \
   17543 export_symbols_cmds \
   17544 prelink_cmds \
   17545 postlink_cmds \
   17546 postinstall_cmds \
   17547 postuninstall_cmds \
   17548 finish_cmds \
   17549 sys_lib_search_path_spec \
   17550 sys_lib_dlsearch_path_spec \
   17551 reload_cmds_CXX \
   17552 old_archive_cmds_CXX \
   17553 old_archive_from_new_cmds_CXX \
   17554 old_archive_from_expsyms_cmds_CXX \
   17555 archive_cmds_CXX \
   17556 archive_expsym_cmds_CXX \
   17557 module_cmds_CXX \
   17558 module_expsym_cmds_CXX \
   17559 export_symbols_cmds_CXX \
   17560 prelink_cmds_CXX \
   17561 postlink_cmds_CXX; do
   17562     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   17563     *[\\\\\\\`\\"\\\$]*)
   17564       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   17565       ;;
   17566     *)
   17567       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   17568       ;;
   17569     esac
   17570 done
   17571 
   17572 ac_aux_dir='$ac_aux_dir'
   17573 xsi_shell='$xsi_shell'
   17574 lt_shell_append='$lt_shell_append'
   17575 
   17576 # See if we are running on zsh, and set the options which allow our
   17577 # commands through without removal of \ escapes INIT.
   17578 if test -n "\${ZSH_VERSION+set}" ; then
   17579    setopt NO_GLOB_SUBST
   17580 fi
   17581 
   17582 
   17583     PACKAGE='$PACKAGE'
   17584     VERSION='$VERSION'
   17585     TIMESTAMP='$TIMESTAMP'
   17586     RM='$RM'
   17587     ofile='$ofile'
   17588 
   17589 
   17590 
   17591 
   17592 
   17593 
   17594 _ACEOF
   17595 
   17596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17597 
   17598 # Handling of arguments.
   17599 for ac_config_target in $ac_config_targets
   17600 do
   17601   case $ac_config_target in
   17602     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   17603     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   17604     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   17605     "glu.pc") CONFIG_FILES="$CONFIG_FILES glu.pc" ;;
   17606 
   17607   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   17608   esac
   17609 done
   17610 
   17611 
   17612 # If the user did not use the arguments to specify the items to instantiate,
   17613 # then the envvar interface is used.  Set only those that are not.
   17614 # We use the long form for the default assignment because of an extremely
   17615 # bizarre bug on SunOS 4.1.3.
   17616 if $ac_need_defaults; then
   17617   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   17618   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   17619 fi
   17620 
   17621 # Have a temporary directory for convenience.  Make it in the build tree
   17622 # simply because there is no reason against having it here, and in addition,
   17623 # creating and moving files from /tmp can sometimes cause problems.
   17624 # Hook for its removal unless debugging.
   17625 # Note that there is a small window in which the directory will not be cleaned:
   17626 # after its creation but before its name has been assigned to `$tmp'.
   17627 $debug ||
   17628 {
   17629   tmp= ac_tmp=
   17630   trap 'exit_status=$?
   17631   : "${ac_tmp:=$tmp}"
   17632   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   17633 ' 0
   17634   trap 'as_fn_exit 1' 1 2 13 15
   17635 }
   17636 # Create a (secure) tmp directory for tmp files.
   17637 
   17638 {
   17639   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   17640   test -d "$tmp"
   17641 }  ||
   17642 {
   17643   tmp=./conf$$-$RANDOM
   17644   (umask 077 && mkdir "$tmp")
   17645 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   17646 ac_tmp=$tmp
   17647 
   17648 # Set up the scripts for CONFIG_FILES section.
   17649 # No need to generate them if there are no CONFIG_FILES.
   17650 # This happens for instance with `./config.status config.h'.
   17651 if test -n "$CONFIG_FILES"; then
   17652 
   17653 
   17654 ac_cr=`echo X | tr X '\015'`
   17655 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   17656 # But we know of no other shell where ac_cr would be empty at this
   17657 # point, so we can use a bashism as a fallback.
   17658 if test "x$ac_cr" = x; then
   17659   eval ac_cr=\$\'\\r\'
   17660 fi
   17661 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   17662 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   17663   ac_cs_awk_cr='\\r'
   17664 else
   17665   ac_cs_awk_cr=$ac_cr
   17666 fi
   17667 
   17668 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   17669 _ACEOF
   17670 
   17671 
   17672 {
   17673   echo "cat >conf$$subs.awk <<_ACEOF" &&
   17674   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   17675   echo "_ACEOF"
   17676 } >conf$$subs.sh ||
   17677   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   17678 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   17679 ac_delim='%!_!# '
   17680 for ac_last_try in false false false false false :; do
   17681   . ./conf$$subs.sh ||
   17682     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   17683 
   17684   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   17685   if test $ac_delim_n = $ac_delim_num; then
   17686     break
   17687   elif $ac_last_try; then
   17688     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   17689   else
   17690     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   17691   fi
   17692 done
   17693 rm -f conf$$subs.sh
   17694 
   17695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17696 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   17697 _ACEOF
   17698 sed -n '
   17699 h
   17700 s/^/S["/; s/!.*/"]=/
   17701 p
   17702 g
   17703 s/^[^!]*!//
   17704 :repl
   17705 t repl
   17706 s/'"$ac_delim"'$//
   17707 t delim
   17708 :nl
   17709 h
   17710 s/\(.\{148\}\)..*/\1/
   17711 t more1
   17712 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   17713 p
   17714 n
   17715 b repl
   17716 :more1
   17717 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   17718 p
   17719 g
   17720 s/.\{148\}//
   17721 t nl
   17722 :delim
   17723 h
   17724 s/\(.\{148\}\)..*/\1/
   17725 t more2
   17726 s/["\\]/\\&/g; s/^/"/; s/$/"/
   17727 p
   17728 b
   17729 :more2
   17730 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   17731 p
   17732 g
   17733 s/.\{148\}//
   17734 t delim
   17735 ' <conf$$subs.awk | sed '
   17736 /^[^""]/{
   17737   N
   17738   s/\n//
   17739 }
   17740 ' >>$CONFIG_STATUS || ac_write_fail=1
   17741 rm -f conf$$subs.awk
   17742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17743 _ACAWK
   17744 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   17745   for (key in S) S_is_set[key] = 1
   17746   FS = ""
   17747 
   17748 }
   17749 {
   17750   line = $ 0
   17751   nfields = split(line, field, "@")
   17752   substed = 0
   17753   len = length(field[1])
   17754   for (i = 2; i < nfields; i++) {
   17755     key = field[i]
   17756     keylen = length(key)
   17757     if (S_is_set[key]) {
   17758       value = S[key]
   17759       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   17760       len += length(value) + length(field[++i])
   17761       substed = 1
   17762     } else
   17763       len += 1 + keylen
   17764   }
   17765 
   17766   print line
   17767 }
   17768 
   17769 _ACAWK
   17770 _ACEOF
   17771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17772 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   17773   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   17774 else
   17775   cat
   17776 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   17777   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   17778 _ACEOF
   17779 
   17780 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   17781 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   17782 # trailing colons and then remove the whole line if VPATH becomes empty
   17783 # (actually we leave an empty line to preserve line numbers).
   17784 if test "x$srcdir" = x.; then
   17785   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   17786 h
   17787 s///
   17788 s/^/:/
   17789 s/[	 ]*$/:/
   17790 s/:\$(srcdir):/:/g
   17791 s/:\${srcdir}:/:/g
   17792 s/:@srcdir@:/:/g
   17793 s/^:*//
   17794 s/:*$//
   17795 x
   17796 s/\(=[	 ]*\).*/\1/
   17797 G
   17798 s/\n//
   17799 s/^[^=]*=[	 ]*$//
   17800 }'
   17801 fi
   17802 
   17803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17804 fi # test -n "$CONFIG_FILES"
   17805 
   17806 
   17807 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   17808 shift
   17809 for ac_tag
   17810 do
   17811   case $ac_tag in
   17812   :[FHLC]) ac_mode=$ac_tag; continue;;
   17813   esac
   17814   case $ac_mode$ac_tag in
   17815   :[FHL]*:*);;
   17816   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   17817   :[FH]-) ac_tag=-:-;;
   17818   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   17819   esac
   17820   ac_save_IFS=$IFS
   17821   IFS=:
   17822   set x $ac_tag
   17823   IFS=$ac_save_IFS
   17824   shift
   17825   ac_file=$1
   17826   shift
   17827 
   17828   case $ac_mode in
   17829   :L) ac_source=$1;;
   17830   :[FH])
   17831     ac_file_inputs=
   17832     for ac_f
   17833     do
   17834       case $ac_f in
   17835       -) ac_f="$ac_tmp/stdin";;
   17836       *) # Look for the file first in the build tree, then in the source tree
   17837 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   17838 	 # because $ac_f cannot contain `:'.
   17839 	 test -f "$ac_f" ||
   17840 	   case $ac_f in
   17841 	   [\\/$]*) false;;
   17842 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   17843 	   esac ||
   17844 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   17845       esac
   17846       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   17847       as_fn_append ac_file_inputs " '$ac_f'"
   17848     done
   17849 
   17850     # Let's still pretend it is `configure' which instantiates (i.e., don't
   17851     # use $as_me), people would be surprised to read:
   17852     #    /* config.h.  Generated by config.status.  */
   17853     configure_input='Generated from '`
   17854 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   17855 	`' by configure.'
   17856     if test x"$ac_file" != x-; then
   17857       configure_input="$ac_file.  $configure_input"
   17858       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   17859 $as_echo "$as_me: creating $ac_file" >&6;}
   17860     fi
   17861     # Neutralize special characters interpreted by sed in replacement strings.
   17862     case $configure_input in #(
   17863     *\&* | *\|* | *\\* )
   17864        ac_sed_conf_input=`$as_echo "$configure_input" |
   17865        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   17866     *) ac_sed_conf_input=$configure_input;;
   17867     esac
   17868 
   17869     case $ac_tag in
   17870     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   17871       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   17872     esac
   17873     ;;
   17874   esac
   17875 
   17876   ac_dir=`$as_dirname -- "$ac_file" ||
   17877 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17878 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   17879 	 X"$ac_file" : 'X\(//\)$' \| \
   17880 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   17881 $as_echo X"$ac_file" |
   17882     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17883 	    s//\1/
   17884 	    q
   17885 	  }
   17886 	  /^X\(\/\/\)[^/].*/{
   17887 	    s//\1/
   17888 	    q
   17889 	  }
   17890 	  /^X\(\/\/\)$/{
   17891 	    s//\1/
   17892 	    q
   17893 	  }
   17894 	  /^X\(\/\).*/{
   17895 	    s//\1/
   17896 	    q
   17897 	  }
   17898 	  s/.*/./; q'`
   17899   as_dir="$ac_dir"; as_fn_mkdir_p
   17900   ac_builddir=.
   17901 
   17902 case "$ac_dir" in
   17903 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17904 *)
   17905   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   17906   # A ".." for each directory in $ac_dir_suffix.
   17907   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   17908   case $ac_top_builddir_sub in
   17909   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17910   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   17911   esac ;;
   17912 esac
   17913 ac_abs_top_builddir=$ac_pwd
   17914 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   17915 # for backward compatibility:
   17916 ac_top_builddir=$ac_top_build_prefix
   17917 
   17918 case $srcdir in
   17919   .)  # We are building in place.
   17920     ac_srcdir=.
   17921     ac_top_srcdir=$ac_top_builddir_sub
   17922     ac_abs_top_srcdir=$ac_pwd ;;
   17923   [\\/]* | ?:[\\/]* )  # Absolute name.
   17924     ac_srcdir=$srcdir$ac_dir_suffix;
   17925     ac_top_srcdir=$srcdir
   17926     ac_abs_top_srcdir=$srcdir ;;
   17927   *) # Relative name.
   17928     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   17929     ac_top_srcdir=$ac_top_build_prefix$srcdir
   17930     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   17931 esac
   17932 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   17933 
   17934 
   17935   case $ac_mode in
   17936   :F)
   17937   #
   17938   # CONFIG_FILE
   17939   #
   17940 
   17941   case $INSTALL in
   17942   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   17943   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   17944   esac
   17945   ac_MKDIR_P=$MKDIR_P
   17946   case $MKDIR_P in
   17947   [\\/$]* | ?:[\\/]* ) ;;
   17948   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   17949   esac
   17950 _ACEOF
   17951 
   17952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17953 # If the template does not know about datarootdir, expand it.
   17954 # FIXME: This hack should be removed a few years after 2.60.
   17955 ac_datarootdir_hack=; ac_datarootdir_seen=
   17956 ac_sed_dataroot='
   17957 /datarootdir/ {
   17958   p
   17959   q
   17960 }
   17961 /@datadir@/p
   17962 /@docdir@/p
   17963 /@infodir@/p
   17964 /@localedir@/p
   17965 /@mandir@/p'
   17966 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   17967 *datarootdir*) ac_datarootdir_seen=yes;;
   17968 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   17969   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   17970 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   17971 _ACEOF
   17972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17973   ac_datarootdir_hack='
   17974   s&@datadir@&$datadir&g
   17975   s&@docdir@&$docdir&g
   17976   s&@infodir@&$infodir&g
   17977   s&@localedir@&$localedir&g
   17978   s&@mandir@&$mandir&g
   17979   s&\\\${datarootdir}&$datarootdir&g' ;;
   17980 esac
   17981 _ACEOF
   17982 
   17983 # Neutralize VPATH when `$srcdir' = `.'.
   17984 # Shell code in configure.ac might set extrasub.
   17985 # FIXME: do we really want to maintain this feature?
   17986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17987 ac_sed_extra="$ac_vpsub
   17988 $extrasub
   17989 _ACEOF
   17990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17991 :t
   17992 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   17993 s|@configure_input@|$ac_sed_conf_input|;t t
   17994 s&@top_builddir@&$ac_top_builddir_sub&;t t
   17995 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   17996 s&@srcdir@&$ac_srcdir&;t t
   17997 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   17998 s&@top_srcdir@&$ac_top_srcdir&;t t
   17999 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   18000 s&@builddir@&$ac_builddir&;t t
   18001 s&@abs_builddir@&$ac_abs_builddir&;t t
   18002 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   18003 s&@INSTALL@&$ac_INSTALL&;t t
   18004 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   18005 $ac_datarootdir_hack
   18006 "
   18007 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   18008   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18009 
   18010 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   18011   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   18012   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   18013       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   18014   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18015 which seems to be undefined.  Please make sure it is defined" >&5
   18016 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18017 which seems to be undefined.  Please make sure it is defined" >&2;}
   18018 
   18019   rm -f "$ac_tmp/stdin"
   18020   case $ac_file in
   18021   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   18022   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   18023   esac \
   18024   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18025  ;;
   18026 
   18027 
   18028   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   18029 $as_echo "$as_me: executing $ac_file commands" >&6;}
   18030  ;;
   18031   esac
   18032 
   18033 
   18034   case $ac_file$ac_mode in
   18035     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   18036   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   18037   # are listed without --file.  Let's play safe and only enable the eval
   18038   # if we detect the quoting.
   18039   case $CONFIG_FILES in
   18040   *\'*) eval set x "$CONFIG_FILES" ;;
   18041   *)   set x $CONFIG_FILES ;;
   18042   esac
   18043   shift
   18044   for mf
   18045   do
   18046     # Strip MF so we end up with the name of the file.
   18047     mf=`echo "$mf" | sed -e 's/:.*$//'`
   18048     # Check whether this is an Automake generated Makefile or not.
   18049     # We used to match only the files named 'Makefile.in', but
   18050     # some people rename them; so instead we look at the file content.
   18051     # Grep'ing the first line is not enough: some people post-process
   18052     # each Makefile.in and add a new line on top of each file to say so.
   18053     # Grep'ing the whole file is not good either: AIX grep has a line
   18054     # limit of 2048, but all sed's we know have understand at least 4000.
   18055     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   18056       dirpart=`$as_dirname -- "$mf" ||
   18057 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18058 	 X"$mf" : 'X\(//\)[^/]' \| \
   18059 	 X"$mf" : 'X\(//\)$' \| \
   18060 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   18061 $as_echo X"$mf" |
   18062     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18063 	    s//\1/
   18064 	    q
   18065 	  }
   18066 	  /^X\(\/\/\)[^/].*/{
   18067 	    s//\1/
   18068 	    q
   18069 	  }
   18070 	  /^X\(\/\/\)$/{
   18071 	    s//\1/
   18072 	    q
   18073 	  }
   18074 	  /^X\(\/\).*/{
   18075 	    s//\1/
   18076 	    q
   18077 	  }
   18078 	  s/.*/./; q'`
   18079     else
   18080       continue
   18081     fi
   18082     # Extract the definition of DEPDIR, am__include, and am__quote
   18083     # from the Makefile without running 'make'.
   18084     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   18085     test -z "$DEPDIR" && continue
   18086     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   18087     test -z "am__include" && continue
   18088     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   18089     # Find all dependency output files, they are included files with
   18090     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   18091     # simplest approach to changing $(DEPDIR) to its actual value in the
   18092     # expansion.
   18093     for file in `sed -n "
   18094       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   18095 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   18096       # Make sure the directory exists.
   18097       test -f "$dirpart/$file" && continue
   18098       fdir=`$as_dirname -- "$file" ||
   18099 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18100 	 X"$file" : 'X\(//\)[^/]' \| \
   18101 	 X"$file" : 'X\(//\)$' \| \
   18102 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   18103 $as_echo X"$file" |
   18104     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18105 	    s//\1/
   18106 	    q
   18107 	  }
   18108 	  /^X\(\/\/\)[^/].*/{
   18109 	    s//\1/
   18110 	    q
   18111 	  }
   18112 	  /^X\(\/\/\)$/{
   18113 	    s//\1/
   18114 	    q
   18115 	  }
   18116 	  /^X\(\/\).*/{
   18117 	    s//\1/
   18118 	    q
   18119 	  }
   18120 	  s/.*/./; q'`
   18121       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   18122       # echo "creating $dirpart/$file"
   18123       echo '# dummy' > "$dirpart/$file"
   18124     done
   18125   done
   18126 }
   18127  ;;
   18128     "libtool":C)
   18129 
   18130     # See if we are running on zsh, and set the options which allow our
   18131     # commands through without removal of \ escapes.
   18132     if test -n "${ZSH_VERSION+set}" ; then
   18133       setopt NO_GLOB_SUBST
   18134     fi
   18135 
   18136     cfgfile="${ofile}T"
   18137     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   18138     $RM "$cfgfile"
   18139 
   18140     cat <<_LT_EOF >> "$cfgfile"
   18141 #! $SHELL
   18142 
   18143 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   18144 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   18145 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18146 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   18147 #
   18148 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   18149 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   18150 #                 Inc.
   18151 #   Written by Gordon Matzigkeit, 1996
   18152 #
   18153 #   This file is part of GNU Libtool.
   18154 #
   18155 # GNU Libtool is free software; you can redistribute it and/or
   18156 # modify it under the terms of the GNU General Public License as
   18157 # published by the Free Software Foundation; either version 2 of
   18158 # the License, or (at your option) any later version.
   18159 #
   18160 # As a special exception to the GNU General Public License,
   18161 # if you distribute this file as part of a program or library that
   18162 # is built using GNU Libtool, you may include this file under the
   18163 # same distribution terms that you use for the rest of that program.
   18164 #
   18165 # GNU Libtool is distributed in the hope that it will be useful,
   18166 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   18167 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   18168 # GNU General Public License for more details.
   18169 #
   18170 # You should have received a copy of the GNU General Public License
   18171 # along with GNU Libtool; see the file COPYING.  If not, a copy
   18172 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   18173 # obtained by writing to the Free Software Foundation, Inc.,
   18174 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   18175 
   18176 
   18177 # The names of the tagged configurations supported by this script.
   18178 available_tags="CXX "
   18179 
   18180 # ### BEGIN LIBTOOL CONFIG
   18181 
   18182 # Which release of libtool.m4 was used?
   18183 macro_version=$macro_version
   18184 macro_revision=$macro_revision
   18185 
   18186 # Whether or not to build shared libraries.
   18187 build_libtool_libs=$enable_shared
   18188 
   18189 # Whether or not to build static libraries.
   18190 build_old_libs=$enable_static
   18191 
   18192 # What type of objects to build.
   18193 pic_mode=$pic_mode
   18194 
   18195 # Whether or not to optimize for fast installation.
   18196 fast_install=$enable_fast_install
   18197 
   18198 # Shell to use when invoking shell scripts.
   18199 SHELL=$lt_SHELL
   18200 
   18201 # An echo program that protects backslashes.
   18202 ECHO=$lt_ECHO
   18203 
   18204 # The host system.
   18205 host_alias=$host_alias
   18206 host=$host
   18207 host_os=$host_os
   18208 
   18209 # The build system.
   18210 build_alias=$build_alias
   18211 build=$build
   18212 build_os=$build_os
   18213 
   18214 # A sed program that does not truncate output.
   18215 SED=$lt_SED
   18216 
   18217 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   18218 Xsed="\$SED -e 1s/^X//"
   18219 
   18220 # A grep program that handles long lines.
   18221 GREP=$lt_GREP
   18222 
   18223 # An ERE matcher.
   18224 EGREP=$lt_EGREP
   18225 
   18226 # A literal string matcher.
   18227 FGREP=$lt_FGREP
   18228 
   18229 # A BSD- or MS-compatible name lister.
   18230 NM=$lt_NM
   18231 
   18232 # Whether we need soft or hard links.
   18233 LN_S=$lt_LN_S
   18234 
   18235 # What is the maximum length of a command?
   18236 max_cmd_len=$max_cmd_len
   18237 
   18238 # Object file suffix (normally "o").
   18239 objext=$ac_objext
   18240 
   18241 # Executable file suffix (normally "").
   18242 exeext=$exeext
   18243 
   18244 # whether the shell understands "unset".
   18245 lt_unset=$lt_unset
   18246 
   18247 # turn spaces into newlines.
   18248 SP2NL=$lt_lt_SP2NL
   18249 
   18250 # turn newlines into spaces.
   18251 NL2SP=$lt_lt_NL2SP
   18252 
   18253 # convert \$build file names to \$host format.
   18254 to_host_file_cmd=$lt_cv_to_host_file_cmd
   18255 
   18256 # convert \$build files to toolchain format.
   18257 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   18258 
   18259 # An object symbol dumper.
   18260 OBJDUMP=$lt_OBJDUMP
   18261 
   18262 # Method to check whether dependent libraries are shared objects.
   18263 deplibs_check_method=$lt_deplibs_check_method
   18264 
   18265 # Command to use when deplibs_check_method = "file_magic".
   18266 file_magic_cmd=$lt_file_magic_cmd
   18267 
   18268 # How to find potential files when deplibs_check_method = "file_magic".
   18269 file_magic_glob=$lt_file_magic_glob
   18270 
   18271 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   18272 want_nocaseglob=$lt_want_nocaseglob
   18273 
   18274 # DLL creation program.
   18275 DLLTOOL=$lt_DLLTOOL
   18276 
   18277 # Command to associate shared and link libraries.
   18278 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   18279 
   18280 # The archiver.
   18281 AR=$lt_AR
   18282 
   18283 # Flags to create an archive.
   18284 AR_FLAGS=$lt_AR_FLAGS
   18285 
   18286 # How to feed a file listing to the archiver.
   18287 archiver_list_spec=$lt_archiver_list_spec
   18288 
   18289 # A symbol stripping program.
   18290 STRIP=$lt_STRIP
   18291 
   18292 # Commands used to install an old-style archive.
   18293 RANLIB=$lt_RANLIB
   18294 old_postinstall_cmds=$lt_old_postinstall_cmds
   18295 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18296 
   18297 # Whether to use a lock for old archive extraction.
   18298 lock_old_archive_extraction=$lock_old_archive_extraction
   18299 
   18300 # A C compiler.
   18301 LTCC=$lt_CC
   18302 
   18303 # LTCC compiler flags.
   18304 LTCFLAGS=$lt_CFLAGS
   18305 
   18306 # Take the output of nm and produce a listing of raw symbols and C names.
   18307 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18308 
   18309 # Transform the output of nm in a proper C declaration.
   18310 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18311 
   18312 # Transform the output of nm in a C name address pair.
   18313 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18314 
   18315 # Transform the output of nm in a C name address pair when lib prefix is needed.
   18316 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   18317 
   18318 # Specify filename containing input files for \$NM.
   18319 nm_file_list_spec=$lt_nm_file_list_spec
   18320 
   18321 # The root where to search for dependent libraries,and in which our libraries should be installed.
   18322 lt_sysroot=$lt_sysroot
   18323 
   18324 # The name of the directory that contains temporary libtool files.
   18325 objdir=$objdir
   18326 
   18327 # Used to examine libraries when file_magic_cmd begins with "file".
   18328 MAGIC_CMD=$MAGIC_CMD
   18329 
   18330 # Must we lock files when doing compilation?
   18331 need_locks=$lt_need_locks
   18332 
   18333 # Manifest tool.
   18334 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   18335 
   18336 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   18337 DSYMUTIL=$lt_DSYMUTIL
   18338 
   18339 # Tool to change global to local symbols on Mac OS X.
   18340 NMEDIT=$lt_NMEDIT
   18341 
   18342 # Tool to manipulate fat objects and archives on Mac OS X.
   18343 LIPO=$lt_LIPO
   18344 
   18345 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   18346 OTOOL=$lt_OTOOL
   18347 
   18348 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   18349 OTOOL64=$lt_OTOOL64
   18350 
   18351 # Old archive suffix (normally "a").
   18352 libext=$libext
   18353 
   18354 # Shared library suffix (normally ".so").
   18355 shrext_cmds=$lt_shrext_cmds
   18356 
   18357 # The commands to extract the exported symbol list from a shared archive.
   18358 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18359 
   18360 # Variables whose values should be saved in libtool wrapper scripts and
   18361 # restored at link time.
   18362 variables_saved_for_relink=$lt_variables_saved_for_relink
   18363 
   18364 # Do we need the "lib" prefix for modules?
   18365 need_lib_prefix=$need_lib_prefix
   18366 
   18367 # Do we need a version for libraries?
   18368 need_version=$need_version
   18369 
   18370 # Library versioning type.
   18371 version_type=$version_type
   18372 
   18373 # Shared library runtime path variable.
   18374 runpath_var=$runpath_var
   18375 
   18376 # Shared library path variable.
   18377 shlibpath_var=$shlibpath_var
   18378 
   18379 # Is shlibpath searched before the hard-coded library search path?
   18380 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18381 
   18382 # Format of library name prefix.
   18383 libname_spec=$lt_libname_spec
   18384 
   18385 # List of archive names.  First name is the real one, the rest are links.
   18386 # The last name is the one that the linker finds with -lNAME
   18387 library_names_spec=$lt_library_names_spec
   18388 
   18389 # The coded name of the library, if different from the real name.
   18390 soname_spec=$lt_soname_spec
   18391 
   18392 # Permission mode override for installation of shared libraries.
   18393 install_override_mode=$lt_install_override_mode
   18394 
   18395 # Command to use after installation of a shared archive.
   18396 postinstall_cmds=$lt_postinstall_cmds
   18397 
   18398 # Command to use after uninstallation of a shared archive.
   18399 postuninstall_cmds=$lt_postuninstall_cmds
   18400 
   18401 # Commands used to finish a libtool library installation in a directory.
   18402 finish_cmds=$lt_finish_cmds
   18403 
   18404 # As "finish_cmds", except a single script fragment to be evaled but
   18405 # not shown.
   18406 finish_eval=$lt_finish_eval
   18407 
   18408 # Whether we should hardcode library paths into libraries.
   18409 hardcode_into_libs=$hardcode_into_libs
   18410 
   18411 # Compile-time system search path for libraries.
   18412 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18413 
   18414 # Run-time system search path for libraries.
   18415 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18416 
   18417 # Whether dlopen is supported.
   18418 dlopen_support=$enable_dlopen
   18419 
   18420 # Whether dlopen of programs is supported.
   18421 dlopen_self=$enable_dlopen_self
   18422 
   18423 # Whether dlopen of statically linked programs is supported.
   18424 dlopen_self_static=$enable_dlopen_self_static
   18425 
   18426 # Commands to strip libraries.
   18427 old_striplib=$lt_old_striplib
   18428 striplib=$lt_striplib
   18429 
   18430 
   18431 # The linker used to build libraries.
   18432 LD=$lt_LD
   18433 
   18434 # How to create reloadable object files.
   18435 reload_flag=$lt_reload_flag
   18436 reload_cmds=$lt_reload_cmds
   18437 
   18438 # Commands used to build an old-style archive.
   18439 old_archive_cmds=$lt_old_archive_cmds
   18440 
   18441 # A language specific compiler.
   18442 CC=$lt_compiler
   18443 
   18444 # Is the compiler the GNU compiler?
   18445 with_gcc=$GCC
   18446 
   18447 # Compiler flag to turn off builtin functions.
   18448 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   18449 
   18450 # Additional compiler flags for building library objects.
   18451 pic_flag=$lt_lt_prog_compiler_pic
   18452 
   18453 # How to pass a linker flag through the compiler.
   18454 wl=$lt_lt_prog_compiler_wl
   18455 
   18456 # Compiler flag to prevent dynamic linking.
   18457 link_static_flag=$lt_lt_prog_compiler_static
   18458 
   18459 # Does compiler simultaneously support -c and -o options?
   18460 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   18461 
   18462 # Whether or not to add -lc for building shared libraries.
   18463 build_libtool_need_lc=$archive_cmds_need_lc
   18464 
   18465 # Whether or not to disallow shared libs when runtime libs are static.
   18466 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   18467 
   18468 # Compiler flag to allow reflexive dlopens.
   18469 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   18470 
   18471 # Compiler flag to generate shared objects directly from archives.
   18472 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   18473 
   18474 # Whether the compiler copes with passing no objects directly.
   18475 compiler_needs_object=$lt_compiler_needs_object
   18476 
   18477 # Create an old-style archive from a shared archive.
   18478 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   18479 
   18480 # Create a temporary old-style archive to link instead of a shared archive.
   18481 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   18482 
   18483 # Commands used to build a shared archive.
   18484 archive_cmds=$lt_archive_cmds
   18485 archive_expsym_cmds=$lt_archive_expsym_cmds
   18486 
   18487 # Commands used to build a loadable module if different from building
   18488 # a shared archive.
   18489 module_cmds=$lt_module_cmds
   18490 module_expsym_cmds=$lt_module_expsym_cmds
   18491 
   18492 # Whether we are building with GNU ld or not.
   18493 with_gnu_ld=$lt_with_gnu_ld
   18494 
   18495 # Flag that allows shared libraries with undefined symbols to be built.
   18496 allow_undefined_flag=$lt_allow_undefined_flag
   18497 
   18498 # Flag that enforces no undefined symbols.
   18499 no_undefined_flag=$lt_no_undefined_flag
   18500 
   18501 # Flag to hardcode \$libdir into a binary during linking.
   18502 # This must work even if \$libdir does not exist
   18503 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   18504 
   18505 # If ld is used when linking, flag to hardcode \$libdir into a binary
   18506 # during linking.  This must work even if \$libdir does not exist.
   18507 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   18508 
   18509 # Whether we need a single "-rpath" flag with a separated argument.
   18510 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   18511 
   18512 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18513 # DIR into the resulting binary.
   18514 hardcode_direct=$hardcode_direct
   18515 
   18516 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18517 # DIR into the resulting binary and the resulting library dependency is
   18518 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   18519 # library is relocated.
   18520 hardcode_direct_absolute=$hardcode_direct_absolute
   18521 
   18522 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   18523 # into the resulting binary.
   18524 hardcode_minus_L=$hardcode_minus_L
   18525 
   18526 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   18527 # into the resulting binary.
   18528 hardcode_shlibpath_var=$hardcode_shlibpath_var
   18529 
   18530 # Set to "yes" if building a shared library automatically hardcodes DIR
   18531 # into the library and all subsequent libraries and executables linked
   18532 # against it.
   18533 hardcode_automatic=$hardcode_automatic
   18534 
   18535 # Set to yes if linker adds runtime paths of dependent libraries
   18536 # to runtime path list.
   18537 inherit_rpath=$inherit_rpath
   18538 
   18539 # Whether libtool must link a program against all its dependency libraries.
   18540 link_all_deplibs=$link_all_deplibs
   18541 
   18542 # Set to "yes" if exported symbols are required.
   18543 always_export_symbols=$always_export_symbols
   18544 
   18545 # The commands to list exported symbols.
   18546 export_symbols_cmds=$lt_export_symbols_cmds
   18547 
   18548 # Symbols that should not be listed in the preloaded symbols.
   18549 exclude_expsyms=$lt_exclude_expsyms
   18550 
   18551 # Symbols that must always be exported.
   18552 include_expsyms=$lt_include_expsyms
   18553 
   18554 # Commands necessary for linking programs (against libraries) with templates.
   18555 prelink_cmds=$lt_prelink_cmds
   18556 
   18557 # Commands necessary for finishing linking programs.
   18558 postlink_cmds=$lt_postlink_cmds
   18559 
   18560 # Specify filename containing input files.
   18561 file_list_spec=$lt_file_list_spec
   18562 
   18563 # How to hardcode a shared library path into an executable.
   18564 hardcode_action=$hardcode_action
   18565 
   18566 # The directories searched by this compiler when creating a shared library.
   18567 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   18568 
   18569 # Dependencies to place before and after the objects being linked to
   18570 # create a shared library.
   18571 predep_objects=$lt_predep_objects
   18572 postdep_objects=$lt_postdep_objects
   18573 predeps=$lt_predeps
   18574 postdeps=$lt_postdeps
   18575 
   18576 # The library search path used internally by the compiler when linking
   18577 # a shared library.
   18578 compiler_lib_search_path=$lt_compiler_lib_search_path
   18579 
   18580 # ### END LIBTOOL CONFIG
   18581 
   18582 _LT_EOF
   18583 
   18584   case $host_os in
   18585   aix3*)
   18586     cat <<\_LT_EOF >> "$cfgfile"
   18587 # AIX sometimes has problems with the GCC collect2 program.  For some
   18588 # reason, if we set the COLLECT_NAMES environment variable, the problems
   18589 # vanish in a puff of smoke.
   18590 if test "X${COLLECT_NAMES+set}" != Xset; then
   18591   COLLECT_NAMES=
   18592   export COLLECT_NAMES
   18593 fi
   18594 _LT_EOF
   18595     ;;
   18596   esac
   18597 
   18598 
   18599 ltmain="$ac_aux_dir/ltmain.sh"
   18600 
   18601 
   18602   # We use sed instead of cat because bash on DJGPP gets confused if
   18603   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   18604   # text mode, it properly converts lines to CR/LF.  This bash problem
   18605   # is reportedly fixed, but why not run on old versions too?
   18606   sed '$q' "$ltmain" >> "$cfgfile" \
   18607      || (rm -f "$cfgfile"; exit 1)
   18608 
   18609   if test x"$xsi_shell" = xyes; then
   18610   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   18611 func_dirname ()\
   18612 {\
   18613 \    case ${1} in\
   18614 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   18615 \      *  ) func_dirname_result="${3}" ;;\
   18616 \    esac\
   18617 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   18618   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18619     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18620 test 0 -eq $? || _lt_function_replace_fail=:
   18621 
   18622 
   18623   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   18624 func_basename ()\
   18625 {\
   18626 \    func_basename_result="${1##*/}"\
   18627 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   18628   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18629     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18630 test 0 -eq $? || _lt_function_replace_fail=:
   18631 
   18632 
   18633   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   18634 func_dirname_and_basename ()\
   18635 {\
   18636 \    case ${1} in\
   18637 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   18638 \      *  ) func_dirname_result="${3}" ;;\
   18639 \    esac\
   18640 \    func_basename_result="${1##*/}"\
   18641 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   18642   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18643     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18644 test 0 -eq $? || _lt_function_replace_fail=:
   18645 
   18646 
   18647   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   18648 func_stripname ()\
   18649 {\
   18650 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   18651 \    # positional parameters, so assign one to ordinary parameter first.\
   18652 \    func_stripname_result=${3}\
   18653 \    func_stripname_result=${func_stripname_result#"${1}"}\
   18654 \    func_stripname_result=${func_stripname_result%"${2}"}\
   18655 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   18656   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18657     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18658 test 0 -eq $? || _lt_function_replace_fail=:
   18659 
   18660 
   18661   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   18662 func_split_long_opt ()\
   18663 {\
   18664 \    func_split_long_opt_name=${1%%=*}\
   18665 \    func_split_long_opt_arg=${1#*=}\
   18666 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   18667   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18668     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18669 test 0 -eq $? || _lt_function_replace_fail=:
   18670 
   18671 
   18672   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   18673 func_split_short_opt ()\
   18674 {\
   18675 \    func_split_short_opt_arg=${1#??}\
   18676 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   18677 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   18678   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18679     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18680 test 0 -eq $? || _lt_function_replace_fail=:
   18681 
   18682 
   18683   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   18684 func_lo2o ()\
   18685 {\
   18686 \    case ${1} in\
   18687 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   18688 \      *)    func_lo2o_result=${1} ;;\
   18689 \    esac\
   18690 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   18691   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18692     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18693 test 0 -eq $? || _lt_function_replace_fail=:
   18694 
   18695 
   18696   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   18697 func_xform ()\
   18698 {\
   18699     func_xform_result=${1%.*}.lo\
   18700 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   18701   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18702     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18703 test 0 -eq $? || _lt_function_replace_fail=:
   18704 
   18705 
   18706   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   18707 func_arith ()\
   18708 {\
   18709     func_arith_result=$(( $* ))\
   18710 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   18711   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18712     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18713 test 0 -eq $? || _lt_function_replace_fail=:
   18714 
   18715 
   18716   sed -e '/^func_len ()$/,/^} # func_len /c\
   18717 func_len ()\
   18718 {\
   18719     func_len_result=${#1}\
   18720 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   18721   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18722     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18723 test 0 -eq $? || _lt_function_replace_fail=:
   18724 
   18725 fi
   18726 
   18727 if test x"$lt_shell_append" = xyes; then
   18728   sed -e '/^func_append ()$/,/^} # func_append /c\
   18729 func_append ()\
   18730 {\
   18731     eval "${1}+=\\${2}"\
   18732 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   18733   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18734     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18735 test 0 -eq $? || _lt_function_replace_fail=:
   18736 
   18737 
   18738   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   18739 func_append_quoted ()\
   18740 {\
   18741 \    func_quote_for_eval "${2}"\
   18742 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   18743 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   18744   && mv -f "$cfgfile.tmp" "$cfgfile" \
   18745     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18746 test 0 -eq $? || _lt_function_replace_fail=:
   18747 
   18748 
   18749   # Save a `func_append' function call where possible by direct use of '+='
   18750   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   18751     && mv -f "$cfgfile.tmp" "$cfgfile" \
   18752       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18753   test 0 -eq $? || _lt_function_replace_fail=:
   18754 else
   18755   # Save a `func_append' function call even when '+=' is not available
   18756   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   18757     && mv -f "$cfgfile.tmp" "$cfgfile" \
   18758       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   18759   test 0 -eq $? || _lt_function_replace_fail=:
   18760 fi
   18761 
   18762 if test x"$_lt_function_replace_fail" = x":"; then
   18763   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   18764 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   18765 fi
   18766 
   18767 
   18768    mv -f "$cfgfile" "$ofile" ||
   18769     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   18770   chmod +x "$ofile"
   18771 
   18772 
   18773     cat <<_LT_EOF >> "$ofile"
   18774 
   18775 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   18776 
   18777 # The linker used to build libraries.
   18778 LD=$lt_LD_CXX
   18779 
   18780 # How to create reloadable object files.
   18781 reload_flag=$lt_reload_flag_CXX
   18782 reload_cmds=$lt_reload_cmds_CXX
   18783 
   18784 # Commands used to build an old-style archive.
   18785 old_archive_cmds=$lt_old_archive_cmds_CXX
   18786 
   18787 # A language specific compiler.
   18788 CC=$lt_compiler_CXX
   18789 
   18790 # Is the compiler the GNU compiler?
   18791 with_gcc=$GCC_CXX
   18792 
   18793 # Compiler flag to turn off builtin functions.
   18794 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   18795 
   18796 # Additional compiler flags for building library objects.
   18797 pic_flag=$lt_lt_prog_compiler_pic_CXX
   18798 
   18799 # How to pass a linker flag through the compiler.
   18800 wl=$lt_lt_prog_compiler_wl_CXX
   18801 
   18802 # Compiler flag to prevent dynamic linking.
   18803 link_static_flag=$lt_lt_prog_compiler_static_CXX
   18804 
   18805 # Does compiler simultaneously support -c and -o options?
   18806 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   18807 
   18808 # Whether or not to add -lc for building shared libraries.
   18809 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   18810 
   18811 # Whether or not to disallow shared libs when runtime libs are static.
   18812 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   18813 
   18814 # Compiler flag to allow reflexive dlopens.
   18815 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   18816 
   18817 # Compiler flag to generate shared objects directly from archives.
   18818 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   18819 
   18820 # Whether the compiler copes with passing no objects directly.
   18821 compiler_needs_object=$lt_compiler_needs_object_CXX
   18822 
   18823 # Create an old-style archive from a shared archive.
   18824 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   18825 
   18826 # Create a temporary old-style archive to link instead of a shared archive.
   18827 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   18828 
   18829 # Commands used to build a shared archive.
   18830 archive_cmds=$lt_archive_cmds_CXX
   18831 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   18832 
   18833 # Commands used to build a loadable module if different from building
   18834 # a shared archive.
   18835 module_cmds=$lt_module_cmds_CXX
   18836 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   18837 
   18838 # Whether we are building with GNU ld or not.
   18839 with_gnu_ld=$lt_with_gnu_ld_CXX
   18840 
   18841 # Flag that allows shared libraries with undefined symbols to be built.
   18842 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   18843 
   18844 # Flag that enforces no undefined symbols.
   18845 no_undefined_flag=$lt_no_undefined_flag_CXX
   18846 
   18847 # Flag to hardcode \$libdir into a binary during linking.
   18848 # This must work even if \$libdir does not exist
   18849 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   18850 
   18851 # If ld is used when linking, flag to hardcode \$libdir into a binary
   18852 # during linking.  This must work even if \$libdir does not exist.
   18853 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   18854 
   18855 # Whether we need a single "-rpath" flag with a separated argument.
   18856 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   18857 
   18858 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18859 # DIR into the resulting binary.
   18860 hardcode_direct=$hardcode_direct_CXX
   18861 
   18862 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18863 # DIR into the resulting binary and the resulting library dependency is
   18864 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   18865 # library is relocated.
   18866 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   18867 
   18868 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   18869 # into the resulting binary.
   18870 hardcode_minus_L=$hardcode_minus_L_CXX
   18871 
   18872 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   18873 # into the resulting binary.
   18874 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   18875 
   18876 # Set to "yes" if building a shared library automatically hardcodes DIR
   18877 # into the library and all subsequent libraries and executables linked
   18878 # against it.
   18879 hardcode_automatic=$hardcode_automatic_CXX
   18880 
   18881 # Set to yes if linker adds runtime paths of dependent libraries
   18882 # to runtime path list.
   18883 inherit_rpath=$inherit_rpath_CXX
   18884 
   18885 # Whether libtool must link a program against all its dependency libraries.
   18886 link_all_deplibs=$link_all_deplibs_CXX
   18887 
   18888 # Set to "yes" if exported symbols are required.
   18889 always_export_symbols=$always_export_symbols_CXX
   18890 
   18891 # The commands to list exported symbols.
   18892 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   18893 
   18894 # Symbols that should not be listed in the preloaded symbols.
   18895 exclude_expsyms=$lt_exclude_expsyms_CXX
   18896 
   18897 # Symbols that must always be exported.
   18898 include_expsyms=$lt_include_expsyms_CXX
   18899 
   18900 # Commands necessary for linking programs (against libraries) with templates.
   18901 prelink_cmds=$lt_prelink_cmds_CXX
   18902 
   18903 # Commands necessary for finishing linking programs.
   18904 postlink_cmds=$lt_postlink_cmds_CXX
   18905 
   18906 # Specify filename containing input files.
   18907 file_list_spec=$lt_file_list_spec_CXX
   18908 
   18909 # How to hardcode a shared library path into an executable.
   18910 hardcode_action=$hardcode_action_CXX
   18911 
   18912 # The directories searched by this compiler when creating a shared library.
   18913 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   18914 
   18915 # Dependencies to place before and after the objects being linked to
   18916 # create a shared library.
   18917 predep_objects=$lt_predep_objects_CXX
   18918 postdep_objects=$lt_postdep_objects_CXX
   18919 predeps=$lt_predeps_CXX
   18920 postdeps=$lt_postdeps_CXX
   18921 
   18922 # The library search path used internally by the compiler when linking
   18923 # a shared library.
   18924 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   18925 
   18926 # ### END LIBTOOL TAG CONFIG: CXX
   18927 _LT_EOF
   18928 
   18929  ;;
   18930 
   18931   esac
   18932 done # for ac_tag
   18933 
   18934 
   18935 as_fn_exit 0
   18936 _ACEOF
   18937 ac_clean_files=$ac_clean_files_save
   18938 
   18939 test $ac_write_fail = 0 ||
   18940   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   18941 
   18942 
   18943 # configure is writing to config.log, and then calls config.status.
   18944 # config.status does its own redirection, appending to config.log.
   18945 # Unfortunately, on DOS this fails, as config.log is still kept open
   18946 # by configure, so config.status won't be able to write to it; its
   18947 # output is simply discarded.  So we exec the FD to /dev/null,
   18948 # effectively closing config.log, so it can be properly (re)opened and
   18949 # appended to by config.status.  When coming back to configure, we
   18950 # need to make the FD available again.
   18951 if test "$no_create" != yes; then
   18952   ac_cs_success=:
   18953   ac_config_status_args=
   18954   test "$silent" = yes &&
   18955     ac_config_status_args="$ac_config_status_args --quiet"
   18956   exec 5>/dev/null
   18957   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   18958   exec 5>>config.log
   18959   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   18960   # would make configure fail if this is the last instruction.
   18961   $ac_cs_success || as_fn_exit 1
   18962 fi
   18963 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   18964   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   18965 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   18966 fi
   18967 
   18968