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.69 for mesa-demos 8.2.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=Demos>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=Demos
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='mesa-demos'
    593 PACKAGE_TARNAME='mesa-demos'
    594 PACKAGE_VERSION='8.2.0'
    595 PACKAGE_STRING='mesa-demos 8.2.0'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=Demos'
    597 PACKAGE_URL=''
    598 
    599 # Factoring default headers for most tests.
    600 ac_includes_default="\
    601 #include <stdio.h>
    602 #ifdef HAVE_SYS_TYPES_H
    603 # include <sys/types.h>
    604 #endif
    605 #ifdef HAVE_SYS_STAT_H
    606 # include <sys/stat.h>
    607 #endif
    608 #ifdef STDC_HEADERS
    609 # include <stdlib.h>
    610 # include <stddef.h>
    611 #else
    612 # ifdef HAVE_STDLIB_H
    613 #  include <stdlib.h>
    614 # endif
    615 #endif
    616 #ifdef HAVE_STRING_H
    617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    618 #  include <memory.h>
    619 # endif
    620 # include <string.h>
    621 #endif
    622 #ifdef HAVE_STRINGS_H
    623 # include <strings.h>
    624 #endif
    625 #ifdef HAVE_INTTYPES_H
    626 # include <inttypes.h>
    627 #endif
    628 #ifdef HAVE_STDINT_H
    629 # include <stdint.h>
    630 #endif
    631 #ifdef HAVE_UNISTD_H
    632 # include <unistd.h>
    633 #endif"
    634 
    635 ac_subst_vars='am__EXEEXT_FALSE
    636 am__EXEEXT_TRUE
    637 LTLIBOBJS
    638 LIBOBJS
    639 HAVE_RBUG_FALSE
    640 HAVE_RBUG_TRUE
    641 HAVE_WAYLAND_FALSE
    642 HAVE_WAYLAND_TRUE
    643 HAVE_MESA_SOURCE_FALSE
    644 HAVE_MESA_SOURCE_TRUE
    645 HAVE_DRM_FALSE
    646 HAVE_DRM_TRUE
    647 HAVE_OSMESA_FALSE
    648 HAVE_OSMESA_TRUE
    649 HAVE_FREETYPE2_FALSE
    650 HAVE_FREETYPE2_TRUE
    651 HAVE_GBM_FALSE
    652 HAVE_GBM_TRUE
    653 HAVE_X11_FALSE
    654 HAVE_X11_TRUE
    655 HAVE_GLUT_FALSE
    656 HAVE_GLUT_TRUE
    657 HAVE_VG_FALSE
    658 HAVE_VG_TRUE
    659 HAVE_GLESV2_FALSE
    660 HAVE_GLESV2_TRUE
    661 HAVE_GLESV1_FALSE
    662 HAVE_GLESV1_TRUE
    663 HAVE_EGL_FALSE
    664 HAVE_EGL_TRUE
    665 MESA_GLAPI
    666 OSMESA32_LIBS
    667 OSMESA16_LIBS
    668 GLUT_LIBS
    669 GLUT_CFLAGS
    670 DEMO_LIBS
    671 DEMO_CFLAGS
    672 DEMOS_DATA_DIR
    673 FREETYPE2_LIBS
    674 FREETYPE2_CFLAGS
    675 GBM_LIBS
    676 GBM_CFLAGS
    677 WAYLAND_LIBS
    678 WAYLAND_CFLAGS
    679 X11_LIBS
    680 X11_CFLAGS
    681 DRM_LIBS
    682 DRM_CFLAGS
    683 OSMESA_LIBS
    684 OSMESA_CFLAGS
    685 VG_LIBS
    686 VG_CFLAGS
    687 GLESV2_LIBS
    688 GLESV2_CFLAGS
    689 GLESV1_LIBS
    690 GLESV1_CFLAGS
    691 EGL_LIBS
    692 EGL_CFLAGS
    693 GLU_LIBS
    694 GLU_CFLAGS
    695 GLEW_LIBS
    696 GLEW_CFLAGS
    697 GL_LIBS
    698 GL_CFLAGS
    699 PKG_CONFIG_LIBDIR
    700 PKG_CONFIG_PATH
    701 PKG_CONFIG
    702 CXXCPP
    703 OTOOL64
    704 OTOOL
    705 LIPO
    706 NMEDIT
    707 DSYMUTIL
    708 MANIFEST_TOOL
    709 RANLIB
    710 ac_ct_AR
    711 AR
    712 DLLTOOL
    713 OBJDUMP
    714 LN_S
    715 NM
    716 ac_ct_DUMPBIN
    717 DUMPBIN
    718 LD
    719 FGREP
    720 EGREP
    721 GREP
    722 SED
    723 LIBTOOL
    724 am__fastdepCXX_FALSE
    725 am__fastdepCXX_TRUE
    726 CXXDEPMODE
    727 ac_ct_CXX
    728 CXXFLAGS
    729 CXX
    730 CPP
    731 am__fastdepCC_FALSE
    732 am__fastdepCC_TRUE
    733 CCDEPMODE
    734 am__nodep
    735 AMDEPBACKSLASH
    736 AMDEP_FALSE
    737 AMDEP_TRUE
    738 am__quote
    739 am__include
    740 DEPDIR
    741 OBJEXT
    742 EXEEXT
    743 ac_ct_CC
    744 CPPFLAGS
    745 LDFLAGS
    746 CFLAGS
    747 CC
    748 AM_BACKSLASH
    749 AM_DEFAULT_VERBOSITY
    750 AM_DEFAULT_V
    751 AM_V
    752 am__untar
    753 am__tar
    754 AMTAR
    755 am__leading_dot
    756 SET_MAKE
    757 AWK
    758 mkdir_p
    759 MKDIR_P
    760 INSTALL_STRIP_PROGRAM
    761 STRIP
    762 install_sh
    763 MAKEINFO
    764 AUTOHEADER
    765 AUTOMAKE
    766 AUTOCONF
    767 ACLOCAL
    768 VERSION
    769 PACKAGE
    770 CYGPATH_W
    771 am__isrc
    772 INSTALL_DATA
    773 INSTALL_SCRIPT
    774 INSTALL_PROGRAM
    775 host_os
    776 host_vendor
    777 host_cpu
    778 host
    779 build_os
    780 build_vendor
    781 build_cpu
    782 build
    783 target_alias
    784 host_alias
    785 build_alias
    786 LIBS
    787 ECHO_T
    788 ECHO_N
    789 ECHO_C
    790 DEFS
    791 mandir
    792 localedir
    793 libdir
    794 psdir
    795 pdfdir
    796 dvidir
    797 htmldir
    798 infodir
    799 docdir
    800 oldincludedir
    801 includedir
    802 localstatedir
    803 sharedstatedir
    804 sysconfdir
    805 datadir
    806 datarootdir
    807 libexecdir
    808 sbindir
    809 bindir
    810 program_transform_name
    811 prefix
    812 exec_prefix
    813 PACKAGE_URL
    814 PACKAGE_BUGREPORT
    815 PACKAGE_STRING
    816 PACKAGE_VERSION
    817 PACKAGE_TARNAME
    818 PACKAGE_NAME
    819 PATH_SEPARATOR
    820 SHELL'
    821 ac_subst_files=''
    822 ac_user_opts='
    823 enable_option_checking
    824 enable_silent_rules
    825 enable_dependency_tracking
    826 enable_shared
    827 enable_static
    828 with_pic
    829 enable_fast_install
    830 with_gnu_ld
    831 with_sysroot
    832 enable_libtool_lock
    833 with_glut
    834 enable_egl
    835 enable_gles1
    836 enable_gles2
    837 enable_vg
    838 enable_osmesa
    839 enable_libdrm
    840 enable_x11
    841 enable_wayland
    842 enable_gbm
    843 enable_freetype2
    844 with_mesa_source
    845 enable_rbug
    846 with_system_data_files
    847 '
    848       ac_precious_vars='build_alias
    849 host_alias
    850 target_alias
    851 CC
    852 CFLAGS
    853 LDFLAGS
    854 LIBS
    855 CPPFLAGS
    856 CPP
    857 CXX
    858 CXXFLAGS
    859 CCC
    860 CXXCPP
    861 PKG_CONFIG
    862 PKG_CONFIG_PATH
    863 PKG_CONFIG_LIBDIR
    864 GL_CFLAGS
    865 GL_LIBS
    866 GLEW_CFLAGS
    867 GLEW_LIBS
    868 GLU_CFLAGS
    869 GLU_LIBS
    870 EGL_CFLAGS
    871 EGL_LIBS
    872 GLESV1_CFLAGS
    873 GLESV1_LIBS
    874 GLESV2_CFLAGS
    875 GLESV2_LIBS
    876 VG_CFLAGS
    877 VG_LIBS
    878 OSMESA_CFLAGS
    879 OSMESA_LIBS
    880 DRM_CFLAGS
    881 DRM_LIBS
    882 X11_CFLAGS
    883 X11_LIBS
    884 WAYLAND_CFLAGS
    885 WAYLAND_LIBS
    886 GBM_CFLAGS
    887 GBM_LIBS
    888 FREETYPE2_CFLAGS
    889 FREETYPE2_LIBS'
    890 
    891 
    892 # Initialize some variables set by options.
    893 ac_init_help=
    894 ac_init_version=false
    895 ac_unrecognized_opts=
    896 ac_unrecognized_sep=
    897 # The variables have the same names as the options, with
    898 # dashes changed to underlines.
    899 cache_file=/dev/null
    900 exec_prefix=NONE
    901 no_create=
    902 no_recursion=
    903 prefix=NONE
    904 program_prefix=NONE
    905 program_suffix=NONE
    906 program_transform_name=s,x,x,
    907 silent=
    908 site=
    909 srcdir=
    910 verbose=
    911 x_includes=NONE
    912 x_libraries=NONE
    913 
    914 # Installation directory options.
    915 # These are left unexpanded so users can "make install exec_prefix=/foo"
    916 # and all the variables that are supposed to be based on exec_prefix
    917 # by default will actually change.
    918 # Use braces instead of parens because sh, perl, etc. also accept them.
    919 # (The list follows the same order as the GNU Coding Standards.)
    920 bindir='${exec_prefix}/bin'
    921 sbindir='${exec_prefix}/sbin'
    922 libexecdir='${exec_prefix}/libexec'
    923 datarootdir='${prefix}/share'
    924 datadir='${datarootdir}'
    925 sysconfdir='${prefix}/etc'
    926 sharedstatedir='${prefix}/com'
    927 localstatedir='${prefix}/var'
    928 includedir='${prefix}/include'
    929 oldincludedir='/usr/include'
    930 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    931 infodir='${datarootdir}/info'
    932 htmldir='${docdir}'
    933 dvidir='${docdir}'
    934 pdfdir='${docdir}'
    935 psdir='${docdir}'
    936 libdir='${exec_prefix}/lib'
    937 localedir='${datarootdir}/locale'
    938 mandir='${datarootdir}/man'
    939 
    940 ac_prev=
    941 ac_dashdash=
    942 for ac_option
    943 do
    944   # If the previous option needs an argument, assign it.
    945   if test -n "$ac_prev"; then
    946     eval $ac_prev=\$ac_option
    947     ac_prev=
    948     continue
    949   fi
    950 
    951   case $ac_option in
    952   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    953   *=)   ac_optarg= ;;
    954   *)    ac_optarg=yes ;;
    955   esac
    956 
    957   # Accept the important Cygnus configure options, so we can diagnose typos.
    958 
    959   case $ac_dashdash$ac_option in
    960   --)
    961     ac_dashdash=yes ;;
    962 
    963   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    964     ac_prev=bindir ;;
    965   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    966     bindir=$ac_optarg ;;
    967 
    968   -build | --build | --buil | --bui | --bu)
    969     ac_prev=build_alias ;;
    970   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    971     build_alias=$ac_optarg ;;
    972 
    973   -cache-file | --cache-file | --cache-fil | --cache-fi \
    974   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    975     ac_prev=cache_file ;;
    976   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    977   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    978     cache_file=$ac_optarg ;;
    979 
    980   --config-cache | -C)
    981     cache_file=config.cache ;;
    982 
    983   -datadir | --datadir | --datadi | --datad)
    984     ac_prev=datadir ;;
    985   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    986     datadir=$ac_optarg ;;
    987 
    988   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    989   | --dataroo | --dataro | --datar)
    990     ac_prev=datarootdir ;;
    991   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    992   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    993     datarootdir=$ac_optarg ;;
    994 
    995   -disable-* | --disable-*)
    996     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    997     # Reject names that are not valid shell variable names.
    998     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    999       as_fn_error $? "invalid feature name: $ac_useropt"
   1000     ac_useropt_orig=$ac_useropt
   1001     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1002     case $ac_user_opts in
   1003       *"
   1004 "enable_$ac_useropt"
   1005 "*) ;;
   1006       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1007 	 ac_unrecognized_sep=', ';;
   1008     esac
   1009     eval enable_$ac_useropt=no ;;
   1010 
   1011   -docdir | --docdir | --docdi | --doc | --do)
   1012     ac_prev=docdir ;;
   1013   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1014     docdir=$ac_optarg ;;
   1015 
   1016   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1017     ac_prev=dvidir ;;
   1018   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1019     dvidir=$ac_optarg ;;
   1020 
   1021   -enable-* | --enable-*)
   1022     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1023     # Reject names that are not valid shell variable names.
   1024     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1025       as_fn_error $? "invalid feature name: $ac_useropt"
   1026     ac_useropt_orig=$ac_useropt
   1027     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1028     case $ac_user_opts in
   1029       *"
   1030 "enable_$ac_useropt"
   1031 "*) ;;
   1032       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1033 	 ac_unrecognized_sep=', ';;
   1034     esac
   1035     eval enable_$ac_useropt=\$ac_optarg ;;
   1036 
   1037   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1038   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1039   | --exec | --exe | --ex)
   1040     ac_prev=exec_prefix ;;
   1041   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1042   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1043   | --exec=* | --exe=* | --ex=*)
   1044     exec_prefix=$ac_optarg ;;
   1045 
   1046   -gas | --gas | --ga | --g)
   1047     # Obsolete; use --with-gas.
   1048     with_gas=yes ;;
   1049 
   1050   -help | --help | --hel | --he | -h)
   1051     ac_init_help=long ;;
   1052   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1053     ac_init_help=recursive ;;
   1054   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1055     ac_init_help=short ;;
   1056 
   1057   -host | --host | --hos | --ho)
   1058     ac_prev=host_alias ;;
   1059   -host=* | --host=* | --hos=* | --ho=*)
   1060     host_alias=$ac_optarg ;;
   1061 
   1062   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1063     ac_prev=htmldir ;;
   1064   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1065   | --ht=*)
   1066     htmldir=$ac_optarg ;;
   1067 
   1068   -includedir | --includedir | --includedi | --included | --include \
   1069   | --includ | --inclu | --incl | --inc)
   1070     ac_prev=includedir ;;
   1071   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1072   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1073     includedir=$ac_optarg ;;
   1074 
   1075   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1076     ac_prev=infodir ;;
   1077   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1078     infodir=$ac_optarg ;;
   1079 
   1080   -libdir | --libdir | --libdi | --libd)
   1081     ac_prev=libdir ;;
   1082   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1083     libdir=$ac_optarg ;;
   1084 
   1085   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1086   | --libexe | --libex | --libe)
   1087     ac_prev=libexecdir ;;
   1088   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1089   | --libexe=* | --libex=* | --libe=*)
   1090     libexecdir=$ac_optarg ;;
   1091 
   1092   -localedir | --localedir | --localedi | --localed | --locale)
   1093     ac_prev=localedir ;;
   1094   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1095     localedir=$ac_optarg ;;
   1096 
   1097   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1098   | --localstate | --localstat | --localsta | --localst | --locals)
   1099     ac_prev=localstatedir ;;
   1100   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1101   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1102     localstatedir=$ac_optarg ;;
   1103 
   1104   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1105     ac_prev=mandir ;;
   1106   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1107     mandir=$ac_optarg ;;
   1108 
   1109   -nfp | --nfp | --nf)
   1110     # Obsolete; use --without-fp.
   1111     with_fp=no ;;
   1112 
   1113   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1114   | --no-cr | --no-c | -n)
   1115     no_create=yes ;;
   1116 
   1117   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1118   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1119     no_recursion=yes ;;
   1120 
   1121   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1122   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1123   | --oldin | --oldi | --old | --ol | --o)
   1124     ac_prev=oldincludedir ;;
   1125   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1126   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1127   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1128     oldincludedir=$ac_optarg ;;
   1129 
   1130   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1131     ac_prev=prefix ;;
   1132   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1133     prefix=$ac_optarg ;;
   1134 
   1135   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1136   | --program-pre | --program-pr | --program-p)
   1137     ac_prev=program_prefix ;;
   1138   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1139   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1140     program_prefix=$ac_optarg ;;
   1141 
   1142   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1143   | --program-suf | --program-su | --program-s)
   1144     ac_prev=program_suffix ;;
   1145   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1146   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1147     program_suffix=$ac_optarg ;;
   1148 
   1149   -program-transform-name | --program-transform-name \
   1150   | --program-transform-nam | --program-transform-na \
   1151   | --program-transform-n | --program-transform- \
   1152   | --program-transform | --program-transfor \
   1153   | --program-transfo | --program-transf \
   1154   | --program-trans | --program-tran \
   1155   | --progr-tra | --program-tr | --program-t)
   1156     ac_prev=program_transform_name ;;
   1157   -program-transform-name=* | --program-transform-name=* \
   1158   | --program-transform-nam=* | --program-transform-na=* \
   1159   | --program-transform-n=* | --program-transform-=* \
   1160   | --program-transform=* | --program-transfor=* \
   1161   | --program-transfo=* | --program-transf=* \
   1162   | --program-trans=* | --program-tran=* \
   1163   | --progr-tra=* | --program-tr=* | --program-t=*)
   1164     program_transform_name=$ac_optarg ;;
   1165 
   1166   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1167     ac_prev=pdfdir ;;
   1168   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1169     pdfdir=$ac_optarg ;;
   1170 
   1171   -psdir | --psdir | --psdi | --psd | --ps)
   1172     ac_prev=psdir ;;
   1173   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1174     psdir=$ac_optarg ;;
   1175 
   1176   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1177   | -silent | --silent | --silen | --sile | --sil)
   1178     silent=yes ;;
   1179 
   1180   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1181     ac_prev=sbindir ;;
   1182   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1183   | --sbi=* | --sb=*)
   1184     sbindir=$ac_optarg ;;
   1185 
   1186   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1187   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1188   | --sharedst | --shareds | --shared | --share | --shar \
   1189   | --sha | --sh)
   1190     ac_prev=sharedstatedir ;;
   1191   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1192   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1193   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1194   | --sha=* | --sh=*)
   1195     sharedstatedir=$ac_optarg ;;
   1196 
   1197   -site | --site | --sit)
   1198     ac_prev=site ;;
   1199   -site=* | --site=* | --sit=*)
   1200     site=$ac_optarg ;;
   1201 
   1202   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1203     ac_prev=srcdir ;;
   1204   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1205     srcdir=$ac_optarg ;;
   1206 
   1207   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1208   | --syscon | --sysco | --sysc | --sys | --sy)
   1209     ac_prev=sysconfdir ;;
   1210   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1211   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1212     sysconfdir=$ac_optarg ;;
   1213 
   1214   -target | --target | --targe | --targ | --tar | --ta | --t)
   1215     ac_prev=target_alias ;;
   1216   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1217     target_alias=$ac_optarg ;;
   1218 
   1219   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1220     verbose=yes ;;
   1221 
   1222   -version | --version | --versio | --versi | --vers | -V)
   1223     ac_init_version=: ;;
   1224 
   1225   -with-* | --with-*)
   1226     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1227     # Reject names that are not valid shell variable names.
   1228     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1229       as_fn_error $? "invalid package name: $ac_useropt"
   1230     ac_useropt_orig=$ac_useropt
   1231     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1232     case $ac_user_opts in
   1233       *"
   1234 "with_$ac_useropt"
   1235 "*) ;;
   1236       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1237 	 ac_unrecognized_sep=', ';;
   1238     esac
   1239     eval with_$ac_useropt=\$ac_optarg ;;
   1240 
   1241   -without-* | --without-*)
   1242     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1243     # Reject names that are not valid shell variable names.
   1244     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1245       as_fn_error $? "invalid package name: $ac_useropt"
   1246     ac_useropt_orig=$ac_useropt
   1247     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1248     case $ac_user_opts in
   1249       *"
   1250 "with_$ac_useropt"
   1251 "*) ;;
   1252       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1253 	 ac_unrecognized_sep=', ';;
   1254     esac
   1255     eval with_$ac_useropt=no ;;
   1256 
   1257   --x)
   1258     # Obsolete; use --with-x.
   1259     with_x=yes ;;
   1260 
   1261   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1262   | --x-incl | --x-inc | --x-in | --x-i)
   1263     ac_prev=x_includes ;;
   1264   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1265   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1266     x_includes=$ac_optarg ;;
   1267 
   1268   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1269   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1270     ac_prev=x_libraries ;;
   1271   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1272   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1273     x_libraries=$ac_optarg ;;
   1274 
   1275   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1276 Try \`$0 --help' for more information"
   1277     ;;
   1278 
   1279   *=*)
   1280     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1281     # Reject names that are not valid shell variable names.
   1282     case $ac_envvar in #(
   1283       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1284       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1285     esac
   1286     eval $ac_envvar=\$ac_optarg
   1287     export $ac_envvar ;;
   1288 
   1289   *)
   1290     # FIXME: should be removed in autoconf 3.0.
   1291     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1292     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1293       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1294     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1295     ;;
   1296 
   1297   esac
   1298 done
   1299 
   1300 if test -n "$ac_prev"; then
   1301   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1302   as_fn_error $? "missing argument to $ac_option"
   1303 fi
   1304 
   1305 if test -n "$ac_unrecognized_opts"; then
   1306   case $enable_option_checking in
   1307     no) ;;
   1308     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1309     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1310   esac
   1311 fi
   1312 
   1313 # Check all directory arguments for consistency.
   1314 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1315 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1316 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1317 		libdir localedir mandir
   1318 do
   1319   eval ac_val=\$$ac_var
   1320   # Remove trailing slashes.
   1321   case $ac_val in
   1322     */ )
   1323       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1324       eval $ac_var=\$ac_val;;
   1325   esac
   1326   # Be sure to have absolute directory names.
   1327   case $ac_val in
   1328     [\\/$]* | ?:[\\/]* )  continue;;
   1329     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1330   esac
   1331   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1332 done
   1333 
   1334 # There might be people who depend on the old broken behavior: `$host'
   1335 # used to hold the argument of --host etc.
   1336 # FIXME: To remove some day.
   1337 build=$build_alias
   1338 host=$host_alias
   1339 target=$target_alias
   1340 
   1341 # FIXME: To remove some day.
   1342 if test "x$host_alias" != x; then
   1343   if test "x$build_alias" = x; then
   1344     cross_compiling=maybe
   1345   elif test "x$build_alias" != "x$host_alias"; then
   1346     cross_compiling=yes
   1347   fi
   1348 fi
   1349 
   1350 ac_tool_prefix=
   1351 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1352 
   1353 test "$silent" = yes && exec 6>/dev/null
   1354 
   1355 
   1356 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1357 ac_ls_di=`ls -di .` &&
   1358 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1359   as_fn_error $? "working directory cannot be determined"
   1360 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1361   as_fn_error $? "pwd does not report name of working directory"
   1362 
   1363 
   1364 # Find the source files, if location was not specified.
   1365 if test -z "$srcdir"; then
   1366   ac_srcdir_defaulted=yes
   1367   # Try the directory containing this script, then the parent directory.
   1368   ac_confdir=`$as_dirname -- "$as_myself" ||
   1369 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1370 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1371 	 X"$as_myself" : 'X\(//\)$' \| \
   1372 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1373 $as_echo X"$as_myself" |
   1374     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1375 	    s//\1/
   1376 	    q
   1377 	  }
   1378 	  /^X\(\/\/\)[^/].*/{
   1379 	    s//\1/
   1380 	    q
   1381 	  }
   1382 	  /^X\(\/\/\)$/{
   1383 	    s//\1/
   1384 	    q
   1385 	  }
   1386 	  /^X\(\/\).*/{
   1387 	    s//\1/
   1388 	    q
   1389 	  }
   1390 	  s/.*/./; q'`
   1391   srcdir=$ac_confdir
   1392   if test ! -r "$srcdir/$ac_unique_file"; then
   1393     srcdir=..
   1394   fi
   1395 else
   1396   ac_srcdir_defaulted=no
   1397 fi
   1398 if test ! -r "$srcdir/$ac_unique_file"; then
   1399   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1400   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1401 fi
   1402 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1403 ac_abs_confdir=`(
   1404 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1405 	pwd)`
   1406 # When building in place, set srcdir=.
   1407 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1408   srcdir=.
   1409 fi
   1410 # Remove unnecessary trailing slashes from srcdir.
   1411 # Double slashes in file names in object file debugging info
   1412 # mess up M-x gdb in Emacs.
   1413 case $srcdir in
   1414 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1415 esac
   1416 for ac_var in $ac_precious_vars; do
   1417   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1418   eval ac_env_${ac_var}_value=\$${ac_var}
   1419   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1420   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1421 done
   1422 
   1423 #
   1424 # Report the --help message.
   1425 #
   1426 if test "$ac_init_help" = "long"; then
   1427   # Omit some internal or obsolete options to make the list less imposing.
   1428   # This message is too long to be a string in the A/UX 3.1 sh.
   1429   cat <<_ACEOF
   1430 \`configure' configures mesa-demos 8.2.0 to adapt to many kinds of systems.
   1431 
   1432 Usage: $0 [OPTION]... [VAR=VALUE]...
   1433 
   1434 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1435 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1436 
   1437 Defaults for the options are specified in brackets.
   1438 
   1439 Configuration:
   1440   -h, --help              display this help and exit
   1441       --help=short        display options specific to this package
   1442       --help=recursive    display the short help of all the included packages
   1443   -V, --version           display version information and exit
   1444   -q, --quiet, --silent   do not print \`checking ...' messages
   1445       --cache-file=FILE   cache test results in FILE [disabled]
   1446   -C, --config-cache      alias for \`--cache-file=config.cache'
   1447   -n, --no-create         do not create output files
   1448       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1449 
   1450 Installation directories:
   1451   --prefix=PREFIX         install architecture-independent files in PREFIX
   1452                           [$ac_default_prefix]
   1453   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1454                           [PREFIX]
   1455 
   1456 By default, \`make install' will install all the files in
   1457 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1458 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1459 for instance \`--prefix=\$HOME'.
   1460 
   1461 For better control, use the options below.
   1462 
   1463 Fine tuning of the installation directories:
   1464   --bindir=DIR            user executables [EPREFIX/bin]
   1465   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1466   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1467   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1468   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1469   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1470   --libdir=DIR            object code libraries [EPREFIX/lib]
   1471   --includedir=DIR        C header files [PREFIX/include]
   1472   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1473   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1474   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1475   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1476   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1477   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1478   --docdir=DIR            documentation root [DATAROOTDIR/doc/mesa-demos]
   1479   --htmldir=DIR           html documentation [DOCDIR]
   1480   --dvidir=DIR            dvi documentation [DOCDIR]
   1481   --pdfdir=DIR            pdf documentation [DOCDIR]
   1482   --psdir=DIR             ps documentation [DOCDIR]
   1483 _ACEOF
   1484 
   1485   cat <<\_ACEOF
   1486 
   1487 Program names:
   1488   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1489   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1490   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1491 
   1492 System types:
   1493   --build=BUILD     configure for building on BUILD [guessed]
   1494   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1495 _ACEOF
   1496 fi
   1497 
   1498 if test -n "$ac_init_help"; then
   1499   case $ac_init_help in
   1500      short | recursive ) echo "Configuration of mesa-demos 8.2.0:";;
   1501    esac
   1502   cat <<\_ACEOF
   1503 
   1504 Optional Features:
   1505   --disable-option-checking  ignore unrecognized --enable/--with options
   1506   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1507   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1508   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1509   --disable-silent-rules  verbose build output (undo: "make V=0")
   1510   --enable-dependency-tracking
   1511                           do not reject slow dependency extractors
   1512   --disable-dependency-tracking
   1513                           speeds up one-time build
   1514   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1515   --enable-static[=PKGS]  build static libraries [default=yes]
   1516   --enable-fast-install[=PKGS]
   1517                           optimize for fast installation [default=yes]
   1518   --disable-libtool-lock  avoid locking (might break parallel builds)
   1519   --enable-egl            enable EGL library [default=auto]
   1520   --enable-gles1          enable support for OpenGL ES 1.x API [default=auto]
   1521   --enable-gles2          enable support for OpenGL ES 2.x API [default=auto]
   1522   --enable-vg             enable support for OpenVG API [default=auto]
   1523   --enable-osmesa         enable OSMesa library [default=auto]
   1524   --enable-libdrm         enable support for libdrm [default=auto]
   1525   --enable-x11            enable support for X11 [default=auto]
   1526   --enable-wayland        enable support for wayland [default=no]
   1527   --enable-gbm            enable support for GBM [default=auto]
   1528   --enable-freetype2      enable support for FreeType2 [default=auto]
   1529   --enable-rbug           enable support for rbug [default=no]
   1530 
   1531 Optional Packages:
   1532   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1533   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1534   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1535                           both]
   1536   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1537   --with-sysroot=DIR Search for dependent libraries within DIR
   1538                         (or the compiler's sysroot if not specified).
   1539   --with-glut=DIR         glut install directory
   1540   --with-mesa-source=DIR  Mesa source directory for finding gl_API.xml
   1541   --with-system-data-files
   1542                           Use system data files for demos (default: no)
   1543 
   1544 Some influential environment variables:
   1545   CC          C compiler command
   1546   CFLAGS      C compiler flags
   1547   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1548               nonstandard directory <lib dir>
   1549   LIBS        libraries to pass to the linker, e.g. -l<library>
   1550   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1551               you have headers in a nonstandard directory <include dir>
   1552   CPP         C preprocessor
   1553   CXX         C++ compiler command
   1554   CXXFLAGS    C++ compiler flags
   1555   CXXCPP      C++ preprocessor
   1556   PKG_CONFIG  path to pkg-config utility
   1557   PKG_CONFIG_PATH
   1558               directories to add to pkg-config's search path
   1559   PKG_CONFIG_LIBDIR
   1560               path overriding pkg-config's built-in search path
   1561   GL_CFLAGS   C compiler flags for GL, overriding pkg-config
   1562   GL_LIBS     linker flags for GL, overriding pkg-config
   1563   GLEW_CFLAGS C compiler flags for GLEW, overriding pkg-config
   1564   GLEW_LIBS   linker flags for GLEW, overriding pkg-config
   1565   GLU_CFLAGS  C compiler flags for GLU, overriding pkg-config
   1566   GLU_LIBS    linker flags for GLU, overriding pkg-config
   1567   EGL_CFLAGS  C compiler flags for EGL, overriding pkg-config
   1568   EGL_LIBS    linker flags for EGL, overriding pkg-config
   1569   GLESV1_CFLAGS
   1570               C compiler flags for GLESV1, overriding pkg-config
   1571   GLESV1_LIBS linker flags for GLESV1, overriding pkg-config
   1572   GLESV2_CFLAGS
   1573               C compiler flags for GLESV2, overriding pkg-config
   1574   GLESV2_LIBS linker flags for GLESV2, overriding pkg-config
   1575   VG_CFLAGS   C compiler flags for VG, overriding pkg-config
   1576   VG_LIBS     linker flags for VG, overriding pkg-config
   1577   OSMESA_CFLAGS
   1578               C compiler flags for OSMESA, overriding pkg-config
   1579   OSMESA_LIBS linker flags for OSMESA, overriding pkg-config
   1580   DRM_CFLAGS  C compiler flags for DRM, overriding pkg-config
   1581   DRM_LIBS    linker flags for DRM, overriding pkg-config
   1582   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1583   X11_LIBS    linker flags for X11, overriding pkg-config
   1584   WAYLAND_CFLAGS
   1585               C compiler flags for WAYLAND, overriding pkg-config
   1586   WAYLAND_LIBS
   1587               linker flags for WAYLAND, overriding pkg-config
   1588   GBM_CFLAGS  C compiler flags for GBM, overriding pkg-config
   1589   GBM_LIBS    linker flags for GBM, overriding pkg-config
   1590   FREETYPE2_CFLAGS
   1591               C compiler flags for FREETYPE2, overriding pkg-config
   1592   FREETYPE2_LIBS
   1593               linker flags for FREETYPE2, overriding pkg-config
   1594 
   1595 Use these variables to override the choices made by `configure' or to help
   1596 it to find libraries and programs with nonstandard names/locations.
   1597 
   1598 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=Demos>.
   1599 _ACEOF
   1600 ac_status=$?
   1601 fi
   1602 
   1603 if test "$ac_init_help" = "recursive"; then
   1604   # If there are subdirs, report their specific --help.
   1605   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1606     test -d "$ac_dir" ||
   1607       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1608       continue
   1609     ac_builddir=.
   1610 
   1611 case "$ac_dir" in
   1612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1613 *)
   1614   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1615   # A ".." for each directory in $ac_dir_suffix.
   1616   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1617   case $ac_top_builddir_sub in
   1618   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1619   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1620   esac ;;
   1621 esac
   1622 ac_abs_top_builddir=$ac_pwd
   1623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1624 # for backward compatibility:
   1625 ac_top_builddir=$ac_top_build_prefix
   1626 
   1627 case $srcdir in
   1628   .)  # We are building in place.
   1629     ac_srcdir=.
   1630     ac_top_srcdir=$ac_top_builddir_sub
   1631     ac_abs_top_srcdir=$ac_pwd ;;
   1632   [\\/]* | ?:[\\/]* )  # Absolute name.
   1633     ac_srcdir=$srcdir$ac_dir_suffix;
   1634     ac_top_srcdir=$srcdir
   1635     ac_abs_top_srcdir=$srcdir ;;
   1636   *) # Relative name.
   1637     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1638     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1639     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1640 esac
   1641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1642 
   1643     cd "$ac_dir" || { ac_status=$?; continue; }
   1644     # Check for guested configure.
   1645     if test -f "$ac_srcdir/configure.gnu"; then
   1646       echo &&
   1647       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1648     elif test -f "$ac_srcdir/configure"; then
   1649       echo &&
   1650       $SHELL "$ac_srcdir/configure" --help=recursive
   1651     else
   1652       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1653     fi || ac_status=$?
   1654     cd "$ac_pwd" || { ac_status=$?; break; }
   1655   done
   1656 fi
   1657 
   1658 test -n "$ac_init_help" && exit $ac_status
   1659 if $ac_init_version; then
   1660   cat <<\_ACEOF
   1661 mesa-demos configure 8.2.0
   1662 generated by GNU Autoconf 2.69
   1663 
   1664 Copyright (C) 2012 Free Software Foundation, Inc.
   1665 This configure script is free software; the Free Software Foundation
   1666 gives unlimited permission to copy, distribute and modify it.
   1667 _ACEOF
   1668   exit
   1669 fi
   1670 
   1671 ## ------------------------ ##
   1672 ## Autoconf initialization. ##
   1673 ## ------------------------ ##
   1674 
   1675 # ac_fn_c_try_compile LINENO
   1676 # --------------------------
   1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1678 ac_fn_c_try_compile ()
   1679 {
   1680   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1681   rm -f conftest.$ac_objext
   1682   if { { ac_try="$ac_compile"
   1683 case "(($ac_try" in
   1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1685   *) ac_try_echo=$ac_try;;
   1686 esac
   1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1688 $as_echo "$ac_try_echo"; } >&5
   1689   (eval "$ac_compile") 2>conftest.err
   1690   ac_status=$?
   1691   if test -s conftest.err; then
   1692     grep -v '^ *+' conftest.err >conftest.er1
   1693     cat conftest.er1 >&5
   1694     mv -f conftest.er1 conftest.err
   1695   fi
   1696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1697   test $ac_status = 0; } && {
   1698 	 test -z "$ac_c_werror_flag" ||
   1699 	 test ! -s conftest.err
   1700        } && test -s conftest.$ac_objext; then :
   1701   ac_retval=0
   1702 else
   1703   $as_echo "$as_me: failed program was:" >&5
   1704 sed 's/^/| /' conftest.$ac_ext >&5
   1705 
   1706 	ac_retval=1
   1707 fi
   1708   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1709   as_fn_set_status $ac_retval
   1710 
   1711 } # ac_fn_c_try_compile
   1712 
   1713 # ac_fn_c_try_cpp LINENO
   1714 # ----------------------
   1715 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1716 ac_fn_c_try_cpp ()
   1717 {
   1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1719   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1720 case "(($ac_try" in
   1721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1722   *) ac_try_echo=$ac_try;;
   1723 esac
   1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1725 $as_echo "$ac_try_echo"; } >&5
   1726   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1727   ac_status=$?
   1728   if test -s conftest.err; then
   1729     grep -v '^ *+' conftest.err >conftest.er1
   1730     cat conftest.er1 >&5
   1731     mv -f conftest.er1 conftest.err
   1732   fi
   1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1734   test $ac_status = 0; } > conftest.i && {
   1735 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1736 	 test ! -s conftest.err
   1737        }; then :
   1738   ac_retval=0
   1739 else
   1740   $as_echo "$as_me: failed program was:" >&5
   1741 sed 's/^/| /' conftest.$ac_ext >&5
   1742 
   1743     ac_retval=1
   1744 fi
   1745   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1746   as_fn_set_status $ac_retval
   1747 
   1748 } # ac_fn_c_try_cpp
   1749 
   1750 # ac_fn_cxx_try_compile LINENO
   1751 # ----------------------------
   1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1753 ac_fn_cxx_try_compile ()
   1754 {
   1755   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1756   rm -f conftest.$ac_objext
   1757   if { { ac_try="$ac_compile"
   1758 case "(($ac_try" in
   1759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1760   *) ac_try_echo=$ac_try;;
   1761 esac
   1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1763 $as_echo "$ac_try_echo"; } >&5
   1764   (eval "$ac_compile") 2>conftest.err
   1765   ac_status=$?
   1766   if test -s conftest.err; then
   1767     grep -v '^ *+' conftest.err >conftest.er1
   1768     cat conftest.er1 >&5
   1769     mv -f conftest.er1 conftest.err
   1770   fi
   1771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1772   test $ac_status = 0; } && {
   1773 	 test -z "$ac_cxx_werror_flag" ||
   1774 	 test ! -s conftest.err
   1775        } && test -s conftest.$ac_objext; then :
   1776   ac_retval=0
   1777 else
   1778   $as_echo "$as_me: failed program was:" >&5
   1779 sed 's/^/| /' conftest.$ac_ext >&5
   1780 
   1781 	ac_retval=1
   1782 fi
   1783   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1784   as_fn_set_status $ac_retval
   1785 
   1786 } # ac_fn_cxx_try_compile
   1787 
   1788 # ac_fn_c_try_link LINENO
   1789 # -----------------------
   1790 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1791 ac_fn_c_try_link ()
   1792 {
   1793   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1794   rm -f conftest.$ac_objext conftest$ac_exeext
   1795   if { { ac_try="$ac_link"
   1796 case "(($ac_try" in
   1797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1798   *) ac_try_echo=$ac_try;;
   1799 esac
   1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1801 $as_echo "$ac_try_echo"; } >&5
   1802   (eval "$ac_link") 2>conftest.err
   1803   ac_status=$?
   1804   if test -s conftest.err; then
   1805     grep -v '^ *+' conftest.err >conftest.er1
   1806     cat conftest.er1 >&5
   1807     mv -f conftest.er1 conftest.err
   1808   fi
   1809   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1810   test $ac_status = 0; } && {
   1811 	 test -z "$ac_c_werror_flag" ||
   1812 	 test ! -s conftest.err
   1813        } && test -s conftest$ac_exeext && {
   1814 	 test "$cross_compiling" = yes ||
   1815 	 test -x conftest$ac_exeext
   1816        }; then :
   1817   ac_retval=0
   1818 else
   1819   $as_echo "$as_me: failed program was:" >&5
   1820 sed 's/^/| /' conftest.$ac_ext >&5
   1821 
   1822 	ac_retval=1
   1823 fi
   1824   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1825   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1826   # interfere with the next link command; also delete a directory that is
   1827   # left behind by Apple's compiler.  We do this before executing the actions.
   1828   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1829   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1830   as_fn_set_status $ac_retval
   1831 
   1832 } # ac_fn_c_try_link
   1833 
   1834 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1835 # -------------------------------------------------------
   1836 # Tests whether HEADER exists and can be compiled using the include files in
   1837 # INCLUDES, setting the cache variable VAR accordingly.
   1838 ac_fn_c_check_header_compile ()
   1839 {
   1840   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1842 $as_echo_n "checking for $2... " >&6; }
   1843 if eval \${$3+:} false; then :
   1844   $as_echo_n "(cached) " >&6
   1845 else
   1846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1847 /* end confdefs.h.  */
   1848 $4
   1849 #include <$2>
   1850 _ACEOF
   1851 if ac_fn_c_try_compile "$LINENO"; then :
   1852   eval "$3=yes"
   1853 else
   1854   eval "$3=no"
   1855 fi
   1856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1857 fi
   1858 eval ac_res=\$$3
   1859 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1860 $as_echo "$ac_res" >&6; }
   1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1862 
   1863 } # ac_fn_c_check_header_compile
   1864 
   1865 # ac_fn_c_try_run LINENO
   1866 # ----------------------
   1867 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1868 # that executables *can* be run.
   1869 ac_fn_c_try_run ()
   1870 {
   1871   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1872   if { { ac_try="$ac_link"
   1873 case "(($ac_try" in
   1874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1875   *) ac_try_echo=$ac_try;;
   1876 esac
   1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1878 $as_echo "$ac_try_echo"; } >&5
   1879   (eval "$ac_link") 2>&5
   1880   ac_status=$?
   1881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1882   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1883   { { case "(($ac_try" in
   1884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1885   *) ac_try_echo=$ac_try;;
   1886 esac
   1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1888 $as_echo "$ac_try_echo"; } >&5
   1889   (eval "$ac_try") 2>&5
   1890   ac_status=$?
   1891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1892   test $ac_status = 0; }; }; then :
   1893   ac_retval=0
   1894 else
   1895   $as_echo "$as_me: program exited with status $ac_status" >&5
   1896        $as_echo "$as_me: failed program was:" >&5
   1897 sed 's/^/| /' conftest.$ac_ext >&5
   1898 
   1899        ac_retval=$ac_status
   1900 fi
   1901   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1902   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1903   as_fn_set_status $ac_retval
   1904 
   1905 } # ac_fn_c_try_run
   1906 
   1907 # ac_fn_c_check_func LINENO FUNC VAR
   1908 # ----------------------------------
   1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1910 ac_fn_c_check_func ()
   1911 {
   1912   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1914 $as_echo_n "checking for $2... " >&6; }
   1915 if eval \${$3+:} false; then :
   1916   $as_echo_n "(cached) " >&6
   1917 else
   1918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1919 /* end confdefs.h.  */
   1920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1922 #define $2 innocuous_$2
   1923 
   1924 /* System header to define __stub macros and hopefully few prototypes,
   1925     which can conflict with char $2 (); below.
   1926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1927     <limits.h> exists even on freestanding compilers.  */
   1928 
   1929 #ifdef __STDC__
   1930 # include <limits.h>
   1931 #else
   1932 # include <assert.h>
   1933 #endif
   1934 
   1935 #undef $2
   1936 
   1937 /* Override any GCC internal prototype to avoid an error.
   1938    Use char because int might match the return type of a GCC
   1939    builtin and then its argument prototype would still apply.  */
   1940 #ifdef __cplusplus
   1941 extern "C"
   1942 #endif
   1943 char $2 ();
   1944 /* The GNU C library defines this for functions which it implements
   1945     to always fail with ENOSYS.  Some functions are actually named
   1946     something starting with __ and the normal name is an alias.  */
   1947 #if defined __stub_$2 || defined __stub___$2
   1948 choke me
   1949 #endif
   1950 
   1951 int
   1952 main ()
   1953 {
   1954 return $2 ();
   1955   ;
   1956   return 0;
   1957 }
   1958 _ACEOF
   1959 if ac_fn_c_try_link "$LINENO"; then :
   1960   eval "$3=yes"
   1961 else
   1962   eval "$3=no"
   1963 fi
   1964 rm -f core conftest.err conftest.$ac_objext \
   1965     conftest$ac_exeext conftest.$ac_ext
   1966 fi
   1967 eval ac_res=\$$3
   1968 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1969 $as_echo "$ac_res" >&6; }
   1970   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1971 
   1972 } # ac_fn_c_check_func
   1973 
   1974 # ac_fn_cxx_try_cpp LINENO
   1975 # ------------------------
   1976 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1977 ac_fn_cxx_try_cpp ()
   1978 {
   1979   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1980   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1981 case "(($ac_try" in
   1982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1983   *) ac_try_echo=$ac_try;;
   1984 esac
   1985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1986 $as_echo "$ac_try_echo"; } >&5
   1987   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1988   ac_status=$?
   1989   if test -s conftest.err; then
   1990     grep -v '^ *+' conftest.err >conftest.er1
   1991     cat conftest.er1 >&5
   1992     mv -f conftest.er1 conftest.err
   1993   fi
   1994   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1995   test $ac_status = 0; } > conftest.i && {
   1996 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1997 	 test ! -s conftest.err
   1998        }; then :
   1999   ac_retval=0
   2000 else
   2001   $as_echo "$as_me: failed program was:" >&5
   2002 sed 's/^/| /' conftest.$ac_ext >&5
   2003 
   2004     ac_retval=1
   2005 fi
   2006   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2007   as_fn_set_status $ac_retval
   2008 
   2009 } # ac_fn_cxx_try_cpp
   2010 
   2011 # ac_fn_cxx_try_link LINENO
   2012 # -------------------------
   2013 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2014 ac_fn_cxx_try_link ()
   2015 {
   2016   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2017   rm -f conftest.$ac_objext conftest$ac_exeext
   2018   if { { ac_try="$ac_link"
   2019 case "(($ac_try" in
   2020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2021   *) ac_try_echo=$ac_try;;
   2022 esac
   2023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2024 $as_echo "$ac_try_echo"; } >&5
   2025   (eval "$ac_link") 2>conftest.err
   2026   ac_status=$?
   2027   if test -s conftest.err; then
   2028     grep -v '^ *+' conftest.err >conftest.er1
   2029     cat conftest.er1 >&5
   2030     mv -f conftest.er1 conftest.err
   2031   fi
   2032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2033   test $ac_status = 0; } && {
   2034 	 test -z "$ac_cxx_werror_flag" ||
   2035 	 test ! -s conftest.err
   2036        } && test -s conftest$ac_exeext && {
   2037 	 test "$cross_compiling" = yes ||
   2038 	 test -x conftest$ac_exeext
   2039        }; then :
   2040   ac_retval=0
   2041 else
   2042   $as_echo "$as_me: failed program was:" >&5
   2043 sed 's/^/| /' conftest.$ac_ext >&5
   2044 
   2045 	ac_retval=1
   2046 fi
   2047   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2048   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2049   # interfere with the next link command; also delete a directory that is
   2050   # left behind by Apple's compiler.  We do this before executing the actions.
   2051   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2052   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2053   as_fn_set_status $ac_retval
   2054 
   2055 } # ac_fn_cxx_try_link
   2056 
   2057 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   2058 # -------------------------------------------------------
   2059 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   2060 # the include files in INCLUDES and setting the cache variable VAR
   2061 # accordingly.
   2062 ac_fn_c_check_header_mongrel ()
   2063 {
   2064   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2065   if eval \${$3+:} false; then :
   2066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2067 $as_echo_n "checking for $2... " >&6; }
   2068 if eval \${$3+:} false; then :
   2069   $as_echo_n "(cached) " >&6
   2070 fi
   2071 eval ac_res=\$$3
   2072 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2073 $as_echo "$ac_res" >&6; }
   2074 else
   2075   # Is the header compilable?
   2076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   2077 $as_echo_n "checking $2 usability... " >&6; }
   2078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2079 /* end confdefs.h.  */
   2080 $4
   2081 #include <$2>
   2082 _ACEOF
   2083 if ac_fn_c_try_compile "$LINENO"; then :
   2084   ac_header_compiler=yes
   2085 else
   2086   ac_header_compiler=no
   2087 fi
   2088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   2090 $as_echo "$ac_header_compiler" >&6; }
   2091 
   2092 # Is the header present?
   2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2094 $as_echo_n "checking $2 presence... " >&6; }
   2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2096 /* end confdefs.h.  */
   2097 #include <$2>
   2098 _ACEOF
   2099 if ac_fn_c_try_cpp "$LINENO"; then :
   2100   ac_header_preproc=yes
   2101 else
   2102   ac_header_preproc=no
   2103 fi
   2104 rm -f conftest.err conftest.i conftest.$ac_ext
   2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2106 $as_echo "$ac_header_preproc" >&6; }
   2107 
   2108 # So?  What about this header?
   2109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2110   yes:no: )
   2111     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2112 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2113     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2114 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2115     ;;
   2116   no:yes:* )
   2117     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2118 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2119     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2120 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2121     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2122 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2123     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2124 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2125     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2126 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2127 ( $as_echo "## -------------------------------------------------------------------------------------- ##
   2128 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=Demos ##
   2129 ## -------------------------------------------------------------------------------------- ##"
   2130      ) | sed "s/^/$as_me: WARNING:     /" >&2
   2131     ;;
   2132 esac
   2133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2134 $as_echo_n "checking for $2... " >&6; }
   2135 if eval \${$3+:} false; then :
   2136   $as_echo_n "(cached) " >&6
   2137 else
   2138   eval "$3=\$ac_header_compiler"
   2139 fi
   2140 eval ac_res=\$$3
   2141 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2142 $as_echo "$ac_res" >&6; }
   2143 fi
   2144   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2145 
   2146 } # ac_fn_c_check_header_mongrel
   2147 
   2148 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2149 # ---------------------------------------------
   2150 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2151 # accordingly.
   2152 ac_fn_c_check_decl ()
   2153 {
   2154   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2155   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2156   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2158 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2159 if eval \${$3+:} false; then :
   2160   $as_echo_n "(cached) " >&6
   2161 else
   2162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2163 /* end confdefs.h.  */
   2164 $4
   2165 int
   2166 main ()
   2167 {
   2168 #ifndef $as_decl_name
   2169 #ifdef __cplusplus
   2170   (void) $as_decl_use;
   2171 #else
   2172   (void) $as_decl_name;
   2173 #endif
   2174 #endif
   2175 
   2176   ;
   2177   return 0;
   2178 }
   2179 _ACEOF
   2180 if ac_fn_c_try_compile "$LINENO"; then :
   2181   eval "$3=yes"
   2182 else
   2183   eval "$3=no"
   2184 fi
   2185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2186 fi
   2187 eval ac_res=\$$3
   2188 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2189 $as_echo "$ac_res" >&6; }
   2190   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2191 
   2192 } # ac_fn_c_check_decl
   2193 cat >config.log <<_ACEOF
   2194 This file contains any messages produced by compilers while
   2195 running configure, to aid debugging if configure makes a mistake.
   2196 
   2197 It was created by mesa-demos $as_me 8.2.0, which was
   2198 generated by GNU Autoconf 2.69.  Invocation command line was
   2199 
   2200   $ $0 $@
   2201 
   2202 _ACEOF
   2203 exec 5>>config.log
   2204 {
   2205 cat <<_ASUNAME
   2206 ## --------- ##
   2207 ## Platform. ##
   2208 ## --------- ##
   2209 
   2210 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2211 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2212 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2213 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2214 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2215 
   2216 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2217 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2218 
   2219 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2220 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2221 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2222 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2223 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2224 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2225 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2226 
   2227 _ASUNAME
   2228 
   2229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2230 for as_dir in $PATH
   2231 do
   2232   IFS=$as_save_IFS
   2233   test -z "$as_dir" && as_dir=.
   2234     $as_echo "PATH: $as_dir"
   2235   done
   2236 IFS=$as_save_IFS
   2237 
   2238 } >&5
   2239 
   2240 cat >&5 <<_ACEOF
   2241 
   2242 
   2243 ## ----------- ##
   2244 ## Core tests. ##
   2245 ## ----------- ##
   2246 
   2247 _ACEOF
   2248 
   2249 
   2250 # Keep a trace of the command line.
   2251 # Strip out --no-create and --no-recursion so they do not pile up.
   2252 # Strip out --silent because we don't want to record it for future runs.
   2253 # Also quote any args containing shell meta-characters.
   2254 # Make two passes to allow for proper duplicate-argument suppression.
   2255 ac_configure_args=
   2256 ac_configure_args0=
   2257 ac_configure_args1=
   2258 ac_must_keep_next=false
   2259 for ac_pass in 1 2
   2260 do
   2261   for ac_arg
   2262   do
   2263     case $ac_arg in
   2264     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2265     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2266     | -silent | --silent | --silen | --sile | --sil)
   2267       continue ;;
   2268     *\'*)
   2269       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2270     esac
   2271     case $ac_pass in
   2272     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2273     2)
   2274       as_fn_append ac_configure_args1 " '$ac_arg'"
   2275       if test $ac_must_keep_next = true; then
   2276 	ac_must_keep_next=false # Got value, back to normal.
   2277       else
   2278 	case $ac_arg in
   2279 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2280 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2281 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2282 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2283 	    case "$ac_configure_args0 " in
   2284 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2285 	    esac
   2286 	    ;;
   2287 	  -* ) ac_must_keep_next=true ;;
   2288 	esac
   2289       fi
   2290       as_fn_append ac_configure_args " '$ac_arg'"
   2291       ;;
   2292     esac
   2293   done
   2294 done
   2295 { ac_configure_args0=; unset ac_configure_args0;}
   2296 { ac_configure_args1=; unset ac_configure_args1;}
   2297 
   2298 # When interrupted or exit'd, cleanup temporary files, and complete
   2299 # config.log.  We remove comments because anyway the quotes in there
   2300 # would cause problems or look ugly.
   2301 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2302 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2303 trap 'exit_status=$?
   2304   # Save into config.log some information that might help in debugging.
   2305   {
   2306     echo
   2307 
   2308     $as_echo "## ---------------- ##
   2309 ## Cache variables. ##
   2310 ## ---------------- ##"
   2311     echo
   2312     # The following way of writing the cache mishandles newlines in values,
   2313 (
   2314   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2315     eval ac_val=\$$ac_var
   2316     case $ac_val in #(
   2317     *${as_nl}*)
   2318       case $ac_var in #(
   2319       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2320 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2321       esac
   2322       case $ac_var in #(
   2323       _ | IFS | as_nl) ;; #(
   2324       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2325       *) { eval $ac_var=; unset $ac_var;} ;;
   2326       esac ;;
   2327     esac
   2328   done
   2329   (set) 2>&1 |
   2330     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2331     *${as_nl}ac_space=\ *)
   2332       sed -n \
   2333 	"s/'\''/'\''\\\\'\'''\''/g;
   2334 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2335       ;; #(
   2336     *)
   2337       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2338       ;;
   2339     esac |
   2340     sort
   2341 )
   2342     echo
   2343 
   2344     $as_echo "## ----------------- ##
   2345 ## Output variables. ##
   2346 ## ----------------- ##"
   2347     echo
   2348     for ac_var in $ac_subst_vars
   2349     do
   2350       eval ac_val=\$$ac_var
   2351       case $ac_val in
   2352       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2353       esac
   2354       $as_echo "$ac_var='\''$ac_val'\''"
   2355     done | sort
   2356     echo
   2357 
   2358     if test -n "$ac_subst_files"; then
   2359       $as_echo "## ------------------- ##
   2360 ## File substitutions. ##
   2361 ## ------------------- ##"
   2362       echo
   2363       for ac_var in $ac_subst_files
   2364       do
   2365 	eval ac_val=\$$ac_var
   2366 	case $ac_val in
   2367 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2368 	esac
   2369 	$as_echo "$ac_var='\''$ac_val'\''"
   2370       done | sort
   2371       echo
   2372     fi
   2373 
   2374     if test -s confdefs.h; then
   2375       $as_echo "## ----------- ##
   2376 ## confdefs.h. ##
   2377 ## ----------- ##"
   2378       echo
   2379       cat confdefs.h
   2380       echo
   2381     fi
   2382     test "$ac_signal" != 0 &&
   2383       $as_echo "$as_me: caught signal $ac_signal"
   2384     $as_echo "$as_me: exit $exit_status"
   2385   } >&5
   2386   rm -f core *.core core.conftest.* &&
   2387     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2388     exit $exit_status
   2389 ' 0
   2390 for ac_signal in 1 2 13 15; do
   2391   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2392 done
   2393 ac_signal=0
   2394 
   2395 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2396 rm -f -r conftest* confdefs.h
   2397 
   2398 $as_echo "/* confdefs.h */" > confdefs.h
   2399 
   2400 # Predefined preprocessor variables.
   2401 
   2402 cat >>confdefs.h <<_ACEOF
   2403 #define PACKAGE_NAME "$PACKAGE_NAME"
   2404 _ACEOF
   2405 
   2406 cat >>confdefs.h <<_ACEOF
   2407 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2408 _ACEOF
   2409 
   2410 cat >>confdefs.h <<_ACEOF
   2411 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2412 _ACEOF
   2413 
   2414 cat >>confdefs.h <<_ACEOF
   2415 #define PACKAGE_STRING "$PACKAGE_STRING"
   2416 _ACEOF
   2417 
   2418 cat >>confdefs.h <<_ACEOF
   2419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2420 _ACEOF
   2421 
   2422 cat >>confdefs.h <<_ACEOF
   2423 #define PACKAGE_URL "$PACKAGE_URL"
   2424 _ACEOF
   2425 
   2426 
   2427 # Let the site file select an alternate cache file if it wants to.
   2428 # Prefer an explicitly selected file to automatically selected ones.
   2429 ac_site_file1=NONE
   2430 ac_site_file2=NONE
   2431 if test -n "$CONFIG_SITE"; then
   2432   # We do not want a PATH search for config.site.
   2433   case $CONFIG_SITE in #((
   2434     -*)  ac_site_file1=./$CONFIG_SITE;;
   2435     */*) ac_site_file1=$CONFIG_SITE;;
   2436     *)   ac_site_file1=./$CONFIG_SITE;;
   2437   esac
   2438 elif test "x$prefix" != xNONE; then
   2439   ac_site_file1=$prefix/share/config.site
   2440   ac_site_file2=$prefix/etc/config.site
   2441 else
   2442   ac_site_file1=$ac_default_prefix/share/config.site
   2443   ac_site_file2=$ac_default_prefix/etc/config.site
   2444 fi
   2445 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2446 do
   2447   test "x$ac_site_file" = xNONE && continue
   2448   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2449     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2450 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2451     sed 's/^/| /' "$ac_site_file" >&5
   2452     . "$ac_site_file" \
   2453       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2455 as_fn_error $? "failed to load site script $ac_site_file
   2456 See \`config.log' for more details" "$LINENO" 5; }
   2457   fi
   2458 done
   2459 
   2460 if test -r "$cache_file"; then
   2461   # Some versions of bash will fail to source /dev/null (special files
   2462   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2463   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2464     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2465 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2466     case $cache_file in
   2467       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2468       *)                      . "./$cache_file";;
   2469     esac
   2470   fi
   2471 else
   2472   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2473 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2474   >$cache_file
   2475 fi
   2476 
   2477 # Check that the precious variables saved in the cache have kept the same
   2478 # value.
   2479 ac_cache_corrupted=false
   2480 for ac_var in $ac_precious_vars; do
   2481   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2482   eval ac_new_set=\$ac_env_${ac_var}_set
   2483   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2484   eval ac_new_val=\$ac_env_${ac_var}_value
   2485   case $ac_old_set,$ac_new_set in
   2486     set,)
   2487       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2488 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2489       ac_cache_corrupted=: ;;
   2490     ,set)
   2491       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2492 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2493       ac_cache_corrupted=: ;;
   2494     ,);;
   2495     *)
   2496       if test "x$ac_old_val" != "x$ac_new_val"; then
   2497 	# differences in whitespace do not lead to failure.
   2498 	ac_old_val_w=`echo x $ac_old_val`
   2499 	ac_new_val_w=`echo x $ac_new_val`
   2500 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2501 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2502 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2503 	  ac_cache_corrupted=:
   2504 	else
   2505 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2506 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2507 	  eval $ac_var=\$ac_old_val
   2508 	fi
   2509 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2510 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2511 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2512 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2513       fi;;
   2514   esac
   2515   # Pass precious variables to config.status.
   2516   if test "$ac_new_set" = set; then
   2517     case $ac_new_val in
   2518     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2519     *) ac_arg=$ac_var=$ac_new_val ;;
   2520     esac
   2521     case " $ac_configure_args " in
   2522       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2523       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2524     esac
   2525   fi
   2526 done
   2527 if $ac_cache_corrupted; then
   2528   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2530   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2531 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2532   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2533 fi
   2534 ## -------------------- ##
   2535 ## Main body of script. ##
   2536 ## -------------------- ##
   2537 
   2538 ac_ext=c
   2539 ac_cpp='$CPP $CPPFLAGS'
   2540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2543 
   2544 
   2545 ac_aux_dir=
   2546 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2547   if test -f "$ac_dir/install-sh"; then
   2548     ac_aux_dir=$ac_dir
   2549     ac_install_sh="$ac_aux_dir/install-sh -c"
   2550     break
   2551   elif test -f "$ac_dir/install.sh"; then
   2552     ac_aux_dir=$ac_dir
   2553     ac_install_sh="$ac_aux_dir/install.sh -c"
   2554     break
   2555   elif test -f "$ac_dir/shtool"; then
   2556     ac_aux_dir=$ac_dir
   2557     ac_install_sh="$ac_aux_dir/shtool install -c"
   2558     break
   2559   fi
   2560 done
   2561 if test -z "$ac_aux_dir"; then
   2562   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2563 fi
   2564 
   2565 # These three variables are undocumented and unsupported,
   2566 # and are intended to be withdrawn in a future Autoconf release.
   2567 # They can cause serious problems if a builder's source tree is in a directory
   2568 # whose full name contains unusual characters.
   2569 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2570 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2571 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2572 
   2573 
   2574 # Make sure we can run config.sub.
   2575 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2576   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2577 
   2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2579 $as_echo_n "checking build system type... " >&6; }
   2580 if ${ac_cv_build+:} false; then :
   2581   $as_echo_n "(cached) " >&6
   2582 else
   2583   ac_build_alias=$build_alias
   2584 test "x$ac_build_alias" = x &&
   2585   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2586 test "x$ac_build_alias" = x &&
   2587   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2588 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2589   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2590 
   2591 fi
   2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2593 $as_echo "$ac_cv_build" >&6; }
   2594 case $ac_cv_build in
   2595 *-*-*) ;;
   2596 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2597 esac
   2598 build=$ac_cv_build
   2599 ac_save_IFS=$IFS; IFS='-'
   2600 set x $ac_cv_build
   2601 shift
   2602 build_cpu=$1
   2603 build_vendor=$2
   2604 shift; shift
   2605 # Remember, the first character of IFS is used to create $*,
   2606 # except with old shells:
   2607 build_os=$*
   2608 IFS=$ac_save_IFS
   2609 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2610 
   2611 
   2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2613 $as_echo_n "checking host system type... " >&6; }
   2614 if ${ac_cv_host+:} false; then :
   2615   $as_echo_n "(cached) " >&6
   2616 else
   2617   if test "x$host_alias" = x; then
   2618   ac_cv_host=$ac_cv_build
   2619 else
   2620   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2621     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2622 fi
   2623 
   2624 fi
   2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2626 $as_echo "$ac_cv_host" >&6; }
   2627 case $ac_cv_host in
   2628 *-*-*) ;;
   2629 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2630 esac
   2631 host=$ac_cv_host
   2632 ac_save_IFS=$IFS; IFS='-'
   2633 set x $ac_cv_host
   2634 shift
   2635 host_cpu=$1
   2636 host_vendor=$2
   2637 shift; shift
   2638 # Remember, the first character of IFS is used to create $*,
   2639 # except with old shells:
   2640 host_os=$*
   2641 IFS=$ac_save_IFS
   2642 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2643 
   2644 
   2645 
   2646 am__api_version='1.14'
   2647 
   2648 # Find a good install program.  We prefer a C program (faster),
   2649 # so one script is as good as another.  But avoid the broken or
   2650 # incompatible versions:
   2651 # SysV /etc/install, /usr/sbin/install
   2652 # SunOS /usr/etc/install
   2653 # IRIX /sbin/install
   2654 # AIX /bin/install
   2655 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2656 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2657 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2658 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2659 # OS/2's system install, which has a completely different semantic
   2660 # ./install, which can be erroneously created by make from ./install.sh.
   2661 # Reject install programs that cannot install multiple files.
   2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2663 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2664 if test -z "$INSTALL"; then
   2665 if ${ac_cv_path_install+:} false; then :
   2666   $as_echo_n "(cached) " >&6
   2667 else
   2668   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2669 for as_dir in $PATH
   2670 do
   2671   IFS=$as_save_IFS
   2672   test -z "$as_dir" && as_dir=.
   2673     # Account for people who put trailing slashes in PATH elements.
   2674 case $as_dir/ in #((
   2675   ./ | .// | /[cC]/* | \
   2676   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2677   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2678   /usr/ucb/* ) ;;
   2679   *)
   2680     # OSF1 and SCO ODT 3.0 have their own names for install.
   2681     # Don't use installbsd from OSF since it installs stuff as root
   2682     # by default.
   2683     for ac_prog in ginstall scoinst install; do
   2684       for ac_exec_ext in '' $ac_executable_extensions; do
   2685 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2686 	  if test $ac_prog = install &&
   2687 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2688 	    # AIX install.  It has an incompatible calling convention.
   2689 	    :
   2690 	  elif test $ac_prog = install &&
   2691 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2692 	    # program-specific install script used by HP pwplus--don't use.
   2693 	    :
   2694 	  else
   2695 	    rm -rf conftest.one conftest.two conftest.dir
   2696 	    echo one > conftest.one
   2697 	    echo two > conftest.two
   2698 	    mkdir conftest.dir
   2699 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2700 	      test -s conftest.one && test -s conftest.two &&
   2701 	      test -s conftest.dir/conftest.one &&
   2702 	      test -s conftest.dir/conftest.two
   2703 	    then
   2704 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2705 	      break 3
   2706 	    fi
   2707 	  fi
   2708 	fi
   2709       done
   2710     done
   2711     ;;
   2712 esac
   2713 
   2714   done
   2715 IFS=$as_save_IFS
   2716 
   2717 rm -rf conftest.one conftest.two conftest.dir
   2718 
   2719 fi
   2720   if test "${ac_cv_path_install+set}" = set; then
   2721     INSTALL=$ac_cv_path_install
   2722   else
   2723     # As a last resort, use the slow shell script.  Don't cache a
   2724     # value for INSTALL within a source directory, because that will
   2725     # break other packages using the cache if that directory is
   2726     # removed, or if the value is a relative name.
   2727     INSTALL=$ac_install_sh
   2728   fi
   2729 fi
   2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2731 $as_echo "$INSTALL" >&6; }
   2732 
   2733 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2734 # It thinks the first close brace ends the variable substitution.
   2735 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2736 
   2737 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2738 
   2739 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2740 
   2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2742 $as_echo_n "checking whether build environment is sane... " >&6; }
   2743 # Reject unsafe characters in $srcdir or the absolute working directory
   2744 # name.  Accept space and tab only in the latter.
   2745 am_lf='
   2746 '
   2747 case `pwd` in
   2748   *[\\\"\#\$\&\'\`$am_lf]*)
   2749     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2750 esac
   2751 case $srcdir in
   2752   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2753     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2754 esac
   2755 
   2756 # Do 'set' in a subshell so we don't clobber the current shell's
   2757 # arguments.  Must try -L first in case configure is actually a
   2758 # symlink; some systems play weird games with the mod time of symlinks
   2759 # (eg FreeBSD returns the mod time of the symlink's containing
   2760 # directory).
   2761 if (
   2762    am_has_slept=no
   2763    for am_try in 1 2; do
   2764      echo "timestamp, slept: $am_has_slept" > conftest.file
   2765      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2766      if test "$*" = "X"; then
   2767 	# -L didn't work.
   2768 	set X `ls -t "$srcdir/configure" conftest.file`
   2769      fi
   2770      if test "$*" != "X $srcdir/configure conftest.file" \
   2771 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2772 
   2773 	# If neither matched, then we have a broken ls.  This can happen
   2774 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2775 	# broken ls alias from the environment.  This has actually
   2776 	# happened.  Such a system could not be considered "sane".
   2777 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2778   alias in your environment" "$LINENO" 5
   2779      fi
   2780      if test "$2" = conftest.file || test $am_try -eq 2; then
   2781        break
   2782      fi
   2783      # Just in case.
   2784      sleep 1
   2785      am_has_slept=yes
   2786    done
   2787    test "$2" = conftest.file
   2788    )
   2789 then
   2790    # Ok.
   2791    :
   2792 else
   2793    as_fn_error $? "newly created file is older than distributed files!
   2794 Check your system clock" "$LINENO" 5
   2795 fi
   2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2797 $as_echo "yes" >&6; }
   2798 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2799 # generated files are strictly newer.
   2800 am_sleep_pid=
   2801 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2802   ( sleep 1 ) &
   2803   am_sleep_pid=$!
   2804 fi
   2805 
   2806 rm -f conftest.file
   2807 
   2808 test "$program_prefix" != NONE &&
   2809   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2810 # Use a double $ so make ignores it.
   2811 test "$program_suffix" != NONE &&
   2812   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2813 # Double any \ or $.
   2814 # By default was `s,x,x', remove it if useless.
   2815 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2816 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2817 
   2818 # expand $ac_aux_dir to an absolute path
   2819 am_aux_dir=`cd $ac_aux_dir && pwd`
   2820 
   2821 if test x"${MISSING+set}" != xset; then
   2822   case $am_aux_dir in
   2823   *\ * | *\	*)
   2824     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2825   *)
   2826     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2827   esac
   2828 fi
   2829 # Use eval to expand $SHELL
   2830 if eval "$MISSING --is-lightweight"; then
   2831   am_missing_run="$MISSING "
   2832 else
   2833   am_missing_run=
   2834   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2835 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2836 fi
   2837 
   2838 if test x"${install_sh}" != xset; then
   2839   case $am_aux_dir in
   2840   *\ * | *\	*)
   2841     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2842   *)
   2843     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2844   esac
   2845 fi
   2846 
   2847 # Installed binaries are usually stripped using 'strip' when the user
   2848 # run "make install-strip".  However 'strip' might not be the right
   2849 # tool to use in cross-compilation environments, therefore Automake
   2850 # will honor the 'STRIP' environment variable to overrule this program.
   2851 if test "$cross_compiling" != no; then
   2852   if test -n "$ac_tool_prefix"; then
   2853   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2854 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2856 $as_echo_n "checking for $ac_word... " >&6; }
   2857 if ${ac_cv_prog_STRIP+:} false; then :
   2858   $as_echo_n "(cached) " >&6
   2859 else
   2860   if test -n "$STRIP"; then
   2861   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2862 else
   2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2864 for as_dir in $PATH
   2865 do
   2866   IFS=$as_save_IFS
   2867   test -z "$as_dir" && as_dir=.
   2868     for ac_exec_ext in '' $ac_executable_extensions; do
   2869   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2870     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2872     break 2
   2873   fi
   2874 done
   2875   done
   2876 IFS=$as_save_IFS
   2877 
   2878 fi
   2879 fi
   2880 STRIP=$ac_cv_prog_STRIP
   2881 if test -n "$STRIP"; then
   2882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2883 $as_echo "$STRIP" >&6; }
   2884 else
   2885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2886 $as_echo "no" >&6; }
   2887 fi
   2888 
   2889 
   2890 fi
   2891 if test -z "$ac_cv_prog_STRIP"; then
   2892   ac_ct_STRIP=$STRIP
   2893   # Extract the first word of "strip", so it can be a program name with args.
   2894 set dummy strip; ac_word=$2
   2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2896 $as_echo_n "checking for $ac_word... " >&6; }
   2897 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2898   $as_echo_n "(cached) " >&6
   2899 else
   2900   if test -n "$ac_ct_STRIP"; then
   2901   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2902 else
   2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2904 for as_dir in $PATH
   2905 do
   2906   IFS=$as_save_IFS
   2907   test -z "$as_dir" && as_dir=.
   2908     for ac_exec_ext in '' $ac_executable_extensions; do
   2909   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2910     ac_cv_prog_ac_ct_STRIP="strip"
   2911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2912     break 2
   2913   fi
   2914 done
   2915   done
   2916 IFS=$as_save_IFS
   2917 
   2918 fi
   2919 fi
   2920 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2921 if test -n "$ac_ct_STRIP"; then
   2922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2923 $as_echo "$ac_ct_STRIP" >&6; }
   2924 else
   2925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2926 $as_echo "no" >&6; }
   2927 fi
   2928 
   2929   if test "x$ac_ct_STRIP" = x; then
   2930     STRIP=":"
   2931   else
   2932     case $cross_compiling:$ac_tool_warned in
   2933 yes:)
   2934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2936 ac_tool_warned=yes ;;
   2937 esac
   2938     STRIP=$ac_ct_STRIP
   2939   fi
   2940 else
   2941   STRIP="$ac_cv_prog_STRIP"
   2942 fi
   2943 
   2944 fi
   2945 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2946 
   2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2948 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2949 if test -z "$MKDIR_P"; then
   2950   if ${ac_cv_path_mkdir+:} false; then :
   2951   $as_echo_n "(cached) " >&6
   2952 else
   2953   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2954 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2955 do
   2956   IFS=$as_save_IFS
   2957   test -z "$as_dir" && as_dir=.
   2958     for ac_prog in mkdir gmkdir; do
   2959 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2960 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2961 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2962 	     'mkdir (GNU coreutils) '* | \
   2963 	     'mkdir (coreutils) '* | \
   2964 	     'mkdir (fileutils) '4.1*)
   2965 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2966 	       break 3;;
   2967 	   esac
   2968 	 done
   2969        done
   2970   done
   2971 IFS=$as_save_IFS
   2972 
   2973 fi
   2974 
   2975   test -d ./--version && rmdir ./--version
   2976   if test "${ac_cv_path_mkdir+set}" = set; then
   2977     MKDIR_P="$ac_cv_path_mkdir -p"
   2978   else
   2979     # As a last resort, use the slow shell script.  Don't cache a
   2980     # value for MKDIR_P within a source directory, because that will
   2981     # break other packages using the cache if that directory is
   2982     # removed, or if the value is a relative name.
   2983     MKDIR_P="$ac_install_sh -d"
   2984   fi
   2985 fi
   2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2987 $as_echo "$MKDIR_P" >&6; }
   2988 
   2989 for ac_prog in gawk mawk nawk awk
   2990 do
   2991   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2992 set dummy $ac_prog; ac_word=$2
   2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2994 $as_echo_n "checking for $ac_word... " >&6; }
   2995 if ${ac_cv_prog_AWK+:} false; then :
   2996   $as_echo_n "(cached) " >&6
   2997 else
   2998   if test -n "$AWK"; then
   2999   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3000 else
   3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3002 for as_dir in $PATH
   3003 do
   3004   IFS=$as_save_IFS
   3005   test -z "$as_dir" && as_dir=.
   3006     for ac_exec_ext in '' $ac_executable_extensions; do
   3007   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3008     ac_cv_prog_AWK="$ac_prog"
   3009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3010     break 2
   3011   fi
   3012 done
   3013   done
   3014 IFS=$as_save_IFS
   3015 
   3016 fi
   3017 fi
   3018 AWK=$ac_cv_prog_AWK
   3019 if test -n "$AWK"; then
   3020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3021 $as_echo "$AWK" >&6; }
   3022 else
   3023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3024 $as_echo "no" >&6; }
   3025 fi
   3026 
   3027 
   3028   test -n "$AWK" && break
   3029 done
   3030 
   3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3032 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3033 set x ${MAKE-make}
   3034 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3035 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3036   $as_echo_n "(cached) " >&6
   3037 else
   3038   cat >conftest.make <<\_ACEOF
   3039 SHELL = /bin/sh
   3040 all:
   3041 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3042 _ACEOF
   3043 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3044 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3045   *@@@%%%=?*=@@@%%%*)
   3046     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3047   *)
   3048     eval ac_cv_prog_make_${ac_make}_set=no;;
   3049 esac
   3050 rm -f conftest.make
   3051 fi
   3052 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3054 $as_echo "yes" >&6; }
   3055   SET_MAKE=
   3056 else
   3057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3058 $as_echo "no" >&6; }
   3059   SET_MAKE="MAKE=${MAKE-make}"
   3060 fi
   3061 
   3062 rm -rf .tst 2>/dev/null
   3063 mkdir .tst 2>/dev/null
   3064 if test -d .tst; then
   3065   am__leading_dot=.
   3066 else
   3067   am__leading_dot=_
   3068 fi
   3069 rmdir .tst 2>/dev/null
   3070 
   3071 # Check whether --enable-silent-rules was given.
   3072 if test "${enable_silent_rules+set}" = set; then :
   3073   enableval=$enable_silent_rules;
   3074 fi
   3075 
   3076 case $enable_silent_rules in # (((
   3077   yes) AM_DEFAULT_VERBOSITY=0;;
   3078    no) AM_DEFAULT_VERBOSITY=1;;
   3079     *) AM_DEFAULT_VERBOSITY=1;;
   3080 esac
   3081 am_make=${MAKE-make}
   3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3083 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3084 if ${am_cv_make_support_nested_variables+:} false; then :
   3085   $as_echo_n "(cached) " >&6
   3086 else
   3087   if $as_echo 'TRUE=$(BAR$(V))
   3088 BAR0=false
   3089 BAR1=true
   3090 V=1
   3091 am__doit:
   3092 	@$(TRUE)
   3093 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3094   am_cv_make_support_nested_variables=yes
   3095 else
   3096   am_cv_make_support_nested_variables=no
   3097 fi
   3098 fi
   3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3100 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3101 if test $am_cv_make_support_nested_variables = yes; then
   3102     AM_V='$(V)'
   3103   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3104 else
   3105   AM_V=$AM_DEFAULT_VERBOSITY
   3106   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3107 fi
   3108 AM_BACKSLASH='\'
   3109 
   3110 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3111   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3112   # is not polluted with repeated "-I."
   3113   am__isrc=' -I$(srcdir)'
   3114   # test to see if srcdir already configured
   3115   if test -f $srcdir/config.status; then
   3116     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3117   fi
   3118 fi
   3119 
   3120 # test whether we have cygpath
   3121 if test -z "$CYGPATH_W"; then
   3122   if (cygpath --version) >/dev/null 2>/dev/null; then
   3123     CYGPATH_W='cygpath -w'
   3124   else
   3125     CYGPATH_W=echo
   3126   fi
   3127 fi
   3128 
   3129 
   3130 # Define the identity of the package.
   3131  PACKAGE='mesa-demos'
   3132  VERSION='8.2.0'
   3133 
   3134 
   3135 cat >>confdefs.h <<_ACEOF
   3136 #define PACKAGE "$PACKAGE"
   3137 _ACEOF
   3138 
   3139 
   3140 cat >>confdefs.h <<_ACEOF
   3141 #define VERSION "$VERSION"
   3142 _ACEOF
   3143 
   3144 # Some tools Automake needs.
   3145 
   3146 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3147 
   3148 
   3149 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3150 
   3151 
   3152 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3153 
   3154 
   3155 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3156 
   3157 
   3158 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3159 
   3160 # For better backward compatibility.  To be removed once Automake 1.9.x
   3161 # dies out for good.  For more background, see:
   3162 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3163 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3164 mkdir_p='$(MKDIR_P)'
   3165 
   3166 # We need awk for the "check" target.  The system "awk" is bad on
   3167 # some platforms.
   3168 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3169 # in the wild :-(  We should find a proper way to deprecate it ...
   3170 AMTAR='$${TAR-tar}'
   3171 
   3172 
   3173 # We'll loop over all known methods to create a tar archive until one works.
   3174 _am_tools='gnutar  pax cpio none'
   3175 
   3176 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3177 
   3178 
   3179 
   3180 
   3181 
   3182 
   3183 # POSIX will say in a future version that running "rm -f" with no argument
   3184 # is OK; and we want to be able to make that assumption in our Makefile
   3185 # recipes.  So use an aggressive probe to check that the usage we want is
   3186 # actually supported "in the wild" to an acceptable degree.
   3187 # See automake bug#10828.
   3188 # To make any issue more visible, cause the running configure to be aborted
   3189 # by default if the 'rm' program in use doesn't match our expectations; the
   3190 # user can still override this though.
   3191 if rm -f && rm -fr && rm -rf; then : OK; else
   3192   cat >&2 <<'END'
   3193 Oops!
   3194 
   3195 Your 'rm' program seems unable to run without file operands specified
   3196 on the command line, even when the '-f' option is present.  This is contrary
   3197 to the behaviour of most rm programs out there, and not conforming with
   3198 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3199 
   3200 Please tell bug-automake@gnu.org about your system, including the value
   3201 of your $PATH and any error possibly output before this message.  This
   3202 can help us improve future automake versions.
   3203 
   3204 END
   3205   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3206     echo 'Configuration will proceed anyway, since you have set the' >&2
   3207     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3208     echo >&2
   3209   else
   3210     cat >&2 <<'END'
   3211 Aborting the configuration process, to ensure you take notice of the issue.
   3212 
   3213 You can download and install GNU coreutils to get an 'rm' implementation
   3214 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3215 
   3216 If you want to complete the configuration process using your problematic
   3217 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3218 to "yes", and re-run configure.
   3219 
   3220 END
   3221     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3222   fi
   3223 fi
   3224 
   3225 
   3226 DEPDIR="${am__leading_dot}deps"
   3227 
   3228 ac_config_commands="$ac_config_commands depfiles"
   3229 
   3230 
   3231 am_make=${MAKE-make}
   3232 cat > confinc << 'END'
   3233 am__doit:
   3234 	@echo this is the am__doit target
   3235 .PHONY: am__doit
   3236 END
   3237 # If we don't find an include directive, just comment out the code.
   3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3239 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3240 am__include="#"
   3241 am__quote=
   3242 _am_result=none
   3243 # First try GNU make style include.
   3244 echo "include confinc" > confmf
   3245 # Ignore all kinds of additional output from 'make'.
   3246 case `$am_make -s -f confmf 2> /dev/null` in #(
   3247 *the\ am__doit\ target*)
   3248   am__include=include
   3249   am__quote=
   3250   _am_result=GNU
   3251   ;;
   3252 esac
   3253 # Now try BSD make style include.
   3254 if test "$am__include" = "#"; then
   3255    echo '.include "confinc"' > confmf
   3256    case `$am_make -s -f confmf 2> /dev/null` in #(
   3257    *the\ am__doit\ target*)
   3258      am__include=.include
   3259      am__quote="\""
   3260      _am_result=BSD
   3261      ;;
   3262    esac
   3263 fi
   3264 
   3265 
   3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3267 $as_echo "$_am_result" >&6; }
   3268 rm -f confinc confmf
   3269 
   3270 # Check whether --enable-dependency-tracking was given.
   3271 if test "${enable_dependency_tracking+set}" = set; then :
   3272   enableval=$enable_dependency_tracking;
   3273 fi
   3274 
   3275 if test "x$enable_dependency_tracking" != xno; then
   3276   am_depcomp="$ac_aux_dir/depcomp"
   3277   AMDEPBACKSLASH='\'
   3278   am__nodep='_no'
   3279 fi
   3280  if test "x$enable_dependency_tracking" != xno; then
   3281   AMDEP_TRUE=
   3282   AMDEP_FALSE='#'
   3283 else
   3284   AMDEP_TRUE='#'
   3285   AMDEP_FALSE=
   3286 fi
   3287 
   3288 
   3289 ac_ext=c
   3290 ac_cpp='$CPP $CPPFLAGS'
   3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3294 if test -n "$ac_tool_prefix"; then
   3295   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3296 set dummy ${ac_tool_prefix}gcc; 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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3306 for as_dir in $PATH
   3307 do
   3308   IFS=$as_save_IFS
   3309   test -z "$as_dir" && as_dir=.
   3310     for ac_exec_ext in '' $ac_executable_extensions; do
   3311   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3312     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3314     break 2
   3315   fi
   3316 done
   3317   done
   3318 IFS=$as_save_IFS
   3319 
   3320 fi
   3321 fi
   3322 CC=$ac_cv_prog_CC
   3323 if test -n "$CC"; then
   3324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3325 $as_echo "$CC" >&6; }
   3326 else
   3327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3328 $as_echo "no" >&6; }
   3329 fi
   3330 
   3331 
   3332 fi
   3333 if test -z "$ac_cv_prog_CC"; then
   3334   ac_ct_CC=$CC
   3335   # Extract the first word of "gcc", so it can be a program name with args.
   3336 set dummy gcc; ac_word=$2
   3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3338 $as_echo_n "checking for $ac_word... " >&6; }
   3339 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3340   $as_echo_n "(cached) " >&6
   3341 else
   3342   if test -n "$ac_ct_CC"; then
   3343   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3344 else
   3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3346 for as_dir in $PATH
   3347 do
   3348   IFS=$as_save_IFS
   3349   test -z "$as_dir" && as_dir=.
   3350     for ac_exec_ext in '' $ac_executable_extensions; do
   3351   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3352     ac_cv_prog_ac_ct_CC="gcc"
   3353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3354     break 2
   3355   fi
   3356 done
   3357   done
   3358 IFS=$as_save_IFS
   3359 
   3360 fi
   3361 fi
   3362 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3363 if test -n "$ac_ct_CC"; then
   3364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3365 $as_echo "$ac_ct_CC" >&6; }
   3366 else
   3367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3368 $as_echo "no" >&6; }
   3369 fi
   3370 
   3371   if test "x$ac_ct_CC" = x; then
   3372     CC=""
   3373   else
   3374     case $cross_compiling:$ac_tool_warned in
   3375 yes:)
   3376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3378 ac_tool_warned=yes ;;
   3379 esac
   3380     CC=$ac_ct_CC
   3381   fi
   3382 else
   3383   CC="$ac_cv_prog_CC"
   3384 fi
   3385 
   3386 if test -z "$CC"; then
   3387           if test -n "$ac_tool_prefix"; then
   3388     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3389 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3391 $as_echo_n "checking for $ac_word... " >&6; }
   3392 if ${ac_cv_prog_CC+:} false; then :
   3393   $as_echo_n "(cached) " >&6
   3394 else
   3395   if test -n "$CC"; then
   3396   ac_cv_prog_CC="$CC" # Let the user override the test.
   3397 else
   3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3399 for as_dir in $PATH
   3400 do
   3401   IFS=$as_save_IFS
   3402   test -z "$as_dir" && as_dir=.
   3403     for ac_exec_ext in '' $ac_executable_extensions; do
   3404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3405     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3407     break 2
   3408   fi
   3409 done
   3410   done
   3411 IFS=$as_save_IFS
   3412 
   3413 fi
   3414 fi
   3415 CC=$ac_cv_prog_CC
   3416 if test -n "$CC"; then
   3417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3418 $as_echo "$CC" >&6; }
   3419 else
   3420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3421 $as_echo "no" >&6; }
   3422 fi
   3423 
   3424 
   3425   fi
   3426 fi
   3427 if test -z "$CC"; then
   3428   # Extract the first word of "cc", so it can be a program name with args.
   3429 set dummy cc; ac_word=$2
   3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3431 $as_echo_n "checking for $ac_word... " >&6; }
   3432 if ${ac_cv_prog_CC+:} false; then :
   3433   $as_echo_n "(cached) " >&6
   3434 else
   3435   if test -n "$CC"; then
   3436   ac_cv_prog_CC="$CC" # Let the user override the test.
   3437 else
   3438   ac_prog_rejected=no
   3439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3440 for as_dir in $PATH
   3441 do
   3442   IFS=$as_save_IFS
   3443   test -z "$as_dir" && as_dir=.
   3444     for ac_exec_ext in '' $ac_executable_extensions; do
   3445   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3446     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3447        ac_prog_rejected=yes
   3448        continue
   3449      fi
   3450     ac_cv_prog_CC="cc"
   3451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3452     break 2
   3453   fi
   3454 done
   3455   done
   3456 IFS=$as_save_IFS
   3457 
   3458 if test $ac_prog_rejected = yes; then
   3459   # We found a bogon in the path, so make sure we never use it.
   3460   set dummy $ac_cv_prog_CC
   3461   shift
   3462   if test $# != 0; then
   3463     # We chose a different compiler from the bogus one.
   3464     # However, it has the same basename, so the bogon will be chosen
   3465     # first if we set CC to just the basename; use the full file name.
   3466     shift
   3467     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3468   fi
   3469 fi
   3470 fi
   3471 fi
   3472 CC=$ac_cv_prog_CC
   3473 if test -n "$CC"; then
   3474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3475 $as_echo "$CC" >&6; }
   3476 else
   3477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3478 $as_echo "no" >&6; }
   3479 fi
   3480 
   3481 
   3482 fi
   3483 if test -z "$CC"; then
   3484   if test -n "$ac_tool_prefix"; then
   3485   for ac_prog in cl.exe
   3486   do
   3487     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3488 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3490 $as_echo_n "checking for $ac_word... " >&6; }
   3491 if ${ac_cv_prog_CC+:} false; then :
   3492   $as_echo_n "(cached) " >&6
   3493 else
   3494   if test -n "$CC"; then
   3495   ac_cv_prog_CC="$CC" # Let the user override the test.
   3496 else
   3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3498 for as_dir in $PATH
   3499 do
   3500   IFS=$as_save_IFS
   3501   test -z "$as_dir" && as_dir=.
   3502     for ac_exec_ext in '' $ac_executable_extensions; do
   3503   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3504     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3506     break 2
   3507   fi
   3508 done
   3509   done
   3510 IFS=$as_save_IFS
   3511 
   3512 fi
   3513 fi
   3514 CC=$ac_cv_prog_CC
   3515 if test -n "$CC"; then
   3516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3517 $as_echo "$CC" >&6; }
   3518 else
   3519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3520 $as_echo "no" >&6; }
   3521 fi
   3522 
   3523 
   3524     test -n "$CC" && break
   3525   done
   3526 fi
   3527 if test -z "$CC"; then
   3528   ac_ct_CC=$CC
   3529   for ac_prog in cl.exe
   3530 do
   3531   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3532 set dummy $ac_prog; ac_word=$2
   3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3534 $as_echo_n "checking for $ac_word... " >&6; }
   3535 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3536   $as_echo_n "(cached) " >&6
   3537 else
   3538   if test -n "$ac_ct_CC"; then
   3539   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3540 else
   3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3542 for as_dir in $PATH
   3543 do
   3544   IFS=$as_save_IFS
   3545   test -z "$as_dir" && as_dir=.
   3546     for ac_exec_ext in '' $ac_executable_extensions; do
   3547   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3548     ac_cv_prog_ac_ct_CC="$ac_prog"
   3549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3550     break 2
   3551   fi
   3552 done
   3553   done
   3554 IFS=$as_save_IFS
   3555 
   3556 fi
   3557 fi
   3558 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3559 if test -n "$ac_ct_CC"; then
   3560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3561 $as_echo "$ac_ct_CC" >&6; }
   3562 else
   3563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3564 $as_echo "no" >&6; }
   3565 fi
   3566 
   3567 
   3568   test -n "$ac_ct_CC" && break
   3569 done
   3570 
   3571   if test "x$ac_ct_CC" = x; then
   3572     CC=""
   3573   else
   3574     case $cross_compiling:$ac_tool_warned in
   3575 yes:)
   3576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3578 ac_tool_warned=yes ;;
   3579 esac
   3580     CC=$ac_ct_CC
   3581   fi
   3582 fi
   3583 
   3584 fi
   3585 
   3586 
   3587 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3589 as_fn_error $? "no acceptable C compiler found in \$PATH
   3590 See \`config.log' for more details" "$LINENO" 5; }
   3591 
   3592 # Provide some information about the compiler.
   3593 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3594 set X $ac_compile
   3595 ac_compiler=$2
   3596 for ac_option in --version -v -V -qversion; do
   3597   { { ac_try="$ac_compiler $ac_option >&5"
   3598 case "(($ac_try" in
   3599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3600   *) ac_try_echo=$ac_try;;
   3601 esac
   3602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3603 $as_echo "$ac_try_echo"; } >&5
   3604   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3605   ac_status=$?
   3606   if test -s conftest.err; then
   3607     sed '10a\
   3608 ... rest of stderr output deleted ...
   3609          10q' conftest.err >conftest.er1
   3610     cat conftest.er1 >&5
   3611   fi
   3612   rm -f conftest.er1 conftest.err
   3613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3614   test $ac_status = 0; }
   3615 done
   3616 
   3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3618 /* end confdefs.h.  */
   3619 
   3620 int
   3621 main ()
   3622 {
   3623 
   3624   ;
   3625   return 0;
   3626 }
   3627 _ACEOF
   3628 ac_clean_files_save=$ac_clean_files
   3629 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3630 # Try to create an executable without -o first, disregard a.out.
   3631 # It will help us diagnose broken compilers, and finding out an intuition
   3632 # of exeext.
   3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3634 $as_echo_n "checking whether the C compiler works... " >&6; }
   3635 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3636 
   3637 # The possible output files:
   3638 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3639 
   3640 ac_rmfiles=
   3641 for ac_file in $ac_files
   3642 do
   3643   case $ac_file in
   3644     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3645     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3646   esac
   3647 done
   3648 rm -f $ac_rmfiles
   3649 
   3650 if { { ac_try="$ac_link_default"
   3651 case "(($ac_try" in
   3652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3653   *) ac_try_echo=$ac_try;;
   3654 esac
   3655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3656 $as_echo "$ac_try_echo"; } >&5
   3657   (eval "$ac_link_default") 2>&5
   3658   ac_status=$?
   3659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3660   test $ac_status = 0; }; then :
   3661   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3662 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3663 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3664 # so that the user can short-circuit this test for compilers unknown to
   3665 # Autoconf.
   3666 for ac_file in $ac_files ''
   3667 do
   3668   test -f "$ac_file" || continue
   3669   case $ac_file in
   3670     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3671 	;;
   3672     [ab].out )
   3673 	# We found the default executable, but exeext='' is most
   3674 	# certainly right.
   3675 	break;;
   3676     *.* )
   3677 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3678 	then :; else
   3679 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3680 	fi
   3681 	# We set ac_cv_exeext here because the later test for it is not
   3682 	# safe: cross compilers may not add the suffix if given an `-o'
   3683 	# argument, so we may need to know it at that point already.
   3684 	# Even if this section looks crufty: it has the advantage of
   3685 	# actually working.
   3686 	break;;
   3687     * )
   3688 	break;;
   3689   esac
   3690 done
   3691 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3692 
   3693 else
   3694   ac_file=''
   3695 fi
   3696 if test -z "$ac_file"; then :
   3697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3698 $as_echo "no" >&6; }
   3699 $as_echo "$as_me: failed program was:" >&5
   3700 sed 's/^/| /' conftest.$ac_ext >&5
   3701 
   3702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3704 as_fn_error 77 "C compiler cannot create executables
   3705 See \`config.log' for more details" "$LINENO" 5; }
   3706 else
   3707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3708 $as_echo "yes" >&6; }
   3709 fi
   3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3711 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3713 $as_echo "$ac_file" >&6; }
   3714 ac_exeext=$ac_cv_exeext
   3715 
   3716 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3717 ac_clean_files=$ac_clean_files_save
   3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3719 $as_echo_n "checking for suffix of executables... " >&6; }
   3720 if { { ac_try="$ac_link"
   3721 case "(($ac_try" in
   3722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3723   *) ac_try_echo=$ac_try;;
   3724 esac
   3725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3726 $as_echo "$ac_try_echo"; } >&5
   3727   (eval "$ac_link") 2>&5
   3728   ac_status=$?
   3729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3730   test $ac_status = 0; }; then :
   3731   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3732 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3733 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3734 # `rm'.
   3735 for ac_file in conftest.exe conftest conftest.*; do
   3736   test -f "$ac_file" || continue
   3737   case $ac_file in
   3738     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3739     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3740 	  break;;
   3741     * ) break;;
   3742   esac
   3743 done
   3744 else
   3745   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3747 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3748 See \`config.log' for more details" "$LINENO" 5; }
   3749 fi
   3750 rm -f conftest conftest$ac_cv_exeext
   3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3752 $as_echo "$ac_cv_exeext" >&6; }
   3753 
   3754 rm -f conftest.$ac_ext
   3755 EXEEXT=$ac_cv_exeext
   3756 ac_exeext=$EXEEXT
   3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3758 /* end confdefs.h.  */
   3759 #include <stdio.h>
   3760 int
   3761 main ()
   3762 {
   3763 FILE *f = fopen ("conftest.out", "w");
   3764  return ferror (f) || fclose (f) != 0;
   3765 
   3766   ;
   3767   return 0;
   3768 }
   3769 _ACEOF
   3770 ac_clean_files="$ac_clean_files conftest.out"
   3771 # Check that the compiler produces executables we can run.  If not, either
   3772 # the compiler is broken, or we cross compile.
   3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3774 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3775 if test "$cross_compiling" != yes; then
   3776   { { ac_try="$ac_link"
   3777 case "(($ac_try" in
   3778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3779   *) ac_try_echo=$ac_try;;
   3780 esac
   3781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3782 $as_echo "$ac_try_echo"; } >&5
   3783   (eval "$ac_link") 2>&5
   3784   ac_status=$?
   3785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3786   test $ac_status = 0; }
   3787   if { ac_try='./conftest$ac_cv_exeext'
   3788   { { case "(($ac_try" in
   3789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3790   *) ac_try_echo=$ac_try;;
   3791 esac
   3792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3793 $as_echo "$ac_try_echo"; } >&5
   3794   (eval "$ac_try") 2>&5
   3795   ac_status=$?
   3796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3797   test $ac_status = 0; }; }; then
   3798     cross_compiling=no
   3799   else
   3800     if test "$cross_compiling" = maybe; then
   3801 	cross_compiling=yes
   3802     else
   3803 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3805 as_fn_error $? "cannot run C compiled programs.
   3806 If you meant to cross compile, use \`--host'.
   3807 See \`config.log' for more details" "$LINENO" 5; }
   3808     fi
   3809   fi
   3810 fi
   3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3812 $as_echo "$cross_compiling" >&6; }
   3813 
   3814 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3815 ac_clean_files=$ac_clean_files_save
   3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3817 $as_echo_n "checking for suffix of object files... " >&6; }
   3818 if ${ac_cv_objext+:} false; then :
   3819   $as_echo_n "(cached) " >&6
   3820 else
   3821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3822 /* end confdefs.h.  */
   3823 
   3824 int
   3825 main ()
   3826 {
   3827 
   3828   ;
   3829   return 0;
   3830 }
   3831 _ACEOF
   3832 rm -f conftest.o conftest.obj
   3833 if { { ac_try="$ac_compile"
   3834 case "(($ac_try" in
   3835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3836   *) ac_try_echo=$ac_try;;
   3837 esac
   3838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3839 $as_echo "$ac_try_echo"; } >&5
   3840   (eval "$ac_compile") 2>&5
   3841   ac_status=$?
   3842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3843   test $ac_status = 0; }; then :
   3844   for ac_file in conftest.o conftest.obj conftest.*; do
   3845   test -f "$ac_file" || continue;
   3846   case $ac_file in
   3847     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3848     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3849        break;;
   3850   esac
   3851 done
   3852 else
   3853   $as_echo "$as_me: failed program was:" >&5
   3854 sed 's/^/| /' conftest.$ac_ext >&5
   3855 
   3856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3858 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3859 See \`config.log' for more details" "$LINENO" 5; }
   3860 fi
   3861 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3862 fi
   3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3864 $as_echo "$ac_cv_objext" >&6; }
   3865 OBJEXT=$ac_cv_objext
   3866 ac_objext=$OBJEXT
   3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3868 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3869 if ${ac_cv_c_compiler_gnu+:} false; then :
   3870   $as_echo_n "(cached) " >&6
   3871 else
   3872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3873 /* end confdefs.h.  */
   3874 
   3875 int
   3876 main ()
   3877 {
   3878 #ifndef __GNUC__
   3879        choke me
   3880 #endif
   3881 
   3882   ;
   3883   return 0;
   3884 }
   3885 _ACEOF
   3886 if ac_fn_c_try_compile "$LINENO"; then :
   3887   ac_compiler_gnu=yes
   3888 else
   3889   ac_compiler_gnu=no
   3890 fi
   3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3892 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3893 
   3894 fi
   3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3896 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3897 if test $ac_compiler_gnu = yes; then
   3898   GCC=yes
   3899 else
   3900   GCC=
   3901 fi
   3902 ac_test_CFLAGS=${CFLAGS+set}
   3903 ac_save_CFLAGS=$CFLAGS
   3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3905 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3906 if ${ac_cv_prog_cc_g+:} false; then :
   3907   $as_echo_n "(cached) " >&6
   3908 else
   3909   ac_save_c_werror_flag=$ac_c_werror_flag
   3910    ac_c_werror_flag=yes
   3911    ac_cv_prog_cc_g=no
   3912    CFLAGS="-g"
   3913    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3914 /* end confdefs.h.  */
   3915 
   3916 int
   3917 main ()
   3918 {
   3919 
   3920   ;
   3921   return 0;
   3922 }
   3923 _ACEOF
   3924 if ac_fn_c_try_compile "$LINENO"; then :
   3925   ac_cv_prog_cc_g=yes
   3926 else
   3927   CFLAGS=""
   3928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3929 /* end confdefs.h.  */
   3930 
   3931 int
   3932 main ()
   3933 {
   3934 
   3935   ;
   3936   return 0;
   3937 }
   3938 _ACEOF
   3939 if ac_fn_c_try_compile "$LINENO"; then :
   3940 
   3941 else
   3942   ac_c_werror_flag=$ac_save_c_werror_flag
   3943 	 CFLAGS="-g"
   3944 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3945 /* end confdefs.h.  */
   3946 
   3947 int
   3948 main ()
   3949 {
   3950 
   3951   ;
   3952   return 0;
   3953 }
   3954 _ACEOF
   3955 if ac_fn_c_try_compile "$LINENO"; then :
   3956   ac_cv_prog_cc_g=yes
   3957 fi
   3958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3959 fi
   3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3961 fi
   3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3963    ac_c_werror_flag=$ac_save_c_werror_flag
   3964 fi
   3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3966 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3967 if test "$ac_test_CFLAGS" = set; then
   3968   CFLAGS=$ac_save_CFLAGS
   3969 elif test $ac_cv_prog_cc_g = yes; then
   3970   if test "$GCC" = yes; then
   3971     CFLAGS="-g -O2"
   3972   else
   3973     CFLAGS="-g"
   3974   fi
   3975 else
   3976   if test "$GCC" = yes; then
   3977     CFLAGS="-O2"
   3978   else
   3979     CFLAGS=
   3980   fi
   3981 fi
   3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3983 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3984 if ${ac_cv_prog_cc_c89+:} false; then :
   3985   $as_echo_n "(cached) " >&6
   3986 else
   3987   ac_cv_prog_cc_c89=no
   3988 ac_save_CC=$CC
   3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3990 /* end confdefs.h.  */
   3991 #include <stdarg.h>
   3992 #include <stdio.h>
   3993 struct stat;
   3994 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3995 struct buf { int x; };
   3996 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3997 static char *e (p, i)
   3998      char **p;
   3999      int i;
   4000 {
   4001   return p[i];
   4002 }
   4003 static char *f (char * (*g) (char **, int), char **p, ...)
   4004 {
   4005   char *s;
   4006   va_list v;
   4007   va_start (v,p);
   4008   s = g (p, va_arg (v,int));
   4009   va_end (v);
   4010   return s;
   4011 }
   4012 
   4013 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4014    function prototypes and stuff, but not '\xHH' hex character constants.
   4015    These don't provoke an error unfortunately, instead are silently treated
   4016    as 'x'.  The following induces an error, until -std is added to get
   4017    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4018    array size at least.  It's necessary to write '\x00'==0 to get something
   4019    that's true only with -std.  */
   4020 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4021 
   4022 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4023    inside strings and character constants.  */
   4024 #define FOO(x) 'x'
   4025 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4026 
   4027 int test (int i, double x);
   4028 struct s1 {int (*f) (int a);};
   4029 struct s2 {int (*f) (double a);};
   4030 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4031 int argc;
   4032 char **argv;
   4033 int
   4034 main ()
   4035 {
   4036 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4037   ;
   4038   return 0;
   4039 }
   4040 _ACEOF
   4041 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4042 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4043 do
   4044   CC="$ac_save_CC $ac_arg"
   4045   if ac_fn_c_try_compile "$LINENO"; then :
   4046   ac_cv_prog_cc_c89=$ac_arg
   4047 fi
   4048 rm -f core conftest.err conftest.$ac_objext
   4049   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4050 done
   4051 rm -f conftest.$ac_ext
   4052 CC=$ac_save_CC
   4053 
   4054 fi
   4055 # AC_CACHE_VAL
   4056 case "x$ac_cv_prog_cc_c89" in
   4057   x)
   4058     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4059 $as_echo "none needed" >&6; } ;;
   4060   xno)
   4061     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4062 $as_echo "unsupported" >&6; } ;;
   4063   *)
   4064     CC="$CC $ac_cv_prog_cc_c89"
   4065     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4066 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4067 esac
   4068 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4069 
   4070 fi
   4071 
   4072 ac_ext=c
   4073 ac_cpp='$CPP $CPPFLAGS'
   4074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4077 
   4078 ac_ext=c
   4079 ac_cpp='$CPP $CPPFLAGS'
   4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4084 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4085 if ${am_cv_prog_cc_c_o+:} false; then :
   4086   $as_echo_n "(cached) " >&6
   4087 else
   4088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4089 /* end confdefs.h.  */
   4090 
   4091 int
   4092 main ()
   4093 {
   4094 
   4095   ;
   4096   return 0;
   4097 }
   4098 _ACEOF
   4099   # Make sure it works both with $CC and with simple cc.
   4100   # Following AC_PROG_CC_C_O, we do the test twice because some
   4101   # compilers refuse to overwrite an existing .o file with -o,
   4102   # though they will create one.
   4103   am_cv_prog_cc_c_o=yes
   4104   for am_i in 1 2; do
   4105     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4106    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4107    ac_status=$?
   4108    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4109    (exit $ac_status); } \
   4110          && test -f conftest2.$ac_objext; then
   4111       : OK
   4112     else
   4113       am_cv_prog_cc_c_o=no
   4114       break
   4115     fi
   4116   done
   4117   rm -f core conftest*
   4118   unset am_i
   4119 fi
   4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4121 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4122 if test "$am_cv_prog_cc_c_o" != yes; then
   4123    # Losing compiler, so override with the script.
   4124    # FIXME: It is wrong to rewrite CC.
   4125    # But if we don't then we get into trouble of one sort or another.
   4126    # A longer-term fix would be to have automake use am__CC in this case,
   4127    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4128    CC="$am_aux_dir/compile $CC"
   4129 fi
   4130 ac_ext=c
   4131 ac_cpp='$CPP $CPPFLAGS'
   4132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4135 
   4136 
   4137 depcc="$CC"   am_compiler_list=
   4138 
   4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4140 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4141 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4142   $as_echo_n "(cached) " >&6
   4143 else
   4144   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4145   # We make a subdir and do the tests there.  Otherwise we can end up
   4146   # making bogus files that we don't know about and never remove.  For
   4147   # instance it was reported that on HP-UX the gcc test will end up
   4148   # making a dummy file named 'D' -- because '-MD' means "put the output
   4149   # in D".
   4150   rm -rf conftest.dir
   4151   mkdir conftest.dir
   4152   # Copy depcomp to subdir because otherwise we won't find it if we're
   4153   # using a relative directory.
   4154   cp "$am_depcomp" conftest.dir
   4155   cd conftest.dir
   4156   # We will build objects and dependencies in a subdirectory because
   4157   # it helps to detect inapplicable dependency modes.  For instance
   4158   # both Tru64's cc and ICC support -MD to output dependencies as a
   4159   # side effect of compilation, but ICC will put the dependencies in
   4160   # the current directory while Tru64 will put them in the object
   4161   # directory.
   4162   mkdir sub
   4163 
   4164   am_cv_CC_dependencies_compiler_type=none
   4165   if test "$am_compiler_list" = ""; then
   4166      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4167   fi
   4168   am__universal=false
   4169   case " $depcc " in #(
   4170      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4171      esac
   4172 
   4173   for depmode in $am_compiler_list; do
   4174     # Setup a source with many dependencies, because some compilers
   4175     # like to wrap large dependency lists on column 80 (with \), and
   4176     # we should not choose a depcomp mode which is confused by this.
   4177     #
   4178     # We need to recreate these files for each test, as the compiler may
   4179     # overwrite some of them when testing with obscure command lines.
   4180     # This happens at least with the AIX C compiler.
   4181     : > sub/conftest.c
   4182     for i in 1 2 3 4 5 6; do
   4183       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4184       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4185       # Solaris 10 /bin/sh.
   4186       echo '/* dummy */' > sub/conftst$i.h
   4187     done
   4188     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4189 
   4190     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4191     # mode.  It turns out that the SunPro C++ compiler does not properly
   4192     # handle '-M -o', and we need to detect this.  Also, some Intel
   4193     # versions had trouble with output in subdirs.
   4194     am__obj=sub/conftest.${OBJEXT-o}
   4195     am__minus_obj="-o $am__obj"
   4196     case $depmode in
   4197     gcc)
   4198       # This depmode causes a compiler race in universal mode.
   4199       test "$am__universal" = false || continue
   4200       ;;
   4201     nosideeffect)
   4202       # After this tag, mechanisms are not by side-effect, so they'll
   4203       # only be used when explicitly requested.
   4204       if test "x$enable_dependency_tracking" = xyes; then
   4205 	continue
   4206       else
   4207 	break
   4208       fi
   4209       ;;
   4210     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4211       # This compiler won't grok '-c -o', but also, the minuso test has
   4212       # not run yet.  These depmodes are late enough in the game, and
   4213       # so weak that their functioning should not be impacted.
   4214       am__obj=conftest.${OBJEXT-o}
   4215       am__minus_obj=
   4216       ;;
   4217     none) break ;;
   4218     esac
   4219     if depmode=$depmode \
   4220        source=sub/conftest.c object=$am__obj \
   4221        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4222        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4223          >/dev/null 2>conftest.err &&
   4224        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4225        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4226        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4227        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4228       # icc doesn't choke on unknown options, it will just issue warnings
   4229       # or remarks (even with -Werror).  So we grep stderr for any message
   4230       # that says an option was ignored or not supported.
   4231       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4232       #   icc: Command line warning: ignoring option '-M'; no argument required
   4233       # The diagnosis changed in icc 8.0:
   4234       #   icc: Command line remark: option '-MP' not supported
   4235       if (grep 'ignoring option' conftest.err ||
   4236           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4237         am_cv_CC_dependencies_compiler_type=$depmode
   4238         break
   4239       fi
   4240     fi
   4241   done
   4242 
   4243   cd ..
   4244   rm -rf conftest.dir
   4245 else
   4246   am_cv_CC_dependencies_compiler_type=none
   4247 fi
   4248 
   4249 fi
   4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4251 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4252 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4253 
   4254  if
   4255   test "x$enable_dependency_tracking" != xno \
   4256   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4257   am__fastdepCC_TRUE=
   4258   am__fastdepCC_FALSE='#'
   4259 else
   4260   am__fastdepCC_TRUE='#'
   4261   am__fastdepCC_FALSE=
   4262 fi
   4263 
   4264 
   4265 ac_ext=c
   4266 ac_cpp='$CPP $CPPFLAGS'
   4267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4271 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4272 # On Suns, sometimes $CPP names a directory.
   4273 if test -n "$CPP" && test -d "$CPP"; then
   4274   CPP=
   4275 fi
   4276 if test -z "$CPP"; then
   4277   if ${ac_cv_prog_CPP+:} false; then :
   4278   $as_echo_n "(cached) " >&6
   4279 else
   4280       # Double quotes because CPP needs to be expanded
   4281     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4282     do
   4283       ac_preproc_ok=false
   4284 for ac_c_preproc_warn_flag in '' yes
   4285 do
   4286   # Use a header file that comes with gcc, so configuring glibc
   4287   # with a fresh cross-compiler works.
   4288   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4289   # <limits.h> exists even on freestanding compilers.
   4290   # On the NeXT, cc -E runs the code through the compiler's parser,
   4291   # not just through cpp. "Syntax error" is here to catch this case.
   4292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4293 /* end confdefs.h.  */
   4294 #ifdef __STDC__
   4295 # include <limits.h>
   4296 #else
   4297 # include <assert.h>
   4298 #endif
   4299 		     Syntax error
   4300 _ACEOF
   4301 if ac_fn_c_try_cpp "$LINENO"; then :
   4302 
   4303 else
   4304   # Broken: fails on valid input.
   4305 continue
   4306 fi
   4307 rm -f conftest.err conftest.i conftest.$ac_ext
   4308 
   4309   # OK, works on sane cases.  Now check whether nonexistent headers
   4310   # can be detected and how.
   4311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4312 /* end confdefs.h.  */
   4313 #include <ac_nonexistent.h>
   4314 _ACEOF
   4315 if ac_fn_c_try_cpp "$LINENO"; then :
   4316   # Broken: success on invalid input.
   4317 continue
   4318 else
   4319   # Passes both tests.
   4320 ac_preproc_ok=:
   4321 break
   4322 fi
   4323 rm -f conftest.err conftest.i conftest.$ac_ext
   4324 
   4325 done
   4326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4327 rm -f conftest.i conftest.err conftest.$ac_ext
   4328 if $ac_preproc_ok; then :
   4329   break
   4330 fi
   4331 
   4332     done
   4333     ac_cv_prog_CPP=$CPP
   4334 
   4335 fi
   4336   CPP=$ac_cv_prog_CPP
   4337 else
   4338   ac_cv_prog_CPP=$CPP
   4339 fi
   4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4341 $as_echo "$CPP" >&6; }
   4342 ac_preproc_ok=false
   4343 for ac_c_preproc_warn_flag in '' yes
   4344 do
   4345   # Use a header file that comes with gcc, so configuring glibc
   4346   # with a fresh cross-compiler works.
   4347   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4348   # <limits.h> exists even on freestanding compilers.
   4349   # On the NeXT, cc -E runs the code through the compiler's parser,
   4350   # not just through cpp. "Syntax error" is here to catch this case.
   4351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4352 /* end confdefs.h.  */
   4353 #ifdef __STDC__
   4354 # include <limits.h>
   4355 #else
   4356 # include <assert.h>
   4357 #endif
   4358 		     Syntax error
   4359 _ACEOF
   4360 if ac_fn_c_try_cpp "$LINENO"; then :
   4361 
   4362 else
   4363   # Broken: fails on valid input.
   4364 continue
   4365 fi
   4366 rm -f conftest.err conftest.i conftest.$ac_ext
   4367 
   4368   # OK, works on sane cases.  Now check whether nonexistent headers
   4369   # can be detected and how.
   4370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4371 /* end confdefs.h.  */
   4372 #include <ac_nonexistent.h>
   4373 _ACEOF
   4374 if ac_fn_c_try_cpp "$LINENO"; then :
   4375   # Broken: success on invalid input.
   4376 continue
   4377 else
   4378   # Passes both tests.
   4379 ac_preproc_ok=:
   4380 break
   4381 fi
   4382 rm -f conftest.err conftest.i conftest.$ac_ext
   4383 
   4384 done
   4385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4386 rm -f conftest.i conftest.err conftest.$ac_ext
   4387 if $ac_preproc_ok; then :
   4388 
   4389 else
   4390   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4392 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4393 See \`config.log' for more details" "$LINENO" 5; }
   4394 fi
   4395 
   4396 ac_ext=c
   4397 ac_cpp='$CPP $CPPFLAGS'
   4398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4401 
   4402 ac_ext=c
   4403 ac_cpp='$CPP $CPPFLAGS'
   4404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4407 if test -n "$ac_tool_prefix"; then
   4408   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4409 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4411 $as_echo_n "checking for $ac_word... " >&6; }
   4412 if ${ac_cv_prog_CC+:} false; then :
   4413   $as_echo_n "(cached) " >&6
   4414 else
   4415   if test -n "$CC"; then
   4416   ac_cv_prog_CC="$CC" # Let the user override the test.
   4417 else
   4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4419 for as_dir in $PATH
   4420 do
   4421   IFS=$as_save_IFS
   4422   test -z "$as_dir" && as_dir=.
   4423     for ac_exec_ext in '' $ac_executable_extensions; do
   4424   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4425     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4427     break 2
   4428   fi
   4429 done
   4430   done
   4431 IFS=$as_save_IFS
   4432 
   4433 fi
   4434 fi
   4435 CC=$ac_cv_prog_CC
   4436 if test -n "$CC"; then
   4437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4438 $as_echo "$CC" >&6; }
   4439 else
   4440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4441 $as_echo "no" >&6; }
   4442 fi
   4443 
   4444 
   4445 fi
   4446 if test -z "$ac_cv_prog_CC"; then
   4447   ac_ct_CC=$CC
   4448   # Extract the first word of "gcc", so it can be a program name with args.
   4449 set dummy gcc; ac_word=$2
   4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4451 $as_echo_n "checking for $ac_word... " >&6; }
   4452 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4453   $as_echo_n "(cached) " >&6
   4454 else
   4455   if test -n "$ac_ct_CC"; then
   4456   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4457 else
   4458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4459 for as_dir in $PATH
   4460 do
   4461   IFS=$as_save_IFS
   4462   test -z "$as_dir" && as_dir=.
   4463     for ac_exec_ext in '' $ac_executable_extensions; do
   4464   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4465     ac_cv_prog_ac_ct_CC="gcc"
   4466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4467     break 2
   4468   fi
   4469 done
   4470   done
   4471 IFS=$as_save_IFS
   4472 
   4473 fi
   4474 fi
   4475 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4476 if test -n "$ac_ct_CC"; then
   4477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4478 $as_echo "$ac_ct_CC" >&6; }
   4479 else
   4480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4481 $as_echo "no" >&6; }
   4482 fi
   4483 
   4484   if test "x$ac_ct_CC" = x; then
   4485     CC=""
   4486   else
   4487     case $cross_compiling:$ac_tool_warned in
   4488 yes:)
   4489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4491 ac_tool_warned=yes ;;
   4492 esac
   4493     CC=$ac_ct_CC
   4494   fi
   4495 else
   4496   CC="$ac_cv_prog_CC"
   4497 fi
   4498 
   4499 if test -z "$CC"; then
   4500           if test -n "$ac_tool_prefix"; then
   4501     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4502 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4504 $as_echo_n "checking for $ac_word... " >&6; }
   4505 if ${ac_cv_prog_CC+:} false; then :
   4506   $as_echo_n "(cached) " >&6
   4507 else
   4508   if test -n "$CC"; then
   4509   ac_cv_prog_CC="$CC" # Let the user override the test.
   4510 else
   4511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4512 for as_dir in $PATH
   4513 do
   4514   IFS=$as_save_IFS
   4515   test -z "$as_dir" && as_dir=.
   4516     for ac_exec_ext in '' $ac_executable_extensions; do
   4517   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4518     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4520     break 2
   4521   fi
   4522 done
   4523   done
   4524 IFS=$as_save_IFS
   4525 
   4526 fi
   4527 fi
   4528 CC=$ac_cv_prog_CC
   4529 if test -n "$CC"; then
   4530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4531 $as_echo "$CC" >&6; }
   4532 else
   4533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4534 $as_echo "no" >&6; }
   4535 fi
   4536 
   4537 
   4538   fi
   4539 fi
   4540 if test -z "$CC"; then
   4541   # Extract the first word of "cc", so it can be a program name with args.
   4542 set dummy cc; ac_word=$2
   4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4544 $as_echo_n "checking for $ac_word... " >&6; }
   4545 if ${ac_cv_prog_CC+:} false; then :
   4546   $as_echo_n "(cached) " >&6
   4547 else
   4548   if test -n "$CC"; then
   4549   ac_cv_prog_CC="$CC" # Let the user override the test.
   4550 else
   4551   ac_prog_rejected=no
   4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4553 for as_dir in $PATH
   4554 do
   4555   IFS=$as_save_IFS
   4556   test -z "$as_dir" && as_dir=.
   4557     for ac_exec_ext in '' $ac_executable_extensions; do
   4558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4559     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4560        ac_prog_rejected=yes
   4561        continue
   4562      fi
   4563     ac_cv_prog_CC="cc"
   4564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4565     break 2
   4566   fi
   4567 done
   4568   done
   4569 IFS=$as_save_IFS
   4570 
   4571 if test $ac_prog_rejected = yes; then
   4572   # We found a bogon in the path, so make sure we never use it.
   4573   set dummy $ac_cv_prog_CC
   4574   shift
   4575   if test $# != 0; then
   4576     # We chose a different compiler from the bogus one.
   4577     # However, it has the same basename, so the bogon will be chosen
   4578     # first if we set CC to just the basename; use the full file name.
   4579     shift
   4580     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4581   fi
   4582 fi
   4583 fi
   4584 fi
   4585 CC=$ac_cv_prog_CC
   4586 if test -n "$CC"; then
   4587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4588 $as_echo "$CC" >&6; }
   4589 else
   4590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4591 $as_echo "no" >&6; }
   4592 fi
   4593 
   4594 
   4595 fi
   4596 if test -z "$CC"; then
   4597   if test -n "$ac_tool_prefix"; then
   4598   for ac_prog in cl.exe
   4599   do
   4600     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4601 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4603 $as_echo_n "checking for $ac_word... " >&6; }
   4604 if ${ac_cv_prog_CC+:} false; then :
   4605   $as_echo_n "(cached) " >&6
   4606 else
   4607   if test -n "$CC"; then
   4608   ac_cv_prog_CC="$CC" # Let the user override the test.
   4609 else
   4610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4611 for as_dir in $PATH
   4612 do
   4613   IFS=$as_save_IFS
   4614   test -z "$as_dir" && as_dir=.
   4615     for ac_exec_ext in '' $ac_executable_extensions; do
   4616   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4617     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4619     break 2
   4620   fi
   4621 done
   4622   done
   4623 IFS=$as_save_IFS
   4624 
   4625 fi
   4626 fi
   4627 CC=$ac_cv_prog_CC
   4628 if test -n "$CC"; then
   4629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4630 $as_echo "$CC" >&6; }
   4631 else
   4632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4633 $as_echo "no" >&6; }
   4634 fi
   4635 
   4636 
   4637     test -n "$CC" && break
   4638   done
   4639 fi
   4640 if test -z "$CC"; then
   4641   ac_ct_CC=$CC
   4642   for ac_prog in cl.exe
   4643 do
   4644   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4645 set dummy $ac_prog; ac_word=$2
   4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4647 $as_echo_n "checking for $ac_word... " >&6; }
   4648 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4649   $as_echo_n "(cached) " >&6
   4650 else
   4651   if test -n "$ac_ct_CC"; then
   4652   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4653 else
   4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4655 for as_dir in $PATH
   4656 do
   4657   IFS=$as_save_IFS
   4658   test -z "$as_dir" && as_dir=.
   4659     for ac_exec_ext in '' $ac_executable_extensions; do
   4660   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4661     ac_cv_prog_ac_ct_CC="$ac_prog"
   4662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4663     break 2
   4664   fi
   4665 done
   4666   done
   4667 IFS=$as_save_IFS
   4668 
   4669 fi
   4670 fi
   4671 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4672 if test -n "$ac_ct_CC"; then
   4673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4674 $as_echo "$ac_ct_CC" >&6; }
   4675 else
   4676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4677 $as_echo "no" >&6; }
   4678 fi
   4679 
   4680 
   4681   test -n "$ac_ct_CC" && break
   4682 done
   4683 
   4684   if test "x$ac_ct_CC" = x; then
   4685     CC=""
   4686   else
   4687     case $cross_compiling:$ac_tool_warned in
   4688 yes:)
   4689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4691 ac_tool_warned=yes ;;
   4692 esac
   4693     CC=$ac_ct_CC
   4694   fi
   4695 fi
   4696 
   4697 fi
   4698 
   4699 
   4700 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4702 as_fn_error $? "no acceptable C compiler found in \$PATH
   4703 See \`config.log' for more details" "$LINENO" 5; }
   4704 
   4705 # Provide some information about the compiler.
   4706 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4707 set X $ac_compile
   4708 ac_compiler=$2
   4709 for ac_option in --version -v -V -qversion; do
   4710   { { ac_try="$ac_compiler $ac_option >&5"
   4711 case "(($ac_try" in
   4712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4713   *) ac_try_echo=$ac_try;;
   4714 esac
   4715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4716 $as_echo "$ac_try_echo"; } >&5
   4717   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4718   ac_status=$?
   4719   if test -s conftest.err; then
   4720     sed '10a\
   4721 ... rest of stderr output deleted ...
   4722          10q' conftest.err >conftest.er1
   4723     cat conftest.er1 >&5
   4724   fi
   4725   rm -f conftest.er1 conftest.err
   4726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4727   test $ac_status = 0; }
   4728 done
   4729 
   4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4731 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4732 if ${ac_cv_c_compiler_gnu+:} false; then :
   4733   $as_echo_n "(cached) " >&6
   4734 else
   4735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4736 /* end confdefs.h.  */
   4737 
   4738 int
   4739 main ()
   4740 {
   4741 #ifndef __GNUC__
   4742        choke me
   4743 #endif
   4744 
   4745   ;
   4746   return 0;
   4747 }
   4748 _ACEOF
   4749 if ac_fn_c_try_compile "$LINENO"; then :
   4750   ac_compiler_gnu=yes
   4751 else
   4752   ac_compiler_gnu=no
   4753 fi
   4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4755 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4756 
   4757 fi
   4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4759 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4760 if test $ac_compiler_gnu = yes; then
   4761   GCC=yes
   4762 else
   4763   GCC=
   4764 fi
   4765 ac_test_CFLAGS=${CFLAGS+set}
   4766 ac_save_CFLAGS=$CFLAGS
   4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4768 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4769 if ${ac_cv_prog_cc_g+:} false; then :
   4770   $as_echo_n "(cached) " >&6
   4771 else
   4772   ac_save_c_werror_flag=$ac_c_werror_flag
   4773    ac_c_werror_flag=yes
   4774    ac_cv_prog_cc_g=no
   4775    CFLAGS="-g"
   4776    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4777 /* end confdefs.h.  */
   4778 
   4779 int
   4780 main ()
   4781 {
   4782 
   4783   ;
   4784   return 0;
   4785 }
   4786 _ACEOF
   4787 if ac_fn_c_try_compile "$LINENO"; then :
   4788   ac_cv_prog_cc_g=yes
   4789 else
   4790   CFLAGS=""
   4791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4792 /* end confdefs.h.  */
   4793 
   4794 int
   4795 main ()
   4796 {
   4797 
   4798   ;
   4799   return 0;
   4800 }
   4801 _ACEOF
   4802 if ac_fn_c_try_compile "$LINENO"; then :
   4803 
   4804 else
   4805   ac_c_werror_flag=$ac_save_c_werror_flag
   4806 	 CFLAGS="-g"
   4807 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4808 /* end confdefs.h.  */
   4809 
   4810 int
   4811 main ()
   4812 {
   4813 
   4814   ;
   4815   return 0;
   4816 }
   4817 _ACEOF
   4818 if ac_fn_c_try_compile "$LINENO"; then :
   4819   ac_cv_prog_cc_g=yes
   4820 fi
   4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4822 fi
   4823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4824 fi
   4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4826    ac_c_werror_flag=$ac_save_c_werror_flag
   4827 fi
   4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4829 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4830 if test "$ac_test_CFLAGS" = set; then
   4831   CFLAGS=$ac_save_CFLAGS
   4832 elif test $ac_cv_prog_cc_g = yes; then
   4833   if test "$GCC" = yes; then
   4834     CFLAGS="-g -O2"
   4835   else
   4836     CFLAGS="-g"
   4837   fi
   4838 else
   4839   if test "$GCC" = yes; then
   4840     CFLAGS="-O2"
   4841   else
   4842     CFLAGS=
   4843   fi
   4844 fi
   4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4846 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4847 if ${ac_cv_prog_cc_c89+:} false; then :
   4848   $as_echo_n "(cached) " >&6
   4849 else
   4850   ac_cv_prog_cc_c89=no
   4851 ac_save_CC=$CC
   4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4853 /* end confdefs.h.  */
   4854 #include <stdarg.h>
   4855 #include <stdio.h>
   4856 struct stat;
   4857 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4858 struct buf { int x; };
   4859 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4860 static char *e (p, i)
   4861      char **p;
   4862      int i;
   4863 {
   4864   return p[i];
   4865 }
   4866 static char *f (char * (*g) (char **, int), char **p, ...)
   4867 {
   4868   char *s;
   4869   va_list v;
   4870   va_start (v,p);
   4871   s = g (p, va_arg (v,int));
   4872   va_end (v);
   4873   return s;
   4874 }
   4875 
   4876 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4877    function prototypes and stuff, but not '\xHH' hex character constants.
   4878    These don't provoke an error unfortunately, instead are silently treated
   4879    as 'x'.  The following induces an error, until -std is added to get
   4880    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4881    array size at least.  It's necessary to write '\x00'==0 to get something
   4882    that's true only with -std.  */
   4883 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4884 
   4885 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4886    inside strings and character constants.  */
   4887 #define FOO(x) 'x'
   4888 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4889 
   4890 int test (int i, double x);
   4891 struct s1 {int (*f) (int a);};
   4892 struct s2 {int (*f) (double a);};
   4893 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4894 int argc;
   4895 char **argv;
   4896 int
   4897 main ()
   4898 {
   4899 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4900   ;
   4901   return 0;
   4902 }
   4903 _ACEOF
   4904 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4905 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4906 do
   4907   CC="$ac_save_CC $ac_arg"
   4908   if ac_fn_c_try_compile "$LINENO"; then :
   4909   ac_cv_prog_cc_c89=$ac_arg
   4910 fi
   4911 rm -f core conftest.err conftest.$ac_objext
   4912   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4913 done
   4914 rm -f conftest.$ac_ext
   4915 CC=$ac_save_CC
   4916 
   4917 fi
   4918 # AC_CACHE_VAL
   4919 case "x$ac_cv_prog_cc_c89" in
   4920   x)
   4921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4922 $as_echo "none needed" >&6; } ;;
   4923   xno)
   4924     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4925 $as_echo "unsupported" >&6; } ;;
   4926   *)
   4927     CC="$CC $ac_cv_prog_cc_c89"
   4928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4929 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4930 esac
   4931 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4932 
   4933 fi
   4934 
   4935 ac_ext=c
   4936 ac_cpp='$CPP $CPPFLAGS'
   4937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4940 
   4941 ac_ext=c
   4942 ac_cpp='$CPP $CPPFLAGS'
   4943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4947 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4948 if ${am_cv_prog_cc_c_o+:} false; then :
   4949   $as_echo_n "(cached) " >&6
   4950 else
   4951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4952 /* end confdefs.h.  */
   4953 
   4954 int
   4955 main ()
   4956 {
   4957 
   4958   ;
   4959   return 0;
   4960 }
   4961 _ACEOF
   4962   # Make sure it works both with $CC and with simple cc.
   4963   # Following AC_PROG_CC_C_O, we do the test twice because some
   4964   # compilers refuse to overwrite an existing .o file with -o,
   4965   # though they will create one.
   4966   am_cv_prog_cc_c_o=yes
   4967   for am_i in 1 2; do
   4968     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4969    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4970    ac_status=$?
   4971    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4972    (exit $ac_status); } \
   4973          && test -f conftest2.$ac_objext; then
   4974       : OK
   4975     else
   4976       am_cv_prog_cc_c_o=no
   4977       break
   4978     fi
   4979   done
   4980   rm -f core conftest*
   4981   unset am_i
   4982 fi
   4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4984 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4985 if test "$am_cv_prog_cc_c_o" != yes; then
   4986    # Losing compiler, so override with the script.
   4987    # FIXME: It is wrong to rewrite CC.
   4988    # But if we don't then we get into trouble of one sort or another.
   4989    # A longer-term fix would be to have automake use am__CC in this case,
   4990    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4991    CC="$am_aux_dir/compile $CC"
   4992 fi
   4993 ac_ext=c
   4994 ac_cpp='$CPP $CPPFLAGS'
   4995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4998 
   4999 
   5000 depcc="$CC"   am_compiler_list=
   5001 
   5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5003 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5004 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   5005   $as_echo_n "(cached) " >&6
   5006 else
   5007   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5008   # We make a subdir and do the tests there.  Otherwise we can end up
   5009   # making bogus files that we don't know about and never remove.  For
   5010   # instance it was reported that on HP-UX the gcc test will end up
   5011   # making a dummy file named 'D' -- because '-MD' means "put the output
   5012   # in D".
   5013   rm -rf conftest.dir
   5014   mkdir conftest.dir
   5015   # Copy depcomp to subdir because otherwise we won't find it if we're
   5016   # using a relative directory.
   5017   cp "$am_depcomp" conftest.dir
   5018   cd conftest.dir
   5019   # We will build objects and dependencies in a subdirectory because
   5020   # it helps to detect inapplicable dependency modes.  For instance
   5021   # both Tru64's cc and ICC support -MD to output dependencies as a
   5022   # side effect of compilation, but ICC will put the dependencies in
   5023   # the current directory while Tru64 will put them in the object
   5024   # directory.
   5025   mkdir sub
   5026 
   5027   am_cv_CC_dependencies_compiler_type=none
   5028   if test "$am_compiler_list" = ""; then
   5029      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5030   fi
   5031   am__universal=false
   5032   case " $depcc " in #(
   5033      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5034      esac
   5035 
   5036   for depmode in $am_compiler_list; do
   5037     # Setup a source with many dependencies, because some compilers
   5038     # like to wrap large dependency lists on column 80 (with \), and
   5039     # we should not choose a depcomp mode which is confused by this.
   5040     #
   5041     # We need to recreate these files for each test, as the compiler may
   5042     # overwrite some of them when testing with obscure command lines.
   5043     # This happens at least with the AIX C compiler.
   5044     : > sub/conftest.c
   5045     for i in 1 2 3 4 5 6; do
   5046       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5047       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5048       # Solaris 10 /bin/sh.
   5049       echo '/* dummy */' > sub/conftst$i.h
   5050     done
   5051     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5052 
   5053     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5054     # mode.  It turns out that the SunPro C++ compiler does not properly
   5055     # handle '-M -o', and we need to detect this.  Also, some Intel
   5056     # versions had trouble with output in subdirs.
   5057     am__obj=sub/conftest.${OBJEXT-o}
   5058     am__minus_obj="-o $am__obj"
   5059     case $depmode in
   5060     gcc)
   5061       # This depmode causes a compiler race in universal mode.
   5062       test "$am__universal" = false || continue
   5063       ;;
   5064     nosideeffect)
   5065       # After this tag, mechanisms are not by side-effect, so they'll
   5066       # only be used when explicitly requested.
   5067       if test "x$enable_dependency_tracking" = xyes; then
   5068 	continue
   5069       else
   5070 	break
   5071       fi
   5072       ;;
   5073     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5074       # This compiler won't grok '-c -o', but also, the minuso test has
   5075       # not run yet.  These depmodes are late enough in the game, and
   5076       # so weak that their functioning should not be impacted.
   5077       am__obj=conftest.${OBJEXT-o}
   5078       am__minus_obj=
   5079       ;;
   5080     none) break ;;
   5081     esac
   5082     if depmode=$depmode \
   5083        source=sub/conftest.c object=$am__obj \
   5084        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5085        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5086          >/dev/null 2>conftest.err &&
   5087        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5088        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5089        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5090        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5091       # icc doesn't choke on unknown options, it will just issue warnings
   5092       # or remarks (even with -Werror).  So we grep stderr for any message
   5093       # that says an option was ignored or not supported.
   5094       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5095       #   icc: Command line warning: ignoring option '-M'; no argument required
   5096       # The diagnosis changed in icc 8.0:
   5097       #   icc: Command line remark: option '-MP' not supported
   5098       if (grep 'ignoring option' conftest.err ||
   5099           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5100         am_cv_CC_dependencies_compiler_type=$depmode
   5101         break
   5102       fi
   5103     fi
   5104   done
   5105 
   5106   cd ..
   5107   rm -rf conftest.dir
   5108 else
   5109   am_cv_CC_dependencies_compiler_type=none
   5110 fi
   5111 
   5112 fi
   5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5114 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   5115 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5116 
   5117  if
   5118   test "x$enable_dependency_tracking" != xno \
   5119   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5120   am__fastdepCC_TRUE=
   5121   am__fastdepCC_FALSE='#'
   5122 else
   5123   am__fastdepCC_TRUE='#'
   5124   am__fastdepCC_FALSE=
   5125 fi
   5126 
   5127 
   5128 ac_ext=cpp
   5129 ac_cpp='$CXXCPP $CPPFLAGS'
   5130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5133 if test -z "$CXX"; then
   5134   if test -n "$CCC"; then
   5135     CXX=$CCC
   5136   else
   5137     if test -n "$ac_tool_prefix"; then
   5138   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5139   do
   5140     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5141 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5143 $as_echo_n "checking for $ac_word... " >&6; }
   5144 if ${ac_cv_prog_CXX+:} false; then :
   5145   $as_echo_n "(cached) " >&6
   5146 else
   5147   if test -n "$CXX"; then
   5148   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5149 else
   5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5151 for as_dir in $PATH
   5152 do
   5153   IFS=$as_save_IFS
   5154   test -z "$as_dir" && as_dir=.
   5155     for ac_exec_ext in '' $ac_executable_extensions; do
   5156   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5157     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5158     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5159     break 2
   5160   fi
   5161 done
   5162   done
   5163 IFS=$as_save_IFS
   5164 
   5165 fi
   5166 fi
   5167 CXX=$ac_cv_prog_CXX
   5168 if test -n "$CXX"; then
   5169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   5170 $as_echo "$CXX" >&6; }
   5171 else
   5172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5173 $as_echo "no" >&6; }
   5174 fi
   5175 
   5176 
   5177     test -n "$CXX" && break
   5178   done
   5179 fi
   5180 if test -z "$CXX"; then
   5181   ac_ct_CXX=$CXX
   5182   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5183 do
   5184   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5185 set dummy $ac_prog; ac_word=$2
   5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5187 $as_echo_n "checking for $ac_word... " >&6; }
   5188 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   5189   $as_echo_n "(cached) " >&6
   5190 else
   5191   if test -n "$ac_ct_CXX"; then
   5192   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5193 else
   5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5195 for as_dir in $PATH
   5196 do
   5197   IFS=$as_save_IFS
   5198   test -z "$as_dir" && as_dir=.
   5199     for ac_exec_ext in '' $ac_executable_extensions; do
   5200   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5201     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5203     break 2
   5204   fi
   5205 done
   5206   done
   5207 IFS=$as_save_IFS
   5208 
   5209 fi
   5210 fi
   5211 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5212 if test -n "$ac_ct_CXX"; then
   5213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   5214 $as_echo "$ac_ct_CXX" >&6; }
   5215 else
   5216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5217 $as_echo "no" >&6; }
   5218 fi
   5219 
   5220 
   5221   test -n "$ac_ct_CXX" && break
   5222 done
   5223 
   5224   if test "x$ac_ct_CXX" = x; then
   5225     CXX="g++"
   5226   else
   5227     case $cross_compiling:$ac_tool_warned in
   5228 yes:)
   5229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5231 ac_tool_warned=yes ;;
   5232 esac
   5233     CXX=$ac_ct_CXX
   5234   fi
   5235 fi
   5236 
   5237   fi
   5238 fi
   5239 # Provide some information about the compiler.
   5240 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   5241 set X $ac_compile
   5242 ac_compiler=$2
   5243 for ac_option in --version -v -V -qversion; do
   5244   { { ac_try="$ac_compiler $ac_option >&5"
   5245 case "(($ac_try" in
   5246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5247   *) ac_try_echo=$ac_try;;
   5248 esac
   5249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5250 $as_echo "$ac_try_echo"; } >&5
   5251   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5252   ac_status=$?
   5253   if test -s conftest.err; then
   5254     sed '10a\
   5255 ... rest of stderr output deleted ...
   5256          10q' conftest.err >conftest.er1
   5257     cat conftest.er1 >&5
   5258   fi
   5259   rm -f conftest.er1 conftest.err
   5260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5261   test $ac_status = 0; }
   5262 done
   5263 
   5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   5265 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5266 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   5267   $as_echo_n "(cached) " >&6
   5268 else
   5269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5270 /* end confdefs.h.  */
   5271 
   5272 int
   5273 main ()
   5274 {
   5275 #ifndef __GNUC__
   5276        choke me
   5277 #endif
   5278 
   5279   ;
   5280   return 0;
   5281 }
   5282 _ACEOF
   5283 if ac_fn_cxx_try_compile "$LINENO"; then :
   5284   ac_compiler_gnu=yes
   5285 else
   5286   ac_compiler_gnu=no
   5287 fi
   5288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5289 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5290 
   5291 fi
   5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5293 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5294 if test $ac_compiler_gnu = yes; then
   5295   GXX=yes
   5296 else
   5297   GXX=
   5298 fi
   5299 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5300 ac_save_CXXFLAGS=$CXXFLAGS
   5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5302 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5303 if ${ac_cv_prog_cxx_g+:} false; then :
   5304   $as_echo_n "(cached) " >&6
   5305 else
   5306   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5307    ac_cxx_werror_flag=yes
   5308    ac_cv_prog_cxx_g=no
   5309    CXXFLAGS="-g"
   5310    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5311 /* end confdefs.h.  */
   5312 
   5313 int
   5314 main ()
   5315 {
   5316 
   5317   ;
   5318   return 0;
   5319 }
   5320 _ACEOF
   5321 if ac_fn_cxx_try_compile "$LINENO"; then :
   5322   ac_cv_prog_cxx_g=yes
   5323 else
   5324   CXXFLAGS=""
   5325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5326 /* end confdefs.h.  */
   5327 
   5328 int
   5329 main ()
   5330 {
   5331 
   5332   ;
   5333   return 0;
   5334 }
   5335 _ACEOF
   5336 if ac_fn_cxx_try_compile "$LINENO"; then :
   5337 
   5338 else
   5339   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5340 	 CXXFLAGS="-g"
   5341 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5342 /* end confdefs.h.  */
   5343 
   5344 int
   5345 main ()
   5346 {
   5347 
   5348   ;
   5349   return 0;
   5350 }
   5351 _ACEOF
   5352 if ac_fn_cxx_try_compile "$LINENO"; then :
   5353   ac_cv_prog_cxx_g=yes
   5354 fi
   5355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5356 fi
   5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5358 fi
   5359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5360    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5361 fi
   5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5363 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5364 if test "$ac_test_CXXFLAGS" = set; then
   5365   CXXFLAGS=$ac_save_CXXFLAGS
   5366 elif test $ac_cv_prog_cxx_g = yes; then
   5367   if test "$GXX" = yes; then
   5368     CXXFLAGS="-g -O2"
   5369   else
   5370     CXXFLAGS="-g"
   5371   fi
   5372 else
   5373   if test "$GXX" = yes; then
   5374     CXXFLAGS="-O2"
   5375   else
   5376     CXXFLAGS=
   5377   fi
   5378 fi
   5379 ac_ext=c
   5380 ac_cpp='$CPP $CPPFLAGS'
   5381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5384 
   5385 depcc="$CXX"  am_compiler_list=
   5386 
   5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5388 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5389 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   5390   $as_echo_n "(cached) " >&6
   5391 else
   5392   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5393   # We make a subdir and do the tests there.  Otherwise we can end up
   5394   # making bogus files that we don't know about and never remove.  For
   5395   # instance it was reported that on HP-UX the gcc test will end up
   5396   # making a dummy file named 'D' -- because '-MD' means "put the output
   5397   # in D".
   5398   rm -rf conftest.dir
   5399   mkdir conftest.dir
   5400   # Copy depcomp to subdir because otherwise we won't find it if we're
   5401   # using a relative directory.
   5402   cp "$am_depcomp" conftest.dir
   5403   cd conftest.dir
   5404   # We will build objects and dependencies in a subdirectory because
   5405   # it helps to detect inapplicable dependency modes.  For instance
   5406   # both Tru64's cc and ICC support -MD to output dependencies as a
   5407   # side effect of compilation, but ICC will put the dependencies in
   5408   # the current directory while Tru64 will put them in the object
   5409   # directory.
   5410   mkdir sub
   5411 
   5412   am_cv_CXX_dependencies_compiler_type=none
   5413   if test "$am_compiler_list" = ""; then
   5414      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5415   fi
   5416   am__universal=false
   5417   case " $depcc " in #(
   5418      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5419      esac
   5420 
   5421   for depmode in $am_compiler_list; do
   5422     # Setup a source with many dependencies, because some compilers
   5423     # like to wrap large dependency lists on column 80 (with \), and
   5424     # we should not choose a depcomp mode which is confused by this.
   5425     #
   5426     # We need to recreate these files for each test, as the compiler may
   5427     # overwrite some of them when testing with obscure command lines.
   5428     # This happens at least with the AIX C compiler.
   5429     : > sub/conftest.c
   5430     for i in 1 2 3 4 5 6; do
   5431       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5432       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5433       # Solaris 10 /bin/sh.
   5434       echo '/* dummy */' > sub/conftst$i.h
   5435     done
   5436     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5437 
   5438     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5439     # mode.  It turns out that the SunPro C++ compiler does not properly
   5440     # handle '-M -o', and we need to detect this.  Also, some Intel
   5441     # versions had trouble with output in subdirs.
   5442     am__obj=sub/conftest.${OBJEXT-o}
   5443     am__minus_obj="-o $am__obj"
   5444     case $depmode in
   5445     gcc)
   5446       # This depmode causes a compiler race in universal mode.
   5447       test "$am__universal" = false || continue
   5448       ;;
   5449     nosideeffect)
   5450       # After this tag, mechanisms are not by side-effect, so they'll
   5451       # only be used when explicitly requested.
   5452       if test "x$enable_dependency_tracking" = xyes; then
   5453 	continue
   5454       else
   5455 	break
   5456       fi
   5457       ;;
   5458     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5459       # This compiler won't grok '-c -o', but also, the minuso test has
   5460       # not run yet.  These depmodes are late enough in the game, and
   5461       # so weak that their functioning should not be impacted.
   5462       am__obj=conftest.${OBJEXT-o}
   5463       am__minus_obj=
   5464       ;;
   5465     none) break ;;
   5466     esac
   5467     if depmode=$depmode \
   5468        source=sub/conftest.c object=$am__obj \
   5469        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5470        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5471          >/dev/null 2>conftest.err &&
   5472        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5473        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5474        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5475        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5476       # icc doesn't choke on unknown options, it will just issue warnings
   5477       # or remarks (even with -Werror).  So we grep stderr for any message
   5478       # that says an option was ignored or not supported.
   5479       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5480       #   icc: Command line warning: ignoring option '-M'; no argument required
   5481       # The diagnosis changed in icc 8.0:
   5482       #   icc: Command line remark: option '-MP' not supported
   5483       if (grep 'ignoring option' conftest.err ||
   5484           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5485         am_cv_CXX_dependencies_compiler_type=$depmode
   5486         break
   5487       fi
   5488     fi
   5489   done
   5490 
   5491   cd ..
   5492   rm -rf conftest.dir
   5493 else
   5494   am_cv_CXX_dependencies_compiler_type=none
   5495 fi
   5496 
   5497 fi
   5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5499 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5500 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5501 
   5502  if
   5503   test "x$enable_dependency_tracking" != xno \
   5504   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5505   am__fastdepCXX_TRUE=
   5506   am__fastdepCXX_FALSE='#'
   5507 else
   5508   am__fastdepCXX_TRUE='#'
   5509   am__fastdepCXX_FALSE=
   5510 fi
   5511 
   5512 
   5513 case `pwd` in
   5514   *\ * | *\	*)
   5515     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5516 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5517 esac
   5518 
   5519 
   5520 
   5521 macro_version='2.4.2'
   5522 macro_revision='1.3337'
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 ltmain="$ac_aux_dir/ltmain.sh"
   5537 
   5538 # Backslashify metacharacters that are still active within
   5539 # double-quoted strings.
   5540 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5541 
   5542 # Same as above, but do not quote variable references.
   5543 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5544 
   5545 # Sed substitution to delay expansion of an escaped shell variable in a
   5546 # double_quote_subst'ed string.
   5547 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5548 
   5549 # Sed substitution to delay expansion of an escaped single quote.
   5550 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5551 
   5552 # Sed substitution to avoid accidental globbing in evaled expressions
   5553 no_glob_subst='s/\*/\\\*/g'
   5554 
   5555 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5556 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5557 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5558 
   5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5560 $as_echo_n "checking how to print strings... " >&6; }
   5561 # Test print first, because it will be a builtin if present.
   5562 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5563    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5564   ECHO='print -r --'
   5565 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5566   ECHO='printf %s\n'
   5567 else
   5568   # Use this function as a fallback that always works.
   5569   func_fallback_echo ()
   5570   {
   5571     eval 'cat <<_LTECHO_EOF
   5572 $1
   5573 _LTECHO_EOF'
   5574   }
   5575   ECHO='func_fallback_echo'
   5576 fi
   5577 
   5578 # func_echo_all arg...
   5579 # Invoke $ECHO with all args, space-separated.
   5580 func_echo_all ()
   5581 {
   5582     $ECHO ""
   5583 }
   5584 
   5585 case "$ECHO" in
   5586   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5587 $as_echo "printf" >&6; } ;;
   5588   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5589 $as_echo "print -r" >&6; } ;;
   5590   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5591 $as_echo "cat" >&6; } ;;
   5592 esac
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5608 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5609 if ${ac_cv_path_SED+:} false; then :
   5610   $as_echo_n "(cached) " >&6
   5611 else
   5612             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5613      for ac_i in 1 2 3 4 5 6 7; do
   5614        ac_script="$ac_script$as_nl$ac_script"
   5615      done
   5616      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5617      { ac_script=; unset ac_script;}
   5618      if test -z "$SED"; then
   5619   ac_path_SED_found=false
   5620   # Loop through the user's path and test for each of PROGNAME-LIST
   5621   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5622 for as_dir in $PATH
   5623 do
   5624   IFS=$as_save_IFS
   5625   test -z "$as_dir" && as_dir=.
   5626     for ac_prog in sed gsed; do
   5627     for ac_exec_ext in '' $ac_executable_extensions; do
   5628       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5629       as_fn_executable_p "$ac_path_SED" || continue
   5630 # Check for GNU ac_path_SED and select it if it is found.
   5631   # Check for GNU $ac_path_SED
   5632 case `"$ac_path_SED" --version 2>&1` in
   5633 *GNU*)
   5634   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5635 *)
   5636   ac_count=0
   5637   $as_echo_n 0123456789 >"conftest.in"
   5638   while :
   5639   do
   5640     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5641     mv "conftest.tmp" "conftest.in"
   5642     cp "conftest.in" "conftest.nl"
   5643     $as_echo '' >> "conftest.nl"
   5644     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5645     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5646     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5647     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5648       # Best one so far, save it but keep looking for a better one
   5649       ac_cv_path_SED="$ac_path_SED"
   5650       ac_path_SED_max=$ac_count
   5651     fi
   5652     # 10*(2^10) chars as input seems more than enough
   5653     test $ac_count -gt 10 && break
   5654   done
   5655   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5656 esac
   5657 
   5658       $ac_path_SED_found && break 3
   5659     done
   5660   done
   5661   done
   5662 IFS=$as_save_IFS
   5663   if test -z "$ac_cv_path_SED"; then
   5664     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5665   fi
   5666 else
   5667   ac_cv_path_SED=$SED
   5668 fi
   5669 
   5670 fi
   5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5672 $as_echo "$ac_cv_path_SED" >&6; }
   5673  SED="$ac_cv_path_SED"
   5674   rm -f conftest.sed
   5675 
   5676 test -z "$SED" && SED=sed
   5677 Xsed="$SED -e 1s/^X//"
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5690 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   5691 if ${ac_cv_path_GREP+:} false; then :
   5692   $as_echo_n "(cached) " >&6
   5693 else
   5694   if test -z "$GREP"; then
   5695   ac_path_GREP_found=false
   5696   # Loop through the user's path and test for each of PROGNAME-LIST
   5697   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5698 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5699 do
   5700   IFS=$as_save_IFS
   5701   test -z "$as_dir" && as_dir=.
   5702     for ac_prog in grep ggrep; do
   5703     for ac_exec_ext in '' $ac_executable_extensions; do
   5704       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   5705       as_fn_executable_p "$ac_path_GREP" || continue
   5706 # Check for GNU ac_path_GREP and select it if it is found.
   5707   # Check for GNU $ac_path_GREP
   5708 case `"$ac_path_GREP" --version 2>&1` in
   5709 *GNU*)
   5710   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5711 *)
   5712   ac_count=0
   5713   $as_echo_n 0123456789 >"conftest.in"
   5714   while :
   5715   do
   5716     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5717     mv "conftest.tmp" "conftest.in"
   5718     cp "conftest.in" "conftest.nl"
   5719     $as_echo 'GREP' >> "conftest.nl"
   5720     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5721     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5722     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5723     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5724       # Best one so far, save it but keep looking for a better one
   5725       ac_cv_path_GREP="$ac_path_GREP"
   5726       ac_path_GREP_max=$ac_count
   5727     fi
   5728     # 10*(2^10) chars as input seems more than enough
   5729     test $ac_count -gt 10 && break
   5730   done
   5731   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5732 esac
   5733 
   5734       $ac_path_GREP_found && break 3
   5735     done
   5736   done
   5737   done
   5738 IFS=$as_save_IFS
   5739   if test -z "$ac_cv_path_GREP"; then
   5740     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5741   fi
   5742 else
   5743   ac_cv_path_GREP=$GREP
   5744 fi
   5745 
   5746 fi
   5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5748 $as_echo "$ac_cv_path_GREP" >&6; }
   5749  GREP="$ac_cv_path_GREP"
   5750 
   5751 
   5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5753 $as_echo_n "checking for egrep... " >&6; }
   5754 if ${ac_cv_path_EGREP+:} false; then :
   5755   $as_echo_n "(cached) " >&6
   5756 else
   5757   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5758    then ac_cv_path_EGREP="$GREP -E"
   5759    else
   5760      if test -z "$EGREP"; then
   5761   ac_path_EGREP_found=false
   5762   # Loop through the user's path and test for each of PROGNAME-LIST
   5763   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5764 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5765 do
   5766   IFS=$as_save_IFS
   5767   test -z "$as_dir" && as_dir=.
   5768     for ac_prog in egrep; do
   5769     for ac_exec_ext in '' $ac_executable_extensions; do
   5770       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   5771       as_fn_executable_p "$ac_path_EGREP" || continue
   5772 # Check for GNU ac_path_EGREP and select it if it is found.
   5773   # Check for GNU $ac_path_EGREP
   5774 case `"$ac_path_EGREP" --version 2>&1` in
   5775 *GNU*)
   5776   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5777 *)
   5778   ac_count=0
   5779   $as_echo_n 0123456789 >"conftest.in"
   5780   while :
   5781   do
   5782     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5783     mv "conftest.tmp" "conftest.in"
   5784     cp "conftest.in" "conftest.nl"
   5785     $as_echo 'EGREP' >> "conftest.nl"
   5786     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5787     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5788     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5789     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5790       # Best one so far, save it but keep looking for a better one
   5791       ac_cv_path_EGREP="$ac_path_EGREP"
   5792       ac_path_EGREP_max=$ac_count
   5793     fi
   5794     # 10*(2^10) chars as input seems more than enough
   5795     test $ac_count -gt 10 && break
   5796   done
   5797   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5798 esac
   5799 
   5800       $ac_path_EGREP_found && break 3
   5801     done
   5802   done
   5803   done
   5804 IFS=$as_save_IFS
   5805   if test -z "$ac_cv_path_EGREP"; then
   5806     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5807   fi
   5808 else
   5809   ac_cv_path_EGREP=$EGREP
   5810 fi
   5811 
   5812    fi
   5813 fi
   5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5815 $as_echo "$ac_cv_path_EGREP" >&6; }
   5816  EGREP="$ac_cv_path_EGREP"
   5817 
   5818 
   5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5820 $as_echo_n "checking for fgrep... " >&6; }
   5821 if ${ac_cv_path_FGREP+:} false; then :
   5822   $as_echo_n "(cached) " >&6
   5823 else
   5824   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5825    then ac_cv_path_FGREP="$GREP -F"
   5826    else
   5827      if test -z "$FGREP"; then
   5828   ac_path_FGREP_found=false
   5829   # Loop through the user's path and test for each of PROGNAME-LIST
   5830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5831 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5832 do
   5833   IFS=$as_save_IFS
   5834   test -z "$as_dir" && as_dir=.
   5835     for ac_prog in fgrep; do
   5836     for ac_exec_ext in '' $ac_executable_extensions; do
   5837       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5838       as_fn_executable_p "$ac_path_FGREP" || continue
   5839 # Check for GNU ac_path_FGREP and select it if it is found.
   5840   # Check for GNU $ac_path_FGREP
   5841 case `"$ac_path_FGREP" --version 2>&1` in
   5842 *GNU*)
   5843   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5844 *)
   5845   ac_count=0
   5846   $as_echo_n 0123456789 >"conftest.in"
   5847   while :
   5848   do
   5849     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5850     mv "conftest.tmp" "conftest.in"
   5851     cp "conftest.in" "conftest.nl"
   5852     $as_echo 'FGREP' >> "conftest.nl"
   5853     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5854     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5855     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5856     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5857       # Best one so far, save it but keep looking for a better one
   5858       ac_cv_path_FGREP="$ac_path_FGREP"
   5859       ac_path_FGREP_max=$ac_count
   5860     fi
   5861     # 10*(2^10) chars as input seems more than enough
   5862     test $ac_count -gt 10 && break
   5863   done
   5864   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5865 esac
   5866 
   5867       $ac_path_FGREP_found && break 3
   5868     done
   5869   done
   5870   done
   5871 IFS=$as_save_IFS
   5872   if test -z "$ac_cv_path_FGREP"; then
   5873     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5874   fi
   5875 else
   5876   ac_cv_path_FGREP=$FGREP
   5877 fi
   5878 
   5879    fi
   5880 fi
   5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5882 $as_echo "$ac_cv_path_FGREP" >&6; }
   5883  FGREP="$ac_cv_path_FGREP"
   5884 
   5885 
   5886 test -z "$GREP" && GREP=grep
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 # Check whether --with-gnu-ld was given.
   5907 if test "${with_gnu_ld+set}" = set; then :
   5908   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5909 else
   5910   with_gnu_ld=no
   5911 fi
   5912 
   5913 ac_prog=ld
   5914 if test "$GCC" = yes; then
   5915   # Check if gcc -print-prog-name=ld gives a path.
   5916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5917 $as_echo_n "checking for ld used by $CC... " >&6; }
   5918   case $host in
   5919   *-*-mingw*)
   5920     # gcc leaves a trailing carriage return which upsets mingw
   5921     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5922   *)
   5923     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5924   esac
   5925   case $ac_prog in
   5926     # Accept absolute paths.
   5927     [\\/]* | ?:[\\/]*)
   5928       re_direlt='/[^/][^/]*/\.\./'
   5929       # Canonicalize the pathname of ld
   5930       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5931       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5932 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5933       done
   5934       test -z "$LD" && LD="$ac_prog"
   5935       ;;
   5936   "")
   5937     # If it fails, then pretend we aren't using GCC.
   5938     ac_prog=ld
   5939     ;;
   5940   *)
   5941     # If it is relative, then search for the first ld in PATH.
   5942     with_gnu_ld=unknown
   5943     ;;
   5944   esac
   5945 elif test "$with_gnu_ld" = yes; then
   5946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5947 $as_echo_n "checking for GNU ld... " >&6; }
   5948 else
   5949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5950 $as_echo_n "checking for non-GNU ld... " >&6; }
   5951 fi
   5952 if ${lt_cv_path_LD+:} false; then :
   5953   $as_echo_n "(cached) " >&6
   5954 else
   5955   if test -z "$LD"; then
   5956   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5957   for ac_dir in $PATH; do
   5958     IFS="$lt_save_ifs"
   5959     test -z "$ac_dir" && ac_dir=.
   5960     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5961       lt_cv_path_LD="$ac_dir/$ac_prog"
   5962       # Check to see if the program is GNU ld.  I'd rather use --version,
   5963       # but apparently some variants of GNU ld only accept -v.
   5964       # Break only if it was the GNU/non-GNU ld that we prefer.
   5965       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5966       *GNU* | *'with BFD'*)
   5967 	test "$with_gnu_ld" != no && break
   5968 	;;
   5969       *)
   5970 	test "$with_gnu_ld" != yes && break
   5971 	;;
   5972       esac
   5973     fi
   5974   done
   5975   IFS="$lt_save_ifs"
   5976 else
   5977   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5978 fi
   5979 fi
   5980 
   5981 LD="$lt_cv_path_LD"
   5982 if test -n "$LD"; then
   5983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5984 $as_echo "$LD" >&6; }
   5985 else
   5986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5987 $as_echo "no" >&6; }
   5988 fi
   5989 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5991 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5992 if ${lt_cv_prog_gnu_ld+:} false; then :
   5993   $as_echo_n "(cached) " >&6
   5994 else
   5995   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5996 case `$LD -v 2>&1 </dev/null` in
   5997 *GNU* | *'with BFD'*)
   5998   lt_cv_prog_gnu_ld=yes
   5999   ;;
   6000 *)
   6001   lt_cv_prog_gnu_ld=no
   6002   ;;
   6003 esac
   6004 fi
   6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6006 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6007 with_gnu_ld=$lt_cv_prog_gnu_ld
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6018 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6019 if ${lt_cv_path_NM+:} false; then :
   6020   $as_echo_n "(cached) " >&6
   6021 else
   6022   if test -n "$NM"; then
   6023   # Let the user override the test.
   6024   lt_cv_path_NM="$NM"
   6025 else
   6026   lt_nm_to_check="${ac_tool_prefix}nm"
   6027   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6028     lt_nm_to_check="$lt_nm_to_check nm"
   6029   fi
   6030   for lt_tmp_nm in $lt_nm_to_check; do
   6031     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6032     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6033       IFS="$lt_save_ifs"
   6034       test -z "$ac_dir" && ac_dir=.
   6035       tmp_nm="$ac_dir/$lt_tmp_nm"
   6036       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   6037 	# Check to see if the nm accepts a BSD-compat flag.
   6038 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   6039 	#   nm: unknown option "B" ignored
   6040 	# Tru64's nm complains that /dev/null is an invalid object file
   6041 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   6042 	*/dev/null* | *'Invalid file or object type'*)
   6043 	  lt_cv_path_NM="$tmp_nm -B"
   6044 	  break
   6045 	  ;;
   6046 	*)
   6047 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   6048 	  */dev/null*)
   6049 	    lt_cv_path_NM="$tmp_nm -p"
   6050 	    break
   6051 	    ;;
   6052 	  *)
   6053 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6054 	    continue # so that we can try to find one that supports BSD flags
   6055 	    ;;
   6056 	  esac
   6057 	  ;;
   6058 	esac
   6059       fi
   6060     done
   6061     IFS="$lt_save_ifs"
   6062   done
   6063   : ${lt_cv_path_NM=no}
   6064 fi
   6065 fi
   6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6067 $as_echo "$lt_cv_path_NM" >&6; }
   6068 if test "$lt_cv_path_NM" != "no"; then
   6069   NM="$lt_cv_path_NM"
   6070 else
   6071   # Didn't find any BSD compatible name lister, look for dumpbin.
   6072   if test -n "$DUMPBIN"; then :
   6073     # Let the user override the test.
   6074   else
   6075     if test -n "$ac_tool_prefix"; then
   6076   for ac_prog in dumpbin "link -dump"
   6077   do
   6078     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6079 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6081 $as_echo_n "checking for $ac_word... " >&6; }
   6082 if ${ac_cv_prog_DUMPBIN+:} false; then :
   6083   $as_echo_n "(cached) " >&6
   6084 else
   6085   if test -n "$DUMPBIN"; then
   6086   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6087 else
   6088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6089 for as_dir in $PATH
   6090 do
   6091   IFS=$as_save_IFS
   6092   test -z "$as_dir" && as_dir=.
   6093     for ac_exec_ext in '' $ac_executable_extensions; do
   6094   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6095     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6096     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6097     break 2
   6098   fi
   6099 done
   6100   done
   6101 IFS=$as_save_IFS
   6102 
   6103 fi
   6104 fi
   6105 DUMPBIN=$ac_cv_prog_DUMPBIN
   6106 if test -n "$DUMPBIN"; then
   6107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6108 $as_echo "$DUMPBIN" >&6; }
   6109 else
   6110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6111 $as_echo "no" >&6; }
   6112 fi
   6113 
   6114 
   6115     test -n "$DUMPBIN" && break
   6116   done
   6117 fi
   6118 if test -z "$DUMPBIN"; then
   6119   ac_ct_DUMPBIN=$DUMPBIN
   6120   for ac_prog in dumpbin "link -dump"
   6121 do
   6122   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6123 set dummy $ac_prog; ac_word=$2
   6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6125 $as_echo_n "checking for $ac_word... " >&6; }
   6126 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6127   $as_echo_n "(cached) " >&6
   6128 else
   6129   if test -n "$ac_ct_DUMPBIN"; then
   6130   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6131 else
   6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6133 for as_dir in $PATH
   6134 do
   6135   IFS=$as_save_IFS
   6136   test -z "$as_dir" && as_dir=.
   6137     for ac_exec_ext in '' $ac_executable_extensions; do
   6138   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6139     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6141     break 2
   6142   fi
   6143 done
   6144   done
   6145 IFS=$as_save_IFS
   6146 
   6147 fi
   6148 fi
   6149 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6150 if test -n "$ac_ct_DUMPBIN"; then
   6151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6152 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6153 else
   6154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6155 $as_echo "no" >&6; }
   6156 fi
   6157 
   6158 
   6159   test -n "$ac_ct_DUMPBIN" && break
   6160 done
   6161 
   6162   if test "x$ac_ct_DUMPBIN" = x; then
   6163     DUMPBIN=":"
   6164   else
   6165     case $cross_compiling:$ac_tool_warned in
   6166 yes:)
   6167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6169 ac_tool_warned=yes ;;
   6170 esac
   6171     DUMPBIN=$ac_ct_DUMPBIN
   6172   fi
   6173 fi
   6174 
   6175     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   6176     *COFF*)
   6177       DUMPBIN="$DUMPBIN -symbols"
   6178       ;;
   6179     *)
   6180       DUMPBIN=:
   6181       ;;
   6182     esac
   6183   fi
   6184 
   6185   if test "$DUMPBIN" != ":"; then
   6186     NM="$DUMPBIN"
   6187   fi
   6188 fi
   6189 test -z "$NM" && NM=nm
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6197 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6198 if ${lt_cv_nm_interface+:} false; then :
   6199   $as_echo_n "(cached) " >&6
   6200 else
   6201   lt_cv_nm_interface="BSD nm"
   6202   echo "int some_variable = 0;" > conftest.$ac_ext
   6203   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6204   (eval "$ac_compile" 2>conftest.err)
   6205   cat conftest.err >&5
   6206   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6207   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6208   cat conftest.err >&5
   6209   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6210   cat conftest.out >&5
   6211   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6212     lt_cv_nm_interface="MS dumpbin"
   6213   fi
   6214   rm -f conftest*
   6215 fi
   6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6217 $as_echo "$lt_cv_nm_interface" >&6; }
   6218 
   6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6220 $as_echo_n "checking whether ln -s works... " >&6; }
   6221 LN_S=$as_ln_s
   6222 if test "$LN_S" = "ln -s"; then
   6223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6224 $as_echo "yes" >&6; }
   6225 else
   6226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6227 $as_echo "no, using $LN_S" >&6; }
   6228 fi
   6229 
   6230 # find the maximum length of command line arguments
   6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6232 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6233 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6234   $as_echo_n "(cached) " >&6
   6235 else
   6236     i=0
   6237   teststring="ABCD"
   6238 
   6239   case $build_os in
   6240   msdosdjgpp*)
   6241     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6242     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6243     # during glob expansion).  Even if it were fixed, the result of this
   6244     # check would be larger than it should be.
   6245     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6246     ;;
   6247 
   6248   gnu*)
   6249     # Under GNU Hurd, this test is not required because there is
   6250     # no limit to the length of command line arguments.
   6251     # Libtool will interpret -1 as no limit whatsoever
   6252     lt_cv_sys_max_cmd_len=-1;
   6253     ;;
   6254 
   6255   cygwin* | mingw* | cegcc*)
   6256     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6257     # about 5 minutes as the teststring grows exponentially.
   6258     # Worse, since 9x/ME are not pre-emptively multitasking,
   6259     # you end up with a "frozen" computer, even though with patience
   6260     # the test eventually succeeds (with a max line length of 256k).
   6261     # Instead, let's just punt: use the minimum linelength reported by
   6262     # all of the supported platforms: 8192 (on NT/2K/XP).
   6263     lt_cv_sys_max_cmd_len=8192;
   6264     ;;
   6265 
   6266   mint*)
   6267     # On MiNT this can take a long time and run out of memory.
   6268     lt_cv_sys_max_cmd_len=8192;
   6269     ;;
   6270 
   6271   amigaos*)
   6272     # On AmigaOS with pdksh, this test takes hours, literally.
   6273     # So we just punt and use a minimum line length of 8192.
   6274     lt_cv_sys_max_cmd_len=8192;
   6275     ;;
   6276 
   6277   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6278     # This has been around since 386BSD, at least.  Likely further.
   6279     if test -x /sbin/sysctl; then
   6280       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6281     elif test -x /usr/sbin/sysctl; then
   6282       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6283     else
   6284       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6285     fi
   6286     # And add a safety zone
   6287     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6288     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6289     ;;
   6290 
   6291   interix*)
   6292     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6293     lt_cv_sys_max_cmd_len=196608
   6294     ;;
   6295 
   6296   os2*)
   6297     # The test takes a long time on OS/2.
   6298     lt_cv_sys_max_cmd_len=8192
   6299     ;;
   6300 
   6301   osf*)
   6302     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6303     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6304     # nice to cause kernel panics so lets avoid the loop below.
   6305     # First set a reasonable default.
   6306     lt_cv_sys_max_cmd_len=16384
   6307     #
   6308     if test -x /sbin/sysconfig; then
   6309       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6310         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6311       esac
   6312     fi
   6313     ;;
   6314   sco3.2v5*)
   6315     lt_cv_sys_max_cmd_len=102400
   6316     ;;
   6317   sysv5* | sco5v6* | sysv4.2uw2*)
   6318     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6319     if test -n "$kargmax"; then
   6320       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6321     else
   6322       lt_cv_sys_max_cmd_len=32768
   6323     fi
   6324     ;;
   6325   *)
   6326     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6327     if test -n "$lt_cv_sys_max_cmd_len" && \
   6328 	test undefined != "$lt_cv_sys_max_cmd_len"; then
   6329       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6330       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6331     else
   6332       # Make teststring a little bigger before we do anything with it.
   6333       # a 1K string should be a reasonable start.
   6334       for i in 1 2 3 4 5 6 7 8 ; do
   6335         teststring=$teststring$teststring
   6336       done
   6337       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6338       # If test is not a shell built-in, we'll probably end up computing a
   6339       # maximum length that is only half of the actual maximum length, but
   6340       # we can't tell.
   6341       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   6342 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6343 	      test $i != 17 # 1/2 MB should be enough
   6344       do
   6345         i=`expr $i + 1`
   6346         teststring=$teststring$teststring
   6347       done
   6348       # Only check the string length outside the loop.
   6349       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6350       teststring=
   6351       # Add a significant safety factor because C++ compilers can tack on
   6352       # massive amounts of additional arguments before passing them to the
   6353       # linker.  It appears as though 1/2 is a usable value.
   6354       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6355     fi
   6356     ;;
   6357   esac
   6358 
   6359 fi
   6360 
   6361 if test -n $lt_cv_sys_max_cmd_len ; then
   6362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6363 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6364 else
   6365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6366 $as_echo "none" >&6; }
   6367 fi
   6368 max_cmd_len=$lt_cv_sys_max_cmd_len
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 : ${CP="cp -f"}
   6376 : ${MV="mv -f"}
   6377 : ${RM="rm -f"}
   6378 
   6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6380 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6381 # Try some XSI features
   6382 xsi_shell=no
   6383 ( _lt_dummy="a/b/c"
   6384   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   6385       = c,a/b,b/c, \
   6386     && eval 'test $(( 1 + 1 )) -eq 2 \
   6387     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6388   && xsi_shell=yes
   6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6390 $as_echo "$xsi_shell" >&6; }
   6391 
   6392 
   6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6394 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6395 lt_shell_append=no
   6396 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6397     >/dev/null 2>&1 \
   6398   && lt_shell_append=yes
   6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6400 $as_echo "$lt_shell_append" >&6; }
   6401 
   6402 
   6403 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6404   lt_unset=unset
   6405 else
   6406   lt_unset=false
   6407 fi
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 # test EBCDIC or ASCII
   6414 case `echo X|tr X '\101'` in
   6415  A) # ASCII based system
   6416     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6417   lt_SP2NL='tr \040 \012'
   6418   lt_NL2SP='tr \015\012 \040\040'
   6419   ;;
   6420  *) # EBCDIC based system
   6421   lt_SP2NL='tr \100 \n'
   6422   lt_NL2SP='tr \r\n \100\100'
   6423   ;;
   6424 esac
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6435 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   6436 if ${lt_cv_to_host_file_cmd+:} false; then :
   6437   $as_echo_n "(cached) " >&6
   6438 else
   6439   case $host in
   6440   *-*-mingw* )
   6441     case $build in
   6442       *-*-mingw* ) # actually msys
   6443         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6444         ;;
   6445       *-*-cygwin* )
   6446         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6447         ;;
   6448       * ) # otherwise, assume *nix
   6449         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6450         ;;
   6451     esac
   6452     ;;
   6453   *-*-cygwin* )
   6454     case $build in
   6455       *-*-mingw* ) # actually msys
   6456         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6457         ;;
   6458       *-*-cygwin* )
   6459         lt_cv_to_host_file_cmd=func_convert_file_noop
   6460         ;;
   6461       * ) # otherwise, assume *nix
   6462         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6463         ;;
   6464     esac
   6465     ;;
   6466   * ) # unhandled hosts (and "normal" native builds)
   6467     lt_cv_to_host_file_cmd=func_convert_file_noop
   6468     ;;
   6469 esac
   6470 
   6471 fi
   6472 
   6473 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6475 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6482 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   6483 if ${lt_cv_to_tool_file_cmd+:} false; then :
   6484   $as_echo_n "(cached) " >&6
   6485 else
   6486   #assume ordinary cross tools, or native build.
   6487 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6488 case $host in
   6489   *-*-mingw* )
   6490     case $build in
   6491       *-*-mingw* ) # actually msys
   6492         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6493         ;;
   6494     esac
   6495     ;;
   6496 esac
   6497 
   6498 fi
   6499 
   6500 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6502 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6509 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6510 if ${lt_cv_ld_reload_flag+:} false; then :
   6511   $as_echo_n "(cached) " >&6
   6512 else
   6513   lt_cv_ld_reload_flag='-r'
   6514 fi
   6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6516 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6517 reload_flag=$lt_cv_ld_reload_flag
   6518 case $reload_flag in
   6519 "" | " "*) ;;
   6520 *) reload_flag=" $reload_flag" ;;
   6521 esac
   6522 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6523 case $host_os in
   6524   cygwin* | mingw* | pw32* | cegcc*)
   6525     if test "$GCC" != yes; then
   6526       reload_cmds=false
   6527     fi
   6528     ;;
   6529   darwin*)
   6530     if test "$GCC" = yes; then
   6531       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6532     else
   6533       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6534     fi
   6535     ;;
   6536 esac
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 if test -n "$ac_tool_prefix"; then
   6547   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6548 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6550 $as_echo_n "checking for $ac_word... " >&6; }
   6551 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6552   $as_echo_n "(cached) " >&6
   6553 else
   6554   if test -n "$OBJDUMP"; then
   6555   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6556 else
   6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6558 for as_dir in $PATH
   6559 do
   6560   IFS=$as_save_IFS
   6561   test -z "$as_dir" && as_dir=.
   6562     for ac_exec_ext in '' $ac_executable_extensions; do
   6563   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6564     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6566     break 2
   6567   fi
   6568 done
   6569   done
   6570 IFS=$as_save_IFS
   6571 
   6572 fi
   6573 fi
   6574 OBJDUMP=$ac_cv_prog_OBJDUMP
   6575 if test -n "$OBJDUMP"; then
   6576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6577 $as_echo "$OBJDUMP" >&6; }
   6578 else
   6579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6580 $as_echo "no" >&6; }
   6581 fi
   6582 
   6583 
   6584 fi
   6585 if test -z "$ac_cv_prog_OBJDUMP"; then
   6586   ac_ct_OBJDUMP=$OBJDUMP
   6587   # Extract the first word of "objdump", so it can be a program name with args.
   6588 set dummy objdump; ac_word=$2
   6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6590 $as_echo_n "checking for $ac_word... " >&6; }
   6591 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6592   $as_echo_n "(cached) " >&6
   6593 else
   6594   if test -n "$ac_ct_OBJDUMP"; then
   6595   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6596 else
   6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6598 for as_dir in $PATH
   6599 do
   6600   IFS=$as_save_IFS
   6601   test -z "$as_dir" && as_dir=.
   6602     for ac_exec_ext in '' $ac_executable_extensions; do
   6603   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6604     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6606     break 2
   6607   fi
   6608 done
   6609   done
   6610 IFS=$as_save_IFS
   6611 
   6612 fi
   6613 fi
   6614 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6615 if test -n "$ac_ct_OBJDUMP"; then
   6616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6617 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6618 else
   6619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6620 $as_echo "no" >&6; }
   6621 fi
   6622 
   6623   if test "x$ac_ct_OBJDUMP" = x; then
   6624     OBJDUMP="false"
   6625   else
   6626     case $cross_compiling:$ac_tool_warned in
   6627 yes:)
   6628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6630 ac_tool_warned=yes ;;
   6631 esac
   6632     OBJDUMP=$ac_ct_OBJDUMP
   6633   fi
   6634 else
   6635   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6636 fi
   6637 
   6638 test -z "$OBJDUMP" && OBJDUMP=objdump
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6649 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6650 if ${lt_cv_deplibs_check_method+:} false; then :
   6651   $as_echo_n "(cached) " >&6
   6652 else
   6653   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6654 lt_cv_file_magic_test_file=
   6655 lt_cv_deplibs_check_method='unknown'
   6656 # Need to set the preceding variable on all platforms that support
   6657 # interlibrary dependencies.
   6658 # 'none' -- dependencies not supported.
   6659 # `unknown' -- same as none, but documents that we really don't know.
   6660 # 'pass_all' -- all dependencies passed with no checks.
   6661 # 'test_compile' -- check by making test program.
   6662 # 'file_magic [[regex]]' -- check by looking for files in library path
   6663 # which responds to the $file_magic_cmd with a given extended regex.
   6664 # If you have `file' or equivalent on your system and you're not sure
   6665 # whether `pass_all' will *always* work, you probably want this one.
   6666 
   6667 case $host_os in
   6668 aix[4-9]*)
   6669   lt_cv_deplibs_check_method=pass_all
   6670   ;;
   6671 
   6672 beos*)
   6673   lt_cv_deplibs_check_method=pass_all
   6674   ;;
   6675 
   6676 bsdi[45]*)
   6677   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6678   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6679   lt_cv_file_magic_test_file=/shlib/libc.so
   6680   ;;
   6681 
   6682 cygwin*)
   6683   # func_win32_libid is a shell function defined in ltmain.sh
   6684   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6685   lt_cv_file_magic_cmd='func_win32_libid'
   6686   ;;
   6687 
   6688 mingw* | pw32*)
   6689   # Base MSYS/MinGW do not provide the 'file' command needed by
   6690   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6691   # unless we find 'file', for example because we are cross-compiling.
   6692   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6693   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6694     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6695     lt_cv_file_magic_cmd='func_win32_libid'
   6696   else
   6697     # Keep this pattern in sync with the one in func_win32_libid.
   6698     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6699     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6700   fi
   6701   ;;
   6702 
   6703 cegcc*)
   6704   # use the weaker test based on 'objdump'. See mingw*.
   6705   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6706   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6707   ;;
   6708 
   6709 darwin* | rhapsody*)
   6710   lt_cv_deplibs_check_method=pass_all
   6711   ;;
   6712 
   6713 freebsd* | dragonfly*)
   6714   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6715     case $host_cpu in
   6716     i*86 )
   6717       # Not sure whether the presence of OpenBSD here was a mistake.
   6718       # Let's accept both of them until this is cleared up.
   6719       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6720       lt_cv_file_magic_cmd=/usr/bin/file
   6721       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6722       ;;
   6723     esac
   6724   else
   6725     lt_cv_deplibs_check_method=pass_all
   6726   fi
   6727   ;;
   6728 
   6729 haiku*)
   6730   lt_cv_deplibs_check_method=pass_all
   6731   ;;
   6732 
   6733 hpux10.20* | hpux11*)
   6734   lt_cv_file_magic_cmd=/usr/bin/file
   6735   case $host_cpu in
   6736   ia64*)
   6737     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6738     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6739     ;;
   6740   hppa*64*)
   6741     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]'
   6742     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6743     ;;
   6744   *)
   6745     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6746     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6747     ;;
   6748   esac
   6749   ;;
   6750 
   6751 interix[3-9]*)
   6752   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6753   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6754   ;;
   6755 
   6756 irix5* | irix6* | nonstopux*)
   6757   case $LD in
   6758   *-32|*"-32 ") libmagic=32-bit;;
   6759   *-n32|*"-n32 ") libmagic=N32;;
   6760   *-64|*"-64 ") libmagic=64-bit;;
   6761   *) libmagic=never-match;;
   6762   esac
   6763   lt_cv_deplibs_check_method=pass_all
   6764   ;;
   6765 
   6766 # This must be glibc/ELF.
   6767 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6768   lt_cv_deplibs_check_method=pass_all
   6769   ;;
   6770 
   6771 netbsd* | netbsdelf*-gnu)
   6772   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6773     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6774   else
   6775     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6776   fi
   6777   ;;
   6778 
   6779 newos6*)
   6780   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6781   lt_cv_file_magic_cmd=/usr/bin/file
   6782   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6783   ;;
   6784 
   6785 *nto* | *qnx*)
   6786   lt_cv_deplibs_check_method=pass_all
   6787   ;;
   6788 
   6789 openbsd*)
   6790   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6791     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6792   else
   6793     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6794   fi
   6795   ;;
   6796 
   6797 osf3* | osf4* | osf5*)
   6798   lt_cv_deplibs_check_method=pass_all
   6799   ;;
   6800 
   6801 rdos*)
   6802   lt_cv_deplibs_check_method=pass_all
   6803   ;;
   6804 
   6805 solaris*)
   6806   lt_cv_deplibs_check_method=pass_all
   6807   ;;
   6808 
   6809 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6810   lt_cv_deplibs_check_method=pass_all
   6811   ;;
   6812 
   6813 sysv4 | sysv4.3*)
   6814   case $host_vendor in
   6815   motorola)
   6816     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]'
   6817     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6818     ;;
   6819   ncr)
   6820     lt_cv_deplibs_check_method=pass_all
   6821     ;;
   6822   sequent)
   6823     lt_cv_file_magic_cmd='/bin/file'
   6824     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6825     ;;
   6826   sni)
   6827     lt_cv_file_magic_cmd='/bin/file'
   6828     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6829     lt_cv_file_magic_test_file=/lib/libc.so
   6830     ;;
   6831   siemens)
   6832     lt_cv_deplibs_check_method=pass_all
   6833     ;;
   6834   pc)
   6835     lt_cv_deplibs_check_method=pass_all
   6836     ;;
   6837   esac
   6838   ;;
   6839 
   6840 tpf*)
   6841   lt_cv_deplibs_check_method=pass_all
   6842   ;;
   6843 esac
   6844 
   6845 fi
   6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6847 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6848 
   6849 file_magic_glob=
   6850 want_nocaseglob=no
   6851 if test "$build" = "$host"; then
   6852   case $host_os in
   6853   mingw* | pw32*)
   6854     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6855       want_nocaseglob=yes
   6856     else
   6857       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6858     fi
   6859     ;;
   6860   esac
   6861 fi
   6862 
   6863 file_magic_cmd=$lt_cv_file_magic_cmd
   6864 deplibs_check_method=$lt_cv_deplibs_check_method
   6865 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 if test -n "$ac_tool_prefix"; then
   6889   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6890 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6892 $as_echo_n "checking for $ac_word... " >&6; }
   6893 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6894   $as_echo_n "(cached) " >&6
   6895 else
   6896   if test -n "$DLLTOOL"; then
   6897   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6898 else
   6899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6900 for as_dir in $PATH
   6901 do
   6902   IFS=$as_save_IFS
   6903   test -z "$as_dir" && as_dir=.
   6904     for ac_exec_ext in '' $ac_executable_extensions; do
   6905   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6906     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6908     break 2
   6909   fi
   6910 done
   6911   done
   6912 IFS=$as_save_IFS
   6913 
   6914 fi
   6915 fi
   6916 DLLTOOL=$ac_cv_prog_DLLTOOL
   6917 if test -n "$DLLTOOL"; then
   6918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6919 $as_echo "$DLLTOOL" >&6; }
   6920 else
   6921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6922 $as_echo "no" >&6; }
   6923 fi
   6924 
   6925 
   6926 fi
   6927 if test -z "$ac_cv_prog_DLLTOOL"; then
   6928   ac_ct_DLLTOOL=$DLLTOOL
   6929   # Extract the first word of "dlltool", so it can be a program name with args.
   6930 set dummy dlltool; 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_ac_ct_DLLTOOL+:} false; then :
   6934   $as_echo_n "(cached) " >&6
   6935 else
   6936   if test -n "$ac_ct_DLLTOOL"; then
   6937   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6946     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   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 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6957 if test -n "$ac_ct_DLLTOOL"; then
   6958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6959 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6960 else
   6961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6962 $as_echo "no" >&6; }
   6963 fi
   6964 
   6965   if test "x$ac_ct_DLLTOOL" = x; then
   6966     DLLTOOL="false"
   6967   else
   6968     case $cross_compiling:$ac_tool_warned in
   6969 yes:)
   6970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6972 ac_tool_warned=yes ;;
   6973 esac
   6974     DLLTOOL=$ac_ct_DLLTOOL
   6975   fi
   6976 else
   6977   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6978 fi
   6979 
   6980 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6992 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6993 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6994   $as_echo_n "(cached) " >&6
   6995 else
   6996   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6997 
   6998 case $host_os in
   6999 cygwin* | mingw* | pw32* | cegcc*)
   7000   # two different shell functions defined in ltmain.sh
   7001   # decide which to use based on capabilities of $DLLTOOL
   7002   case `$DLLTOOL --help 2>&1` in
   7003   *--identify-strict*)
   7004     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7005     ;;
   7006   *)
   7007     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7008     ;;
   7009   esac
   7010   ;;
   7011 *)
   7012   # fallback: assume linklib IS sharedlib
   7013   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   7014   ;;
   7015 esac
   7016 
   7017 fi
   7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7019 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7020 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7021 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 if test -n "$ac_tool_prefix"; then
   7031   for ac_prog in ar
   7032   do
   7033     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7036 $as_echo_n "checking for $ac_word... " >&6; }
   7037 if ${ac_cv_prog_AR+:} false; then :
   7038   $as_echo_n "(cached) " >&6
   7039 else
   7040   if test -n "$AR"; then
   7041   ac_cv_prog_AR="$AR" # Let the user override the test.
   7042 else
   7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7044 for as_dir in $PATH
   7045 do
   7046   IFS=$as_save_IFS
   7047   test -z "$as_dir" && as_dir=.
   7048     for ac_exec_ext in '' $ac_executable_extensions; do
   7049   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7050     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7052     break 2
   7053   fi
   7054 done
   7055   done
   7056 IFS=$as_save_IFS
   7057 
   7058 fi
   7059 fi
   7060 AR=$ac_cv_prog_AR
   7061 if test -n "$AR"; then
   7062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7063 $as_echo "$AR" >&6; }
   7064 else
   7065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7066 $as_echo "no" >&6; }
   7067 fi
   7068 
   7069 
   7070     test -n "$AR" && break
   7071   done
   7072 fi
   7073 if test -z "$AR"; then
   7074   ac_ct_AR=$AR
   7075   for ac_prog in ar
   7076 do
   7077   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7078 set dummy $ac_prog; ac_word=$2
   7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7080 $as_echo_n "checking for $ac_word... " >&6; }
   7081 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   7082   $as_echo_n "(cached) " >&6
   7083 else
   7084   if test -n "$ac_ct_AR"; then
   7085   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7086 else
   7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7088 for as_dir in $PATH
   7089 do
   7090   IFS=$as_save_IFS
   7091   test -z "$as_dir" && as_dir=.
   7092     for ac_exec_ext in '' $ac_executable_extensions; do
   7093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7094     ac_cv_prog_ac_ct_AR="$ac_prog"
   7095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7096     break 2
   7097   fi
   7098 done
   7099   done
   7100 IFS=$as_save_IFS
   7101 
   7102 fi
   7103 fi
   7104 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7105 if test -n "$ac_ct_AR"; then
   7106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7107 $as_echo "$ac_ct_AR" >&6; }
   7108 else
   7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7110 $as_echo "no" >&6; }
   7111 fi
   7112 
   7113 
   7114   test -n "$ac_ct_AR" && break
   7115 done
   7116 
   7117   if test "x$ac_ct_AR" = x; then
   7118     AR="false"
   7119   else
   7120     case $cross_compiling:$ac_tool_warned in
   7121 yes:)
   7122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7124 ac_tool_warned=yes ;;
   7125 esac
   7126     AR=$ac_ct_AR
   7127   fi
   7128 fi
   7129 
   7130 : ${AR=ar}
   7131 : ${AR_FLAGS=cru}
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7144 $as_echo_n "checking for archiver @FILE support... " >&6; }
   7145 if ${lt_cv_ar_at_file+:} false; then :
   7146   $as_echo_n "(cached) " >&6
   7147 else
   7148   lt_cv_ar_at_file=no
   7149    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7150 /* end confdefs.h.  */
   7151 
   7152 int
   7153 main ()
   7154 {
   7155 
   7156   ;
   7157   return 0;
   7158 }
   7159 _ACEOF
   7160 if ac_fn_c_try_compile "$LINENO"; then :
   7161   echo conftest.$ac_objext > conftest.lst
   7162       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7163       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7164   (eval $lt_ar_try) 2>&5
   7165   ac_status=$?
   7166   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7167   test $ac_status = 0; }
   7168       if test "$ac_status" -eq 0; then
   7169 	# Ensure the archiver fails upon bogus file names.
   7170 	rm -f conftest.$ac_objext libconftest.a
   7171 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7172   (eval $lt_ar_try) 2>&5
   7173   ac_status=$?
   7174   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7175   test $ac_status = 0; }
   7176 	if test "$ac_status" -ne 0; then
   7177           lt_cv_ar_at_file=@
   7178         fi
   7179       fi
   7180       rm -f conftest.* libconftest.a
   7181 
   7182 fi
   7183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7184 
   7185 fi
   7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7187 $as_echo "$lt_cv_ar_at_file" >&6; }
   7188 
   7189 if test "x$lt_cv_ar_at_file" = xno; then
   7190   archiver_list_spec=
   7191 else
   7192   archiver_list_spec=$lt_cv_ar_at_file
   7193 fi
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 if test -n "$ac_tool_prefix"; then
   7202   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7203 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7205 $as_echo_n "checking for $ac_word... " >&6; }
   7206 if ${ac_cv_prog_STRIP+:} false; then :
   7207   $as_echo_n "(cached) " >&6
   7208 else
   7209   if test -n "$STRIP"; then
   7210   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7211 else
   7212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7213 for as_dir in $PATH
   7214 do
   7215   IFS=$as_save_IFS
   7216   test -z "$as_dir" && as_dir=.
   7217     for ac_exec_ext in '' $ac_executable_extensions; do
   7218   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7219     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7221     break 2
   7222   fi
   7223 done
   7224   done
   7225 IFS=$as_save_IFS
   7226 
   7227 fi
   7228 fi
   7229 STRIP=$ac_cv_prog_STRIP
   7230 if test -n "$STRIP"; then
   7231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7232 $as_echo "$STRIP" >&6; }
   7233 else
   7234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7235 $as_echo "no" >&6; }
   7236 fi
   7237 
   7238 
   7239 fi
   7240 if test -z "$ac_cv_prog_STRIP"; then
   7241   ac_ct_STRIP=$STRIP
   7242   # Extract the first word of "strip", so it can be a program name with args.
   7243 set dummy strip; ac_word=$2
   7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7245 $as_echo_n "checking for $ac_word... " >&6; }
   7246 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   7247   $as_echo_n "(cached) " >&6
   7248 else
   7249   if test -n "$ac_ct_STRIP"; then
   7250   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7251 else
   7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7253 for as_dir in $PATH
   7254 do
   7255   IFS=$as_save_IFS
   7256   test -z "$as_dir" && as_dir=.
   7257     for ac_exec_ext in '' $ac_executable_extensions; do
   7258   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7259     ac_cv_prog_ac_ct_STRIP="strip"
   7260     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7261     break 2
   7262   fi
   7263 done
   7264   done
   7265 IFS=$as_save_IFS
   7266 
   7267 fi
   7268 fi
   7269 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7270 if test -n "$ac_ct_STRIP"; then
   7271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7272 $as_echo "$ac_ct_STRIP" >&6; }
   7273 else
   7274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7275 $as_echo "no" >&6; }
   7276 fi
   7277 
   7278   if test "x$ac_ct_STRIP" = x; then
   7279     STRIP=":"
   7280   else
   7281     case $cross_compiling:$ac_tool_warned in
   7282 yes:)
   7283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7285 ac_tool_warned=yes ;;
   7286 esac
   7287     STRIP=$ac_ct_STRIP
   7288   fi
   7289 else
   7290   STRIP="$ac_cv_prog_STRIP"
   7291 fi
   7292 
   7293 test -z "$STRIP" && STRIP=:
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 if test -n "$ac_tool_prefix"; then
   7301   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7302 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7304 $as_echo_n "checking for $ac_word... " >&6; }
   7305 if ${ac_cv_prog_RANLIB+:} false; then :
   7306   $as_echo_n "(cached) " >&6
   7307 else
   7308   if test -n "$RANLIB"; then
   7309   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7310 else
   7311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7312 for as_dir in $PATH
   7313 do
   7314   IFS=$as_save_IFS
   7315   test -z "$as_dir" && as_dir=.
   7316     for ac_exec_ext in '' $ac_executable_extensions; do
   7317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7318     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7320     break 2
   7321   fi
   7322 done
   7323   done
   7324 IFS=$as_save_IFS
   7325 
   7326 fi
   7327 fi
   7328 RANLIB=$ac_cv_prog_RANLIB
   7329 if test -n "$RANLIB"; then
   7330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7331 $as_echo "$RANLIB" >&6; }
   7332 else
   7333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7334 $as_echo "no" >&6; }
   7335 fi
   7336 
   7337 
   7338 fi
   7339 if test -z "$ac_cv_prog_RANLIB"; then
   7340   ac_ct_RANLIB=$RANLIB
   7341   # Extract the first word of "ranlib", so it can be a program name with args.
   7342 set dummy ranlib; ac_word=$2
   7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7344 $as_echo_n "checking for $ac_word... " >&6; }
   7345 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7346   $as_echo_n "(cached) " >&6
   7347 else
   7348   if test -n "$ac_ct_RANLIB"; then
   7349   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7350 else
   7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7352 for as_dir in $PATH
   7353 do
   7354   IFS=$as_save_IFS
   7355   test -z "$as_dir" && as_dir=.
   7356     for ac_exec_ext in '' $ac_executable_extensions; do
   7357   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7358     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7360     break 2
   7361   fi
   7362 done
   7363   done
   7364 IFS=$as_save_IFS
   7365 
   7366 fi
   7367 fi
   7368 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7369 if test -n "$ac_ct_RANLIB"; then
   7370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7371 $as_echo "$ac_ct_RANLIB" >&6; }
   7372 else
   7373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7374 $as_echo "no" >&6; }
   7375 fi
   7376 
   7377   if test "x$ac_ct_RANLIB" = x; then
   7378     RANLIB=":"
   7379   else
   7380     case $cross_compiling:$ac_tool_warned in
   7381 yes:)
   7382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7384 ac_tool_warned=yes ;;
   7385 esac
   7386     RANLIB=$ac_ct_RANLIB
   7387   fi
   7388 else
   7389   RANLIB="$ac_cv_prog_RANLIB"
   7390 fi
   7391 
   7392 test -z "$RANLIB" && RANLIB=:
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 # Determine commands to create old-style static archives.
   7400 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7401 old_postinstall_cmds='chmod 644 $oldlib'
   7402 old_postuninstall_cmds=
   7403 
   7404 if test -n "$RANLIB"; then
   7405   case $host_os in
   7406   openbsd*)
   7407     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7408     ;;
   7409   *)
   7410     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7411     ;;
   7412   esac
   7413   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7414 fi
   7415 
   7416 case $host_os in
   7417   darwin*)
   7418     lock_old_archive_extraction=yes ;;
   7419   *)
   7420     lock_old_archive_extraction=no ;;
   7421 esac
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 # If no C compiler was specified, use CC.
   7462 LTCC=${LTCC-"$CC"}
   7463 
   7464 # If no C compiler flags were specified, use CFLAGS.
   7465 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7466 
   7467 # Allow CC to be a program name with arguments.
   7468 compiler=$CC
   7469 
   7470 
   7471 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7473 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7474 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7475   $as_echo_n "(cached) " >&6
   7476 else
   7477 
   7478 # These are sane defaults that work on at least a few old systems.
   7479 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7480 
   7481 # Character class describing NM global symbol codes.
   7482 symcode='[BCDEGRST]'
   7483 
   7484 # Regexp to match symbols that can be accessed directly from C.
   7485 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7486 
   7487 # Define system-specific variables.
   7488 case $host_os in
   7489 aix*)
   7490   symcode='[BCDT]'
   7491   ;;
   7492 cygwin* | mingw* | pw32* | cegcc*)
   7493   symcode='[ABCDGISTW]'
   7494   ;;
   7495 hpux*)
   7496   if test "$host_cpu" = ia64; then
   7497     symcode='[ABCDEGRST]'
   7498   fi
   7499   ;;
   7500 irix* | nonstopux*)
   7501   symcode='[BCDEGRST]'
   7502   ;;
   7503 osf*)
   7504   symcode='[BCDEGQRST]'
   7505   ;;
   7506 solaris*)
   7507   symcode='[BDRT]'
   7508   ;;
   7509 sco3.2v5*)
   7510   symcode='[DT]'
   7511   ;;
   7512 sysv4.2uw2*)
   7513   symcode='[DT]'
   7514   ;;
   7515 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7516   symcode='[ABDT]'
   7517   ;;
   7518 sysv4)
   7519   symcode='[DFNSTU]'
   7520   ;;
   7521 esac
   7522 
   7523 # If we're using GNU nm, then use its standard symbol codes.
   7524 case `$NM -V 2>&1` in
   7525 *GNU* | *'with BFD'*)
   7526   symcode='[ABCDGIRSTW]' ;;
   7527 esac
   7528 
   7529 # Transform an extracted symbol line into a proper C declaration.
   7530 # Some systems (esp. on ia64) link data and code symbols differently,
   7531 # so use this general approach.
   7532 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7533 
   7534 # Transform an extracted symbol line into symbol name and symbol address
   7535 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7536 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'"
   7537 
   7538 # Handle CRLF in mingw tool chain
   7539 opt_cr=
   7540 case $build_os in
   7541 mingw*)
   7542   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7543   ;;
   7544 esac
   7545 
   7546 # Try without a prefix underscore, then with it.
   7547 for ac_symprfx in "" "_"; do
   7548 
   7549   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7550   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7551 
   7552   # Write the raw and C identifiers.
   7553   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7554     # Fake it for dumpbin and say T for any non-static function
   7555     # and D for any global variable.
   7556     # Also find C++ and __fastcall symbols from MSVC++,
   7557     # which start with @ or ?.
   7558     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7559 "     {last_section=section; section=\$ 3};"\
   7560 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7561 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7562 "     \$ 0!~/External *\|/{next};"\
   7563 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7564 "     {if(hide[section]) next};"\
   7565 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7566 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7567 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7568 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7569 "     ' prfx=^$ac_symprfx"
   7570   else
   7571     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7572   fi
   7573   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   7574 
   7575   # Check to see that the pipe works correctly.
   7576   pipe_works=no
   7577 
   7578   rm -f conftest*
   7579   cat > conftest.$ac_ext <<_LT_EOF
   7580 #ifdef __cplusplus
   7581 extern "C" {
   7582 #endif
   7583 char nm_test_var;
   7584 void nm_test_func(void);
   7585 void nm_test_func(void){}
   7586 #ifdef __cplusplus
   7587 }
   7588 #endif
   7589 int main(){nm_test_var='a';nm_test_func();return(0);}
   7590 _LT_EOF
   7591 
   7592   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7593   (eval $ac_compile) 2>&5
   7594   ac_status=$?
   7595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7596   test $ac_status = 0; }; then
   7597     # Now try to grab the symbols.
   7598     nlist=conftest.nm
   7599     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7600   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7601   ac_status=$?
   7602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7603   test $ac_status = 0; } && test -s "$nlist"; then
   7604       # Try sorting and uniquifying the output.
   7605       if sort "$nlist" | uniq > "$nlist"T; then
   7606 	mv -f "$nlist"T "$nlist"
   7607       else
   7608 	rm -f "$nlist"T
   7609       fi
   7610 
   7611       # Make sure that we snagged all the symbols we need.
   7612       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7613 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7614 	  cat <<_LT_EOF > conftest.$ac_ext
   7615 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7616 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   7617 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   7618    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7619 # define LT_DLSYM_CONST
   7620 #elif defined(__osf__)
   7621 /* This system does not cope well with relocations in const data.  */
   7622 # define LT_DLSYM_CONST
   7623 #else
   7624 # define LT_DLSYM_CONST const
   7625 #endif
   7626 
   7627 #ifdef __cplusplus
   7628 extern "C" {
   7629 #endif
   7630 
   7631 _LT_EOF
   7632 	  # Now generate the symbol file.
   7633 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7634 
   7635 	  cat <<_LT_EOF >> conftest.$ac_ext
   7636 
   7637 /* The mapping between symbol names and symbols.  */
   7638 LT_DLSYM_CONST struct {
   7639   const char *name;
   7640   void       *address;
   7641 }
   7642 lt__PROGRAM__LTX_preloaded_symbols[] =
   7643 {
   7644   { "@PROGRAM@", (void *) 0 },
   7645 _LT_EOF
   7646 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7647 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7648   {0, (void *) 0}
   7649 };
   7650 
   7651 /* This works around a problem in FreeBSD linker */
   7652 #ifdef FREEBSD_WORKAROUND
   7653 static const void *lt_preloaded_setup() {
   7654   return lt__PROGRAM__LTX_preloaded_symbols;
   7655 }
   7656 #endif
   7657 
   7658 #ifdef __cplusplus
   7659 }
   7660 #endif
   7661 _LT_EOF
   7662 	  # Now try linking the two files.
   7663 	  mv conftest.$ac_objext conftstm.$ac_objext
   7664 	  lt_globsym_save_LIBS=$LIBS
   7665 	  lt_globsym_save_CFLAGS=$CFLAGS
   7666 	  LIBS="conftstm.$ac_objext"
   7667 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7668 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7669   (eval $ac_link) 2>&5
   7670   ac_status=$?
   7671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7672   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7673 	    pipe_works=yes
   7674 	  fi
   7675 	  LIBS=$lt_globsym_save_LIBS
   7676 	  CFLAGS=$lt_globsym_save_CFLAGS
   7677 	else
   7678 	  echo "cannot find nm_test_func in $nlist" >&5
   7679 	fi
   7680       else
   7681 	echo "cannot find nm_test_var in $nlist" >&5
   7682       fi
   7683     else
   7684       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7685     fi
   7686   else
   7687     echo "$progname: failed program was:" >&5
   7688     cat conftest.$ac_ext >&5
   7689   fi
   7690   rm -rf conftest* conftst*
   7691 
   7692   # Do not use the global_symbol_pipe unless it works.
   7693   if test "$pipe_works" = yes; then
   7694     break
   7695   else
   7696     lt_cv_sys_global_symbol_pipe=
   7697   fi
   7698 done
   7699 
   7700 fi
   7701 
   7702 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7703   lt_cv_sys_global_symbol_to_cdecl=
   7704 fi
   7705 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7707 $as_echo "failed" >&6; }
   7708 else
   7709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7710 $as_echo "ok" >&6; }
   7711 fi
   7712 
   7713 # Response file support.
   7714 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7715   nm_file_list_spec='@'
   7716 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7717   nm_file_list_spec='@'
   7718 fi
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7747 $as_echo_n "checking for sysroot... " >&6; }
   7748 
   7749 # Check whether --with-sysroot was given.
   7750 if test "${with_sysroot+set}" = set; then :
   7751   withval=$with_sysroot;
   7752 else
   7753   with_sysroot=no
   7754 fi
   7755 
   7756 
   7757 lt_sysroot=
   7758 case ${with_sysroot} in #(
   7759  yes)
   7760    if test "$GCC" = yes; then
   7761      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7762    fi
   7763    ;; #(
   7764  /*)
   7765    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7766    ;; #(
   7767  no|'')
   7768    ;; #(
   7769  *)
   7770    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   7771 $as_echo "${with_sysroot}" >&6; }
   7772    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7773    ;;
   7774 esac
   7775 
   7776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7777 $as_echo "${lt_sysroot:-no}" >&6; }
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 # Check whether --enable-libtool-lock was given.
   7784 if test "${enable_libtool_lock+set}" = set; then :
   7785   enableval=$enable_libtool_lock;
   7786 fi
   7787 
   7788 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7789 
   7790 # Some flags need to be propagated to the compiler or linker for good
   7791 # libtool support.
   7792 case $host in
   7793 ia64-*-hpux*)
   7794   # Find out which ABI we are using.
   7795   echo 'int i;' > conftest.$ac_ext
   7796   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7797   (eval $ac_compile) 2>&5
   7798   ac_status=$?
   7799   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7800   test $ac_status = 0; }; then
   7801     case `/usr/bin/file conftest.$ac_objext` in
   7802       *ELF-32*)
   7803 	HPUX_IA64_MODE="32"
   7804 	;;
   7805       *ELF-64*)
   7806 	HPUX_IA64_MODE="64"
   7807 	;;
   7808     esac
   7809   fi
   7810   rm -rf conftest*
   7811   ;;
   7812 *-*-irix6*)
   7813   # Find out which ABI we are using.
   7814   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7815   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7816   (eval $ac_compile) 2>&5
   7817   ac_status=$?
   7818   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7819   test $ac_status = 0; }; then
   7820     if test "$lt_cv_prog_gnu_ld" = yes; then
   7821       case `/usr/bin/file conftest.$ac_objext` in
   7822 	*32-bit*)
   7823 	  LD="${LD-ld} -melf32bsmip"
   7824 	  ;;
   7825 	*N32*)
   7826 	  LD="${LD-ld} -melf32bmipn32"
   7827 	  ;;
   7828 	*64-bit*)
   7829 	  LD="${LD-ld} -melf64bmip"
   7830 	;;
   7831       esac
   7832     else
   7833       case `/usr/bin/file conftest.$ac_objext` in
   7834 	*32-bit*)
   7835 	  LD="${LD-ld} -32"
   7836 	  ;;
   7837 	*N32*)
   7838 	  LD="${LD-ld} -n32"
   7839 	  ;;
   7840 	*64-bit*)
   7841 	  LD="${LD-ld} -64"
   7842 	  ;;
   7843       esac
   7844     fi
   7845   fi
   7846   rm -rf conftest*
   7847   ;;
   7848 
   7849 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7850 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7851   # Find out which ABI we are using.
   7852   echo 'int i;' > conftest.$ac_ext
   7853   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7854   (eval $ac_compile) 2>&5
   7855   ac_status=$?
   7856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7857   test $ac_status = 0; }; then
   7858     case `/usr/bin/file conftest.o` in
   7859       *32-bit*)
   7860 	case $host in
   7861 	  x86_64-*kfreebsd*-gnu)
   7862 	    LD="${LD-ld} -m elf_i386_fbsd"
   7863 	    ;;
   7864 	  x86_64-*linux*)
   7865 	    case `/usr/bin/file conftest.o` in
   7866 	      *x86-64*)
   7867 		LD="${LD-ld} -m elf32_x86_64"
   7868 		;;
   7869 	      *)
   7870 		LD="${LD-ld} -m elf_i386"
   7871 		;;
   7872 	    esac
   7873 	    ;;
   7874 	  powerpc64le-*)
   7875 	    LD="${LD-ld} -m elf32lppclinux"
   7876 	    ;;
   7877 	  powerpc64-*)
   7878 	    LD="${LD-ld} -m elf32ppclinux"
   7879 	    ;;
   7880 	  s390x-*linux*)
   7881 	    LD="${LD-ld} -m elf_s390"
   7882 	    ;;
   7883 	  sparc64-*linux*)
   7884 	    LD="${LD-ld} -m elf32_sparc"
   7885 	    ;;
   7886 	esac
   7887 	;;
   7888       *64-bit*)
   7889 	case $host in
   7890 	  x86_64-*kfreebsd*-gnu)
   7891 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7892 	    ;;
   7893 	  x86_64-*linux*)
   7894 	    LD="${LD-ld} -m elf_x86_64"
   7895 	    ;;
   7896 	  powerpcle-*)
   7897 	    LD="${LD-ld} -m elf64lppc"
   7898 	    ;;
   7899 	  powerpc-*)
   7900 	    LD="${LD-ld} -m elf64ppc"
   7901 	    ;;
   7902 	  s390*-*linux*|s390*-*tpf*)
   7903 	    LD="${LD-ld} -m elf64_s390"
   7904 	    ;;
   7905 	  sparc*-*linux*)
   7906 	    LD="${LD-ld} -m elf64_sparc"
   7907 	    ;;
   7908 	esac
   7909 	;;
   7910     esac
   7911   fi
   7912   rm -rf conftest*
   7913   ;;
   7914 
   7915 *-*-sco3.2v5*)
   7916   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7917   SAVE_CFLAGS="$CFLAGS"
   7918   CFLAGS="$CFLAGS -belf"
   7919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7920 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7921 if ${lt_cv_cc_needs_belf+:} false; then :
   7922   $as_echo_n "(cached) " >&6
   7923 else
   7924   ac_ext=c
   7925 ac_cpp='$CPP $CPPFLAGS'
   7926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7929 
   7930      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7931 /* end confdefs.h.  */
   7932 
   7933 int
   7934 main ()
   7935 {
   7936 
   7937   ;
   7938   return 0;
   7939 }
   7940 _ACEOF
   7941 if ac_fn_c_try_link "$LINENO"; then :
   7942   lt_cv_cc_needs_belf=yes
   7943 else
   7944   lt_cv_cc_needs_belf=no
   7945 fi
   7946 rm -f core conftest.err conftest.$ac_objext \
   7947     conftest$ac_exeext conftest.$ac_ext
   7948      ac_ext=c
   7949 ac_cpp='$CPP $CPPFLAGS'
   7950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7953 
   7954 fi
   7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7956 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7957   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7958     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7959     CFLAGS="$SAVE_CFLAGS"
   7960   fi
   7961   ;;
   7962 *-*solaris*)
   7963   # Find out which ABI we are using.
   7964   echo 'int i;' > conftest.$ac_ext
   7965   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7966   (eval $ac_compile) 2>&5
   7967   ac_status=$?
   7968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7969   test $ac_status = 0; }; then
   7970     case `/usr/bin/file conftest.o` in
   7971     *64-bit*)
   7972       case $lt_cv_prog_gnu_ld in
   7973       yes*)
   7974         case $host in
   7975         i?86-*-solaris*)
   7976           LD="${LD-ld} -m elf_x86_64"
   7977           ;;
   7978         sparc*-*-solaris*)
   7979           LD="${LD-ld} -m elf64_sparc"
   7980           ;;
   7981         esac
   7982         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7983         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7984           LD="${LD-ld}_sol2"
   7985         fi
   7986         ;;
   7987       *)
   7988 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7989 	  LD="${LD-ld} -64"
   7990 	fi
   7991 	;;
   7992       esac
   7993       ;;
   7994     esac
   7995   fi
   7996   rm -rf conftest*
   7997   ;;
   7998 esac
   7999 
   8000 need_locks="$enable_libtool_lock"
   8001 
   8002 if test -n "$ac_tool_prefix"; then
   8003   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8004 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8006 $as_echo_n "checking for $ac_word... " >&6; }
   8007 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   8008   $as_echo_n "(cached) " >&6
   8009 else
   8010   if test -n "$MANIFEST_TOOL"; then
   8011   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8012 else
   8013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8014 for as_dir in $PATH
   8015 do
   8016   IFS=$as_save_IFS
   8017   test -z "$as_dir" && as_dir=.
   8018     for ac_exec_ext in '' $ac_executable_extensions; do
   8019   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8020     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8022     break 2
   8023   fi
   8024 done
   8025   done
   8026 IFS=$as_save_IFS
   8027 
   8028 fi
   8029 fi
   8030 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8031 if test -n "$MANIFEST_TOOL"; then
   8032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8033 $as_echo "$MANIFEST_TOOL" >&6; }
   8034 else
   8035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8036 $as_echo "no" >&6; }
   8037 fi
   8038 
   8039 
   8040 fi
   8041 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8042   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8043   # Extract the first word of "mt", so it can be a program name with args.
   8044 set dummy mt; ac_word=$2
   8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8046 $as_echo_n "checking for $ac_word... " >&6; }
   8047 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   8048   $as_echo_n "(cached) " >&6
   8049 else
   8050   if test -n "$ac_ct_MANIFEST_TOOL"; then
   8051   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8052 else
   8053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8054 for as_dir in $PATH
   8055 do
   8056   IFS=$as_save_IFS
   8057   test -z "$as_dir" && as_dir=.
   8058     for ac_exec_ext in '' $ac_executable_extensions; do
   8059   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8060     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8062     break 2
   8063   fi
   8064 done
   8065   done
   8066 IFS=$as_save_IFS
   8067 
   8068 fi
   8069 fi
   8070 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8071 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8073 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   8074 else
   8075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8076 $as_echo "no" >&6; }
   8077 fi
   8078 
   8079   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8080     MANIFEST_TOOL=":"
   8081   else
   8082     case $cross_compiling:$ac_tool_warned in
   8083 yes:)
   8084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8086 ac_tool_warned=yes ;;
   8087 esac
   8088     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8089   fi
   8090 else
   8091   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8092 fi
   8093 
   8094 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8096 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8097 if ${lt_cv_path_mainfest_tool+:} false; then :
   8098   $as_echo_n "(cached) " >&6
   8099 else
   8100   lt_cv_path_mainfest_tool=no
   8101   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8102   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8103   cat conftest.err >&5
   8104   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8105     lt_cv_path_mainfest_tool=yes
   8106   fi
   8107   rm -f conftest*
   8108 fi
   8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   8110 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   8111 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   8112   MANIFEST_TOOL=:
   8113 fi
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 
   8120   case $host_os in
   8121     rhapsody* | darwin*)
   8122     if test -n "$ac_tool_prefix"; then
   8123   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8124 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8126 $as_echo_n "checking for $ac_word... " >&6; }
   8127 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   8128   $as_echo_n "(cached) " >&6
   8129 else
   8130   if test -n "$DSYMUTIL"; then
   8131   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8132 else
   8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8134 for as_dir in $PATH
   8135 do
   8136   IFS=$as_save_IFS
   8137   test -z "$as_dir" && as_dir=.
   8138     for ac_exec_ext in '' $ac_executable_extensions; do
   8139   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8140     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8141     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8142     break 2
   8143   fi
   8144 done
   8145   done
   8146 IFS=$as_save_IFS
   8147 
   8148 fi
   8149 fi
   8150 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8151 if test -n "$DSYMUTIL"; then
   8152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8153 $as_echo "$DSYMUTIL" >&6; }
   8154 else
   8155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8156 $as_echo "no" >&6; }
   8157 fi
   8158 
   8159 
   8160 fi
   8161 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8162   ac_ct_DSYMUTIL=$DSYMUTIL
   8163   # Extract the first word of "dsymutil", so it can be a program name with args.
   8164 set dummy dsymutil; ac_word=$2
   8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8166 $as_echo_n "checking for $ac_word... " >&6; }
   8167 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   8168   $as_echo_n "(cached) " >&6
   8169 else
   8170   if test -n "$ac_ct_DSYMUTIL"; then
   8171   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8172 else
   8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8174 for as_dir in $PATH
   8175 do
   8176   IFS=$as_save_IFS
   8177   test -z "$as_dir" && as_dir=.
   8178     for ac_exec_ext in '' $ac_executable_extensions; do
   8179   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8180     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8181     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8182     break 2
   8183   fi
   8184 done
   8185   done
   8186 IFS=$as_save_IFS
   8187 
   8188 fi
   8189 fi
   8190 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8191 if test -n "$ac_ct_DSYMUTIL"; then
   8192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8193 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   8194 else
   8195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8196 $as_echo "no" >&6; }
   8197 fi
   8198 
   8199   if test "x$ac_ct_DSYMUTIL" = x; then
   8200     DSYMUTIL=":"
   8201   else
   8202     case $cross_compiling:$ac_tool_warned in
   8203 yes:)
   8204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8206 ac_tool_warned=yes ;;
   8207 esac
   8208     DSYMUTIL=$ac_ct_DSYMUTIL
   8209   fi
   8210 else
   8211   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8212 fi
   8213 
   8214     if test -n "$ac_tool_prefix"; then
   8215   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8216 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8218 $as_echo_n "checking for $ac_word... " >&6; }
   8219 if ${ac_cv_prog_NMEDIT+:} false; then :
   8220   $as_echo_n "(cached) " >&6
   8221 else
   8222   if test -n "$NMEDIT"; then
   8223   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8224 else
   8225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8226 for as_dir in $PATH
   8227 do
   8228   IFS=$as_save_IFS
   8229   test -z "$as_dir" && as_dir=.
   8230     for ac_exec_ext in '' $ac_executable_extensions; do
   8231   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8232     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8234     break 2
   8235   fi
   8236 done
   8237   done
   8238 IFS=$as_save_IFS
   8239 
   8240 fi
   8241 fi
   8242 NMEDIT=$ac_cv_prog_NMEDIT
   8243 if test -n "$NMEDIT"; then
   8244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8245 $as_echo "$NMEDIT" >&6; }
   8246 else
   8247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8248 $as_echo "no" >&6; }
   8249 fi
   8250 
   8251 
   8252 fi
   8253 if test -z "$ac_cv_prog_NMEDIT"; then
   8254   ac_ct_NMEDIT=$NMEDIT
   8255   # Extract the first word of "nmedit", so it can be a program name with args.
   8256 set dummy nmedit; ac_word=$2
   8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8258 $as_echo_n "checking for $ac_word... " >&6; }
   8259 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   8260   $as_echo_n "(cached) " >&6
   8261 else
   8262   if test -n "$ac_ct_NMEDIT"; then
   8263   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8264 else
   8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8266 for as_dir in $PATH
   8267 do
   8268   IFS=$as_save_IFS
   8269   test -z "$as_dir" && as_dir=.
   8270     for ac_exec_ext in '' $ac_executable_extensions; do
   8271   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8272     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8274     break 2
   8275   fi
   8276 done
   8277   done
   8278 IFS=$as_save_IFS
   8279 
   8280 fi
   8281 fi
   8282 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8283 if test -n "$ac_ct_NMEDIT"; then
   8284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8285 $as_echo "$ac_ct_NMEDIT" >&6; }
   8286 else
   8287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8288 $as_echo "no" >&6; }
   8289 fi
   8290 
   8291   if test "x$ac_ct_NMEDIT" = x; then
   8292     NMEDIT=":"
   8293   else
   8294     case $cross_compiling:$ac_tool_warned in
   8295 yes:)
   8296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8298 ac_tool_warned=yes ;;
   8299 esac
   8300     NMEDIT=$ac_ct_NMEDIT
   8301   fi
   8302 else
   8303   NMEDIT="$ac_cv_prog_NMEDIT"
   8304 fi
   8305 
   8306     if test -n "$ac_tool_prefix"; then
   8307   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8308 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8310 $as_echo_n "checking for $ac_word... " >&6; }
   8311 if ${ac_cv_prog_LIPO+:} false; then :
   8312   $as_echo_n "(cached) " >&6
   8313 else
   8314   if test -n "$LIPO"; then
   8315   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8316 else
   8317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8318 for as_dir in $PATH
   8319 do
   8320   IFS=$as_save_IFS
   8321   test -z "$as_dir" && as_dir=.
   8322     for ac_exec_ext in '' $ac_executable_extensions; do
   8323   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8324     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8326     break 2
   8327   fi
   8328 done
   8329   done
   8330 IFS=$as_save_IFS
   8331 
   8332 fi
   8333 fi
   8334 LIPO=$ac_cv_prog_LIPO
   8335 if test -n "$LIPO"; then
   8336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8337 $as_echo "$LIPO" >&6; }
   8338 else
   8339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8340 $as_echo "no" >&6; }
   8341 fi
   8342 
   8343 
   8344 fi
   8345 if test -z "$ac_cv_prog_LIPO"; then
   8346   ac_ct_LIPO=$LIPO
   8347   # Extract the first word of "lipo", so it can be a program name with args.
   8348 set dummy lipo; ac_word=$2
   8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8350 $as_echo_n "checking for $ac_word... " >&6; }
   8351 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   8352   $as_echo_n "(cached) " >&6
   8353 else
   8354   if test -n "$ac_ct_LIPO"; then
   8355   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8356 else
   8357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8358 for as_dir in $PATH
   8359 do
   8360   IFS=$as_save_IFS
   8361   test -z "$as_dir" && as_dir=.
   8362     for ac_exec_ext in '' $ac_executable_extensions; do
   8363   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8364     ac_cv_prog_ac_ct_LIPO="lipo"
   8365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8366     break 2
   8367   fi
   8368 done
   8369   done
   8370 IFS=$as_save_IFS
   8371 
   8372 fi
   8373 fi
   8374 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8375 if test -n "$ac_ct_LIPO"; then
   8376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8377 $as_echo "$ac_ct_LIPO" >&6; }
   8378 else
   8379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8380 $as_echo "no" >&6; }
   8381 fi
   8382 
   8383   if test "x$ac_ct_LIPO" = x; then
   8384     LIPO=":"
   8385   else
   8386     case $cross_compiling:$ac_tool_warned in
   8387 yes:)
   8388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8390 ac_tool_warned=yes ;;
   8391 esac
   8392     LIPO=$ac_ct_LIPO
   8393   fi
   8394 else
   8395   LIPO="$ac_cv_prog_LIPO"
   8396 fi
   8397 
   8398     if test -n "$ac_tool_prefix"; then
   8399   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8400 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8402 $as_echo_n "checking for $ac_word... " >&6; }
   8403 if ${ac_cv_prog_OTOOL+:} false; then :
   8404   $as_echo_n "(cached) " >&6
   8405 else
   8406   if test -n "$OTOOL"; then
   8407   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8408 else
   8409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8410 for as_dir in $PATH
   8411 do
   8412   IFS=$as_save_IFS
   8413   test -z "$as_dir" && as_dir=.
   8414     for ac_exec_ext in '' $ac_executable_extensions; do
   8415   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8416     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8418     break 2
   8419   fi
   8420 done
   8421   done
   8422 IFS=$as_save_IFS
   8423 
   8424 fi
   8425 fi
   8426 OTOOL=$ac_cv_prog_OTOOL
   8427 if test -n "$OTOOL"; then
   8428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8429 $as_echo "$OTOOL" >&6; }
   8430 else
   8431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8432 $as_echo "no" >&6; }
   8433 fi
   8434 
   8435 
   8436 fi
   8437 if test -z "$ac_cv_prog_OTOOL"; then
   8438   ac_ct_OTOOL=$OTOOL
   8439   # Extract the first word of "otool", so it can be a program name with args.
   8440 set dummy otool; ac_word=$2
   8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8442 $as_echo_n "checking for $ac_word... " >&6; }
   8443 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8444   $as_echo_n "(cached) " >&6
   8445 else
   8446   if test -n "$ac_ct_OTOOL"; then
   8447   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8448 else
   8449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8450 for as_dir in $PATH
   8451 do
   8452   IFS=$as_save_IFS
   8453   test -z "$as_dir" && as_dir=.
   8454     for ac_exec_ext in '' $ac_executable_extensions; do
   8455   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8456     ac_cv_prog_ac_ct_OTOOL="otool"
   8457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8458     break 2
   8459   fi
   8460 done
   8461   done
   8462 IFS=$as_save_IFS
   8463 
   8464 fi
   8465 fi
   8466 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8467 if test -n "$ac_ct_OTOOL"; then
   8468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8469 $as_echo "$ac_ct_OTOOL" >&6; }
   8470 else
   8471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8472 $as_echo "no" >&6; }
   8473 fi
   8474 
   8475   if test "x$ac_ct_OTOOL" = x; then
   8476     OTOOL=":"
   8477   else
   8478     case $cross_compiling:$ac_tool_warned in
   8479 yes:)
   8480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8482 ac_tool_warned=yes ;;
   8483 esac
   8484     OTOOL=$ac_ct_OTOOL
   8485   fi
   8486 else
   8487   OTOOL="$ac_cv_prog_OTOOL"
   8488 fi
   8489 
   8490     if test -n "$ac_tool_prefix"; then
   8491   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8492 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8494 $as_echo_n "checking for $ac_word... " >&6; }
   8495 if ${ac_cv_prog_OTOOL64+:} false; then :
   8496   $as_echo_n "(cached) " >&6
   8497 else
   8498   if test -n "$OTOOL64"; then
   8499   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8500 else
   8501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8502 for as_dir in $PATH
   8503 do
   8504   IFS=$as_save_IFS
   8505   test -z "$as_dir" && as_dir=.
   8506     for ac_exec_ext in '' $ac_executable_extensions; do
   8507   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8508     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8510     break 2
   8511   fi
   8512 done
   8513   done
   8514 IFS=$as_save_IFS
   8515 
   8516 fi
   8517 fi
   8518 OTOOL64=$ac_cv_prog_OTOOL64
   8519 if test -n "$OTOOL64"; then
   8520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8521 $as_echo "$OTOOL64" >&6; }
   8522 else
   8523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8524 $as_echo "no" >&6; }
   8525 fi
   8526 
   8527 
   8528 fi
   8529 if test -z "$ac_cv_prog_OTOOL64"; then
   8530   ac_ct_OTOOL64=$OTOOL64
   8531   # Extract the first word of "otool64", so it can be a program name with args.
   8532 set dummy otool64; ac_word=$2
   8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8534 $as_echo_n "checking for $ac_word... " >&6; }
   8535 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8536   $as_echo_n "(cached) " >&6
   8537 else
   8538   if test -n "$ac_ct_OTOOL64"; then
   8539   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8540 else
   8541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8542 for as_dir in $PATH
   8543 do
   8544   IFS=$as_save_IFS
   8545   test -z "$as_dir" && as_dir=.
   8546     for ac_exec_ext in '' $ac_executable_extensions; do
   8547   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8548     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8550     break 2
   8551   fi
   8552 done
   8553   done
   8554 IFS=$as_save_IFS
   8555 
   8556 fi
   8557 fi
   8558 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8559 if test -n "$ac_ct_OTOOL64"; then
   8560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8561 $as_echo "$ac_ct_OTOOL64" >&6; }
   8562 else
   8563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8564 $as_echo "no" >&6; }
   8565 fi
   8566 
   8567   if test "x$ac_ct_OTOOL64" = x; then
   8568     OTOOL64=":"
   8569   else
   8570     case $cross_compiling:$ac_tool_warned in
   8571 yes:)
   8572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8574 ac_tool_warned=yes ;;
   8575 esac
   8576     OTOOL64=$ac_ct_OTOOL64
   8577   fi
   8578 else
   8579   OTOOL64="$ac_cv_prog_OTOOL64"
   8580 fi
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8609 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8610 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8611   $as_echo_n "(cached) " >&6
   8612 else
   8613   lt_cv_apple_cc_single_mod=no
   8614       if test -z "${LT_MULTI_MODULE}"; then
   8615 	# By default we will add the -single_module flag. You can override
   8616 	# by either setting the environment variable LT_MULTI_MODULE
   8617 	# non-empty at configure time, or by adding -multi_module to the
   8618 	# link flags.
   8619 	rm -rf libconftest.dylib*
   8620 	echo "int foo(void){return 1;}" > conftest.c
   8621 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8622 -dynamiclib -Wl,-single_module conftest.c" >&5
   8623 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8624 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8625         _lt_result=$?
   8626 	# If there is a non-empty error log, and "single_module"
   8627 	# appears in it, assume the flag caused a linker warning
   8628         if test -s conftest.err && $GREP single_module conftest.err; then
   8629 	  cat conftest.err >&5
   8630 	# Otherwise, if the output was created with a 0 exit code from
   8631 	# the compiler, it worked.
   8632 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   8633 	  lt_cv_apple_cc_single_mod=yes
   8634 	else
   8635 	  cat conftest.err >&5
   8636 	fi
   8637 	rm -rf libconftest.dylib*
   8638 	rm -f conftest.*
   8639       fi
   8640 fi
   8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8642 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8643 
   8644     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8645 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8646 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8647   $as_echo_n "(cached) " >&6
   8648 else
   8649   lt_cv_ld_exported_symbols_list=no
   8650       save_LDFLAGS=$LDFLAGS
   8651       echo "_main" > conftest.sym
   8652       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8654 /* end confdefs.h.  */
   8655 
   8656 int
   8657 main ()
   8658 {
   8659 
   8660   ;
   8661   return 0;
   8662 }
   8663 _ACEOF
   8664 if ac_fn_c_try_link "$LINENO"; then :
   8665   lt_cv_ld_exported_symbols_list=yes
   8666 else
   8667   lt_cv_ld_exported_symbols_list=no
   8668 fi
   8669 rm -f core conftest.err conftest.$ac_objext \
   8670     conftest$ac_exeext conftest.$ac_ext
   8671 	LDFLAGS="$save_LDFLAGS"
   8672 
   8673 fi
   8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8675 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8676 
   8677     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8678 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8679 if ${lt_cv_ld_force_load+:} false; then :
   8680   $as_echo_n "(cached) " >&6
   8681 else
   8682   lt_cv_ld_force_load=no
   8683       cat > conftest.c << _LT_EOF
   8684 int forced_loaded() { return 2;}
   8685 _LT_EOF
   8686       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8687       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8688       echo "$AR cru libconftest.a conftest.o" >&5
   8689       $AR cru libconftest.a conftest.o 2>&5
   8690       echo "$RANLIB libconftest.a" >&5
   8691       $RANLIB libconftest.a 2>&5
   8692       cat > conftest.c << _LT_EOF
   8693 int main() { return 0;}
   8694 _LT_EOF
   8695       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8696       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8697       _lt_result=$?
   8698       if test -s conftest.err && $GREP force_load conftest.err; then
   8699 	cat conftest.err >&5
   8700       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   8701 	lt_cv_ld_force_load=yes
   8702       else
   8703 	cat conftest.err >&5
   8704       fi
   8705         rm -f conftest.err libconftest.a conftest conftest.c
   8706         rm -rf conftest.dSYM
   8707 
   8708 fi
   8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8710 $as_echo "$lt_cv_ld_force_load" >&6; }
   8711     case $host_os in
   8712     rhapsody* | darwin1.[012])
   8713       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8714     darwin1.*)
   8715       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8716     darwin*) # darwin 5.x on
   8717       # if running on 10.5 or later, the deployment target defaults
   8718       # to the OS version, if on x86, and 10.4, the deployment
   8719       # target defaults to 10.4. Don't you love it?
   8720       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8721 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8722 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8723 	10.[012]*)
   8724 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8725 	10.*)
   8726 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8727       esac
   8728     ;;
   8729   esac
   8730     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8731       _lt_dar_single_mod='$single_module'
   8732     fi
   8733     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8734       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8735     else
   8736       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8737     fi
   8738     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8739       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8740     else
   8741       _lt_dsymutil=
   8742     fi
   8743     ;;
   8744   esac
   8745 
   8746 
   8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   8748 $as_echo_n "checking for ANSI C header files... " >&6; }
   8749 if ${ac_cv_header_stdc+:} false; then :
   8750   $as_echo_n "(cached) " >&6
   8751 else
   8752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8753 /* end confdefs.h.  */
   8754 #include <stdlib.h>
   8755 #include <stdarg.h>
   8756 #include <string.h>
   8757 #include <float.h>
   8758 
   8759 int
   8760 main ()
   8761 {
   8762 
   8763   ;
   8764   return 0;
   8765 }
   8766 _ACEOF
   8767 if ac_fn_c_try_compile "$LINENO"; then :
   8768   ac_cv_header_stdc=yes
   8769 else
   8770   ac_cv_header_stdc=no
   8771 fi
   8772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8773 
   8774 if test $ac_cv_header_stdc = yes; then
   8775   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   8776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8777 /* end confdefs.h.  */
   8778 #include <string.h>
   8779 
   8780 _ACEOF
   8781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   8782   $EGREP "memchr" >/dev/null 2>&1; then :
   8783 
   8784 else
   8785   ac_cv_header_stdc=no
   8786 fi
   8787 rm -f conftest*
   8788 
   8789 fi
   8790 
   8791 if test $ac_cv_header_stdc = yes; then
   8792   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   8793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8794 /* end confdefs.h.  */
   8795 #include <stdlib.h>
   8796 
   8797 _ACEOF
   8798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   8799   $EGREP "free" >/dev/null 2>&1; then :
   8800 
   8801 else
   8802   ac_cv_header_stdc=no
   8803 fi
   8804 rm -f conftest*
   8805 
   8806 fi
   8807 
   8808 if test $ac_cv_header_stdc = yes; then
   8809   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   8810   if test "$cross_compiling" = yes; then :
   8811   :
   8812 else
   8813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8814 /* end confdefs.h.  */
   8815 #include <ctype.h>
   8816 #include <stdlib.h>
   8817 #if ((' ' & 0x0FF) == 0x020)
   8818 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   8819 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   8820 #else
   8821 # define ISLOWER(c) \
   8822 		   (('a' <= (c) && (c) <= 'i') \
   8823 		     || ('j' <= (c) && (c) <= 'r') \
   8824 		     || ('s' <= (c) && (c) <= 'z'))
   8825 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   8826 #endif
   8827 
   8828 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   8829 int
   8830 main ()
   8831 {
   8832   int i;
   8833   for (i = 0; i < 256; i++)
   8834     if (XOR (islower (i), ISLOWER (i))
   8835 	|| toupper (i) != TOUPPER (i))
   8836       return 2;
   8837   return 0;
   8838 }
   8839 _ACEOF
   8840 if ac_fn_c_try_run "$LINENO"; then :
   8841 
   8842 else
   8843   ac_cv_header_stdc=no
   8844 fi
   8845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   8846   conftest.$ac_objext conftest.beam conftest.$ac_ext
   8847 fi
   8848 
   8849 fi
   8850 fi
   8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   8852 $as_echo "$ac_cv_header_stdc" >&6; }
   8853 if test $ac_cv_header_stdc = yes; then
   8854 
   8855 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   8856 
   8857 fi
   8858 
   8859 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   8860 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   8861 		  inttypes.h stdint.h unistd.h
   8862 do :
   8863   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   8864 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   8865 "
   8866 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   8867   cat >>confdefs.h <<_ACEOF
   8868 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   8869 _ACEOF
   8870 
   8871 fi
   8872 
   8873 done
   8874 
   8875 
   8876 for ac_header in dlfcn.h
   8877 do :
   8878   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8879 "
   8880 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8881   cat >>confdefs.h <<_ACEOF
   8882 #define HAVE_DLFCN_H 1
   8883 _ACEOF
   8884 
   8885 fi
   8886 
   8887 done
   8888 
   8889 
   8890 
   8891 
   8892 func_stripname_cnf ()
   8893 {
   8894   case ${2} in
   8895   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   8896   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   8897   esac
   8898 } # func_stripname_cnf
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 # Set options
   8905 
   8906 
   8907 
   8908         enable_dlopen=no
   8909 
   8910 
   8911   enable_win32_dll=no
   8912 
   8913 
   8914             # Check whether --enable-shared was given.
   8915 if test "${enable_shared+set}" = set; then :
   8916   enableval=$enable_shared; p=${PACKAGE-default}
   8917     case $enableval in
   8918     yes) enable_shared=yes ;;
   8919     no) enable_shared=no ;;
   8920     *)
   8921       enable_shared=no
   8922       # Look at the argument we got.  We use all the common list separators.
   8923       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8924       for pkg in $enableval; do
   8925 	IFS="$lt_save_ifs"
   8926 	if test "X$pkg" = "X$p"; then
   8927 	  enable_shared=yes
   8928 	fi
   8929       done
   8930       IFS="$lt_save_ifs"
   8931       ;;
   8932     esac
   8933 else
   8934   enable_shared=yes
   8935 fi
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945   # Check whether --enable-static was given.
   8946 if test "${enable_static+set}" = set; then :
   8947   enableval=$enable_static; p=${PACKAGE-default}
   8948     case $enableval in
   8949     yes) enable_static=yes ;;
   8950     no) enable_static=no ;;
   8951     *)
   8952      enable_static=no
   8953       # Look at the argument we got.  We use all the common list separators.
   8954       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8955       for pkg in $enableval; do
   8956 	IFS="$lt_save_ifs"
   8957 	if test "X$pkg" = "X$p"; then
   8958 	  enable_static=yes
   8959 	fi
   8960       done
   8961       IFS="$lt_save_ifs"
   8962       ;;
   8963     esac
   8964 else
   8965   enable_static=yes
   8966 fi
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 # Check whether --with-pic was given.
   8978 if test "${with_pic+set}" = set; then :
   8979   withval=$with_pic; lt_p=${PACKAGE-default}
   8980     case $withval in
   8981     yes|no) pic_mode=$withval ;;
   8982     *)
   8983       pic_mode=default
   8984       # Look at the argument we got.  We use all the common list separators.
   8985       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8986       for lt_pkg in $withval; do
   8987 	IFS="$lt_save_ifs"
   8988 	if test "X$lt_pkg" = "X$lt_p"; then
   8989 	  pic_mode=yes
   8990 	fi
   8991       done
   8992       IFS="$lt_save_ifs"
   8993       ;;
   8994     esac
   8995 else
   8996   pic_mode=default
   8997 fi
   8998 
   8999 
   9000 test -z "$pic_mode" && pic_mode=default
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008   # Check whether --enable-fast-install was given.
   9009 if test "${enable_fast_install+set}" = set; then :
   9010   enableval=$enable_fast_install; p=${PACKAGE-default}
   9011     case $enableval in
   9012     yes) enable_fast_install=yes ;;
   9013     no) enable_fast_install=no ;;
   9014     *)
   9015       enable_fast_install=no
   9016       # Look at the argument we got.  We use all the common list separators.
   9017       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9018       for pkg in $enableval; do
   9019 	IFS="$lt_save_ifs"
   9020 	if test "X$pkg" = "X$p"; then
   9021 	  enable_fast_install=yes
   9022 	fi
   9023       done
   9024       IFS="$lt_save_ifs"
   9025       ;;
   9026     esac
   9027 else
   9028   enable_fast_install=yes
   9029 fi
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 # This can be used to rebuild libtool when needed
   9042 LIBTOOL_DEPS="$ltmain"
   9043 
   9044 # Always use our own libtool.
   9045 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 test -z "$LN_S" && LN_S="ln -s"
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 if test -n "${ZSH_VERSION+set}" ; then
   9092    setopt NO_GLOB_SUBST
   9093 fi
   9094 
   9095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9096 $as_echo_n "checking for objdir... " >&6; }
   9097 if ${lt_cv_objdir+:} false; then :
   9098   $as_echo_n "(cached) " >&6
   9099 else
   9100   rm -f .libs 2>/dev/null
   9101 mkdir .libs 2>/dev/null
   9102 if test -d .libs; then
   9103   lt_cv_objdir=.libs
   9104 else
   9105   # MS-DOS does not allow filenames that begin with a dot.
   9106   lt_cv_objdir=_libs
   9107 fi
   9108 rmdir .libs 2>/dev/null
   9109 fi
   9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9111 $as_echo "$lt_cv_objdir" >&6; }
   9112 objdir=$lt_cv_objdir
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 cat >>confdefs.h <<_ACEOF
   9119 #define LT_OBJDIR "$lt_cv_objdir/"
   9120 _ACEOF
   9121 
   9122 
   9123 
   9124 
   9125 case $host_os in
   9126 aix3*)
   9127   # AIX sometimes has problems with the GCC collect2 program.  For some
   9128   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9129   # vanish in a puff of smoke.
   9130   if test "X${COLLECT_NAMES+set}" != Xset; then
   9131     COLLECT_NAMES=
   9132     export COLLECT_NAMES
   9133   fi
   9134   ;;
   9135 esac
   9136 
   9137 # Global variables:
   9138 ofile=libtool
   9139 can_build_shared=yes
   9140 
   9141 # All known linkers require a `.a' archive for static linking (except MSVC,
   9142 # which needs '.lib').
   9143 libext=a
   9144 
   9145 with_gnu_ld="$lt_cv_prog_gnu_ld"
   9146 
   9147 old_CC="$CC"
   9148 old_CFLAGS="$CFLAGS"
   9149 
   9150 # Set sane defaults for various variables
   9151 test -z "$CC" && CC=cc
   9152 test -z "$LTCC" && LTCC=$CC
   9153 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9154 test -z "$LD" && LD=ld
   9155 test -z "$ac_objext" && ac_objext=o
   9156 
   9157 for cc_temp in $compiler""; do
   9158   case $cc_temp in
   9159     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   9160     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   9161     \-*) ;;
   9162     *) break;;
   9163   esac
   9164 done
   9165 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   9166 
   9167 
   9168 # Only perform the check for file, if the check method requires it
   9169 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9170 case $deplibs_check_method in
   9171 file_magic*)
   9172   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9173     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9174 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   9175 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9176   $as_echo_n "(cached) " >&6
   9177 else
   9178   case $MAGIC_CMD in
   9179 [\\/*] |  ?:[\\/]*)
   9180   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9181   ;;
   9182 *)
   9183   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9184   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9185   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9186   for ac_dir in $ac_dummy; do
   9187     IFS="$lt_save_ifs"
   9188     test -z "$ac_dir" && ac_dir=.
   9189     if test -f $ac_dir/${ac_tool_prefix}file; then
   9190       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   9191       if test -n "$file_magic_test_file"; then
   9192 	case $deplibs_check_method in
   9193 	"file_magic "*)
   9194 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9195 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9196 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9197 	    $EGREP "$file_magic_regex" > /dev/null; then
   9198 	    :
   9199 	  else
   9200 	    cat <<_LT_EOF 1>&2
   9201 
   9202 *** Warning: the command libtool uses to detect shared libraries,
   9203 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9204 *** The result is that libtool may fail to recognize shared libraries
   9205 *** as such.  This will affect the creation of libtool libraries that
   9206 *** depend on shared libraries, but programs linked with such libtool
   9207 *** libraries will work regardless of this problem.  Nevertheless, you
   9208 *** may want to report the problem to your system manager and/or to
   9209 *** bug-libtool (at] gnu.org
   9210 
   9211 _LT_EOF
   9212 	  fi ;;
   9213 	esac
   9214       fi
   9215       break
   9216     fi
   9217   done
   9218   IFS="$lt_save_ifs"
   9219   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9220   ;;
   9221 esac
   9222 fi
   9223 
   9224 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9225 if test -n "$MAGIC_CMD"; then
   9226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9227 $as_echo "$MAGIC_CMD" >&6; }
   9228 else
   9229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9230 $as_echo "no" >&6; }
   9231 fi
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9238   if test -n "$ac_tool_prefix"; then
   9239     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9240 $as_echo_n "checking for file... " >&6; }
   9241 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9242   $as_echo_n "(cached) " >&6
   9243 else
   9244   case $MAGIC_CMD in
   9245 [\\/*] |  ?:[\\/]*)
   9246   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9247   ;;
   9248 *)
   9249   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9250   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9251   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9252   for ac_dir in $ac_dummy; do
   9253     IFS="$lt_save_ifs"
   9254     test -z "$ac_dir" && ac_dir=.
   9255     if test -f $ac_dir/file; then
   9256       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   9257       if test -n "$file_magic_test_file"; then
   9258 	case $deplibs_check_method in
   9259 	"file_magic "*)
   9260 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9261 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9262 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9263 	    $EGREP "$file_magic_regex" > /dev/null; then
   9264 	    :
   9265 	  else
   9266 	    cat <<_LT_EOF 1>&2
   9267 
   9268 *** Warning: the command libtool uses to detect shared libraries,
   9269 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9270 *** The result is that libtool may fail to recognize shared libraries
   9271 *** as such.  This will affect the creation of libtool libraries that
   9272 *** depend on shared libraries, but programs linked with such libtool
   9273 *** libraries will work regardless of this problem.  Nevertheless, you
   9274 *** may want to report the problem to your system manager and/or to
   9275 *** bug-libtool (at] gnu.org
   9276 
   9277 _LT_EOF
   9278 	  fi ;;
   9279 	esac
   9280       fi
   9281       break
   9282     fi
   9283   done
   9284   IFS="$lt_save_ifs"
   9285   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9286   ;;
   9287 esac
   9288 fi
   9289 
   9290 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9291 if test -n "$MAGIC_CMD"; then
   9292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9293 $as_echo "$MAGIC_CMD" >&6; }
   9294 else
   9295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9296 $as_echo "no" >&6; }
   9297 fi
   9298 
   9299 
   9300   else
   9301     MAGIC_CMD=:
   9302   fi
   9303 fi
   9304 
   9305   fi
   9306   ;;
   9307 esac
   9308 
   9309 # Use C for the default configuration in the libtool script
   9310 
   9311 lt_save_CC="$CC"
   9312 ac_ext=c
   9313 ac_cpp='$CPP $CPPFLAGS'
   9314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9317 
   9318 
   9319 # Source file extension for C test sources.
   9320 ac_ext=c
   9321 
   9322 # Object file extension for compiled C test sources.
   9323 objext=o
   9324 objext=$objext
   9325 
   9326 # Code to be used in simple compile tests
   9327 lt_simple_compile_test_code="int some_variable = 0;"
   9328 
   9329 # Code to be used in simple link tests
   9330 lt_simple_link_test_code='int main(){return(0);}'
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 # If no C compiler was specified, use CC.
   9339 LTCC=${LTCC-"$CC"}
   9340 
   9341 # If no C compiler flags were specified, use CFLAGS.
   9342 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9343 
   9344 # Allow CC to be a program name with arguments.
   9345 compiler=$CC
   9346 
   9347 # Save the default compiler, since it gets overwritten when the other
   9348 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9349 compiler_DEFAULT=$CC
   9350 
   9351 # save warnings/boilerplate of simple test code
   9352 ac_outfile=conftest.$ac_objext
   9353 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9354 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9355 _lt_compiler_boilerplate=`cat conftest.err`
   9356 $RM conftest*
   9357 
   9358 ac_outfile=conftest.$ac_objext
   9359 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9360 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9361 _lt_linker_boilerplate=`cat conftest.err`
   9362 $RM -r conftest*
   9363 
   9364 
   9365 ## CAVEAT EMPTOR:
   9366 ## There is no encapsulation within the following macros, do not change
   9367 ## the running order or otherwise move them around unless you know exactly
   9368 ## what you are doing...
   9369 if test -n "$compiler"; then
   9370 
   9371 lt_prog_compiler_no_builtin_flag=
   9372 
   9373 if test "$GCC" = yes; then
   9374   case $cc_basename in
   9375   nvcc*)
   9376     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9377   *)
   9378     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9379   esac
   9380 
   9381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9382 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9383 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9384   $as_echo_n "(cached) " >&6
   9385 else
   9386   lt_cv_prog_compiler_rtti_exceptions=no
   9387    ac_outfile=conftest.$ac_objext
   9388    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9389    lt_compiler_flag="-fno-rtti -fno-exceptions"
   9390    # Insert the option either (1) after the last *FLAGS variable, or
   9391    # (2) before a word containing "conftest.", or (3) at the end.
   9392    # Note that $ac_compile itself does not contain backslashes and begins
   9393    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9394    # The option is referenced via a variable to avoid confusing sed.
   9395    lt_compile=`echo "$ac_compile" | $SED \
   9396    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9397    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9398    -e 's:$: $lt_compiler_flag:'`
   9399    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9400    (eval "$lt_compile" 2>conftest.err)
   9401    ac_status=$?
   9402    cat conftest.err >&5
   9403    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9404    if (exit $ac_status) && test -s "$ac_outfile"; then
   9405      # The compiler can only warn and ignore the option if not recognized
   9406      # So say no if there are warnings other than the usual output.
   9407      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9408      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9409      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9410        lt_cv_prog_compiler_rtti_exceptions=yes
   9411      fi
   9412    fi
   9413    $RM conftest*
   9414 
   9415 fi
   9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9417 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9418 
   9419 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   9420     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9421 else
   9422     :
   9423 fi
   9424 
   9425 fi
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432   lt_prog_compiler_wl=
   9433 lt_prog_compiler_pic=
   9434 lt_prog_compiler_static=
   9435 
   9436 
   9437   if test "$GCC" = yes; then
   9438     lt_prog_compiler_wl='-Wl,'
   9439     lt_prog_compiler_static='-static'
   9440 
   9441     case $host_os in
   9442       aix*)
   9443       # All AIX code is PIC.
   9444       if test "$host_cpu" = ia64; then
   9445 	# AIX 5 now supports IA64 processor
   9446 	lt_prog_compiler_static='-Bstatic'
   9447       fi
   9448       ;;
   9449 
   9450     amigaos*)
   9451       case $host_cpu in
   9452       powerpc)
   9453             # see comment about AmigaOS4 .so support
   9454             lt_prog_compiler_pic='-fPIC'
   9455         ;;
   9456       m68k)
   9457             # FIXME: we need at least 68020 code to build shared libraries, but
   9458             # adding the `-m68020' flag to GCC prevents building anything better,
   9459             # like `-m68040'.
   9460             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9461         ;;
   9462       esac
   9463       ;;
   9464 
   9465     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9466       # PIC is the default for these OSes.
   9467       ;;
   9468 
   9469     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9470       # This hack is so that the source file can tell whether it is being
   9471       # built for inclusion in a dll (and should export symbols for example).
   9472       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9473       # (--disable-auto-import) libraries
   9474       lt_prog_compiler_pic='-DDLL_EXPORT'
   9475       ;;
   9476 
   9477     darwin* | rhapsody*)
   9478       # PIC is the default on this platform
   9479       # Common symbols not allowed in MH_DYLIB files
   9480       lt_prog_compiler_pic='-fno-common'
   9481       ;;
   9482 
   9483     haiku*)
   9484       # PIC is the default for Haiku.
   9485       # The "-static" flag exists, but is broken.
   9486       lt_prog_compiler_static=
   9487       ;;
   9488 
   9489     hpux*)
   9490       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9491       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9492       # sets the default TLS model and affects inlining.
   9493       case $host_cpu in
   9494       hppa*64*)
   9495 	# +Z the default
   9496 	;;
   9497       *)
   9498 	lt_prog_compiler_pic='-fPIC'
   9499 	;;
   9500       esac
   9501       ;;
   9502 
   9503     interix[3-9]*)
   9504       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9505       # Instead, we relocate shared libraries at runtime.
   9506       ;;
   9507 
   9508     msdosdjgpp*)
   9509       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9510       # on systems that don't support them.
   9511       lt_prog_compiler_can_build_shared=no
   9512       enable_shared=no
   9513       ;;
   9514 
   9515     *nto* | *qnx*)
   9516       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9517       # it will coredump.
   9518       lt_prog_compiler_pic='-fPIC -shared'
   9519       ;;
   9520 
   9521     sysv4*MP*)
   9522       if test -d /usr/nec; then
   9523 	lt_prog_compiler_pic=-Kconform_pic
   9524       fi
   9525       ;;
   9526 
   9527     *)
   9528       lt_prog_compiler_pic='-fPIC'
   9529       ;;
   9530     esac
   9531 
   9532     case $cc_basename in
   9533     nvcc*) # Cuda Compiler Driver 2.2
   9534       lt_prog_compiler_wl='-Xlinker '
   9535       if test -n "$lt_prog_compiler_pic"; then
   9536         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9537       fi
   9538       ;;
   9539     esac
   9540   else
   9541     # PORTME Check for flag to pass linker flags through the system compiler.
   9542     case $host_os in
   9543     aix*)
   9544       lt_prog_compiler_wl='-Wl,'
   9545       if test "$host_cpu" = ia64; then
   9546 	# AIX 5 now supports IA64 processor
   9547 	lt_prog_compiler_static='-Bstatic'
   9548       else
   9549 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9550       fi
   9551       ;;
   9552 
   9553     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9554       # This hack is so that the source file can tell whether it is being
   9555       # built for inclusion in a dll (and should export symbols for example).
   9556       lt_prog_compiler_pic='-DDLL_EXPORT'
   9557       ;;
   9558 
   9559     hpux9* | hpux10* | hpux11*)
   9560       lt_prog_compiler_wl='-Wl,'
   9561       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9562       # not for PA HP-UX.
   9563       case $host_cpu in
   9564       hppa*64*|ia64*)
   9565 	# +Z the default
   9566 	;;
   9567       *)
   9568 	lt_prog_compiler_pic='+Z'
   9569 	;;
   9570       esac
   9571       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9572       lt_prog_compiler_static='${wl}-a ${wl}archive'
   9573       ;;
   9574 
   9575     irix5* | irix6* | nonstopux*)
   9576       lt_prog_compiler_wl='-Wl,'
   9577       # PIC (with -KPIC) is the default.
   9578       lt_prog_compiler_static='-non_shared'
   9579       ;;
   9580 
   9581     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9582       case $cc_basename in
   9583       # old Intel for x86_64 which still supported -KPIC.
   9584       ecc*)
   9585 	lt_prog_compiler_wl='-Wl,'
   9586 	lt_prog_compiler_pic='-KPIC'
   9587 	lt_prog_compiler_static='-static'
   9588         ;;
   9589       # icc used to be incompatible with GCC.
   9590       # ICC 10 doesn't accept -KPIC any more.
   9591       icc* | ifort*)
   9592 	lt_prog_compiler_wl='-Wl,'
   9593 	lt_prog_compiler_pic='-fPIC'
   9594 	lt_prog_compiler_static='-static'
   9595         ;;
   9596       # Lahey Fortran 8.1.
   9597       lf95*)
   9598 	lt_prog_compiler_wl='-Wl,'
   9599 	lt_prog_compiler_pic='--shared'
   9600 	lt_prog_compiler_static='--static'
   9601 	;;
   9602       nagfor*)
   9603 	# NAG Fortran compiler
   9604 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9605 	lt_prog_compiler_pic='-PIC'
   9606 	lt_prog_compiler_static='-Bstatic'
   9607 	;;
   9608       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9609         # Portland Group compilers (*not* the Pentium gcc compiler,
   9610 	# which looks to be a dead project)
   9611 	lt_prog_compiler_wl='-Wl,'
   9612 	lt_prog_compiler_pic='-fpic'
   9613 	lt_prog_compiler_static='-Bstatic'
   9614         ;;
   9615       ccc*)
   9616         lt_prog_compiler_wl='-Wl,'
   9617         # All Alpha code is PIC.
   9618         lt_prog_compiler_static='-non_shared'
   9619         ;;
   9620       xl* | bgxl* | bgf* | mpixl*)
   9621 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9622 	lt_prog_compiler_wl='-Wl,'
   9623 	lt_prog_compiler_pic='-qpic'
   9624 	lt_prog_compiler_static='-qstaticlink'
   9625 	;;
   9626       *)
   9627 	case `$CC -V 2>&1 | sed 5q` in
   9628 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9629 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9630 	  lt_prog_compiler_pic='-KPIC'
   9631 	  lt_prog_compiler_static='-Bstatic'
   9632 	  lt_prog_compiler_wl=''
   9633 	  ;;
   9634 	*Sun\ F* | *Sun*Fortran*)
   9635 	  lt_prog_compiler_pic='-KPIC'
   9636 	  lt_prog_compiler_static='-Bstatic'
   9637 	  lt_prog_compiler_wl='-Qoption ld '
   9638 	  ;;
   9639 	*Sun\ C*)
   9640 	  # Sun C 5.9
   9641 	  lt_prog_compiler_pic='-KPIC'
   9642 	  lt_prog_compiler_static='-Bstatic'
   9643 	  lt_prog_compiler_wl='-Wl,'
   9644 	  ;;
   9645         *Intel*\ [CF]*Compiler*)
   9646 	  lt_prog_compiler_wl='-Wl,'
   9647 	  lt_prog_compiler_pic='-fPIC'
   9648 	  lt_prog_compiler_static='-static'
   9649 	  ;;
   9650 	*Portland\ Group*)
   9651 	  lt_prog_compiler_wl='-Wl,'
   9652 	  lt_prog_compiler_pic='-fpic'
   9653 	  lt_prog_compiler_static='-Bstatic'
   9654 	  ;;
   9655 	esac
   9656 	;;
   9657       esac
   9658       ;;
   9659 
   9660     newsos6)
   9661       lt_prog_compiler_pic='-KPIC'
   9662       lt_prog_compiler_static='-Bstatic'
   9663       ;;
   9664 
   9665     *nto* | *qnx*)
   9666       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9667       # it will coredump.
   9668       lt_prog_compiler_pic='-fPIC -shared'
   9669       ;;
   9670 
   9671     osf3* | osf4* | osf5*)
   9672       lt_prog_compiler_wl='-Wl,'
   9673       # All OSF/1 code is PIC.
   9674       lt_prog_compiler_static='-non_shared'
   9675       ;;
   9676 
   9677     rdos*)
   9678       lt_prog_compiler_static='-non_shared'
   9679       ;;
   9680 
   9681     solaris*)
   9682       lt_prog_compiler_pic='-KPIC'
   9683       lt_prog_compiler_static='-Bstatic'
   9684       case $cc_basename in
   9685       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9686 	lt_prog_compiler_wl='-Qoption ld ';;
   9687       *)
   9688 	lt_prog_compiler_wl='-Wl,';;
   9689       esac
   9690       ;;
   9691 
   9692     sunos4*)
   9693       lt_prog_compiler_wl='-Qoption ld '
   9694       lt_prog_compiler_pic='-PIC'
   9695       lt_prog_compiler_static='-Bstatic'
   9696       ;;
   9697 
   9698     sysv4 | sysv4.2uw2* | sysv4.3*)
   9699       lt_prog_compiler_wl='-Wl,'
   9700       lt_prog_compiler_pic='-KPIC'
   9701       lt_prog_compiler_static='-Bstatic'
   9702       ;;
   9703 
   9704     sysv4*MP*)
   9705       if test -d /usr/nec ;then
   9706 	lt_prog_compiler_pic='-Kconform_pic'
   9707 	lt_prog_compiler_static='-Bstatic'
   9708       fi
   9709       ;;
   9710 
   9711     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9712       lt_prog_compiler_wl='-Wl,'
   9713       lt_prog_compiler_pic='-KPIC'
   9714       lt_prog_compiler_static='-Bstatic'
   9715       ;;
   9716 
   9717     unicos*)
   9718       lt_prog_compiler_wl='-Wl,'
   9719       lt_prog_compiler_can_build_shared=no
   9720       ;;
   9721 
   9722     uts4*)
   9723       lt_prog_compiler_pic='-pic'
   9724       lt_prog_compiler_static='-Bstatic'
   9725       ;;
   9726 
   9727     *)
   9728       lt_prog_compiler_can_build_shared=no
   9729       ;;
   9730     esac
   9731   fi
   9732 
   9733 case $host_os in
   9734   # For platforms which do not support PIC, -DPIC is meaningless:
   9735   *djgpp*)
   9736     lt_prog_compiler_pic=
   9737     ;;
   9738   *)
   9739     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9740     ;;
   9741 esac
   9742 
   9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9744 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9745 if ${lt_cv_prog_compiler_pic+:} false; then :
   9746   $as_echo_n "(cached) " >&6
   9747 else
   9748   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9749 fi
   9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9751 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   9752 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9753 
   9754 #
   9755 # Check to make sure the PIC flag actually works.
   9756 #
   9757 if test -n "$lt_prog_compiler_pic"; then
   9758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9759 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9760 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9761   $as_echo_n "(cached) " >&6
   9762 else
   9763   lt_cv_prog_compiler_pic_works=no
   9764    ac_outfile=conftest.$ac_objext
   9765    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9766    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9767    # Insert the option either (1) after the last *FLAGS variable, or
   9768    # (2) before a word containing "conftest.", or (3) at the end.
   9769    # Note that $ac_compile itself does not contain backslashes and begins
   9770    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9771    # The option is referenced via a variable to avoid confusing sed.
   9772    lt_compile=`echo "$ac_compile" | $SED \
   9773    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9774    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9775    -e 's:$: $lt_compiler_flag:'`
   9776    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9777    (eval "$lt_compile" 2>conftest.err)
   9778    ac_status=$?
   9779    cat conftest.err >&5
   9780    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9781    if (exit $ac_status) && test -s "$ac_outfile"; then
   9782      # The compiler can only warn and ignore the option if not recognized
   9783      # So say no if there are warnings other than the usual output.
   9784      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9785      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9786      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9787        lt_cv_prog_compiler_pic_works=yes
   9788      fi
   9789    fi
   9790    $RM conftest*
   9791 
   9792 fi
   9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9794 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9795 
   9796 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9797     case $lt_prog_compiler_pic in
   9798      "" | " "*) ;;
   9799      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9800      esac
   9801 else
   9802     lt_prog_compiler_pic=
   9803      lt_prog_compiler_can_build_shared=no
   9804 fi
   9805 
   9806 fi
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 #
   9819 # Check to make sure the static flag actually works.
   9820 #
   9821 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9823 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9824 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9825   $as_echo_n "(cached) " >&6
   9826 else
   9827   lt_cv_prog_compiler_static_works=no
   9828    save_LDFLAGS="$LDFLAGS"
   9829    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9830    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9831    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9832      # The linker can only warn and ignore the option if not recognized
   9833      # So say no if there are warnings
   9834      if test -s conftest.err; then
   9835        # Append any errors to the config.log.
   9836        cat conftest.err 1>&5
   9837        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9838        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9839        if diff conftest.exp conftest.er2 >/dev/null; then
   9840          lt_cv_prog_compiler_static_works=yes
   9841        fi
   9842      else
   9843        lt_cv_prog_compiler_static_works=yes
   9844      fi
   9845    fi
   9846    $RM -r conftest*
   9847    LDFLAGS="$save_LDFLAGS"
   9848 
   9849 fi
   9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9851 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9852 
   9853 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9854     :
   9855 else
   9856     lt_prog_compiler_static=
   9857 fi
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9866 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9867 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9868   $as_echo_n "(cached) " >&6
   9869 else
   9870   lt_cv_prog_compiler_c_o=no
   9871    $RM -r conftest 2>/dev/null
   9872    mkdir conftest
   9873    cd conftest
   9874    mkdir out
   9875    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9876 
   9877    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9878    # Insert the option either (1) after the last *FLAGS variable, or
   9879    # (2) before a word containing "conftest.", or (3) at the end.
   9880    # Note that $ac_compile itself does not contain backslashes and begins
   9881    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9882    lt_compile=`echo "$ac_compile" | $SED \
   9883    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9884    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9885    -e 's:$: $lt_compiler_flag:'`
   9886    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9887    (eval "$lt_compile" 2>out/conftest.err)
   9888    ac_status=$?
   9889    cat out/conftest.err >&5
   9890    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9891    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9892    then
   9893      # The compiler can only warn and ignore the option if not recognized
   9894      # So say no if there are warnings
   9895      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9896      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9897      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9898        lt_cv_prog_compiler_c_o=yes
   9899      fi
   9900    fi
   9901    chmod u+w . 2>&5
   9902    $RM conftest*
   9903    # SGI C++ compiler will create directory out/ii_files/ for
   9904    # template instantiation
   9905    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9906    $RM out/* && rmdir out
   9907    cd ..
   9908    $RM -r conftest
   9909    $RM conftest*
   9910 
   9911 fi
   9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9913 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9921 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9922 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9923   $as_echo_n "(cached) " >&6
   9924 else
   9925   lt_cv_prog_compiler_c_o=no
   9926    $RM -r conftest 2>/dev/null
   9927    mkdir conftest
   9928    cd conftest
   9929    mkdir out
   9930    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9931 
   9932    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9933    # Insert the option either (1) after the last *FLAGS variable, or
   9934    # (2) before a word containing "conftest.", or (3) at the end.
   9935    # Note that $ac_compile itself does not contain backslashes and begins
   9936    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9937    lt_compile=`echo "$ac_compile" | $SED \
   9938    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9939    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9940    -e 's:$: $lt_compiler_flag:'`
   9941    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9942    (eval "$lt_compile" 2>out/conftest.err)
   9943    ac_status=$?
   9944    cat out/conftest.err >&5
   9945    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9946    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9947    then
   9948      # The compiler can only warn and ignore the option if not recognized
   9949      # So say no if there are warnings
   9950      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9951      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9952      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9953        lt_cv_prog_compiler_c_o=yes
   9954      fi
   9955    fi
   9956    chmod u+w . 2>&5
   9957    $RM conftest*
   9958    # SGI C++ compiler will create directory out/ii_files/ for
   9959    # template instantiation
   9960    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9961    $RM out/* && rmdir out
   9962    cd ..
   9963    $RM -r conftest
   9964    $RM conftest*
   9965 
   9966 fi
   9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9968 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9969 
   9970 
   9971 
   9972 
   9973 hard_links="nottested"
   9974 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9975   # do not overwrite the value of need_locks provided by the user
   9976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9977 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9978   hard_links=yes
   9979   $RM conftest*
   9980   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9981   touch conftest.a
   9982   ln conftest.a conftest.b 2>&5 || hard_links=no
   9983   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9985 $as_echo "$hard_links" >&6; }
   9986   if test "$hard_links" = no; then
   9987     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9988 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9989     need_locks=warn
   9990   fi
   9991 else
   9992   need_locks=no
   9993 fi
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10001 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10002 
   10003   runpath_var=
   10004   allow_undefined_flag=
   10005   always_export_symbols=no
   10006   archive_cmds=
   10007   archive_expsym_cmds=
   10008   compiler_needs_object=no
   10009   enable_shared_with_static_runtimes=no
   10010   export_dynamic_flag_spec=
   10011   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10012   hardcode_automatic=no
   10013   hardcode_direct=no
   10014   hardcode_direct_absolute=no
   10015   hardcode_libdir_flag_spec=
   10016   hardcode_libdir_separator=
   10017   hardcode_minus_L=no
   10018   hardcode_shlibpath_var=unsupported
   10019   inherit_rpath=no
   10020   link_all_deplibs=unknown
   10021   module_cmds=
   10022   module_expsym_cmds=
   10023   old_archive_from_new_cmds=
   10024   old_archive_from_expsyms_cmds=
   10025   thread_safe_flag_spec=
   10026   whole_archive_flag_spec=
   10027   # include_expsyms should be a list of space-separated symbols to be *always*
   10028   # included in the symbol list
   10029   include_expsyms=
   10030   # exclude_expsyms can be an extended regexp of symbols to exclude
   10031   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   10032   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   10033   # as well as any symbol that contains `d'.
   10034   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10035   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10036   # platforms (ab)use it in PIC code, but their linkers get confused if
   10037   # the symbol is explicitly referenced.  Since portable code cannot
   10038   # rely on this symbol name, it's probably fine to never include it in
   10039   # preloaded symbol tables.
   10040   # Exclude shared library initialization/finalization symbols.
   10041   extract_expsyms_cmds=
   10042 
   10043   case $host_os in
   10044   cygwin* | mingw* | pw32* | cegcc*)
   10045     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   10046     # When not using gcc, we currently assume that we are using
   10047     # Microsoft Visual C++.
   10048     if test "$GCC" != yes; then
   10049       with_gnu_ld=no
   10050     fi
   10051     ;;
   10052   interix*)
   10053     # we just hope/assume this is gcc and not c89 (= MSVC++)
   10054     with_gnu_ld=yes
   10055     ;;
   10056   openbsd*)
   10057     with_gnu_ld=no
   10058     ;;
   10059   linux* | k*bsd*-gnu | gnu*)
   10060     link_all_deplibs=no
   10061     ;;
   10062   esac
   10063 
   10064   ld_shlibs=yes
   10065 
   10066   # On some targets, GNU ld is compatible enough with the native linker
   10067   # that we're better off using the native interface for both.
   10068   lt_use_gnu_ld_interface=no
   10069   if test "$with_gnu_ld" = yes; then
   10070     case $host_os in
   10071       aix*)
   10072 	# The AIX port of GNU ld has always aspired to compatibility
   10073 	# with the native linker.  However, as the warning in the GNU ld
   10074 	# block says, versions before 2.19.5* couldn't really create working
   10075 	# shared libraries, regardless of the interface used.
   10076 	case `$LD -v 2>&1` in
   10077 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10078 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10079 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10080 	  *)
   10081 	    lt_use_gnu_ld_interface=yes
   10082 	    ;;
   10083 	esac
   10084 	;;
   10085       *)
   10086 	lt_use_gnu_ld_interface=yes
   10087 	;;
   10088     esac
   10089   fi
   10090 
   10091   if test "$lt_use_gnu_ld_interface" = yes; then
   10092     # If archive_cmds runs LD, not CC, wlarc should be empty
   10093     wlarc='${wl}'
   10094 
   10095     # Set some defaults for GNU ld with shared library support. These
   10096     # are reset later if shared libraries are not supported. Putting them
   10097     # here allows them to be overridden if necessary.
   10098     runpath_var=LD_RUN_PATH
   10099     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10100     export_dynamic_flag_spec='${wl}--export-dynamic'
   10101     # ancient GNU ld didn't support --whole-archive et. al.
   10102     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10103       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10104     else
   10105       whole_archive_flag_spec=
   10106     fi
   10107     supports_anon_versioning=no
   10108     case `$LD -v 2>&1` in
   10109       *GNU\ gold*) supports_anon_versioning=yes ;;
   10110       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10111       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10112       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10113       *\ 2.11.*) ;; # other 2.11 versions
   10114       *) supports_anon_versioning=yes ;;
   10115     esac
   10116 
   10117     # See if GNU ld supports shared libraries.
   10118     case $host_os in
   10119     aix[3-9]*)
   10120       # On AIX/PPC, the GNU linker is very broken
   10121       if test "$host_cpu" != ia64; then
   10122 	ld_shlibs=no
   10123 	cat <<_LT_EOF 1>&2
   10124 
   10125 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10126 *** to be unable to reliably create shared libraries on AIX.
   10127 *** Therefore, libtool is disabling shared libraries support.  If you
   10128 *** really care for shared libraries, you may want to install binutils
   10129 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10130 *** You will then need to restart the configuration process.
   10131 
   10132 _LT_EOF
   10133       fi
   10134       ;;
   10135 
   10136     amigaos*)
   10137       case $host_cpu in
   10138       powerpc)
   10139             # see comment about AmigaOS4 .so support
   10140             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10141             archive_expsym_cmds=''
   10142         ;;
   10143       m68k)
   10144             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)'
   10145             hardcode_libdir_flag_spec='-L$libdir'
   10146             hardcode_minus_L=yes
   10147         ;;
   10148       esac
   10149       ;;
   10150 
   10151     beos*)
   10152       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10153 	allow_undefined_flag=unsupported
   10154 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10155 	# support --undefined.  This deserves some investigation.  FIXME
   10156 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10157       else
   10158 	ld_shlibs=no
   10159       fi
   10160       ;;
   10161 
   10162     cygwin* | mingw* | pw32* | cegcc*)
   10163       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10164       # as there is no search path for DLLs.
   10165       hardcode_libdir_flag_spec='-L$libdir'
   10166       export_dynamic_flag_spec='${wl}--export-all-symbols'
   10167       allow_undefined_flag=unsupported
   10168       always_export_symbols=no
   10169       enable_shared_with_static_runtimes=yes
   10170       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'
   10171       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10172 
   10173       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10174         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10175 	# If the export-symbols file already is a .def file (1st line
   10176 	# is EXPORTS), use it as is; otherwise, prepend...
   10177 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10178 	  cp $export_symbols $output_objdir/$soname.def;
   10179 	else
   10180 	  echo EXPORTS > $output_objdir/$soname.def;
   10181 	  cat $export_symbols >> $output_objdir/$soname.def;
   10182 	fi~
   10183 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10184       else
   10185 	ld_shlibs=no
   10186       fi
   10187       ;;
   10188 
   10189     haiku*)
   10190       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10191       link_all_deplibs=yes
   10192       ;;
   10193 
   10194     interix[3-9]*)
   10195       hardcode_direct=no
   10196       hardcode_shlibpath_var=no
   10197       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10198       export_dynamic_flag_spec='${wl}-E'
   10199       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10200       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10201       # default) and relocated if they conflict, which is a slow very memory
   10202       # consuming and fragmenting process.  To avoid this, we pick a random,
   10203       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10204       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10205       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10206       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'
   10207       ;;
   10208 
   10209     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10210       tmp_diet=no
   10211       if test "$host_os" = linux-dietlibc; then
   10212 	case $cc_basename in
   10213 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10214 	esac
   10215       fi
   10216       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10217 	 && test "$tmp_diet" = no
   10218       then
   10219 	tmp_addflag=' $pic_flag'
   10220 	tmp_sharedflag='-shared'
   10221 	case $cc_basename,$host_cpu in
   10222         pgcc*)				# Portland Group C compiler
   10223 	  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'
   10224 	  tmp_addflag=' $pic_flag'
   10225 	  ;;
   10226 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10227 					# Portland Group f77 and f90 compilers
   10228 	  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'
   10229 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10230 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10231 	  tmp_addflag=' -i_dynamic' ;;
   10232 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10233 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10234 	ifc* | ifort*)			# Intel Fortran compiler
   10235 	  tmp_addflag=' -nofor_main' ;;
   10236 	lf95*)				# Lahey Fortran 8.1
   10237 	  whole_archive_flag_spec=
   10238 	  tmp_sharedflag='--shared' ;;
   10239 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10240 	  tmp_sharedflag='-qmkshrobj'
   10241 	  tmp_addflag= ;;
   10242 	nvcc*)	# Cuda Compiler Driver 2.2
   10243 	  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'
   10244 	  compiler_needs_object=yes
   10245 	  ;;
   10246 	esac
   10247 	case `$CC -V 2>&1 | sed 5q` in
   10248 	*Sun\ C*)			# Sun C 5.9
   10249 	  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'
   10250 	  compiler_needs_object=yes
   10251 	  tmp_sharedflag='-G' ;;
   10252 	*Sun\ F*)			# Sun Fortran 8.3
   10253 	  tmp_sharedflag='-G' ;;
   10254 	esac
   10255 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10256 
   10257         if test "x$supports_anon_versioning" = xyes; then
   10258           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10259 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10260 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   10261 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   10262         fi
   10263 
   10264 	case $cc_basename in
   10265 	xlf* | bgf* | bgxlf* | mpixlf*)
   10266 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10267 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10268 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10269 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10270 	  if test "x$supports_anon_versioning" = xyes; then
   10271 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10272 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10273 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   10274 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10275 	  fi
   10276 	  ;;
   10277 	esac
   10278       else
   10279         ld_shlibs=no
   10280       fi
   10281       ;;
   10282 
   10283     netbsd* | netbsdelf*-gnu)
   10284       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10285 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10286 	wlarc=
   10287       else
   10288 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10289 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10290       fi
   10291       ;;
   10292 
   10293     solaris*)
   10294       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10295 	ld_shlibs=no
   10296 	cat <<_LT_EOF 1>&2
   10297 
   10298 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10299 *** create shared libraries on Solaris systems.  Therefore, libtool
   10300 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10301 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10302 *** your PATH or compiler configuration so that the native linker is
   10303 *** used, and then restart.
   10304 
   10305 _LT_EOF
   10306       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10307 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10308 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10309       else
   10310 	ld_shlibs=no
   10311       fi
   10312       ;;
   10313 
   10314     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10315       case `$LD -v 2>&1` in
   10316         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10317 	ld_shlibs=no
   10318 	cat <<_LT_EOF 1>&2
   10319 
   10320 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   10321 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10322 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10323 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10324 *** your PATH or compiler configuration so that the native linker is
   10325 *** used, and then restart.
   10326 
   10327 _LT_EOF
   10328 	;;
   10329 	*)
   10330 	  # For security reasons, it is highly recommended that you always
   10331 	  # use absolute paths for naming shared libraries, and exclude the
   10332 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10333 	  # requires that you compile everything twice, which is a pain.
   10334 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10335 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10336 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10337 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10338 	  else
   10339 	    ld_shlibs=no
   10340 	  fi
   10341 	;;
   10342       esac
   10343       ;;
   10344 
   10345     sunos4*)
   10346       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10347       wlarc=
   10348       hardcode_direct=yes
   10349       hardcode_shlibpath_var=no
   10350       ;;
   10351 
   10352     *)
   10353       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10354 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10355 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10356       else
   10357 	ld_shlibs=no
   10358       fi
   10359       ;;
   10360     esac
   10361 
   10362     if test "$ld_shlibs" = no; then
   10363       runpath_var=
   10364       hardcode_libdir_flag_spec=
   10365       export_dynamic_flag_spec=
   10366       whole_archive_flag_spec=
   10367     fi
   10368   else
   10369     # PORTME fill in a description of your system's linker (not GNU ld)
   10370     case $host_os in
   10371     aix3*)
   10372       allow_undefined_flag=unsupported
   10373       always_export_symbols=yes
   10374       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'
   10375       # Note: this linker hardcodes the directories in LIBPATH if there
   10376       # are no directories specified by -L.
   10377       hardcode_minus_L=yes
   10378       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   10379 	# Neither direct hardcoding nor static linking is supported with a
   10380 	# broken collect2.
   10381 	hardcode_direct=unsupported
   10382       fi
   10383       ;;
   10384 
   10385     aix[4-9]*)
   10386       if test "$host_cpu" = ia64; then
   10387 	# On IA64, the linker does run time linking by default, so we don't
   10388 	# have to do anything special.
   10389 	aix_use_runtimelinking=no
   10390 	exp_sym_flag='-Bexport'
   10391 	no_entry_flag=""
   10392       else
   10393 	# If we're using GNU nm, then we don't want the "-C" option.
   10394 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   10395 	# Also, AIX nm treats weak defined symbols like other global
   10396 	# defined symbols, whereas GNU nm marks them as "W".
   10397 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10398 	  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'
   10399 	else
   10400 	  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'
   10401 	fi
   10402 	aix_use_runtimelinking=no
   10403 
   10404 	# Test if we are trying to use run time linking or normal
   10405 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10406 	# need to do runtime linking.
   10407 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10408 	  for ld_flag in $LDFLAGS; do
   10409 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   10410 	    aix_use_runtimelinking=yes
   10411 	    break
   10412 	  fi
   10413 	  done
   10414 	  ;;
   10415 	esac
   10416 
   10417 	exp_sym_flag='-bexport'
   10418 	no_entry_flag='-bnoentry'
   10419       fi
   10420 
   10421       # When large executables or shared objects are built, AIX ld can
   10422       # have problems creating the table of contents.  If linking a library
   10423       # or program results in "error TOC overflow" add -mminimal-toc to
   10424       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10425       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10426 
   10427       archive_cmds=''
   10428       hardcode_direct=yes
   10429       hardcode_direct_absolute=yes
   10430       hardcode_libdir_separator=':'
   10431       link_all_deplibs=yes
   10432       file_list_spec='${wl}-f,'
   10433 
   10434       if test "$GCC" = yes; then
   10435 	case $host_os in aix4.[012]|aix4.[012].*)
   10436 	# We only want to do this on AIX 4.2 and lower, the check
   10437 	# below for broken collect2 doesn't work under 4.3+
   10438 	  collect2name=`${CC} -print-prog-name=collect2`
   10439 	  if test -f "$collect2name" &&
   10440 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10441 	  then
   10442 	  # We have reworked collect2
   10443 	  :
   10444 	  else
   10445 	  # We have old collect2
   10446 	  hardcode_direct=unsupported
   10447 	  # It fails to find uninstalled libraries when the uninstalled
   10448 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10449 	  # to unsupported forces relinking
   10450 	  hardcode_minus_L=yes
   10451 	  hardcode_libdir_flag_spec='-L$libdir'
   10452 	  hardcode_libdir_separator=
   10453 	  fi
   10454 	  ;;
   10455 	esac
   10456 	shared_flag='-shared'
   10457 	if test "$aix_use_runtimelinking" = yes; then
   10458 	  shared_flag="$shared_flag "'${wl}-G'
   10459 	fi
   10460 	link_all_deplibs=no
   10461       else
   10462 	# not using gcc
   10463 	if test "$host_cpu" = ia64; then
   10464 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10465 	# chokes on -Wl,-G. The following line is correct:
   10466 	  shared_flag='-G'
   10467 	else
   10468 	  if test "$aix_use_runtimelinking" = yes; then
   10469 	    shared_flag='${wl}-G'
   10470 	  else
   10471 	    shared_flag='${wl}-bM:SRE'
   10472 	  fi
   10473 	fi
   10474       fi
   10475 
   10476       export_dynamic_flag_spec='${wl}-bexpall'
   10477       # It seems that -bexpall does not export symbols beginning with
   10478       # underscore (_), so it is better to generate a list of symbols to export.
   10479       always_export_symbols=yes
   10480       if test "$aix_use_runtimelinking" = yes; then
   10481 	# Warning - without using the other runtime loading flags (-brtl),
   10482 	# -berok will link without error, but may produce a broken library.
   10483 	allow_undefined_flag='-berok'
   10484         # Determine the default libpath from the value encoded in an
   10485         # empty executable.
   10486         if test "${lt_cv_aix_libpath+set}" = set; then
   10487   aix_libpath=$lt_cv_aix_libpath
   10488 else
   10489   if ${lt_cv_aix_libpath_+:} false; then :
   10490   $as_echo_n "(cached) " >&6
   10491 else
   10492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10493 /* end confdefs.h.  */
   10494 
   10495 int
   10496 main ()
   10497 {
   10498 
   10499   ;
   10500   return 0;
   10501 }
   10502 _ACEOF
   10503 if ac_fn_c_try_link "$LINENO"; then :
   10504 
   10505   lt_aix_libpath_sed='
   10506       /Import File Strings/,/^$/ {
   10507 	  /^0/ {
   10508 	      s/^0  *\([^ ]*\) *$/\1/
   10509 	      p
   10510 	  }
   10511       }'
   10512   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10513   # Check for a 64-bit object if we didn't find anything.
   10514   if test -z "$lt_cv_aix_libpath_"; then
   10515     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10516   fi
   10517 fi
   10518 rm -f core conftest.err conftest.$ac_objext \
   10519     conftest$ac_exeext conftest.$ac_ext
   10520   if test -z "$lt_cv_aix_libpath_"; then
   10521     lt_cv_aix_libpath_="/usr/lib:/lib"
   10522   fi
   10523 
   10524 fi
   10525 
   10526   aix_libpath=$lt_cv_aix_libpath_
   10527 fi
   10528 
   10529         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10530         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"
   10531       else
   10532 	if test "$host_cpu" = ia64; then
   10533 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   10534 	  allow_undefined_flag="-z nodefs"
   10535 	  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"
   10536 	else
   10537 	 # Determine the default libpath from the value encoded in an
   10538 	 # empty executable.
   10539 	 if test "${lt_cv_aix_libpath+set}" = set; then
   10540   aix_libpath=$lt_cv_aix_libpath
   10541 else
   10542   if ${lt_cv_aix_libpath_+:} false; then :
   10543   $as_echo_n "(cached) " >&6
   10544 else
   10545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10546 /* end confdefs.h.  */
   10547 
   10548 int
   10549 main ()
   10550 {
   10551 
   10552   ;
   10553   return 0;
   10554 }
   10555 _ACEOF
   10556 if ac_fn_c_try_link "$LINENO"; then :
   10557 
   10558   lt_aix_libpath_sed='
   10559       /Import File Strings/,/^$/ {
   10560 	  /^0/ {
   10561 	      s/^0  *\([^ ]*\) *$/\1/
   10562 	      p
   10563 	  }
   10564       }'
   10565   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10566   # Check for a 64-bit object if we didn't find anything.
   10567   if test -z "$lt_cv_aix_libpath_"; then
   10568     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10569   fi
   10570 fi
   10571 rm -f core conftest.err conftest.$ac_objext \
   10572     conftest$ac_exeext conftest.$ac_ext
   10573   if test -z "$lt_cv_aix_libpath_"; then
   10574     lt_cv_aix_libpath_="/usr/lib:/lib"
   10575   fi
   10576 
   10577 fi
   10578 
   10579   aix_libpath=$lt_cv_aix_libpath_
   10580 fi
   10581 
   10582 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10583 	  # Warning - without using the other run time loading flags,
   10584 	  # -berok will link without error, but may produce a broken library.
   10585 	  no_undefined_flag=' ${wl}-bernotok'
   10586 	  allow_undefined_flag=' ${wl}-berok'
   10587 	  if test "$with_gnu_ld" = yes; then
   10588 	    # We only use this code for GNU lds that support --whole-archive.
   10589 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10590 	  else
   10591 	    # Exported symbols can be pulled into shared objects from archives
   10592 	    whole_archive_flag_spec='$convenience'
   10593 	  fi
   10594 	  archive_cmds_need_lc=yes
   10595 	  # This is similar to how AIX traditionally builds its shared libraries.
   10596 	  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'
   10597 	fi
   10598       fi
   10599       ;;
   10600 
   10601     amigaos*)
   10602       case $host_cpu in
   10603       powerpc)
   10604             # see comment about AmigaOS4 .so support
   10605             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10606             archive_expsym_cmds=''
   10607         ;;
   10608       m68k)
   10609             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)'
   10610             hardcode_libdir_flag_spec='-L$libdir'
   10611             hardcode_minus_L=yes
   10612         ;;
   10613       esac
   10614       ;;
   10615 
   10616     bsdi[45]*)
   10617       export_dynamic_flag_spec=-rdynamic
   10618       ;;
   10619 
   10620     cygwin* | mingw* | pw32* | cegcc*)
   10621       # When not using gcc, we currently assume that we are using
   10622       # Microsoft Visual C++.
   10623       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10624       # no search path for DLLs.
   10625       case $cc_basename in
   10626       cl*)
   10627 	# Native MSVC
   10628 	hardcode_libdir_flag_spec=' '
   10629 	allow_undefined_flag=unsupported
   10630 	always_export_symbols=yes
   10631 	file_list_spec='@'
   10632 	# Tell ltmain to make .lib files, not .a files.
   10633 	libext=lib
   10634 	# Tell ltmain to make .dll files, not .so files.
   10635 	shrext_cmds=".dll"
   10636 	# FIXME: Setting linknames here is a bad hack.
   10637 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   10638 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10639 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   10640 	  else
   10641 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   10642 	  fi~
   10643 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10644 	  linknames='
   10645 	# The linker will not automatically build a static lib if we build a DLL.
   10646 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10647 	enable_shared_with_static_runtimes=yes
   10648 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10649 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10650 	# Don't use ranlib
   10651 	old_postinstall_cmds='chmod 644 $oldlib'
   10652 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10653 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   10654 	  case $lt_outputfile in
   10655 	    *.exe|*.EXE) ;;
   10656 	    *)
   10657 	      lt_outputfile="$lt_outputfile.exe"
   10658 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   10659 	      ;;
   10660 	  esac~
   10661 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   10662 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10663 	    $RM "$lt_outputfile.manifest";
   10664 	  fi'
   10665 	;;
   10666       *)
   10667 	# Assume MSVC wrapper
   10668 	hardcode_libdir_flag_spec=' '
   10669 	allow_undefined_flag=unsupported
   10670 	# Tell ltmain to make .lib files, not .a files.
   10671 	libext=lib
   10672 	# Tell ltmain to make .dll files, not .so files.
   10673 	shrext_cmds=".dll"
   10674 	# FIXME: Setting linknames here is a bad hack.
   10675 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10676 	# The linker will automatically build a .lib file if we build a DLL.
   10677 	old_archive_from_new_cmds='true'
   10678 	# FIXME: Should let the user specify the lib program.
   10679 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10680 	enable_shared_with_static_runtimes=yes
   10681 	;;
   10682       esac
   10683       ;;
   10684 
   10685     darwin* | rhapsody*)
   10686 
   10687 
   10688   archive_cmds_need_lc=no
   10689   hardcode_direct=no
   10690   hardcode_automatic=yes
   10691   hardcode_shlibpath_var=unsupported
   10692   if test "$lt_cv_ld_force_load" = "yes"; then
   10693     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\"`'
   10694 
   10695   else
   10696     whole_archive_flag_spec=''
   10697   fi
   10698   link_all_deplibs=yes
   10699   allow_undefined_flag="$_lt_dar_allow_undefined"
   10700   case $cc_basename in
   10701      ifort*) _lt_dar_can_shared=yes ;;
   10702      *) _lt_dar_can_shared=$GCC ;;
   10703   esac
   10704   if test "$_lt_dar_can_shared" = "yes"; then
   10705     output_verbose_link_cmd=func_echo_all
   10706     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   10707     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   10708     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}"
   10709     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}"
   10710 
   10711   else
   10712   ld_shlibs=no
   10713   fi
   10714 
   10715       ;;
   10716 
   10717     dgux*)
   10718       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10719       hardcode_libdir_flag_spec='-L$libdir'
   10720       hardcode_shlibpath_var=no
   10721       ;;
   10722 
   10723     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10724     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10725     # does not break anything, and helps significantly (at the cost of a little
   10726     # extra space).
   10727     freebsd2.2*)
   10728       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10729       hardcode_libdir_flag_spec='-R$libdir'
   10730       hardcode_direct=yes
   10731       hardcode_shlibpath_var=no
   10732       ;;
   10733 
   10734     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10735     freebsd2.*)
   10736       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10737       hardcode_direct=yes
   10738       hardcode_minus_L=yes
   10739       hardcode_shlibpath_var=no
   10740       ;;
   10741 
   10742     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10743     freebsd* | dragonfly*)
   10744       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10745       hardcode_libdir_flag_spec='-R$libdir'
   10746       hardcode_direct=yes
   10747       hardcode_shlibpath_var=no
   10748       ;;
   10749 
   10750     hpux9*)
   10751       if test "$GCC" = yes; then
   10752 	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'
   10753       else
   10754 	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'
   10755       fi
   10756       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10757       hardcode_libdir_separator=:
   10758       hardcode_direct=yes
   10759 
   10760       # hardcode_minus_L: Not really in the search PATH,
   10761       # but as the default location of the library.
   10762       hardcode_minus_L=yes
   10763       export_dynamic_flag_spec='${wl}-E'
   10764       ;;
   10765 
   10766     hpux10*)
   10767       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10768 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10769       else
   10770 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10771       fi
   10772       if test "$with_gnu_ld" = no; then
   10773 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10774 	hardcode_libdir_separator=:
   10775 	hardcode_direct=yes
   10776 	hardcode_direct_absolute=yes
   10777 	export_dynamic_flag_spec='${wl}-E'
   10778 	# hardcode_minus_L: Not really in the search PATH,
   10779 	# but as the default location of the library.
   10780 	hardcode_minus_L=yes
   10781       fi
   10782       ;;
   10783 
   10784     hpux11*)
   10785       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10786 	case $host_cpu in
   10787 	hppa*64*)
   10788 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10789 	  ;;
   10790 	ia64*)
   10791 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10792 	  ;;
   10793 	*)
   10794 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10795 	  ;;
   10796 	esac
   10797       else
   10798 	case $host_cpu in
   10799 	hppa*64*)
   10800 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10801 	  ;;
   10802 	ia64*)
   10803 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10804 	  ;;
   10805 	*)
   10806 
   10807 	  # Older versions of the 11.00 compiler do not understand -b yet
   10808 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10809 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10810 $as_echo_n "checking if $CC understands -b... " >&6; }
   10811 if ${lt_cv_prog_compiler__b+:} false; then :
   10812   $as_echo_n "(cached) " >&6
   10813 else
   10814   lt_cv_prog_compiler__b=no
   10815    save_LDFLAGS="$LDFLAGS"
   10816    LDFLAGS="$LDFLAGS -b"
   10817    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10818    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10819      # The linker can only warn and ignore the option if not recognized
   10820      # So say no if there are warnings
   10821      if test -s conftest.err; then
   10822        # Append any errors to the config.log.
   10823        cat conftest.err 1>&5
   10824        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10825        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10826        if diff conftest.exp conftest.er2 >/dev/null; then
   10827          lt_cv_prog_compiler__b=yes
   10828        fi
   10829      else
   10830        lt_cv_prog_compiler__b=yes
   10831      fi
   10832    fi
   10833    $RM -r conftest*
   10834    LDFLAGS="$save_LDFLAGS"
   10835 
   10836 fi
   10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10838 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10839 
   10840 if test x"$lt_cv_prog_compiler__b" = xyes; then
   10841     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10842 else
   10843     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10844 fi
   10845 
   10846 	  ;;
   10847 	esac
   10848       fi
   10849       if test "$with_gnu_ld" = no; then
   10850 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10851 	hardcode_libdir_separator=:
   10852 
   10853 	case $host_cpu in
   10854 	hppa*64*|ia64*)
   10855 	  hardcode_direct=no
   10856 	  hardcode_shlibpath_var=no
   10857 	  ;;
   10858 	*)
   10859 	  hardcode_direct=yes
   10860 	  hardcode_direct_absolute=yes
   10861 	  export_dynamic_flag_spec='${wl}-E'
   10862 
   10863 	  # hardcode_minus_L: Not really in the search PATH,
   10864 	  # but as the default location of the library.
   10865 	  hardcode_minus_L=yes
   10866 	  ;;
   10867 	esac
   10868       fi
   10869       ;;
   10870 
   10871     irix5* | irix6* | nonstopux*)
   10872       if test "$GCC" = yes; then
   10873 	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'
   10874 	# Try to use the -exported_symbol ld option, if it does not
   10875 	# work, assume that -exports_file does not work either and
   10876 	# implicitly export all symbols.
   10877 	# This should be the same for all languages, so no per-tag cache variable.
   10878 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10879 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10880 if ${lt_cv_irix_exported_symbol+:} false; then :
   10881   $as_echo_n "(cached) " >&6
   10882 else
   10883   save_LDFLAGS="$LDFLAGS"
   10884 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10885 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10886 /* end confdefs.h.  */
   10887 int foo (void) { return 0; }
   10888 _ACEOF
   10889 if ac_fn_c_try_link "$LINENO"; then :
   10890   lt_cv_irix_exported_symbol=yes
   10891 else
   10892   lt_cv_irix_exported_symbol=no
   10893 fi
   10894 rm -f core conftest.err conftest.$ac_objext \
   10895     conftest$ac_exeext conftest.$ac_ext
   10896            LDFLAGS="$save_LDFLAGS"
   10897 fi
   10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10899 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10900 	if test "$lt_cv_irix_exported_symbol" = yes; then
   10901           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'
   10902 	fi
   10903       else
   10904 	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'
   10905 	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'
   10906       fi
   10907       archive_cmds_need_lc='no'
   10908       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10909       hardcode_libdir_separator=:
   10910       inherit_rpath=yes
   10911       link_all_deplibs=yes
   10912       ;;
   10913 
   10914     netbsd* | netbsdelf*-gnu)
   10915       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10916 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10917       else
   10918 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10919       fi
   10920       hardcode_libdir_flag_spec='-R$libdir'
   10921       hardcode_direct=yes
   10922       hardcode_shlibpath_var=no
   10923       ;;
   10924 
   10925     newsos6)
   10926       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10927       hardcode_direct=yes
   10928       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10929       hardcode_libdir_separator=:
   10930       hardcode_shlibpath_var=no
   10931       ;;
   10932 
   10933     *nto* | *qnx*)
   10934       ;;
   10935 
   10936     openbsd*)
   10937       if test -f /usr/libexec/ld.so; then
   10938 	hardcode_direct=yes
   10939 	hardcode_shlibpath_var=no
   10940 	hardcode_direct_absolute=yes
   10941 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10942 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10943 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10944 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10945 	  export_dynamic_flag_spec='${wl}-E'
   10946 	else
   10947 	  case $host_os in
   10948 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10949 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10950 	     hardcode_libdir_flag_spec='-R$libdir'
   10951 	     ;;
   10952 	   *)
   10953 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10954 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10955 	     ;;
   10956 	  esac
   10957 	fi
   10958       else
   10959 	ld_shlibs=no
   10960       fi
   10961       ;;
   10962 
   10963     os2*)
   10964       hardcode_libdir_flag_spec='-L$libdir'
   10965       hardcode_minus_L=yes
   10966       allow_undefined_flag=unsupported
   10967       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'
   10968       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10969       ;;
   10970 
   10971     osf3*)
   10972       if test "$GCC" = yes; then
   10973 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10974 	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'
   10975       else
   10976 	allow_undefined_flag=' -expect_unresolved \*'
   10977 	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'
   10978       fi
   10979       archive_cmds_need_lc='no'
   10980       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10981       hardcode_libdir_separator=:
   10982       ;;
   10983 
   10984     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10985       if test "$GCC" = yes; then
   10986 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10987 	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'
   10988 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10989       else
   10990 	allow_undefined_flag=' -expect_unresolved \*'
   10991 	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'
   10992 	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~
   10993 	$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'
   10994 
   10995 	# Both c and cxx compiler support -rpath directly
   10996 	hardcode_libdir_flag_spec='-rpath $libdir'
   10997       fi
   10998       archive_cmds_need_lc='no'
   10999       hardcode_libdir_separator=:
   11000       ;;
   11001 
   11002     solaris*)
   11003       no_undefined_flag=' -z defs'
   11004       if test "$GCC" = yes; then
   11005 	wlarc='${wl}'
   11006 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11007 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11008 	  $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'
   11009       else
   11010 	case `$CC -V 2>&1` in
   11011 	*"Compilers 5.0"*)
   11012 	  wlarc=''
   11013 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11014 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11015 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11016 	  ;;
   11017 	*)
   11018 	  wlarc='${wl}'
   11019 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11020 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11021 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11022 	  ;;
   11023 	esac
   11024       fi
   11025       hardcode_libdir_flag_spec='-R$libdir'
   11026       hardcode_shlibpath_var=no
   11027       case $host_os in
   11028       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11029       *)
   11030 	# The compiler driver will combine and reorder linker options,
   11031 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   11032 	# but is careful enough not to reorder.
   11033 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11034 	if test "$GCC" = yes; then
   11035 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   11036 	else
   11037 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11038 	fi
   11039 	;;
   11040       esac
   11041       link_all_deplibs=yes
   11042       ;;
   11043 
   11044     sunos4*)
   11045       if test "x$host_vendor" = xsequent; then
   11046 	# Use $CC to link under sequent, because it throws in some extra .o
   11047 	# files that make .init and .fini sections work.
   11048 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11049       else
   11050 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11051       fi
   11052       hardcode_libdir_flag_spec='-L$libdir'
   11053       hardcode_direct=yes
   11054       hardcode_minus_L=yes
   11055       hardcode_shlibpath_var=no
   11056       ;;
   11057 
   11058     sysv4)
   11059       case $host_vendor in
   11060 	sni)
   11061 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11062 	  hardcode_direct=yes # is this really true???
   11063 	;;
   11064 	siemens)
   11065 	  ## LD is ld it makes a PLAMLIB
   11066 	  ## CC just makes a GrossModule.
   11067 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11068 	  reload_cmds='$CC -r -o $output$reload_objs'
   11069 	  hardcode_direct=no
   11070         ;;
   11071 	motorola)
   11072 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11073 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11074 	;;
   11075       esac
   11076       runpath_var='LD_RUN_PATH'
   11077       hardcode_shlibpath_var=no
   11078       ;;
   11079 
   11080     sysv4.3*)
   11081       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11082       hardcode_shlibpath_var=no
   11083       export_dynamic_flag_spec='-Bexport'
   11084       ;;
   11085 
   11086     sysv4*MP*)
   11087       if test -d /usr/nec; then
   11088 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11089 	hardcode_shlibpath_var=no
   11090 	runpath_var=LD_RUN_PATH
   11091 	hardcode_runpath_var=yes
   11092 	ld_shlibs=yes
   11093       fi
   11094       ;;
   11095 
   11096     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11097       no_undefined_flag='${wl}-z,text'
   11098       archive_cmds_need_lc=no
   11099       hardcode_shlibpath_var=no
   11100       runpath_var='LD_RUN_PATH'
   11101 
   11102       if test "$GCC" = yes; then
   11103 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11104 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11105       else
   11106 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11107 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11108       fi
   11109       ;;
   11110 
   11111     sysv5* | sco3.2v5* | sco5v6*)
   11112       # Note: We can NOT use -z defs as we might desire, because we do not
   11113       # link with -lc, and that would cause any symbols used from libc to
   11114       # always be unresolved, which means just about no library would
   11115       # ever link correctly.  If we're not using GNU ld we use -z text
   11116       # though, which does catch some bad symbols but isn't as heavy-handed
   11117       # as -z defs.
   11118       no_undefined_flag='${wl}-z,text'
   11119       allow_undefined_flag='${wl}-z,nodefs'
   11120       archive_cmds_need_lc=no
   11121       hardcode_shlibpath_var=no
   11122       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   11123       hardcode_libdir_separator=':'
   11124       link_all_deplibs=yes
   11125       export_dynamic_flag_spec='${wl}-Bexport'
   11126       runpath_var='LD_RUN_PATH'
   11127 
   11128       if test "$GCC" = yes; then
   11129 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11130 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11131       else
   11132 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11133 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11134       fi
   11135       ;;
   11136 
   11137     uts4*)
   11138       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11139       hardcode_libdir_flag_spec='-L$libdir'
   11140       hardcode_shlibpath_var=no
   11141       ;;
   11142 
   11143     *)
   11144       ld_shlibs=no
   11145       ;;
   11146     esac
   11147 
   11148     if test x$host_vendor = xsni; then
   11149       case $host in
   11150       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11151 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   11152 	;;
   11153       esac
   11154     fi
   11155   fi
   11156 
   11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11158 $as_echo "$ld_shlibs" >&6; }
   11159 test "$ld_shlibs" = no && can_build_shared=no
   11160 
   11161 with_gnu_ld=$with_gnu_ld
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 #
   11178 # Do we need to explicitly link libc?
   11179 #
   11180 case "x$archive_cmds_need_lc" in
   11181 x|xyes)
   11182   # Assume -lc should be added
   11183   archive_cmds_need_lc=yes
   11184 
   11185   if test "$enable_shared" = yes && test "$GCC" = yes; then
   11186     case $archive_cmds in
   11187     *'~'*)
   11188       # FIXME: we may have to deal with multi-command sequences.
   11189       ;;
   11190     '$CC '*)
   11191       # Test whether the compiler implicitly links with -lc since on some
   11192       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11193       # to ld, don't add -lc before -lgcc.
   11194       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11195 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   11196 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   11197   $as_echo_n "(cached) " >&6
   11198 else
   11199   $RM conftest*
   11200 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11201 
   11202 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11203   (eval $ac_compile) 2>&5
   11204   ac_status=$?
   11205   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11206   test $ac_status = 0; } 2>conftest.err; then
   11207 	  soname=conftest
   11208 	  lib=conftest
   11209 	  libobjs=conftest.$ac_objext
   11210 	  deplibs=
   11211 	  wl=$lt_prog_compiler_wl
   11212 	  pic_flag=$lt_prog_compiler_pic
   11213 	  compiler_flags=-v
   11214 	  linker_flags=-v
   11215 	  verstring=
   11216 	  output_objdir=.
   11217 	  libname=conftest
   11218 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11219 	  allow_undefined_flag=
   11220 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11221   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11222   ac_status=$?
   11223   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11224   test $ac_status = 0; }
   11225 	  then
   11226 	    lt_cv_archive_cmds_need_lc=no
   11227 	  else
   11228 	    lt_cv_archive_cmds_need_lc=yes
   11229 	  fi
   11230 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11231 	else
   11232 	  cat conftest.err 1>&5
   11233 	fi
   11234 	$RM conftest*
   11235 
   11236 fi
   11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11238 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   11239       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11240       ;;
   11241     esac
   11242   fi
   11243   ;;
   11244 esac
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11398 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11399 
   11400 if test "$GCC" = yes; then
   11401   case $host_os in
   11402     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   11403     *) lt_awk_arg="/^libraries:/" ;;
   11404   esac
   11405   case $host_os in
   11406     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   11407     *) lt_sed_strip_eq="s,=/,/,g" ;;
   11408   esac
   11409   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11410   case $lt_search_path_spec in
   11411   *\;*)
   11412     # if the path contains ";" then we assume it to be the separator
   11413     # otherwise default to the standard path separator (i.e. ":") - it is
   11414     # assumed that no part of a normal pathname contains ";" but that should
   11415     # okay in the real world where ";" in dirpaths is itself problematic.
   11416     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11417     ;;
   11418   *)
   11419     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11420     ;;
   11421   esac
   11422   # Ok, now we have the path, separated by spaces, we can step through it
   11423   # and add multilib dir if necessary.
   11424   lt_tmp_lt_search_path_spec=
   11425   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11426   for lt_sys_path in $lt_search_path_spec; do
   11427     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   11428       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   11429     else
   11430       test -d "$lt_sys_path" && \
   11431 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11432     fi
   11433   done
   11434   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11435 BEGIN {RS=" "; FS="/|\n";} {
   11436   lt_foo="";
   11437   lt_count=0;
   11438   for (lt_i = NF; lt_i > 0; lt_i--) {
   11439     if ($lt_i != "" && $lt_i != ".") {
   11440       if ($lt_i == "..") {
   11441         lt_count++;
   11442       } else {
   11443         if (lt_count == 0) {
   11444           lt_foo="/" $lt_i lt_foo;
   11445         } else {
   11446           lt_count--;
   11447         }
   11448       }
   11449     }
   11450   }
   11451   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11452   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11453 }'`
   11454   # AWK program above erroneously prepends '/' to C:/dos/paths
   11455   # for these hosts.
   11456   case $host_os in
   11457     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11458       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   11459   esac
   11460   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11461 else
   11462   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11463 fi
   11464 library_names_spec=
   11465 libname_spec='lib$name'
   11466 soname_spec=
   11467 shrext_cmds=".so"
   11468 postinstall_cmds=
   11469 postuninstall_cmds=
   11470 finish_cmds=
   11471 finish_eval=
   11472 shlibpath_var=
   11473 shlibpath_overrides_runpath=unknown
   11474 version_type=none
   11475 dynamic_linker="$host_os ld.so"
   11476 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11477 need_lib_prefix=unknown
   11478 hardcode_into_libs=no
   11479 
   11480 # when you set need_version to no, make sure it does not cause -set_version
   11481 # flags to be left without arguments
   11482 need_version=unknown
   11483 
   11484 case $host_os in
   11485 aix3*)
   11486   version_type=linux # correct to gnu/linux during the next big refactor
   11487   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11488   shlibpath_var=LIBPATH
   11489 
   11490   # AIX 3 has no versioning support, so we append a major version to the name.
   11491   soname_spec='${libname}${release}${shared_ext}$major'
   11492   ;;
   11493 
   11494 aix[4-9]*)
   11495   version_type=linux # correct to gnu/linux during the next big refactor
   11496   need_lib_prefix=no
   11497   need_version=no
   11498   hardcode_into_libs=yes
   11499   if test "$host_cpu" = ia64; then
   11500     # AIX 5 supports IA64
   11501     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11502     shlibpath_var=LD_LIBRARY_PATH
   11503   else
   11504     # With GCC up to 2.95.x, collect2 would create an import file
   11505     # for dependence libraries.  The import file would start with
   11506     # the line `#! .'.  This would cause the generated library to
   11507     # depend on `.', always an invalid library.  This was fixed in
   11508     # development snapshots of GCC prior to 3.0.
   11509     case $host_os in
   11510       aix4 | aix4.[01] | aix4.[01].*)
   11511       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11512 	   echo ' yes '
   11513 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   11514 	:
   11515       else
   11516 	can_build_shared=no
   11517       fi
   11518       ;;
   11519     esac
   11520     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11521     # soname into executable. Probably we can add versioning support to
   11522     # collect2, so additional links can be useful in future.
   11523     if test "$aix_use_runtimelinking" = yes; then
   11524       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11525       # instead of lib<name>.a to let people know that these are not
   11526       # typical AIX shared libraries.
   11527       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11528     else
   11529       # We preserve .a as extension for shared libraries through AIX4.2
   11530       # and later when we are not doing run time linking.
   11531       library_names_spec='${libname}${release}.a $libname.a'
   11532       soname_spec='${libname}${release}${shared_ext}$major'
   11533     fi
   11534     shlibpath_var=LIBPATH
   11535   fi
   11536   ;;
   11537 
   11538 amigaos*)
   11539   case $host_cpu in
   11540   powerpc)
   11541     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11542     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11543     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11544     ;;
   11545   m68k)
   11546     library_names_spec='$libname.ixlibrary $libname.a'
   11547     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11548     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'
   11549     ;;
   11550   esac
   11551   ;;
   11552 
   11553 beos*)
   11554   library_names_spec='${libname}${shared_ext}'
   11555   dynamic_linker="$host_os ld.so"
   11556   shlibpath_var=LIBRARY_PATH
   11557   ;;
   11558 
   11559 bsdi[45]*)
   11560   version_type=linux # correct to gnu/linux during the next big refactor
   11561   need_version=no
   11562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11563   soname_spec='${libname}${release}${shared_ext}$major'
   11564   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11565   shlibpath_var=LD_LIBRARY_PATH
   11566   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11567   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11568   # the default ld.so.conf also contains /usr/contrib/lib and
   11569   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11570   # libtool to hard-code these into programs
   11571   ;;
   11572 
   11573 cygwin* | mingw* | pw32* | cegcc*)
   11574   version_type=windows
   11575   shrext_cmds=".dll"
   11576   need_version=no
   11577   need_lib_prefix=no
   11578 
   11579   case $GCC,$cc_basename in
   11580   yes,*)
   11581     # gcc
   11582     library_names_spec='$libname.dll.a'
   11583     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11584     postinstall_cmds='base_file=`basename \${file}`~
   11585       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11586       dldir=$destdir/`dirname \$dlpath`~
   11587       test -d \$dldir || mkdir -p \$dldir~
   11588       $install_prog $dir/$dlname \$dldir/$dlname~
   11589       chmod a+x \$dldir/$dlname~
   11590       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11591         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11592       fi'
   11593     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11594       dlpath=$dir/\$dldll~
   11595        $RM \$dlpath'
   11596     shlibpath_overrides_runpath=yes
   11597 
   11598     case $host_os in
   11599     cygwin*)
   11600       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11601       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11602 
   11603       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11604       ;;
   11605     mingw* | cegcc*)
   11606       # MinGW DLLs use traditional 'lib' prefix
   11607       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11608       ;;
   11609     pw32*)
   11610       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11611       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11612       ;;
   11613     esac
   11614     dynamic_linker='Win32 ld.exe'
   11615     ;;
   11616 
   11617   *,cl*)
   11618     # Native MSVC
   11619     libname_spec='$name'
   11620     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11621     library_names_spec='${libname}.dll.lib'
   11622 
   11623     case $build_os in
   11624     mingw*)
   11625       sys_lib_search_path_spec=
   11626       lt_save_ifs=$IFS
   11627       IFS=';'
   11628       for lt_path in $LIB
   11629       do
   11630         IFS=$lt_save_ifs
   11631         # Let DOS variable expansion print the short 8.3 style file name.
   11632         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11633         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11634       done
   11635       IFS=$lt_save_ifs
   11636       # Convert to MSYS style.
   11637       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11638       ;;
   11639     cygwin*)
   11640       # Convert to unix form, then to dos form, then back to unix form
   11641       # but this time dos style (no spaces!) so that the unix form looks
   11642       # like /cygdrive/c/PROGRA~1:/cygdr...
   11643       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11644       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11645       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11646       ;;
   11647     *)
   11648       sys_lib_search_path_spec="$LIB"
   11649       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11650         # It is most probably a Windows format PATH.
   11651         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11652       else
   11653         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11654       fi
   11655       # FIXME: find the short name or the path components, as spaces are
   11656       # common. (e.g. "Program Files" -> "PROGRA~1")
   11657       ;;
   11658     esac
   11659 
   11660     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11661     postinstall_cmds='base_file=`basename \${file}`~
   11662       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11663       dldir=$destdir/`dirname \$dlpath`~
   11664       test -d \$dldir || mkdir -p \$dldir~
   11665       $install_prog $dir/$dlname \$dldir/$dlname'
   11666     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11667       dlpath=$dir/\$dldll~
   11668        $RM \$dlpath'
   11669     shlibpath_overrides_runpath=yes
   11670     dynamic_linker='Win32 link.exe'
   11671     ;;
   11672 
   11673   *)
   11674     # Assume MSVC wrapper
   11675     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11676     dynamic_linker='Win32 ld.exe'
   11677     ;;
   11678   esac
   11679   # FIXME: first we should search . and the directory the executable is in
   11680   shlibpath_var=PATH
   11681   ;;
   11682 
   11683 darwin* | rhapsody*)
   11684   dynamic_linker="$host_os dyld"
   11685   version_type=darwin
   11686   need_lib_prefix=no
   11687   need_version=no
   11688   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11689   soname_spec='${libname}${release}${major}$shared_ext'
   11690   shlibpath_overrides_runpath=yes
   11691   shlibpath_var=DYLD_LIBRARY_PATH
   11692   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11693 
   11694   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11695   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11696   ;;
   11697 
   11698 dgux*)
   11699   version_type=linux # correct to gnu/linux during the next big refactor
   11700   need_lib_prefix=no
   11701   need_version=no
   11702   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   11703   soname_spec='${libname}${release}${shared_ext}$major'
   11704   shlibpath_var=LD_LIBRARY_PATH
   11705   ;;
   11706 
   11707 freebsd* | dragonfly*)
   11708   # DragonFly does not have aout.  When/if they implement a new
   11709   # versioning mechanism, adjust this.
   11710   if test -x /usr/bin/objformat; then
   11711     objformat=`/usr/bin/objformat`
   11712   else
   11713     case $host_os in
   11714     freebsd[23].*) objformat=aout ;;
   11715     *) objformat=elf ;;
   11716     esac
   11717   fi
   11718   version_type=freebsd-$objformat
   11719   case $version_type in
   11720     freebsd-elf*)
   11721       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11722       need_version=no
   11723       need_lib_prefix=no
   11724       ;;
   11725     freebsd-*)
   11726       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   11727       need_version=yes
   11728       ;;
   11729   esac
   11730   shlibpath_var=LD_LIBRARY_PATH
   11731   case $host_os in
   11732   freebsd2.*)
   11733     shlibpath_overrides_runpath=yes
   11734     ;;
   11735   freebsd3.[01]* | freebsdelf3.[01]*)
   11736     shlibpath_overrides_runpath=yes
   11737     hardcode_into_libs=yes
   11738     ;;
   11739   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11740   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11741     shlibpath_overrides_runpath=no
   11742     hardcode_into_libs=yes
   11743     ;;
   11744   *) # from 4.6 on, and DragonFly
   11745     shlibpath_overrides_runpath=yes
   11746     hardcode_into_libs=yes
   11747     ;;
   11748   esac
   11749   ;;
   11750 
   11751 haiku*)
   11752   version_type=linux # correct to gnu/linux during the next big refactor
   11753   need_lib_prefix=no
   11754   need_version=no
   11755   dynamic_linker="$host_os runtime_loader"
   11756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11757   soname_spec='${libname}${release}${shared_ext}$major'
   11758   shlibpath_var=LIBRARY_PATH
   11759   shlibpath_overrides_runpath=yes
   11760   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11761   hardcode_into_libs=yes
   11762   ;;
   11763 
   11764 hpux9* | hpux10* | hpux11*)
   11765   # Give a soname corresponding to the major version so that dld.sl refuses to
   11766   # link against other versions.
   11767   version_type=sunos
   11768   need_lib_prefix=no
   11769   need_version=no
   11770   case $host_cpu in
   11771   ia64*)
   11772     shrext_cmds='.so'
   11773     hardcode_into_libs=yes
   11774     dynamic_linker="$host_os dld.so"
   11775     shlibpath_var=LD_LIBRARY_PATH
   11776     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11777     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11778     soname_spec='${libname}${release}${shared_ext}$major'
   11779     if test "X$HPUX_IA64_MODE" = X32; then
   11780       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11781     else
   11782       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11783     fi
   11784     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11785     ;;
   11786   hppa*64*)
   11787     shrext_cmds='.sl'
   11788     hardcode_into_libs=yes
   11789     dynamic_linker="$host_os dld.sl"
   11790     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11791     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11792     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11793     soname_spec='${libname}${release}${shared_ext}$major'
   11794     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11795     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11796     ;;
   11797   *)
   11798     shrext_cmds='.sl'
   11799     dynamic_linker="$host_os dld.sl"
   11800     shlibpath_var=SHLIB_PATH
   11801     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11802     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11803     soname_spec='${libname}${release}${shared_ext}$major'
   11804     ;;
   11805   esac
   11806   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11807   postinstall_cmds='chmod 555 $lib'
   11808   # or fails outright, so override atomically:
   11809   install_override_mode=555
   11810   ;;
   11811 
   11812 interix[3-9]*)
   11813   version_type=linux # correct to gnu/linux during the next big refactor
   11814   need_lib_prefix=no
   11815   need_version=no
   11816   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11817   soname_spec='${libname}${release}${shared_ext}$major'
   11818   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11819   shlibpath_var=LD_LIBRARY_PATH
   11820   shlibpath_overrides_runpath=no
   11821   hardcode_into_libs=yes
   11822   ;;
   11823 
   11824 irix5* | irix6* | nonstopux*)
   11825   case $host_os in
   11826     nonstopux*) version_type=nonstopux ;;
   11827     *)
   11828 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11829 		version_type=linux # correct to gnu/linux during the next big refactor
   11830 	else
   11831 		version_type=irix
   11832 	fi ;;
   11833   esac
   11834   need_lib_prefix=no
   11835   need_version=no
   11836   soname_spec='${libname}${release}${shared_ext}$major'
   11837   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11838   case $host_os in
   11839   irix5* | nonstopux*)
   11840     libsuff= shlibsuff=
   11841     ;;
   11842   *)
   11843     case $LD in # libtool.m4 will add one of these switches to LD
   11844     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11845       libsuff= shlibsuff= libmagic=32-bit;;
   11846     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11847       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11848     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11849       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11850     *) libsuff= shlibsuff= libmagic=never-match;;
   11851     esac
   11852     ;;
   11853   esac
   11854   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11855   shlibpath_overrides_runpath=no
   11856   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11857   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11858   hardcode_into_libs=yes
   11859   ;;
   11860 
   11861 # No shared lib support for Linux oldld, aout, or coff.
   11862 linux*oldld* | linux*aout* | linux*coff*)
   11863   dynamic_linker=no
   11864   ;;
   11865 
   11866 # This must be glibc/ELF.
   11867 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11868   version_type=linux # correct to gnu/linux during the next big refactor
   11869   need_lib_prefix=no
   11870   need_version=no
   11871   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11872   soname_spec='${libname}${release}${shared_ext}$major'
   11873   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11874   shlibpath_var=LD_LIBRARY_PATH
   11875   shlibpath_overrides_runpath=no
   11876 
   11877   # Some binutils ld are patched to set DT_RUNPATH
   11878   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11879   $as_echo_n "(cached) " >&6
   11880 else
   11881   lt_cv_shlibpath_overrides_runpath=no
   11882     save_LDFLAGS=$LDFLAGS
   11883     save_libdir=$libdir
   11884     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11885 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11886     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11887 /* end confdefs.h.  */
   11888 
   11889 int
   11890 main ()
   11891 {
   11892 
   11893   ;
   11894   return 0;
   11895 }
   11896 _ACEOF
   11897 if ac_fn_c_try_link "$LINENO"; then :
   11898   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11899   lt_cv_shlibpath_overrides_runpath=yes
   11900 fi
   11901 fi
   11902 rm -f core conftest.err conftest.$ac_objext \
   11903     conftest$ac_exeext conftest.$ac_ext
   11904     LDFLAGS=$save_LDFLAGS
   11905     libdir=$save_libdir
   11906 
   11907 fi
   11908 
   11909   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11910 
   11911   # This implies no fast_install, which is unacceptable.
   11912   # Some rework will be needed to allow for fast_install
   11913   # before this can be enabled.
   11914   hardcode_into_libs=yes
   11915 
   11916   # Append ld.so.conf contents to the search path
   11917   if test -f /etc/ld.so.conf; then
   11918     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' ' '`
   11919     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11920   fi
   11921 
   11922   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11923   # powerpc, because MkLinux only supported shared libraries with the
   11924   # GNU dynamic linker.  Since this was broken with cross compilers,
   11925   # most powerpc-linux boxes support dynamic linking these days and
   11926   # people can always --disable-shared, the test was removed, and we
   11927   # assume the GNU/Linux dynamic linker is in use.
   11928   dynamic_linker='GNU/Linux ld.so'
   11929   ;;
   11930 
   11931 netbsdelf*-gnu)
   11932   version_type=linux
   11933   need_lib_prefix=no
   11934   need_version=no
   11935   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11936   soname_spec='${libname}${release}${shared_ext}$major'
   11937   shlibpath_var=LD_LIBRARY_PATH
   11938   shlibpath_overrides_runpath=no
   11939   hardcode_into_libs=yes
   11940   dynamic_linker='NetBSD ld.elf_so'
   11941   ;;
   11942 
   11943 netbsd*)
   11944   version_type=sunos
   11945   need_lib_prefix=no
   11946   need_version=no
   11947   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11948     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11949     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11950     dynamic_linker='NetBSD (a.out) ld.so'
   11951   else
   11952     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11953     soname_spec='${libname}${release}${shared_ext}$major'
   11954     dynamic_linker='NetBSD ld.elf_so'
   11955   fi
   11956   shlibpath_var=LD_LIBRARY_PATH
   11957   shlibpath_overrides_runpath=yes
   11958   hardcode_into_libs=yes
   11959   ;;
   11960 
   11961 newsos6)
   11962   version_type=linux # correct to gnu/linux during the next big refactor
   11963   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11964   shlibpath_var=LD_LIBRARY_PATH
   11965   shlibpath_overrides_runpath=yes
   11966   ;;
   11967 
   11968 *nto* | *qnx*)
   11969   version_type=qnx
   11970   need_lib_prefix=no
   11971   need_version=no
   11972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11973   soname_spec='${libname}${release}${shared_ext}$major'
   11974   shlibpath_var=LD_LIBRARY_PATH
   11975   shlibpath_overrides_runpath=no
   11976   hardcode_into_libs=yes
   11977   dynamic_linker='ldqnx.so'
   11978   ;;
   11979 
   11980 openbsd*)
   11981   version_type=sunos
   11982   sys_lib_dlsearch_path_spec="/usr/lib"
   11983   need_lib_prefix=no
   11984   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11985   case $host_os in
   11986     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11987     *)				need_version=no  ;;
   11988   esac
   11989   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11990   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11991   shlibpath_var=LD_LIBRARY_PATH
   11992   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11993     case $host_os in
   11994       openbsd2.[89] | openbsd2.[89].*)
   11995 	shlibpath_overrides_runpath=no
   11996 	;;
   11997       *)
   11998 	shlibpath_overrides_runpath=yes
   11999 	;;
   12000       esac
   12001   else
   12002     shlibpath_overrides_runpath=yes
   12003   fi
   12004   ;;
   12005 
   12006 os2*)
   12007   libname_spec='$name'
   12008   shrext_cmds=".dll"
   12009   need_lib_prefix=no
   12010   library_names_spec='$libname${shared_ext} $libname.a'
   12011   dynamic_linker='OS/2 ld.exe'
   12012   shlibpath_var=LIBPATH
   12013   ;;
   12014 
   12015 osf3* | osf4* | osf5*)
   12016   version_type=osf
   12017   need_lib_prefix=no
   12018   need_version=no
   12019   soname_spec='${libname}${release}${shared_ext}$major'
   12020   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12021   shlibpath_var=LD_LIBRARY_PATH
   12022   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12023   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12024   ;;
   12025 
   12026 rdos*)
   12027   dynamic_linker=no
   12028   ;;
   12029 
   12030 solaris*)
   12031   version_type=linux # correct to gnu/linux during the next big refactor
   12032   need_lib_prefix=no
   12033   need_version=no
   12034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12035   soname_spec='${libname}${release}${shared_ext}$major'
   12036   shlibpath_var=LD_LIBRARY_PATH
   12037   shlibpath_overrides_runpath=yes
   12038   hardcode_into_libs=yes
   12039   # ldd complains unless libraries are executable
   12040   postinstall_cmds='chmod +x $lib'
   12041   ;;
   12042 
   12043 sunos4*)
   12044   version_type=sunos
   12045   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12046   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12047   shlibpath_var=LD_LIBRARY_PATH
   12048   shlibpath_overrides_runpath=yes
   12049   if test "$with_gnu_ld" = yes; then
   12050     need_lib_prefix=no
   12051   fi
   12052   need_version=yes
   12053   ;;
   12054 
   12055 sysv4 | sysv4.3*)
   12056   version_type=linux # correct to gnu/linux during the next big refactor
   12057   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12058   soname_spec='${libname}${release}${shared_ext}$major'
   12059   shlibpath_var=LD_LIBRARY_PATH
   12060   case $host_vendor in
   12061     sni)
   12062       shlibpath_overrides_runpath=no
   12063       need_lib_prefix=no
   12064       runpath_var=LD_RUN_PATH
   12065       ;;
   12066     siemens)
   12067       need_lib_prefix=no
   12068       ;;
   12069     motorola)
   12070       need_lib_prefix=no
   12071       need_version=no
   12072       shlibpath_overrides_runpath=no
   12073       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12074       ;;
   12075   esac
   12076   ;;
   12077 
   12078 sysv4*MP*)
   12079   if test -d /usr/nec ;then
   12080     version_type=linux # correct to gnu/linux during the next big refactor
   12081     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   12082     soname_spec='$libname${shared_ext}.$major'
   12083     shlibpath_var=LD_LIBRARY_PATH
   12084   fi
   12085   ;;
   12086 
   12087 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12088   version_type=freebsd-elf
   12089   need_lib_prefix=no
   12090   need_version=no
   12091   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12092   soname_spec='${libname}${release}${shared_ext}$major'
   12093   shlibpath_var=LD_LIBRARY_PATH
   12094   shlibpath_overrides_runpath=yes
   12095   hardcode_into_libs=yes
   12096   if test "$with_gnu_ld" = yes; then
   12097     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12098   else
   12099     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12100     case $host_os in
   12101       sco3.2v5*)
   12102         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12103 	;;
   12104     esac
   12105   fi
   12106   sys_lib_dlsearch_path_spec='/usr/lib'
   12107   ;;
   12108 
   12109 tpf*)
   12110   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12111   version_type=linux # correct to gnu/linux during the next big refactor
   12112   need_lib_prefix=no
   12113   need_version=no
   12114   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12115   shlibpath_var=LD_LIBRARY_PATH
   12116   shlibpath_overrides_runpath=no
   12117   hardcode_into_libs=yes
   12118   ;;
   12119 
   12120 uts4*)
   12121   version_type=linux # correct to gnu/linux during the next big refactor
   12122   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12123   soname_spec='${libname}${release}${shared_ext}$major'
   12124   shlibpath_var=LD_LIBRARY_PATH
   12125   ;;
   12126 
   12127 *)
   12128   dynamic_linker=no
   12129   ;;
   12130 esac
   12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12132 $as_echo "$dynamic_linker" >&6; }
   12133 test "$dynamic_linker" = no && can_build_shared=no
   12134 
   12135 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12136 if test "$GCC" = yes; then
   12137   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12138 fi
   12139 
   12140 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   12141   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   12142 fi
   12143 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   12144   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   12145 fi
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 
   12162 
   12163 
   12164 
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 
   12171 
   12172 
   12173 
   12174 
   12175 
   12176 
   12177 
   12178 
   12179 
   12180 
   12181 
   12182 
   12183 
   12184 
   12185 
   12186 
   12187 
   12188 
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 
   12201 
   12202 
   12203 
   12204 
   12205 
   12206 
   12207 
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12239 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   12240 hardcode_action=
   12241 if test -n "$hardcode_libdir_flag_spec" ||
   12242    test -n "$runpath_var" ||
   12243    test "X$hardcode_automatic" = "Xyes" ; then
   12244 
   12245   # We can hardcode non-existent directories.
   12246   if test "$hardcode_direct" != no &&
   12247      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12248      # have to relink, otherwise we might link with an installed library
   12249      # when we should be linking with a yet-to-be-installed one
   12250      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   12251      test "$hardcode_minus_L" != no; then
   12252     # Linking always hardcodes the temporary library directory.
   12253     hardcode_action=relink
   12254   else
   12255     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12256     hardcode_action=immediate
   12257   fi
   12258 else
   12259   # We cannot hardcode anything, or else we can only hardcode existing
   12260   # directories.
   12261   hardcode_action=unsupported
   12262 fi
   12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12264 $as_echo "$hardcode_action" >&6; }
   12265 
   12266 if test "$hardcode_action" = relink ||
   12267    test "$inherit_rpath" = yes; then
   12268   # Fast installation is not supported
   12269   enable_fast_install=no
   12270 elif test "$shlibpath_overrides_runpath" = yes ||
   12271      test "$enable_shared" = no; then
   12272   # Fast installation is not necessary
   12273   enable_fast_install=needless
   12274 fi
   12275 
   12276 
   12277 
   12278 
   12279 
   12280 
   12281   if test "x$enable_dlopen" != xyes; then
   12282   enable_dlopen=unknown
   12283   enable_dlopen_self=unknown
   12284   enable_dlopen_self_static=unknown
   12285 else
   12286   lt_cv_dlopen=no
   12287   lt_cv_dlopen_libs=
   12288 
   12289   case $host_os in
   12290   beos*)
   12291     lt_cv_dlopen="load_add_on"
   12292     lt_cv_dlopen_libs=
   12293     lt_cv_dlopen_self=yes
   12294     ;;
   12295 
   12296   mingw* | pw32* | cegcc*)
   12297     lt_cv_dlopen="LoadLibrary"
   12298     lt_cv_dlopen_libs=
   12299     ;;
   12300 
   12301   cygwin*)
   12302     lt_cv_dlopen="dlopen"
   12303     lt_cv_dlopen_libs=
   12304     ;;
   12305 
   12306   darwin*)
   12307   # if libdl is installed we need to link against it
   12308     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12309 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12310 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12311   $as_echo_n "(cached) " >&6
   12312 else
   12313   ac_check_lib_save_LIBS=$LIBS
   12314 LIBS="-ldl  $LIBS"
   12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12316 /* end confdefs.h.  */
   12317 
   12318 /* Override any GCC internal prototype to avoid an error.
   12319    Use char because int might match the return type of a GCC
   12320    builtin and then its argument prototype would still apply.  */
   12321 #ifdef __cplusplus
   12322 extern "C"
   12323 #endif
   12324 char dlopen ();
   12325 int
   12326 main ()
   12327 {
   12328 return dlopen ();
   12329   ;
   12330   return 0;
   12331 }
   12332 _ACEOF
   12333 if ac_fn_c_try_link "$LINENO"; then :
   12334   ac_cv_lib_dl_dlopen=yes
   12335 else
   12336   ac_cv_lib_dl_dlopen=no
   12337 fi
   12338 rm -f core conftest.err conftest.$ac_objext \
   12339     conftest$ac_exeext conftest.$ac_ext
   12340 LIBS=$ac_check_lib_save_LIBS
   12341 fi
   12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12343 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12344 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12345   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12346 else
   12347 
   12348     lt_cv_dlopen="dyld"
   12349     lt_cv_dlopen_libs=
   12350     lt_cv_dlopen_self=yes
   12351 
   12352 fi
   12353 
   12354     ;;
   12355 
   12356   *)
   12357     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12358 if test "x$ac_cv_func_shl_load" = xyes; then :
   12359   lt_cv_dlopen="shl_load"
   12360 else
   12361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12362 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12363 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12364   $as_echo_n "(cached) " >&6
   12365 else
   12366   ac_check_lib_save_LIBS=$LIBS
   12367 LIBS="-ldld  $LIBS"
   12368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12369 /* end confdefs.h.  */
   12370 
   12371 /* Override any GCC internal prototype to avoid an error.
   12372    Use char because int might match the return type of a GCC
   12373    builtin and then its argument prototype would still apply.  */
   12374 #ifdef __cplusplus
   12375 extern "C"
   12376 #endif
   12377 char shl_load ();
   12378 int
   12379 main ()
   12380 {
   12381 return shl_load ();
   12382   ;
   12383   return 0;
   12384 }
   12385 _ACEOF
   12386 if ac_fn_c_try_link "$LINENO"; then :
   12387   ac_cv_lib_dld_shl_load=yes
   12388 else
   12389   ac_cv_lib_dld_shl_load=no
   12390 fi
   12391 rm -f core conftest.err conftest.$ac_objext \
   12392     conftest$ac_exeext conftest.$ac_ext
   12393 LIBS=$ac_check_lib_save_LIBS
   12394 fi
   12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12396 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12397 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12398   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   12399 else
   12400   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12401 if test "x$ac_cv_func_dlopen" = xyes; then :
   12402   lt_cv_dlopen="dlopen"
   12403 else
   12404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12405 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12406 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12407   $as_echo_n "(cached) " >&6
   12408 else
   12409   ac_check_lib_save_LIBS=$LIBS
   12410 LIBS="-ldl  $LIBS"
   12411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12412 /* end confdefs.h.  */
   12413 
   12414 /* Override any GCC internal prototype to avoid an error.
   12415    Use char because int might match the return type of a GCC
   12416    builtin and then its argument prototype would still apply.  */
   12417 #ifdef __cplusplus
   12418 extern "C"
   12419 #endif
   12420 char dlopen ();
   12421 int
   12422 main ()
   12423 {
   12424 return dlopen ();
   12425   ;
   12426   return 0;
   12427 }
   12428 _ACEOF
   12429 if ac_fn_c_try_link "$LINENO"; then :
   12430   ac_cv_lib_dl_dlopen=yes
   12431 else
   12432   ac_cv_lib_dl_dlopen=no
   12433 fi
   12434 rm -f core conftest.err conftest.$ac_objext \
   12435     conftest$ac_exeext conftest.$ac_ext
   12436 LIBS=$ac_check_lib_save_LIBS
   12437 fi
   12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12439 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12440 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12441   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12442 else
   12443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12444 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12445 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12446   $as_echo_n "(cached) " >&6
   12447 else
   12448   ac_check_lib_save_LIBS=$LIBS
   12449 LIBS="-lsvld  $LIBS"
   12450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12451 /* end confdefs.h.  */
   12452 
   12453 /* Override any GCC internal prototype to avoid an error.
   12454    Use char because int might match the return type of a GCC
   12455    builtin and then its argument prototype would still apply.  */
   12456 #ifdef __cplusplus
   12457 extern "C"
   12458 #endif
   12459 char dlopen ();
   12460 int
   12461 main ()
   12462 {
   12463 return dlopen ();
   12464   ;
   12465   return 0;
   12466 }
   12467 _ACEOF
   12468 if ac_fn_c_try_link "$LINENO"; then :
   12469   ac_cv_lib_svld_dlopen=yes
   12470 else
   12471   ac_cv_lib_svld_dlopen=no
   12472 fi
   12473 rm -f core conftest.err conftest.$ac_objext \
   12474     conftest$ac_exeext conftest.$ac_ext
   12475 LIBS=$ac_check_lib_save_LIBS
   12476 fi
   12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12478 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12479 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12480   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   12481 else
   12482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12483 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12484 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12485   $as_echo_n "(cached) " >&6
   12486 else
   12487   ac_check_lib_save_LIBS=$LIBS
   12488 LIBS="-ldld  $LIBS"
   12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12490 /* end confdefs.h.  */
   12491 
   12492 /* Override any GCC internal prototype to avoid an error.
   12493    Use char because int might match the return type of a GCC
   12494    builtin and then its argument prototype would still apply.  */
   12495 #ifdef __cplusplus
   12496 extern "C"
   12497 #endif
   12498 char dld_link ();
   12499 int
   12500 main ()
   12501 {
   12502 return dld_link ();
   12503   ;
   12504   return 0;
   12505 }
   12506 _ACEOF
   12507 if ac_fn_c_try_link "$LINENO"; then :
   12508   ac_cv_lib_dld_dld_link=yes
   12509 else
   12510   ac_cv_lib_dld_dld_link=no
   12511 fi
   12512 rm -f core conftest.err conftest.$ac_objext \
   12513     conftest$ac_exeext conftest.$ac_ext
   12514 LIBS=$ac_check_lib_save_LIBS
   12515 fi
   12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12517 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12518 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12519   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   12520 fi
   12521 
   12522 
   12523 fi
   12524 
   12525 
   12526 fi
   12527 
   12528 
   12529 fi
   12530 
   12531 
   12532 fi
   12533 
   12534 
   12535 fi
   12536 
   12537     ;;
   12538   esac
   12539 
   12540   if test "x$lt_cv_dlopen" != xno; then
   12541     enable_dlopen=yes
   12542   else
   12543     enable_dlopen=no
   12544   fi
   12545 
   12546   case $lt_cv_dlopen in
   12547   dlopen)
   12548     save_CPPFLAGS="$CPPFLAGS"
   12549     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12550 
   12551     save_LDFLAGS="$LDFLAGS"
   12552     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12553 
   12554     save_LIBS="$LIBS"
   12555     LIBS="$lt_cv_dlopen_libs $LIBS"
   12556 
   12557     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12558 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12559 if ${lt_cv_dlopen_self+:} false; then :
   12560   $as_echo_n "(cached) " >&6
   12561 else
   12562   	  if test "$cross_compiling" = yes; then :
   12563   lt_cv_dlopen_self=cross
   12564 else
   12565   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12566   lt_status=$lt_dlunknown
   12567   cat > conftest.$ac_ext <<_LT_EOF
   12568 #line $LINENO "configure"
   12569 #include "confdefs.h"
   12570 
   12571 #if HAVE_DLFCN_H
   12572 #include <dlfcn.h>
   12573 #endif
   12574 
   12575 #include <stdio.h>
   12576 
   12577 #ifdef RTLD_GLOBAL
   12578 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12579 #else
   12580 #  ifdef DL_GLOBAL
   12581 #    define LT_DLGLOBAL		DL_GLOBAL
   12582 #  else
   12583 #    define LT_DLGLOBAL		0
   12584 #  endif
   12585 #endif
   12586 
   12587 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12588    find out it does not work in some platform. */
   12589 #ifndef LT_DLLAZY_OR_NOW
   12590 #  ifdef RTLD_LAZY
   12591 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12592 #  else
   12593 #    ifdef DL_LAZY
   12594 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12595 #    else
   12596 #      ifdef RTLD_NOW
   12597 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12598 #      else
   12599 #        ifdef DL_NOW
   12600 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12601 #        else
   12602 #          define LT_DLLAZY_OR_NOW	0
   12603 #        endif
   12604 #      endif
   12605 #    endif
   12606 #  endif
   12607 #endif
   12608 
   12609 /* When -fvisbility=hidden is used, assume the code has been annotated
   12610    correspondingly for the symbols needed.  */
   12611 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12612 int fnord () __attribute__((visibility("default")));
   12613 #endif
   12614 
   12615 int fnord () { return 42; }
   12616 int main ()
   12617 {
   12618   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12619   int status = $lt_dlunknown;
   12620 
   12621   if (self)
   12622     {
   12623       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12624       else
   12625         {
   12626 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12627           else puts (dlerror ());
   12628 	}
   12629       /* dlclose (self); */
   12630     }
   12631   else
   12632     puts (dlerror ());
   12633 
   12634   return status;
   12635 }
   12636 _LT_EOF
   12637   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12638   (eval $ac_link) 2>&5
   12639   ac_status=$?
   12640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12641   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12642     (./conftest; exit; ) >&5 2>/dev/null
   12643     lt_status=$?
   12644     case x$lt_status in
   12645       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12646       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12647       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12648     esac
   12649   else :
   12650     # compilation failed
   12651     lt_cv_dlopen_self=no
   12652   fi
   12653 fi
   12654 rm -fr conftest*
   12655 
   12656 
   12657 fi
   12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12659 $as_echo "$lt_cv_dlopen_self" >&6; }
   12660 
   12661     if test "x$lt_cv_dlopen_self" = xyes; then
   12662       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12663       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12664 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12665 if ${lt_cv_dlopen_self_static+:} false; then :
   12666   $as_echo_n "(cached) " >&6
   12667 else
   12668   	  if test "$cross_compiling" = yes; then :
   12669   lt_cv_dlopen_self_static=cross
   12670 else
   12671   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12672   lt_status=$lt_dlunknown
   12673   cat > conftest.$ac_ext <<_LT_EOF
   12674 #line $LINENO "configure"
   12675 #include "confdefs.h"
   12676 
   12677 #if HAVE_DLFCN_H
   12678 #include <dlfcn.h>
   12679 #endif
   12680 
   12681 #include <stdio.h>
   12682 
   12683 #ifdef RTLD_GLOBAL
   12684 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12685 #else
   12686 #  ifdef DL_GLOBAL
   12687 #    define LT_DLGLOBAL		DL_GLOBAL
   12688 #  else
   12689 #    define LT_DLGLOBAL		0
   12690 #  endif
   12691 #endif
   12692 
   12693 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12694    find out it does not work in some platform. */
   12695 #ifndef LT_DLLAZY_OR_NOW
   12696 #  ifdef RTLD_LAZY
   12697 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12698 #  else
   12699 #    ifdef DL_LAZY
   12700 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12701 #    else
   12702 #      ifdef RTLD_NOW
   12703 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12704 #      else
   12705 #        ifdef DL_NOW
   12706 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12707 #        else
   12708 #          define LT_DLLAZY_OR_NOW	0
   12709 #        endif
   12710 #      endif
   12711 #    endif
   12712 #  endif
   12713 #endif
   12714 
   12715 /* When -fvisbility=hidden is used, assume the code has been annotated
   12716    correspondingly for the symbols needed.  */
   12717 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12718 int fnord () __attribute__((visibility("default")));
   12719 #endif
   12720 
   12721 int fnord () { return 42; }
   12722 int main ()
   12723 {
   12724   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12725   int status = $lt_dlunknown;
   12726 
   12727   if (self)
   12728     {
   12729       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12730       else
   12731         {
   12732 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12733           else puts (dlerror ());
   12734 	}
   12735       /* dlclose (self); */
   12736     }
   12737   else
   12738     puts (dlerror ());
   12739 
   12740   return status;
   12741 }
   12742 _LT_EOF
   12743   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12744   (eval $ac_link) 2>&5
   12745   ac_status=$?
   12746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12747   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12748     (./conftest; exit; ) >&5 2>/dev/null
   12749     lt_status=$?
   12750     case x$lt_status in
   12751       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12752       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12753       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12754     esac
   12755   else :
   12756     # compilation failed
   12757     lt_cv_dlopen_self_static=no
   12758   fi
   12759 fi
   12760 rm -fr conftest*
   12761 
   12762 
   12763 fi
   12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12765 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12766     fi
   12767 
   12768     CPPFLAGS="$save_CPPFLAGS"
   12769     LDFLAGS="$save_LDFLAGS"
   12770     LIBS="$save_LIBS"
   12771     ;;
   12772   esac
   12773 
   12774   case $lt_cv_dlopen_self in
   12775   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12776   *) enable_dlopen_self=unknown ;;
   12777   esac
   12778 
   12779   case $lt_cv_dlopen_self_static in
   12780   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12781   *) enable_dlopen_self_static=unknown ;;
   12782   esac
   12783 fi
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 striplib=
   12802 old_striplib=
   12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12804 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12805 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12806   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12807   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12809 $as_echo "yes" >&6; }
   12810 else
   12811 # FIXME - insert some real tests, host_os isn't really good enough
   12812   case $host_os in
   12813   darwin*)
   12814     if test -n "$STRIP" ; then
   12815       striplib="$STRIP -x"
   12816       old_striplib="$STRIP -S"
   12817       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12818 $as_echo "yes" >&6; }
   12819     else
   12820       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12821 $as_echo "no" >&6; }
   12822     fi
   12823     ;;
   12824   *)
   12825     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12826 $as_echo "no" >&6; }
   12827     ;;
   12828   esac
   12829 fi
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 
   12842   # Report which library types will actually be built
   12843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12844 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12846 $as_echo "$can_build_shared" >&6; }
   12847 
   12848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12849 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12850   test "$can_build_shared" = "no" && enable_shared=no
   12851 
   12852   # On AIX, shared libraries and static libraries use the same namespace, and
   12853   # are all built from PIC.
   12854   case $host_os in
   12855   aix3*)
   12856     test "$enable_shared" = yes && enable_static=no
   12857     if test -n "$RANLIB"; then
   12858       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12859       postinstall_cmds='$RANLIB $lib'
   12860     fi
   12861     ;;
   12862 
   12863   aix[4-9]*)
   12864     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12865       test "$enable_shared" = yes && enable_static=no
   12866     fi
   12867     ;;
   12868   esac
   12869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12870 $as_echo "$enable_shared" >&6; }
   12871 
   12872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12873 $as_echo_n "checking whether to build static libraries... " >&6; }
   12874   # Make sure either enable_shared or enable_static is yes.
   12875   test "$enable_shared" = yes || enable_static=yes
   12876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12877 $as_echo "$enable_static" >&6; }
   12878 
   12879 
   12880 
   12881 
   12882 fi
   12883 ac_ext=c
   12884 ac_cpp='$CPP $CPPFLAGS'
   12885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12888 
   12889 CC="$lt_save_CC"
   12890 
   12891       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   12892     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   12893     (test "X$CXX" != "Xg++"))) ; then
   12894   ac_ext=cpp
   12895 ac_cpp='$CXXCPP $CPPFLAGS'
   12896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   12900 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   12901 if test -z "$CXXCPP"; then
   12902   if ${ac_cv_prog_CXXCPP+:} false; then :
   12903   $as_echo_n "(cached) " >&6
   12904 else
   12905       # Double quotes because CXXCPP needs to be expanded
   12906     for CXXCPP in "$CXX -E" "/lib/cpp"
   12907     do
   12908       ac_preproc_ok=false
   12909 for ac_cxx_preproc_warn_flag in '' yes
   12910 do
   12911   # Use a header file that comes with gcc, so configuring glibc
   12912   # with a fresh cross-compiler works.
   12913   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12914   # <limits.h> exists even on freestanding compilers.
   12915   # On the NeXT, cc -E runs the code through the compiler's parser,
   12916   # not just through cpp. "Syntax error" is here to catch this case.
   12917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12918 /* end confdefs.h.  */
   12919 #ifdef __STDC__
   12920 # include <limits.h>
   12921 #else
   12922 # include <assert.h>
   12923 #endif
   12924 		     Syntax error
   12925 _ACEOF
   12926 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12927 
   12928 else
   12929   # Broken: fails on valid input.
   12930 continue
   12931 fi
   12932 rm -f conftest.err conftest.i conftest.$ac_ext
   12933 
   12934   # OK, works on sane cases.  Now check whether nonexistent headers
   12935   # can be detected and how.
   12936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12937 /* end confdefs.h.  */
   12938 #include <ac_nonexistent.h>
   12939 _ACEOF
   12940 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12941   # Broken: success on invalid input.
   12942 continue
   12943 else
   12944   # Passes both tests.
   12945 ac_preproc_ok=:
   12946 break
   12947 fi
   12948 rm -f conftest.err conftest.i conftest.$ac_ext
   12949 
   12950 done
   12951 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12952 rm -f conftest.i conftest.err conftest.$ac_ext
   12953 if $ac_preproc_ok; then :
   12954   break
   12955 fi
   12956 
   12957     done
   12958     ac_cv_prog_CXXCPP=$CXXCPP
   12959 
   12960 fi
   12961   CXXCPP=$ac_cv_prog_CXXCPP
   12962 else
   12963   ac_cv_prog_CXXCPP=$CXXCPP
   12964 fi
   12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   12966 $as_echo "$CXXCPP" >&6; }
   12967 ac_preproc_ok=false
   12968 for ac_cxx_preproc_warn_flag in '' yes
   12969 do
   12970   # Use a header file that comes with gcc, so configuring glibc
   12971   # with a fresh cross-compiler works.
   12972   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12973   # <limits.h> exists even on freestanding compilers.
   12974   # On the NeXT, cc -E runs the code through the compiler's parser,
   12975   # not just through cpp. "Syntax error" is here to catch this case.
   12976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12977 /* end confdefs.h.  */
   12978 #ifdef __STDC__
   12979 # include <limits.h>
   12980 #else
   12981 # include <assert.h>
   12982 #endif
   12983 		     Syntax error
   12984 _ACEOF
   12985 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12986 
   12987 else
   12988   # Broken: fails on valid input.
   12989 continue
   12990 fi
   12991 rm -f conftest.err conftest.i conftest.$ac_ext
   12992 
   12993   # OK, works on sane cases.  Now check whether nonexistent headers
   12994   # can be detected and how.
   12995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12996 /* end confdefs.h.  */
   12997 #include <ac_nonexistent.h>
   12998 _ACEOF
   12999 if ac_fn_cxx_try_cpp "$LINENO"; then :
   13000   # Broken: success on invalid input.
   13001 continue
   13002 else
   13003   # Passes both tests.
   13004 ac_preproc_ok=:
   13005 break
   13006 fi
   13007 rm -f conftest.err conftest.i conftest.$ac_ext
   13008 
   13009 done
   13010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   13011 rm -f conftest.i conftest.err conftest.$ac_ext
   13012 if $ac_preproc_ok; then :
   13013 
   13014 else
   13015   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13017 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   13018 See \`config.log' for more details" "$LINENO" 5; }
   13019 fi
   13020 
   13021 ac_ext=c
   13022 ac_cpp='$CPP $CPPFLAGS'
   13023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13026 
   13027 else
   13028   _lt_caught_CXX_error=yes
   13029 fi
   13030 
   13031 ac_ext=cpp
   13032 ac_cpp='$CXXCPP $CPPFLAGS'
   13033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   13036 
   13037 archive_cmds_need_lc_CXX=no
   13038 allow_undefined_flag_CXX=
   13039 always_export_symbols_CXX=no
   13040 archive_expsym_cmds_CXX=
   13041 compiler_needs_object_CXX=no
   13042 export_dynamic_flag_spec_CXX=
   13043 hardcode_direct_CXX=no
   13044 hardcode_direct_absolute_CXX=no
   13045 hardcode_libdir_flag_spec_CXX=
   13046 hardcode_libdir_separator_CXX=
   13047 hardcode_minus_L_CXX=no
   13048 hardcode_shlibpath_var_CXX=unsupported
   13049 hardcode_automatic_CXX=no
   13050 inherit_rpath_CXX=no
   13051 module_cmds_CXX=
   13052 module_expsym_cmds_CXX=
   13053 link_all_deplibs_CXX=unknown
   13054 old_archive_cmds_CXX=$old_archive_cmds
   13055 reload_flag_CXX=$reload_flag
   13056 reload_cmds_CXX=$reload_cmds
   13057 no_undefined_flag_CXX=
   13058 whole_archive_flag_spec_CXX=
   13059 enable_shared_with_static_runtimes_CXX=no
   13060 
   13061 # Source file extension for C++ test sources.
   13062 ac_ext=cpp
   13063 
   13064 # Object file extension for compiled C++ test sources.
   13065 objext=o
   13066 objext_CXX=$objext
   13067 
   13068 # No sense in running all these tests if we already determined that
   13069 # the CXX compiler isn't working.  Some variables (like enable_shared)
   13070 # are currently assumed to apply to all compilers on this platform,
   13071 # and will be corrupted by setting them based on a non-working compiler.
   13072 if test "$_lt_caught_CXX_error" != yes; then
   13073   # Code to be used in simple compile tests
   13074   lt_simple_compile_test_code="int some_variable = 0;"
   13075 
   13076   # Code to be used in simple link tests
   13077   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   13078 
   13079   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13080 
   13081 
   13082 
   13083 
   13084 
   13085 
   13086 # If no C compiler was specified, use CC.
   13087 LTCC=${LTCC-"$CC"}
   13088 
   13089 # If no C compiler flags were specified, use CFLAGS.
   13090 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13091 
   13092 # Allow CC to be a program name with arguments.
   13093 compiler=$CC
   13094 
   13095 
   13096   # save warnings/boilerplate of simple test code
   13097   ac_outfile=conftest.$ac_objext
   13098 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   13099 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13100 _lt_compiler_boilerplate=`cat conftest.err`
   13101 $RM conftest*
   13102 
   13103   ac_outfile=conftest.$ac_objext
   13104 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   13105 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13106 _lt_linker_boilerplate=`cat conftest.err`
   13107 $RM -r conftest*
   13108 
   13109 
   13110   # Allow CC to be a program name with arguments.
   13111   lt_save_CC=$CC
   13112   lt_save_CFLAGS=$CFLAGS
   13113   lt_save_LD=$LD
   13114   lt_save_GCC=$GCC
   13115   GCC=$GXX
   13116   lt_save_with_gnu_ld=$with_gnu_ld
   13117   lt_save_path_LD=$lt_cv_path_LD
   13118   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   13119     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   13120   else
   13121     $as_unset lt_cv_prog_gnu_ld
   13122   fi
   13123   if test -n "${lt_cv_path_LDCXX+set}"; then
   13124     lt_cv_path_LD=$lt_cv_path_LDCXX
   13125   else
   13126     $as_unset lt_cv_path_LD
   13127   fi
   13128   test -z "${LDCXX+set}" || LD=$LDCXX
   13129   CC=${CXX-"c++"}
   13130   CFLAGS=$CXXFLAGS
   13131   compiler=$CC
   13132   compiler_CXX=$CC
   13133   for cc_temp in $compiler""; do
   13134   case $cc_temp in
   13135     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13136     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13137     \-*) ;;
   13138     *) break;;
   13139   esac
   13140 done
   13141 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13142 
   13143 
   13144   if test -n "$compiler"; then
   13145     # We don't want -fno-exception when compiling C++ code, so set the
   13146     # no_builtin_flag separately
   13147     if test "$GXX" = yes; then
   13148       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   13149     else
   13150       lt_prog_compiler_no_builtin_flag_CXX=
   13151     fi
   13152 
   13153     if test "$GXX" = yes; then
   13154       # Set up default GNU C++ configuration
   13155 
   13156 
   13157 
   13158 # Check whether --with-gnu-ld was given.
   13159 if test "${with_gnu_ld+set}" = set; then :
   13160   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   13161 else
   13162   with_gnu_ld=no
   13163 fi
   13164 
   13165 ac_prog=ld
   13166 if test "$GCC" = yes; then
   13167   # Check if gcc -print-prog-name=ld gives a path.
   13168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   13169 $as_echo_n "checking for ld used by $CC... " >&6; }
   13170   case $host in
   13171   *-*-mingw*)
   13172     # gcc leaves a trailing carriage return which upsets mingw
   13173     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   13174   *)
   13175     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   13176   esac
   13177   case $ac_prog in
   13178     # Accept absolute paths.
   13179     [\\/]* | ?:[\\/]*)
   13180       re_direlt='/[^/][^/]*/\.\./'
   13181       # Canonicalize the pathname of ld
   13182       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   13183       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   13184 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   13185       done
   13186       test -z "$LD" && LD="$ac_prog"
   13187       ;;
   13188   "")
   13189     # If it fails, then pretend we aren't using GCC.
   13190     ac_prog=ld
   13191     ;;
   13192   *)
   13193     # If it is relative, then search for the first ld in PATH.
   13194     with_gnu_ld=unknown
   13195     ;;
   13196   esac
   13197 elif test "$with_gnu_ld" = yes; then
   13198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   13199 $as_echo_n "checking for GNU ld... " >&6; }
   13200 else
   13201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   13202 $as_echo_n "checking for non-GNU ld... " >&6; }
   13203 fi
   13204 if ${lt_cv_path_LD+:} false; then :
   13205   $as_echo_n "(cached) " >&6
   13206 else
   13207   if test -z "$LD"; then
   13208   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   13209   for ac_dir in $PATH; do
   13210     IFS="$lt_save_ifs"
   13211     test -z "$ac_dir" && ac_dir=.
   13212     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   13213       lt_cv_path_LD="$ac_dir/$ac_prog"
   13214       # Check to see if the program is GNU ld.  I'd rather use --version,
   13215       # but apparently some variants of GNU ld only accept -v.
   13216       # Break only if it was the GNU/non-GNU ld that we prefer.
   13217       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   13218       *GNU* | *'with BFD'*)
   13219 	test "$with_gnu_ld" != no && break
   13220 	;;
   13221       *)
   13222 	test "$with_gnu_ld" != yes && break
   13223 	;;
   13224       esac
   13225     fi
   13226   done
   13227   IFS="$lt_save_ifs"
   13228 else
   13229   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   13230 fi
   13231 fi
   13232 
   13233 LD="$lt_cv_path_LD"
   13234 if test -n "$LD"; then
   13235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   13236 $as_echo "$LD" >&6; }
   13237 else
   13238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13239 $as_echo "no" >&6; }
   13240 fi
   13241 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   13243 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   13244 if ${lt_cv_prog_gnu_ld+:} false; then :
   13245   $as_echo_n "(cached) " >&6
   13246 else
   13247   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   13248 case `$LD -v 2>&1 </dev/null` in
   13249 *GNU* | *'with BFD'*)
   13250   lt_cv_prog_gnu_ld=yes
   13251   ;;
   13252 *)
   13253   lt_cv_prog_gnu_ld=no
   13254   ;;
   13255 esac
   13256 fi
   13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   13258 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   13259 with_gnu_ld=$lt_cv_prog_gnu_ld
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   13268       # archiving commands below assume that GNU ld is being used.
   13269       if test "$with_gnu_ld" = yes; then
   13270         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13271         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'
   13272 
   13273         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13274         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13275 
   13276         # If archive_cmds runs LD, not CC, wlarc should be empty
   13277         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   13278         #     investigate it a little bit more. (MM)
   13279         wlarc='${wl}'
   13280 
   13281         # ancient GNU ld didn't support --whole-archive et. al.
   13282         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   13283 	  $GREP 'no-whole-archive' > /dev/null; then
   13284           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13285         else
   13286           whole_archive_flag_spec_CXX=
   13287         fi
   13288       else
   13289         with_gnu_ld=no
   13290         wlarc=
   13291 
   13292         # A generic and very simple default shared library creation
   13293         # command for GNU C++ for the case where it uses the native
   13294         # linker, instead of GNU ld.  If possible, this setting should
   13295         # overridden to take advantage of the native linker features on
   13296         # the platform it is being used on.
   13297         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   13298       fi
   13299 
   13300       # Commands to make compiler produce verbose output that lists
   13301       # what "hidden" libraries, object files and flags are used when
   13302       # linking a shared library.
   13303       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13304 
   13305     else
   13306       GXX=no
   13307       with_gnu_ld=no
   13308       wlarc=
   13309     fi
   13310 
   13311     # PORTME: fill in a description of your system's C++ link characteristics
   13312     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13313 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13314     ld_shlibs_CXX=yes
   13315     case $host_os in
   13316       aix3*)
   13317         # FIXME: insert proper C++ library support
   13318         ld_shlibs_CXX=no
   13319         ;;
   13320       aix[4-9]*)
   13321         if test "$host_cpu" = ia64; then
   13322           # On IA64, the linker does run time linking by default, so we don't
   13323           # have to do anything special.
   13324           aix_use_runtimelinking=no
   13325           exp_sym_flag='-Bexport'
   13326           no_entry_flag=""
   13327         else
   13328           aix_use_runtimelinking=no
   13329 
   13330           # Test if we are trying to use run time linking or normal
   13331           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   13332           # need to do runtime linking.
   13333           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   13334 	    for ld_flag in $LDFLAGS; do
   13335 	      case $ld_flag in
   13336 	      *-brtl*)
   13337 	        aix_use_runtimelinking=yes
   13338 	        break
   13339 	        ;;
   13340 	      esac
   13341 	    done
   13342 	    ;;
   13343           esac
   13344 
   13345           exp_sym_flag='-bexport'
   13346           no_entry_flag='-bnoentry'
   13347         fi
   13348 
   13349         # When large executables or shared objects are built, AIX ld can
   13350         # have problems creating the table of contents.  If linking a library
   13351         # or program results in "error TOC overflow" add -mminimal-toc to
   13352         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   13353         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   13354 
   13355         archive_cmds_CXX=''
   13356         hardcode_direct_CXX=yes
   13357         hardcode_direct_absolute_CXX=yes
   13358         hardcode_libdir_separator_CXX=':'
   13359         link_all_deplibs_CXX=yes
   13360         file_list_spec_CXX='${wl}-f,'
   13361 
   13362         if test "$GXX" = yes; then
   13363           case $host_os in aix4.[012]|aix4.[012].*)
   13364           # We only want to do this on AIX 4.2 and lower, the check
   13365           # below for broken collect2 doesn't work under 4.3+
   13366 	  collect2name=`${CC} -print-prog-name=collect2`
   13367 	  if test -f "$collect2name" &&
   13368 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   13369 	  then
   13370 	    # We have reworked collect2
   13371 	    :
   13372 	  else
   13373 	    # We have old collect2
   13374 	    hardcode_direct_CXX=unsupported
   13375 	    # It fails to find uninstalled libraries when the uninstalled
   13376 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   13377 	    # to unsupported forces relinking
   13378 	    hardcode_minus_L_CXX=yes
   13379 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   13380 	    hardcode_libdir_separator_CXX=
   13381 	  fi
   13382           esac
   13383           shared_flag='-shared'
   13384 	  if test "$aix_use_runtimelinking" = yes; then
   13385 	    shared_flag="$shared_flag "'${wl}-G'
   13386 	  fi
   13387         else
   13388           # not using gcc
   13389           if test "$host_cpu" = ia64; then
   13390 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   13391 	  # chokes on -Wl,-G. The following line is correct:
   13392 	  shared_flag='-G'
   13393           else
   13394 	    if test "$aix_use_runtimelinking" = yes; then
   13395 	      shared_flag='${wl}-G'
   13396 	    else
   13397 	      shared_flag='${wl}-bM:SRE'
   13398 	    fi
   13399           fi
   13400         fi
   13401 
   13402         export_dynamic_flag_spec_CXX='${wl}-bexpall'
   13403         # It seems that -bexpall does not export symbols beginning with
   13404         # underscore (_), so it is better to generate a list of symbols to
   13405 	# export.
   13406         always_export_symbols_CXX=yes
   13407         if test "$aix_use_runtimelinking" = yes; then
   13408           # Warning - without using the other runtime loading flags (-brtl),
   13409           # -berok will link without error, but may produce a broken library.
   13410           allow_undefined_flag_CXX='-berok'
   13411           # Determine the default libpath from the value encoded in an empty
   13412           # executable.
   13413           if test "${lt_cv_aix_libpath+set}" = set; then
   13414   aix_libpath=$lt_cv_aix_libpath
   13415 else
   13416   if ${lt_cv_aix_libpath__CXX+:} false; then :
   13417   $as_echo_n "(cached) " >&6
   13418 else
   13419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13420 /* end confdefs.h.  */
   13421 
   13422 int
   13423 main ()
   13424 {
   13425 
   13426   ;
   13427   return 0;
   13428 }
   13429 _ACEOF
   13430 if ac_fn_cxx_try_link "$LINENO"; then :
   13431 
   13432   lt_aix_libpath_sed='
   13433       /Import File Strings/,/^$/ {
   13434 	  /^0/ {
   13435 	      s/^0  *\([^ ]*\) *$/\1/
   13436 	      p
   13437 	  }
   13438       }'
   13439   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13440   # Check for a 64-bit object if we didn't find anything.
   13441   if test -z "$lt_cv_aix_libpath__CXX"; then
   13442     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13443   fi
   13444 fi
   13445 rm -f core conftest.err conftest.$ac_objext \
   13446     conftest$ac_exeext conftest.$ac_ext
   13447   if test -z "$lt_cv_aix_libpath__CXX"; then
   13448     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
   13449   fi
   13450 
   13451 fi
   13452 
   13453   aix_libpath=$lt_cv_aix_libpath__CXX
   13454 fi
   13455 
   13456           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13457 
   13458           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"
   13459         else
   13460           if test "$host_cpu" = ia64; then
   13461 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   13462 	    allow_undefined_flag_CXX="-z nodefs"
   13463 	    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"
   13464           else
   13465 	    # Determine the default libpath from the value encoded in an
   13466 	    # empty executable.
   13467 	    if test "${lt_cv_aix_libpath+set}" = set; then
   13468   aix_libpath=$lt_cv_aix_libpath
   13469 else
   13470   if ${lt_cv_aix_libpath__CXX+:} false; then :
   13471   $as_echo_n "(cached) " >&6
   13472 else
   13473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13474 /* end confdefs.h.  */
   13475 
   13476 int
   13477 main ()
   13478 {
   13479 
   13480   ;
   13481   return 0;
   13482 }
   13483 _ACEOF
   13484 if ac_fn_cxx_try_link "$LINENO"; then :
   13485 
   13486   lt_aix_libpath_sed='
   13487       /Import File Strings/,/^$/ {
   13488 	  /^0/ {
   13489 	      s/^0  *\([^ ]*\) *$/\1/
   13490 	      p
   13491 	  }
   13492       }'
   13493   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13494   # Check for a 64-bit object if we didn't find anything.
   13495   if test -z "$lt_cv_aix_libpath__CXX"; then
   13496     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13497   fi
   13498 fi
   13499 rm -f core conftest.err conftest.$ac_objext \
   13500     conftest$ac_exeext conftest.$ac_ext
   13501   if test -z "$lt_cv_aix_libpath__CXX"; then
   13502     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
   13503   fi
   13504 
   13505 fi
   13506 
   13507   aix_libpath=$lt_cv_aix_libpath__CXX
   13508 fi
   13509 
   13510 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13511 	    # Warning - without using the other run time loading flags,
   13512 	    # -berok will link without error, but may produce a broken library.
   13513 	    no_undefined_flag_CXX=' ${wl}-bernotok'
   13514 	    allow_undefined_flag_CXX=' ${wl}-berok'
   13515 	    if test "$with_gnu_ld" = yes; then
   13516 	      # We only use this code for GNU lds that support --whole-archive.
   13517 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13518 	    else
   13519 	      # Exported symbols can be pulled into shared objects from archives
   13520 	      whole_archive_flag_spec_CXX='$convenience'
   13521 	    fi
   13522 	    archive_cmds_need_lc_CXX=yes
   13523 	    # This is similar to how AIX traditionally builds its shared
   13524 	    # libraries.
   13525 	    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'
   13526           fi
   13527         fi
   13528         ;;
   13529 
   13530       beos*)
   13531 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13532 	  allow_undefined_flag_CXX=unsupported
   13533 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13534 	  # support --undefined.  This deserves some investigation.  FIXME
   13535 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13536 	else
   13537 	  ld_shlibs_CXX=no
   13538 	fi
   13539 	;;
   13540 
   13541       chorus*)
   13542         case $cc_basename in
   13543           *)
   13544 	  # FIXME: insert proper C++ library support
   13545 	  ld_shlibs_CXX=no
   13546 	  ;;
   13547         esac
   13548         ;;
   13549 
   13550       cygwin* | mingw* | pw32* | cegcc*)
   13551 	case $GXX,$cc_basename in
   13552 	,cl* | no,cl*)
   13553 	  # Native MSVC
   13554 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
   13555 	  # no search path for DLLs.
   13556 	  hardcode_libdir_flag_spec_CXX=' '
   13557 	  allow_undefined_flag_CXX=unsupported
   13558 	  always_export_symbols_CXX=yes
   13559 	  file_list_spec_CXX='@'
   13560 	  # Tell ltmain to make .lib files, not .a files.
   13561 	  libext=lib
   13562 	  # Tell ltmain to make .dll files, not .so files.
   13563 	  shrext_cmds=".dll"
   13564 	  # FIXME: Setting linknames here is a bad hack.
   13565 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   13566 	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13567 	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   13568 	    else
   13569 	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   13570 	    fi~
   13571 	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   13572 	    linknames='
   13573 	  # The linker will not automatically build a static lib if we build a DLL.
   13574 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
   13575 	  enable_shared_with_static_runtimes_CXX=yes
   13576 	  # Don't use ranlib
   13577 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
   13578 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
   13579 	    lt_tool_outputfile="@TOOL_OUTPUT@"~
   13580 	    case $lt_outputfile in
   13581 	      *.exe|*.EXE) ;;
   13582 	      *)
   13583 		lt_outputfile="$lt_outputfile.exe"
   13584 		lt_tool_outputfile="$lt_tool_outputfile.exe"
   13585 		;;
   13586 	    esac~
   13587 	    func_to_tool_file "$lt_outputfile"~
   13588 	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   13589 	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   13590 	      $RM "$lt_outputfile.manifest";
   13591 	    fi'
   13592 	  ;;
   13593 	*)
   13594 	  # g++
   13595 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   13596 	  # as there is no search path for DLLs.
   13597 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   13598 	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
   13599 	  allow_undefined_flag_CXX=unsupported
   13600 	  always_export_symbols_CXX=no
   13601 	  enable_shared_with_static_runtimes_CXX=yes
   13602 
   13603 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   13604 	    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'
   13605 	    # If the export-symbols file already is a .def file (1st line
   13606 	    # is EXPORTS), use it as is; otherwise, prepend...
   13607 	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13608 	      cp $export_symbols $output_objdir/$soname.def;
   13609 	    else
   13610 	      echo EXPORTS > $output_objdir/$soname.def;
   13611 	      cat $export_symbols >> $output_objdir/$soname.def;
   13612 	    fi~
   13613 	    $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'
   13614 	  else
   13615 	    ld_shlibs_CXX=no
   13616 	  fi
   13617 	  ;;
   13618 	esac
   13619 	;;
   13620       darwin* | rhapsody*)
   13621 
   13622 
   13623   archive_cmds_need_lc_CXX=no
   13624   hardcode_direct_CXX=no
   13625   hardcode_automatic_CXX=yes
   13626   hardcode_shlibpath_var_CXX=unsupported
   13627   if test "$lt_cv_ld_force_load" = "yes"; then
   13628     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\"`'
   13629 
   13630   else
   13631     whole_archive_flag_spec_CXX=''
   13632   fi
   13633   link_all_deplibs_CXX=yes
   13634   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   13635   case $cc_basename in
   13636      ifort*) _lt_dar_can_shared=yes ;;
   13637      *) _lt_dar_can_shared=$GCC ;;
   13638   esac
   13639   if test "$_lt_dar_can_shared" = "yes"; then
   13640     output_verbose_link_cmd=func_echo_all
   13641     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}"
   13642     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   13643     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}"
   13644     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}"
   13645        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   13646       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}"
   13647       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}"
   13648     fi
   13649 
   13650   else
   13651   ld_shlibs_CXX=no
   13652   fi
   13653 
   13654 	;;
   13655 
   13656       dgux*)
   13657         case $cc_basename in
   13658           ec++*)
   13659 	    # FIXME: insert proper C++ library support
   13660 	    ld_shlibs_CXX=no
   13661 	    ;;
   13662           ghcx*)
   13663 	    # Green Hills C++ Compiler
   13664 	    # FIXME: insert proper C++ library support
   13665 	    ld_shlibs_CXX=no
   13666 	    ;;
   13667           *)
   13668 	    # FIXME: insert proper C++ library support
   13669 	    ld_shlibs_CXX=no
   13670 	    ;;
   13671         esac
   13672         ;;
   13673 
   13674       freebsd2.*)
   13675         # C++ shared libraries reported to be fairly broken before
   13676 	# switch to ELF
   13677         ld_shlibs_CXX=no
   13678         ;;
   13679 
   13680       freebsd-elf*)
   13681         archive_cmds_need_lc_CXX=no
   13682         ;;
   13683 
   13684       freebsd* | dragonfly*)
   13685         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   13686         # conventions
   13687         ld_shlibs_CXX=yes
   13688         ;;
   13689 
   13690       haiku*)
   13691         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13692         link_all_deplibs_CXX=yes
   13693         ;;
   13694 
   13695       hpux9*)
   13696         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13697         hardcode_libdir_separator_CXX=:
   13698         export_dynamic_flag_spec_CXX='${wl}-E'
   13699         hardcode_direct_CXX=yes
   13700         hardcode_minus_L_CXX=yes # Not in the search PATH,
   13701 				             # but as the default
   13702 				             # location of the library.
   13703 
   13704         case $cc_basename in
   13705           CC*)
   13706             # FIXME: insert proper C++ library support
   13707             ld_shlibs_CXX=no
   13708             ;;
   13709           aCC*)
   13710             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'
   13711             # Commands to make compiler produce verbose output that lists
   13712             # what "hidden" libraries, object files and flags are used when
   13713             # linking a shared library.
   13714             #
   13715             # There doesn't appear to be a way to prevent this compiler from
   13716             # explicitly linking system object files so we need to strip them
   13717             # from the output so that they don't get included in the library
   13718             # dependencies.
   13719             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"'
   13720             ;;
   13721           *)
   13722             if test "$GXX" = yes; then
   13723               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'
   13724             else
   13725               # FIXME: insert proper C++ library support
   13726               ld_shlibs_CXX=no
   13727             fi
   13728             ;;
   13729         esac
   13730         ;;
   13731 
   13732       hpux10*|hpux11*)
   13733         if test $with_gnu_ld = no; then
   13734 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13735 	  hardcode_libdir_separator_CXX=:
   13736 
   13737           case $host_cpu in
   13738             hppa*64*|ia64*)
   13739               ;;
   13740             *)
   13741 	      export_dynamic_flag_spec_CXX='${wl}-E'
   13742               ;;
   13743           esac
   13744         fi
   13745         case $host_cpu in
   13746           hppa*64*|ia64*)
   13747             hardcode_direct_CXX=no
   13748             hardcode_shlibpath_var_CXX=no
   13749             ;;
   13750           *)
   13751             hardcode_direct_CXX=yes
   13752             hardcode_direct_absolute_CXX=yes
   13753             hardcode_minus_L_CXX=yes # Not in the search PATH,
   13754 					         # but as the default
   13755 					         # location of the library.
   13756             ;;
   13757         esac
   13758 
   13759         case $cc_basename in
   13760           CC*)
   13761 	    # FIXME: insert proper C++ library support
   13762 	    ld_shlibs_CXX=no
   13763 	    ;;
   13764           aCC*)
   13765 	    case $host_cpu in
   13766 	      hppa*64*)
   13767 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13768 	        ;;
   13769 	      ia64*)
   13770 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13771 	        ;;
   13772 	      *)
   13773 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13774 	        ;;
   13775 	    esac
   13776 	    # Commands to make compiler produce verbose output that lists
   13777 	    # what "hidden" libraries, object files and flags are used when
   13778 	    # linking a shared library.
   13779 	    #
   13780 	    # There doesn't appear to be a way to prevent this compiler from
   13781 	    # explicitly linking system object files so we need to strip them
   13782 	    # from the output so that they don't get included in the library
   13783 	    # dependencies.
   13784 	    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"'
   13785 	    ;;
   13786           *)
   13787 	    if test "$GXX" = yes; then
   13788 	      if test $with_gnu_ld = no; then
   13789 	        case $host_cpu in
   13790 	          hppa*64*)
   13791 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13792 	            ;;
   13793 	          ia64*)
   13794 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13795 	            ;;
   13796 	          *)
   13797 	            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'
   13798 	            ;;
   13799 	        esac
   13800 	      fi
   13801 	    else
   13802 	      # FIXME: insert proper C++ library support
   13803 	      ld_shlibs_CXX=no
   13804 	    fi
   13805 	    ;;
   13806         esac
   13807         ;;
   13808 
   13809       interix[3-9]*)
   13810 	hardcode_direct_CXX=no
   13811 	hardcode_shlibpath_var_CXX=no
   13812 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13813 	export_dynamic_flag_spec_CXX='${wl}-E'
   13814 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13815 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   13816 	# default) and relocated if they conflict, which is a slow very memory
   13817 	# consuming and fragmenting process.  To avoid this, we pick a random,
   13818 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13819 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13820 	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'
   13821 	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'
   13822 	;;
   13823       irix5* | irix6*)
   13824         case $cc_basename in
   13825           CC*)
   13826 	    # SGI C++
   13827 	    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'
   13828 
   13829 	    # Archives containing C++ object files must be created using
   13830 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   13831 	    # necessary to make sure instantiated templates are included
   13832 	    # in the archive.
   13833 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   13834 	    ;;
   13835           *)
   13836 	    if test "$GXX" = yes; then
   13837 	      if test "$with_gnu_ld" = no; then
   13838 	        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'
   13839 	      else
   13840 	        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'
   13841 	      fi
   13842 	    fi
   13843 	    link_all_deplibs_CXX=yes
   13844 	    ;;
   13845         esac
   13846         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13847         hardcode_libdir_separator_CXX=:
   13848         inherit_rpath_CXX=yes
   13849         ;;
   13850 
   13851       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13852         case $cc_basename in
   13853           KCC*)
   13854 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13855 
   13856 	    # KCC will only create a shared library if the output file
   13857 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13858 	    # to its proper name (with version) after linking.
   13859 	    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'
   13860 	    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'
   13861 	    # Commands to make compiler produce verbose output that lists
   13862 	    # what "hidden" libraries, object files and flags are used when
   13863 	    # linking a shared library.
   13864 	    #
   13865 	    # There doesn't appear to be a way to prevent this compiler from
   13866 	    # explicitly linking system object files so we need to strip them
   13867 	    # from the output so that they don't get included in the library
   13868 	    # dependencies.
   13869 	    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"'
   13870 
   13871 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13872 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13873 
   13874 	    # Archives containing C++ object files must be created using
   13875 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   13876 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   13877 	    ;;
   13878 	  icpc* | ecpc* )
   13879 	    # Intel C++
   13880 	    with_gnu_ld=yes
   13881 	    # version 8.0 and above of icpc choke on multiply defined symbols
   13882 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   13883 	    # earlier do not add the objects themselves.
   13884 	    case `$CC -V 2>&1` in
   13885 	      *"Version 7."*)
   13886 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13887 		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'
   13888 		;;
   13889 	      *)  # Version 8.0 or newer
   13890 	        tmp_idyn=
   13891 	        case $host_cpu in
   13892 		  ia64*) tmp_idyn=' -i_dynamic';;
   13893 		esac
   13894 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13895 		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'
   13896 		;;
   13897 	    esac
   13898 	    archive_cmds_need_lc_CXX=no
   13899 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13900 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13901 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13902 	    ;;
   13903           pgCC* | pgcpp*)
   13904             # Portland Group C++ compiler
   13905 	    case `$CC -V` in
   13906 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   13907 	      prelink_cmds_CXX='tpldir=Template.dir~
   13908 		rm -rf $tpldir~
   13909 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   13910 		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   13911 	      old_archive_cmds_CXX='tpldir=Template.dir~
   13912 		rm -rf $tpldir~
   13913 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   13914 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   13915 		$RANLIB $oldlib'
   13916 	      archive_cmds_CXX='tpldir=Template.dir~
   13917 		rm -rf $tpldir~
   13918 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13919 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13920 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   13921 		rm -rf $tpldir~
   13922 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13923 		$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'
   13924 	      ;;
   13925 	    *) # Version 6 and above use weak symbols
   13926 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13927 	      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'
   13928 	      ;;
   13929 	    esac
   13930 
   13931 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   13932 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13933 	    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'
   13934             ;;
   13935 	  cxx*)
   13936 	    # Compaq C++
   13937 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13938 	    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'
   13939 
   13940 	    runpath_var=LD_RUN_PATH
   13941 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13942 	    hardcode_libdir_separator_CXX=:
   13943 
   13944 	    # Commands to make compiler produce verbose output that lists
   13945 	    # what "hidden" libraries, object files and flags are used when
   13946 	    # linking a shared library.
   13947 	    #
   13948 	    # There doesn't appear to be a way to prevent this compiler from
   13949 	    # explicitly linking system object files so we need to strip them
   13950 	    # from the output so that they don't get included in the library
   13951 	    # dependencies.
   13952 	    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'
   13953 	    ;;
   13954 	  xl* | mpixl* | bgxl*)
   13955 	    # IBM XL 8.0 on PPC, with GNU ld
   13956 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13957 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13958 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13959 	    if test "x$supports_anon_versioning" = xyes; then
   13960 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   13961 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13962 		echo "local: *; };" >> $output_objdir/$libname.ver~
   13963 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13964 	    fi
   13965 	    ;;
   13966 	  *)
   13967 	    case `$CC -V 2>&1 | sed 5q` in
   13968 	    *Sun\ C*)
   13969 	      # Sun C++ 5.9
   13970 	      no_undefined_flag_CXX=' -zdefs'
   13971 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13972 	      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'
   13973 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   13974 	      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'
   13975 	      compiler_needs_object_CXX=yes
   13976 
   13977 	      # Not sure whether something based on
   13978 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   13979 	      # would be better.
   13980 	      output_verbose_link_cmd='func_echo_all'
   13981 
   13982 	      # Archives containing C++ object files must be created using
   13983 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13984 	      # necessary to make sure instantiated templates are included
   13985 	      # in the archive.
   13986 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13987 	      ;;
   13988 	    esac
   13989 	    ;;
   13990 	esac
   13991 	;;
   13992 
   13993       lynxos*)
   13994         # FIXME: insert proper C++ library support
   13995 	ld_shlibs_CXX=no
   13996 	;;
   13997 
   13998       m88k*)
   13999         # FIXME: insert proper C++ library support
   14000         ld_shlibs_CXX=no
   14001 	;;
   14002 
   14003       mvs*)
   14004         case $cc_basename in
   14005           cxx*)
   14006 	    # FIXME: insert proper C++ library support
   14007 	    ld_shlibs_CXX=no
   14008 	    ;;
   14009 	  *)
   14010 	    # FIXME: insert proper C++ library support
   14011 	    ld_shlibs_CXX=no
   14012 	    ;;
   14013 	esac
   14014 	;;
   14015 
   14016       netbsd*)
   14017         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14018 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   14019 	  wlarc=
   14020 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   14021 	  hardcode_direct_CXX=yes
   14022 	  hardcode_shlibpath_var_CXX=no
   14023 	fi
   14024 	# Workaround some broken pre-1.5 toolchains
   14025 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   14026 	;;
   14027 
   14028       *nto* | *qnx*)
   14029         ld_shlibs_CXX=yes
   14030 	;;
   14031 
   14032       openbsd2*)
   14033         # C++ shared libraries are fairly broken
   14034 	ld_shlibs_CXX=no
   14035 	;;
   14036 
   14037       openbsd*)
   14038 	if test -f /usr/libexec/ld.so; then
   14039 	  hardcode_direct_CXX=yes
   14040 	  hardcode_shlibpath_var_CXX=no
   14041 	  hardcode_direct_absolute_CXX=yes
   14042 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   14043 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   14044 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14045 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   14046 	    export_dynamic_flag_spec_CXX='${wl}-E'
   14047 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14048 	  fi
   14049 	  output_verbose_link_cmd=func_echo_all
   14050 	else
   14051 	  ld_shlibs_CXX=no
   14052 	fi
   14053 	;;
   14054 
   14055       osf3* | osf4* | osf5*)
   14056         case $cc_basename in
   14057           KCC*)
   14058 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   14059 
   14060 	    # KCC will only create a shared library if the output file
   14061 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   14062 	    # to its proper name (with version) after linking.
   14063 	    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'
   14064 
   14065 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   14066 	    hardcode_libdir_separator_CXX=:
   14067 
   14068 	    # Archives containing C++ object files must be created using
   14069 	    # the KAI C++ compiler.
   14070 	    case $host in
   14071 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   14072 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   14073 	    esac
   14074 	    ;;
   14075           RCC*)
   14076 	    # Rational C++ 2.4.1
   14077 	    # FIXME: insert proper C++ library support
   14078 	    ld_shlibs_CXX=no
   14079 	    ;;
   14080           cxx*)
   14081 	    case $host in
   14082 	      osf3*)
   14083 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   14084 	        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'
   14085 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   14086 		;;
   14087 	      *)
   14088 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   14089 	        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'
   14090 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   14091 	          echo "-hidden">> $lib.exp~
   14092 	          $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~
   14093 	          $RM $lib.exp'
   14094 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   14095 		;;
   14096 	    esac
   14097 
   14098 	    hardcode_libdir_separator_CXX=:
   14099 
   14100 	    # Commands to make compiler produce verbose output that lists
   14101 	    # what "hidden" libraries, object files and flags are used when
   14102 	    # linking a shared library.
   14103 	    #
   14104 	    # There doesn't appear to be a way to prevent this compiler from
   14105 	    # explicitly linking system object files so we need to strip them
   14106 	    # from the output so that they don't get included in the library
   14107 	    # dependencies.
   14108 	    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"'
   14109 	    ;;
   14110 	  *)
   14111 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   14112 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   14113 	      case $host in
   14114 	        osf3*)
   14115 	          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'
   14116 		  ;;
   14117 	        *)
   14118 	          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'
   14119 		  ;;
   14120 	      esac
   14121 
   14122 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   14123 	      hardcode_libdir_separator_CXX=:
   14124 
   14125 	      # Commands to make compiler produce verbose output that lists
   14126 	      # what "hidden" libraries, object files and flags are used when
   14127 	      # linking a shared library.
   14128 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   14129 
   14130 	    else
   14131 	      # FIXME: insert proper C++ library support
   14132 	      ld_shlibs_CXX=no
   14133 	    fi
   14134 	    ;;
   14135         esac
   14136         ;;
   14137 
   14138       psos*)
   14139         # FIXME: insert proper C++ library support
   14140         ld_shlibs_CXX=no
   14141         ;;
   14142 
   14143       sunos4*)
   14144         case $cc_basename in
   14145           CC*)
   14146 	    # Sun C++ 4.x
   14147 	    # FIXME: insert proper C++ library support
   14148 	    ld_shlibs_CXX=no
   14149 	    ;;
   14150           lcc*)
   14151 	    # Lucid
   14152 	    # FIXME: insert proper C++ library support
   14153 	    ld_shlibs_CXX=no
   14154 	    ;;
   14155           *)
   14156 	    # FIXME: insert proper C++ library support
   14157 	    ld_shlibs_CXX=no
   14158 	    ;;
   14159         esac
   14160         ;;
   14161 
   14162       solaris*)
   14163         case $cc_basename in
   14164           CC* | sunCC*)
   14165 	    # Sun C++ 4.2, 5.x and Centerline C++
   14166             archive_cmds_need_lc_CXX=yes
   14167 	    no_undefined_flag_CXX=' -zdefs'
   14168 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   14169 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14170 	      $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'
   14171 
   14172 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   14173 	    hardcode_shlibpath_var_CXX=no
   14174 	    case $host_os in
   14175 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   14176 	      *)
   14177 		# The compiler driver will combine and reorder linker options,
   14178 		# but understands `-z linker_flag'.
   14179 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   14180 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   14181 	        ;;
   14182 	    esac
   14183 	    link_all_deplibs_CXX=yes
   14184 
   14185 	    output_verbose_link_cmd='func_echo_all'
   14186 
   14187 	    # Archives containing C++ object files must be created using
   14188 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   14189 	    # necessary to make sure instantiated templates are included
   14190 	    # in the archive.
   14191 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   14192 	    ;;
   14193           gcx*)
   14194 	    # Green Hills C++ Compiler
   14195 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   14196 
   14197 	    # The C++ compiler must be used to create the archive.
   14198 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   14199 	    ;;
   14200           *)
   14201 	    # GNU C++ compiler with Solaris linker
   14202 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   14203 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   14204 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   14205 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   14206 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14207 		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   14208 
   14209 	        # Commands to make compiler produce verbose output that lists
   14210 	        # what "hidden" libraries, object files and flags are used when
   14211 	        # linking a shared library.
   14212 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   14213 	      else
   14214 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
   14215 	        # platform.
   14216 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   14217 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14218 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   14219 
   14220 	        # Commands to make compiler produce verbose output that lists
   14221 	        # what "hidden" libraries, object files and flags are used when
   14222 	        # linking a shared library.
   14223 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   14224 	      fi
   14225 
   14226 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   14227 	      case $host_os in
   14228 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   14229 		*)
   14230 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   14231 		  ;;
   14232 	      esac
   14233 	    fi
   14234 	    ;;
   14235         esac
   14236         ;;
   14237 
   14238     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   14239       no_undefined_flag_CXX='${wl}-z,text'
   14240       archive_cmds_need_lc_CXX=no
   14241       hardcode_shlibpath_var_CXX=no
   14242       runpath_var='LD_RUN_PATH'
   14243 
   14244       case $cc_basename in
   14245         CC*)
   14246 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14247 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14248 	  ;;
   14249 	*)
   14250 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14251 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14252 	  ;;
   14253       esac
   14254       ;;
   14255 
   14256       sysv5* | sco3.2v5* | sco5v6*)
   14257 	# Note: We can NOT use -z defs as we might desire, because we do not
   14258 	# link with -lc, and that would cause any symbols used from libc to
   14259 	# always be unresolved, which means just about no library would
   14260 	# ever link correctly.  If we're not using GNU ld we use -z text
   14261 	# though, which does catch some bad symbols but isn't as heavy-handed
   14262 	# as -z defs.
   14263 	no_undefined_flag_CXX='${wl}-z,text'
   14264 	allow_undefined_flag_CXX='${wl}-z,nodefs'
   14265 	archive_cmds_need_lc_CXX=no
   14266 	hardcode_shlibpath_var_CXX=no
   14267 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
   14268 	hardcode_libdir_separator_CXX=':'
   14269 	link_all_deplibs_CXX=yes
   14270 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
   14271 	runpath_var='LD_RUN_PATH'
   14272 
   14273 	case $cc_basename in
   14274           CC*)
   14275 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14276 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14277 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   14278 	      '"$old_archive_cmds_CXX"
   14279 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   14280 	      '"$reload_cmds_CXX"
   14281 	    ;;
   14282 	  *)
   14283 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14284 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14285 	    ;;
   14286 	esac
   14287       ;;
   14288 
   14289       tandem*)
   14290         case $cc_basename in
   14291           NCC*)
   14292 	    # NonStop-UX NCC 3.20
   14293 	    # FIXME: insert proper C++ library support
   14294 	    ld_shlibs_CXX=no
   14295 	    ;;
   14296           *)
   14297 	    # FIXME: insert proper C++ library support
   14298 	    ld_shlibs_CXX=no
   14299 	    ;;
   14300         esac
   14301         ;;
   14302 
   14303       vxworks*)
   14304         # FIXME: insert proper C++ library support
   14305         ld_shlibs_CXX=no
   14306         ;;
   14307 
   14308       *)
   14309         # FIXME: insert proper C++ library support
   14310         ld_shlibs_CXX=no
   14311         ;;
   14312     esac
   14313 
   14314     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   14315 $as_echo "$ld_shlibs_CXX" >&6; }
   14316     test "$ld_shlibs_CXX" = no && can_build_shared=no
   14317 
   14318     GCC_CXX="$GXX"
   14319     LD_CXX="$LD"
   14320 
   14321     ## CAVEAT EMPTOR:
   14322     ## There is no encapsulation within the following macros, do not change
   14323     ## the running order or otherwise move them around unless you know exactly
   14324     ## what you are doing...
   14325     # Dependencies to place before and after the object being linked:
   14326 predep_objects_CXX=
   14327 postdep_objects_CXX=
   14328 predeps_CXX=
   14329 postdeps_CXX=
   14330 compiler_lib_search_path_CXX=
   14331 
   14332 cat > conftest.$ac_ext <<_LT_EOF
   14333 class Foo
   14334 {
   14335 public:
   14336   Foo (void) { a = 0; }
   14337 private:
   14338   int a;
   14339 };
   14340 _LT_EOF
   14341 
   14342 
   14343 _lt_libdeps_save_CFLAGS=$CFLAGS
   14344 case "$CC $CFLAGS " in #(
   14345 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
   14346 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
   14347 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
   14348 esac
   14349 
   14350 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14351   (eval $ac_compile) 2>&5
   14352   ac_status=$?
   14353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14354   test $ac_status = 0; }; then
   14355   # Parse the compiler output and extract the necessary
   14356   # objects, libraries and library flags.
   14357 
   14358   # Sentinel used to keep track of whether or not we are before
   14359   # the conftest object file.
   14360   pre_test_object_deps_done=no
   14361 
   14362   for p in `eval "$output_verbose_link_cmd"`; do
   14363     case ${prev}${p} in
   14364 
   14365     -L* | -R* | -l*)
   14366        # Some compilers place space between "-{L,R}" and the path.
   14367        # Remove the space.
   14368        if test $p = "-L" ||
   14369           test $p = "-R"; then
   14370 	 prev=$p
   14371 	 continue
   14372        fi
   14373 
   14374        # Expand the sysroot to ease extracting the directories later.
   14375        if test -z "$prev"; then
   14376          case $p in
   14377          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
   14378          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
   14379          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
   14380          esac
   14381        fi
   14382        case $p in
   14383        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
   14384        esac
   14385        if test "$pre_test_object_deps_done" = no; then
   14386 	 case ${prev} in
   14387 	 -L | -R)
   14388 	   # Internal compiler library paths should come after those
   14389 	   # provided the user.  The postdeps already come after the
   14390 	   # user supplied libs so there is no need to process them.
   14391 	   if test -z "$compiler_lib_search_path_CXX"; then
   14392 	     compiler_lib_search_path_CXX="${prev}${p}"
   14393 	   else
   14394 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   14395 	   fi
   14396 	   ;;
   14397 	 # The "-l" case would never come before the object being
   14398 	 # linked, so don't bother handling this case.
   14399 	 esac
   14400        else
   14401 	 if test -z "$postdeps_CXX"; then
   14402 	   postdeps_CXX="${prev}${p}"
   14403 	 else
   14404 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   14405 	 fi
   14406        fi
   14407        prev=
   14408        ;;
   14409 
   14410     *.lto.$objext) ;; # Ignore GCC LTO objects
   14411     *.$objext)
   14412        # This assumes that the test object file only shows up
   14413        # once in the compiler output.
   14414        if test "$p" = "conftest.$objext"; then
   14415 	 pre_test_object_deps_done=yes
   14416 	 continue
   14417        fi
   14418 
   14419        if test "$pre_test_object_deps_done" = no; then
   14420 	 if test -z "$predep_objects_CXX"; then
   14421 	   predep_objects_CXX="$p"
   14422 	 else
   14423 	   predep_objects_CXX="$predep_objects_CXX $p"
   14424 	 fi
   14425        else
   14426 	 if test -z "$postdep_objects_CXX"; then
   14427 	   postdep_objects_CXX="$p"
   14428 	 else
   14429 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   14430 	 fi
   14431        fi
   14432        ;;
   14433 
   14434     *) ;; # Ignore the rest.
   14435 
   14436     esac
   14437   done
   14438 
   14439   # Clean up.
   14440   rm -f a.out a.exe
   14441 else
   14442   echo "libtool.m4: error: problem compiling CXX test program"
   14443 fi
   14444 
   14445 $RM -f confest.$objext
   14446 CFLAGS=$_lt_libdeps_save_CFLAGS
   14447 
   14448 # PORTME: override above test on systems where it is broken
   14449 case $host_os in
   14450 interix[3-9]*)
   14451   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   14452   # hack all around it, let's just trust "g++" to DTRT.
   14453   predep_objects_CXX=
   14454   postdep_objects_CXX=
   14455   postdeps_CXX=
   14456   ;;
   14457 
   14458 linux*)
   14459   case `$CC -V 2>&1 | sed 5q` in
   14460   *Sun\ C*)
   14461     # Sun C++ 5.9
   14462 
   14463     # The more standards-conforming stlport4 library is
   14464     # incompatible with the Cstd library. Avoid specifying
   14465     # it if it's in CXXFLAGS. Ignore libCrun as
   14466     # -library=stlport4 depends on it.
   14467     case " $CXX $CXXFLAGS " in
   14468     *" -library=stlport4 "*)
   14469       solaris_use_stlport4=yes
   14470       ;;
   14471     esac
   14472 
   14473     if test "$solaris_use_stlport4" != yes; then
   14474       postdeps_CXX='-library=Cstd -library=Crun'
   14475     fi
   14476     ;;
   14477   esac
   14478   ;;
   14479 
   14480 solaris*)
   14481   case $cc_basename in
   14482   CC* | sunCC*)
   14483     # The more standards-conforming stlport4 library is
   14484     # incompatible with the Cstd library. Avoid specifying
   14485     # it if it's in CXXFLAGS. Ignore libCrun as
   14486     # -library=stlport4 depends on it.
   14487     case " $CXX $CXXFLAGS " in
   14488     *" -library=stlport4 "*)
   14489       solaris_use_stlport4=yes
   14490       ;;
   14491     esac
   14492 
   14493     # Adding this requires a known-good setup of shared libraries for
   14494     # Sun compiler versions before 5.6, else PIC objects from an old
   14495     # archive will be linked into the output, leading to subtle bugs.
   14496     if test "$solaris_use_stlport4" != yes; then
   14497       postdeps_CXX='-library=Cstd -library=Crun'
   14498     fi
   14499     ;;
   14500   esac
   14501   ;;
   14502 esac
   14503 
   14504 
   14505 case " $postdeps_CXX " in
   14506 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   14507 esac
   14508  compiler_lib_search_dirs_CXX=
   14509 if test -n "${compiler_lib_search_path_CXX}"; then
   14510  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   14511 fi
   14512 
   14513 
   14514 
   14515 
   14516 
   14517 
   14518 
   14519 
   14520 
   14521 
   14522 
   14523 
   14524 
   14525 
   14526 
   14527 
   14528 
   14529 
   14530 
   14531 
   14532 
   14533 
   14534 
   14535 
   14536 
   14537 
   14538 
   14539 
   14540 
   14541 
   14542 
   14543     lt_prog_compiler_wl_CXX=
   14544 lt_prog_compiler_pic_CXX=
   14545 lt_prog_compiler_static_CXX=
   14546 
   14547 
   14548   # C++ specific cases for pic, static, wl, etc.
   14549   if test "$GXX" = yes; then
   14550     lt_prog_compiler_wl_CXX='-Wl,'
   14551     lt_prog_compiler_static_CXX='-static'
   14552 
   14553     case $host_os in
   14554     aix*)
   14555       # All AIX code is PIC.
   14556       if test "$host_cpu" = ia64; then
   14557 	# AIX 5 now supports IA64 processor
   14558 	lt_prog_compiler_static_CXX='-Bstatic'
   14559       fi
   14560       ;;
   14561 
   14562     amigaos*)
   14563       case $host_cpu in
   14564       powerpc)
   14565             # see comment about AmigaOS4 .so support
   14566             lt_prog_compiler_pic_CXX='-fPIC'
   14567         ;;
   14568       m68k)
   14569             # FIXME: we need at least 68020 code to build shared libraries, but
   14570             # adding the `-m68020' flag to GCC prevents building anything better,
   14571             # like `-m68040'.
   14572             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   14573         ;;
   14574       esac
   14575       ;;
   14576 
   14577     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14578       # PIC is the default for these OSes.
   14579       ;;
   14580     mingw* | cygwin* | os2* | pw32* | cegcc*)
   14581       # This hack is so that the source file can tell whether it is being
   14582       # built for inclusion in a dll (and should export symbols for example).
   14583       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14584       # (--disable-auto-import) libraries
   14585       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   14586       ;;
   14587     darwin* | rhapsody*)
   14588       # PIC is the default on this platform
   14589       # Common symbols not allowed in MH_DYLIB files
   14590       lt_prog_compiler_pic_CXX='-fno-common'
   14591       ;;
   14592     *djgpp*)
   14593       # DJGPP does not support shared libraries at all
   14594       lt_prog_compiler_pic_CXX=
   14595       ;;
   14596     haiku*)
   14597       # PIC is the default for Haiku.
   14598       # The "-static" flag exists, but is broken.
   14599       lt_prog_compiler_static_CXX=
   14600       ;;
   14601     interix[3-9]*)
   14602       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14603       # Instead, we relocate shared libraries at runtime.
   14604       ;;
   14605     sysv4*MP*)
   14606       if test -d /usr/nec; then
   14607 	lt_prog_compiler_pic_CXX=-Kconform_pic
   14608       fi
   14609       ;;
   14610     hpux*)
   14611       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14612       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14613       # sets the default TLS model and affects inlining.
   14614       case $host_cpu in
   14615       hppa*64*)
   14616 	;;
   14617       *)
   14618 	lt_prog_compiler_pic_CXX='-fPIC'
   14619 	;;
   14620       esac
   14621       ;;
   14622     *qnx* | *nto*)
   14623       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14624       # it will coredump.
   14625       lt_prog_compiler_pic_CXX='-fPIC -shared'
   14626       ;;
   14627     *)
   14628       lt_prog_compiler_pic_CXX='-fPIC'
   14629       ;;
   14630     esac
   14631   else
   14632     case $host_os in
   14633       aix[4-9]*)
   14634 	# All AIX code is PIC.
   14635 	if test "$host_cpu" = ia64; then
   14636 	  # AIX 5 now supports IA64 processor
   14637 	  lt_prog_compiler_static_CXX='-Bstatic'
   14638 	else
   14639 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   14640 	fi
   14641 	;;
   14642       chorus*)
   14643 	case $cc_basename in
   14644 	cxch68*)
   14645 	  # Green Hills C++ Compiler
   14646 	  # _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"
   14647 	  ;;
   14648 	esac
   14649 	;;
   14650       mingw* | cygwin* | os2* | pw32* | cegcc*)
   14651 	# This hack is so that the source file can tell whether it is being
   14652 	# built for inclusion in a dll (and should export symbols for example).
   14653 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   14654 	;;
   14655       dgux*)
   14656 	case $cc_basename in
   14657 	  ec++*)
   14658 	    lt_prog_compiler_pic_CXX='-KPIC'
   14659 	    ;;
   14660 	  ghcx*)
   14661 	    # Green Hills C++ Compiler
   14662 	    lt_prog_compiler_pic_CXX='-pic'
   14663 	    ;;
   14664 	  *)
   14665 	    ;;
   14666 	esac
   14667 	;;
   14668       freebsd* | dragonfly*)
   14669 	# FreeBSD uses GNU C++
   14670 	;;
   14671       hpux9* | hpux10* | hpux11*)
   14672 	case $cc_basename in
   14673 	  CC*)
   14674 	    lt_prog_compiler_wl_CXX='-Wl,'
   14675 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14676 	    if test "$host_cpu" != ia64; then
   14677 	      lt_prog_compiler_pic_CXX='+Z'
   14678 	    fi
   14679 	    ;;
   14680 	  aCC*)
   14681 	    lt_prog_compiler_wl_CXX='-Wl,'
   14682 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14683 	    case $host_cpu in
   14684 	    hppa*64*|ia64*)
   14685 	      # +Z the default
   14686 	      ;;
   14687 	    *)
   14688 	      lt_prog_compiler_pic_CXX='+Z'
   14689 	      ;;
   14690 	    esac
   14691 	    ;;
   14692 	  *)
   14693 	    ;;
   14694 	esac
   14695 	;;
   14696       interix*)
   14697 	# This is c89, which is MS Visual C++ (no shared libs)
   14698 	# Anyone wants to do a port?
   14699 	;;
   14700       irix5* | irix6* | nonstopux*)
   14701 	case $cc_basename in
   14702 	  CC*)
   14703 	    lt_prog_compiler_wl_CXX='-Wl,'
   14704 	    lt_prog_compiler_static_CXX='-non_shared'
   14705 	    # CC pic flag -KPIC is the default.
   14706 	    ;;
   14707 	  *)
   14708 	    ;;
   14709 	esac
   14710 	;;
   14711       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14712 	case $cc_basename in
   14713 	  KCC*)
   14714 	    # KAI C++ Compiler
   14715 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14716 	    lt_prog_compiler_pic_CXX='-fPIC'
   14717 	    ;;
   14718 	  ecpc* )
   14719 	    # old Intel C++ for x86_64 which still supported -KPIC.
   14720 	    lt_prog_compiler_wl_CXX='-Wl,'
   14721 	    lt_prog_compiler_pic_CXX='-KPIC'
   14722 	    lt_prog_compiler_static_CXX='-static'
   14723 	    ;;
   14724 	  icpc* )
   14725 	    # Intel C++, used to be incompatible with GCC.
   14726 	    # ICC 10 doesn't accept -KPIC any more.
   14727 	    lt_prog_compiler_wl_CXX='-Wl,'
   14728 	    lt_prog_compiler_pic_CXX='-fPIC'
   14729 	    lt_prog_compiler_static_CXX='-static'
   14730 	    ;;
   14731 	  pgCC* | pgcpp*)
   14732 	    # Portland Group C++ compiler
   14733 	    lt_prog_compiler_wl_CXX='-Wl,'
   14734 	    lt_prog_compiler_pic_CXX='-fpic'
   14735 	    lt_prog_compiler_static_CXX='-Bstatic'
   14736 	    ;;
   14737 	  cxx*)
   14738 	    # Compaq C++
   14739 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14740 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14741 	    lt_prog_compiler_pic_CXX=
   14742 	    lt_prog_compiler_static_CXX='-non_shared'
   14743 	    ;;
   14744 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   14745 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   14746 	    lt_prog_compiler_wl_CXX='-Wl,'
   14747 	    lt_prog_compiler_pic_CXX='-qpic'
   14748 	    lt_prog_compiler_static_CXX='-qstaticlink'
   14749 	    ;;
   14750 	  *)
   14751 	    case `$CC -V 2>&1 | sed 5q` in
   14752 	    *Sun\ C*)
   14753 	      # Sun C++ 5.9
   14754 	      lt_prog_compiler_pic_CXX='-KPIC'
   14755 	      lt_prog_compiler_static_CXX='-Bstatic'
   14756 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   14757 	      ;;
   14758 	    esac
   14759 	    ;;
   14760 	esac
   14761 	;;
   14762       lynxos*)
   14763 	;;
   14764       m88k*)
   14765 	;;
   14766       mvs*)
   14767 	case $cc_basename in
   14768 	  cxx*)
   14769 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   14770 	    ;;
   14771 	  *)
   14772 	    ;;
   14773 	esac
   14774 	;;
   14775       netbsd* | netbsdelf*-gnu)
   14776 	;;
   14777       *qnx* | *nto*)
   14778         # QNX uses GNU C++, but need to define -shared option too, otherwise
   14779         # it will coredump.
   14780         lt_prog_compiler_pic_CXX='-fPIC -shared'
   14781         ;;
   14782       osf3* | osf4* | osf5*)
   14783 	case $cc_basename in
   14784 	  KCC*)
   14785 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14786 	    ;;
   14787 	  RCC*)
   14788 	    # Rational C++ 2.4.1
   14789 	    lt_prog_compiler_pic_CXX='-pic'
   14790 	    ;;
   14791 	  cxx*)
   14792 	    # Digital/Compaq C++
   14793 	    lt_prog_compiler_wl_CXX='-Wl,'
   14794 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14795 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14796 	    lt_prog_compiler_pic_CXX=
   14797 	    lt_prog_compiler_static_CXX='-non_shared'
   14798 	    ;;
   14799 	  *)
   14800 	    ;;
   14801 	esac
   14802 	;;
   14803       psos*)
   14804 	;;
   14805       solaris*)
   14806 	case $cc_basename in
   14807 	  CC* | sunCC*)
   14808 	    # Sun C++ 4.2, 5.x and Centerline C++
   14809 	    lt_prog_compiler_pic_CXX='-KPIC'
   14810 	    lt_prog_compiler_static_CXX='-Bstatic'
   14811 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   14812 	    ;;
   14813 	  gcx*)
   14814 	    # Green Hills C++ Compiler
   14815 	    lt_prog_compiler_pic_CXX='-PIC'
   14816 	    ;;
   14817 	  *)
   14818 	    ;;
   14819 	esac
   14820 	;;
   14821       sunos4*)
   14822 	case $cc_basename in
   14823 	  CC*)
   14824 	    # Sun C++ 4.x
   14825 	    lt_prog_compiler_pic_CXX='-pic'
   14826 	    lt_prog_compiler_static_CXX='-Bstatic'
   14827 	    ;;
   14828 	  lcc*)
   14829 	    # Lucid
   14830 	    lt_prog_compiler_pic_CXX='-pic'
   14831 	    ;;
   14832 	  *)
   14833 	    ;;
   14834 	esac
   14835 	;;
   14836       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14837 	case $cc_basename in
   14838 	  CC*)
   14839 	    lt_prog_compiler_wl_CXX='-Wl,'
   14840 	    lt_prog_compiler_pic_CXX='-KPIC'
   14841 	    lt_prog_compiler_static_CXX='-Bstatic'
   14842 	    ;;
   14843 	esac
   14844 	;;
   14845       tandem*)
   14846 	case $cc_basename in
   14847 	  NCC*)
   14848 	    # NonStop-UX NCC 3.20
   14849 	    lt_prog_compiler_pic_CXX='-KPIC'
   14850 	    ;;
   14851 	  *)
   14852 	    ;;
   14853 	esac
   14854 	;;
   14855       vxworks*)
   14856 	;;
   14857       *)
   14858 	lt_prog_compiler_can_build_shared_CXX=no
   14859 	;;
   14860     esac
   14861   fi
   14862 
   14863 case $host_os in
   14864   # For platforms which do not support PIC, -DPIC is meaningless:
   14865   *djgpp*)
   14866     lt_prog_compiler_pic_CXX=
   14867     ;;
   14868   *)
   14869     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   14870     ;;
   14871 esac
   14872 
   14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14874 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14875 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
   14876   $as_echo_n "(cached) " >&6
   14877 else
   14878   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
   14879 fi
   14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   14881 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
   14882 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   14883 
   14884 #
   14885 # Check to make sure the PIC flag actually works.
   14886 #
   14887 if test -n "$lt_prog_compiler_pic_CXX"; then
   14888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   14889 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   14890 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   14891   $as_echo_n "(cached) " >&6
   14892 else
   14893   lt_cv_prog_compiler_pic_works_CXX=no
   14894    ac_outfile=conftest.$ac_objext
   14895    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14896    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   14897    # Insert the option either (1) after the last *FLAGS variable, or
   14898    # (2) before a word containing "conftest.", or (3) at the end.
   14899    # Note that $ac_compile itself does not contain backslashes and begins
   14900    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14901    # The option is referenced via a variable to avoid confusing sed.
   14902    lt_compile=`echo "$ac_compile" | $SED \
   14903    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14904    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14905    -e 's:$: $lt_compiler_flag:'`
   14906    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14907    (eval "$lt_compile" 2>conftest.err)
   14908    ac_status=$?
   14909    cat conftest.err >&5
   14910    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14911    if (exit $ac_status) && test -s "$ac_outfile"; then
   14912      # The compiler can only warn and ignore the option if not recognized
   14913      # So say no if there are warnings other than the usual output.
   14914      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14915      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14916      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14917        lt_cv_prog_compiler_pic_works_CXX=yes
   14918      fi
   14919    fi
   14920    $RM conftest*
   14921 
   14922 fi
   14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   14924 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   14925 
   14926 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   14927     case $lt_prog_compiler_pic_CXX in
   14928      "" | " "*) ;;
   14929      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   14930      esac
   14931 else
   14932     lt_prog_compiler_pic_CXX=
   14933      lt_prog_compiler_can_build_shared_CXX=no
   14934 fi
   14935 
   14936 fi
   14937 
   14938 
   14939 
   14940 
   14941 
   14942 #
   14943 # Check to make sure the static flag actually works.
   14944 #
   14945 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14947 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14948 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   14949   $as_echo_n "(cached) " >&6
   14950 else
   14951   lt_cv_prog_compiler_static_works_CXX=no
   14952    save_LDFLAGS="$LDFLAGS"
   14953    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14954    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14955    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14956      # The linker can only warn and ignore the option if not recognized
   14957      # So say no if there are warnings
   14958      if test -s conftest.err; then
   14959        # Append any errors to the config.log.
   14960        cat conftest.err 1>&5
   14961        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14962        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14963        if diff conftest.exp conftest.er2 >/dev/null; then
   14964          lt_cv_prog_compiler_static_works_CXX=yes
   14965        fi
   14966      else
   14967        lt_cv_prog_compiler_static_works_CXX=yes
   14968      fi
   14969    fi
   14970    $RM -r conftest*
   14971    LDFLAGS="$save_LDFLAGS"
   14972 
   14973 fi
   14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   14975 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   14976 
   14977 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   14978     :
   14979 else
   14980     lt_prog_compiler_static_CXX=
   14981 fi
   14982 
   14983 
   14984 
   14985 
   14986     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14987 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14988 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   14989   $as_echo_n "(cached) " >&6
   14990 else
   14991   lt_cv_prog_compiler_c_o_CXX=no
   14992    $RM -r conftest 2>/dev/null
   14993    mkdir conftest
   14994    cd conftest
   14995    mkdir out
   14996    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14997 
   14998    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14999    # Insert the option either (1) after the last *FLAGS variable, or
   15000    # (2) before a word containing "conftest.", or (3) at the end.
   15001    # Note that $ac_compile itself does not contain backslashes and begins
   15002    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15003    lt_compile=`echo "$ac_compile" | $SED \
   15004    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15005    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15006    -e 's:$: $lt_compiler_flag:'`
   15007    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15008    (eval "$lt_compile" 2>out/conftest.err)
   15009    ac_status=$?
   15010    cat out/conftest.err >&5
   15011    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15012    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15013    then
   15014      # The compiler can only warn and ignore the option if not recognized
   15015      # So say no if there are warnings
   15016      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15017      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15018      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15019        lt_cv_prog_compiler_c_o_CXX=yes
   15020      fi
   15021    fi
   15022    chmod u+w . 2>&5
   15023    $RM conftest*
   15024    # SGI C++ compiler will create directory out/ii_files/ for
   15025    # template instantiation
   15026    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15027    $RM out/* && rmdir out
   15028    cd ..
   15029    $RM -r conftest
   15030    $RM conftest*
   15031 
   15032 fi
   15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   15034 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   15035 
   15036 
   15037 
   15038     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15039 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15040 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   15041   $as_echo_n "(cached) " >&6
   15042 else
   15043   lt_cv_prog_compiler_c_o_CXX=no
   15044    $RM -r conftest 2>/dev/null
   15045    mkdir conftest
   15046    cd conftest
   15047    mkdir out
   15048    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15049 
   15050    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15051    # Insert the option either (1) after the last *FLAGS variable, or
   15052    # (2) before a word containing "conftest.", or (3) at the end.
   15053    # Note that $ac_compile itself does not contain backslashes and begins
   15054    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15055    lt_compile=`echo "$ac_compile" | $SED \
   15056    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15057    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15058    -e 's:$: $lt_compiler_flag:'`
   15059    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15060    (eval "$lt_compile" 2>out/conftest.err)
   15061    ac_status=$?
   15062    cat out/conftest.err >&5
   15063    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15064    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15065    then
   15066      # The compiler can only warn and ignore the option if not recognized
   15067      # So say no if there are warnings
   15068      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15069      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15070      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15071        lt_cv_prog_compiler_c_o_CXX=yes
   15072      fi
   15073    fi
   15074    chmod u+w . 2>&5
   15075    $RM conftest*
   15076    # SGI C++ compiler will create directory out/ii_files/ for
   15077    # template instantiation
   15078    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15079    $RM out/* && rmdir out
   15080    cd ..
   15081    $RM -r conftest
   15082    $RM conftest*
   15083 
   15084 fi
   15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   15086 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   15087 
   15088 
   15089 
   15090 
   15091 hard_links="nottested"
   15092 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   15093   # do not overwrite the value of need_locks provided by the user
   15094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15095 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15096   hard_links=yes
   15097   $RM conftest*
   15098   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15099   touch conftest.a
   15100   ln conftest.a conftest.b 2>&5 || hard_links=no
   15101   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15103 $as_echo "$hard_links" >&6; }
   15104   if test "$hard_links" = no; then
   15105     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   15106 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   15107     need_locks=warn
   15108   fi
   15109 else
   15110   need_locks=no
   15111 fi
   15112 
   15113 
   15114 
   15115     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15116 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15117 
   15118   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15119   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15120   case $host_os in
   15121   aix[4-9]*)
   15122     # If we're using GNU nm, then we don't want the "-C" option.
   15123     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   15124     # Also, AIX nm treats weak defined symbols like other global defined
   15125     # symbols, whereas GNU nm marks them as "W".
   15126     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15127       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'
   15128     else
   15129       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'
   15130     fi
   15131     ;;
   15132   pw32*)
   15133     export_symbols_cmds_CXX="$ltdll_cmds"
   15134     ;;
   15135   cygwin* | mingw* | cegcc*)
   15136     case $cc_basename in
   15137     cl*)
   15138       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   15139       ;;
   15140     *)
   15141       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'
   15142       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15143       ;;
   15144     esac
   15145     ;;
   15146   linux* | k*bsd*-gnu | gnu*)
   15147     link_all_deplibs_CXX=no
   15148     ;;
   15149   *)
   15150     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15151     ;;
   15152   esac
   15153 
   15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   15155 $as_echo "$ld_shlibs_CXX" >&6; }
   15156 test "$ld_shlibs_CXX" = no && can_build_shared=no
   15157 
   15158 with_gnu_ld_CXX=$with_gnu_ld
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 #
   15166 # Do we need to explicitly link libc?
   15167 #
   15168 case "x$archive_cmds_need_lc_CXX" in
   15169 x|xyes)
   15170   # Assume -lc should be added
   15171   archive_cmds_need_lc_CXX=yes
   15172 
   15173   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15174     case $archive_cmds_CXX in
   15175     *'~'*)
   15176       # FIXME: we may have to deal with multi-command sequences.
   15177       ;;
   15178     '$CC '*)
   15179       # Test whether the compiler implicitly links with -lc since on some
   15180       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15181       # to ld, don't add -lc before -lgcc.
   15182       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   15183 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15184 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   15185   $as_echo_n "(cached) " >&6
   15186 else
   15187   $RM conftest*
   15188 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15189 
   15190 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   15191   (eval $ac_compile) 2>&5
   15192   ac_status=$?
   15193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15194   test $ac_status = 0; } 2>conftest.err; then
   15195 	  soname=conftest
   15196 	  lib=conftest
   15197 	  libobjs=conftest.$ac_objext
   15198 	  deplibs=
   15199 	  wl=$lt_prog_compiler_wl_CXX
   15200 	  pic_flag=$lt_prog_compiler_pic_CXX
   15201 	  compiler_flags=-v
   15202 	  linker_flags=-v
   15203 	  verstring=
   15204 	  output_objdir=.
   15205 	  libname=conftest
   15206 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   15207 	  allow_undefined_flag_CXX=
   15208 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   15209   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15210   ac_status=$?
   15211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15212   test $ac_status = 0; }
   15213 	  then
   15214 	    lt_cv_archive_cmds_need_lc_CXX=no
   15215 	  else
   15216 	    lt_cv_archive_cmds_need_lc_CXX=yes
   15217 	  fi
   15218 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   15219 	else
   15220 	  cat conftest.err 1>&5
   15221 	fi
   15222 	$RM conftest*
   15223 
   15224 fi
   15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   15226 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   15227       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   15228       ;;
   15229     esac
   15230   fi
   15231   ;;
   15232 esac
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 
   15246 
   15247 
   15248 
   15249 
   15250 
   15251 
   15252 
   15253 
   15254 
   15255 
   15256 
   15257 
   15258 
   15259 
   15260 
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 
   15275 
   15276 
   15277 
   15278 
   15279 
   15280 
   15281 
   15282 
   15283 
   15284 
   15285 
   15286 
   15287 
   15288 
   15289 
   15290 
   15291 
   15292 
   15293 
   15294 
   15295     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   15296 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15297 
   15298 library_names_spec=
   15299 libname_spec='lib$name'
   15300 soname_spec=
   15301 shrext_cmds=".so"
   15302 postinstall_cmds=
   15303 postuninstall_cmds=
   15304 finish_cmds=
   15305 finish_eval=
   15306 shlibpath_var=
   15307 shlibpath_overrides_runpath=unknown
   15308 version_type=none
   15309 dynamic_linker="$host_os ld.so"
   15310 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15311 need_lib_prefix=unknown
   15312 hardcode_into_libs=no
   15313 
   15314 # when you set need_version to no, make sure it does not cause -set_version
   15315 # flags to be left without arguments
   15316 need_version=unknown
   15317 
   15318 case $host_os in
   15319 aix3*)
   15320   version_type=linux # correct to gnu/linux during the next big refactor
   15321   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15322   shlibpath_var=LIBPATH
   15323 
   15324   # AIX 3 has no versioning support, so we append a major version to the name.
   15325   soname_spec='${libname}${release}${shared_ext}$major'
   15326   ;;
   15327 
   15328 aix[4-9]*)
   15329   version_type=linux # correct to gnu/linux during the next big refactor
   15330   need_lib_prefix=no
   15331   need_version=no
   15332   hardcode_into_libs=yes
   15333   if test "$host_cpu" = ia64; then
   15334     # AIX 5 supports IA64
   15335     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15336     shlibpath_var=LD_LIBRARY_PATH
   15337   else
   15338     # With GCC up to 2.95.x, collect2 would create an import file
   15339     # for dependence libraries.  The import file would start with
   15340     # the line `#! .'.  This would cause the generated library to
   15341     # depend on `.', always an invalid library.  This was fixed in
   15342     # development snapshots of GCC prior to 3.0.
   15343     case $host_os in
   15344       aix4 | aix4.[01] | aix4.[01].*)
   15345       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15346 	   echo ' yes '
   15347 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   15348 	:
   15349       else
   15350 	can_build_shared=no
   15351       fi
   15352       ;;
   15353     esac
   15354     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15355     # soname into executable. Probably we can add versioning support to
   15356     # collect2, so additional links can be useful in future.
   15357     if test "$aix_use_runtimelinking" = yes; then
   15358       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15359       # instead of lib<name>.a to let people know that these are not
   15360       # typical AIX shared libraries.
   15361       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15362     else
   15363       # We preserve .a as extension for shared libraries through AIX4.2
   15364       # and later when we are not doing run time linking.
   15365       library_names_spec='${libname}${release}.a $libname.a'
   15366       soname_spec='${libname}${release}${shared_ext}$major'
   15367     fi
   15368     shlibpath_var=LIBPATH
   15369   fi
   15370   ;;
   15371 
   15372 amigaos*)
   15373   case $host_cpu in
   15374   powerpc)
   15375     # Since July 2007 AmigaOS4 officially supports .so libraries.
   15376     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   15377     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15378     ;;
   15379   m68k)
   15380     library_names_spec='$libname.ixlibrary $libname.a'
   15381     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15382     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'
   15383     ;;
   15384   esac
   15385   ;;
   15386 
   15387 beos*)
   15388   library_names_spec='${libname}${shared_ext}'
   15389   dynamic_linker="$host_os ld.so"
   15390   shlibpath_var=LIBRARY_PATH
   15391   ;;
   15392 
   15393 bsdi[45]*)
   15394   version_type=linux # correct to gnu/linux during the next big refactor
   15395   need_version=no
   15396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15397   soname_spec='${libname}${release}${shared_ext}$major'
   15398   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15399   shlibpath_var=LD_LIBRARY_PATH
   15400   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15401   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15402   # the default ld.so.conf also contains /usr/contrib/lib and
   15403   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15404   # libtool to hard-code these into programs
   15405   ;;
   15406 
   15407 cygwin* | mingw* | pw32* | cegcc*)
   15408   version_type=windows
   15409   shrext_cmds=".dll"
   15410   need_version=no
   15411   need_lib_prefix=no
   15412 
   15413   case $GCC,$cc_basename in
   15414   yes,*)
   15415     # gcc
   15416     library_names_spec='$libname.dll.a'
   15417     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15418     postinstall_cmds='base_file=`basename \${file}`~
   15419       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   15420       dldir=$destdir/`dirname \$dlpath`~
   15421       test -d \$dldir || mkdir -p \$dldir~
   15422       $install_prog $dir/$dlname \$dldir/$dlname~
   15423       chmod a+x \$dldir/$dlname~
   15424       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   15425         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   15426       fi'
   15427     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15428       dlpath=$dir/\$dldll~
   15429        $RM \$dlpath'
   15430     shlibpath_overrides_runpath=yes
   15431 
   15432     case $host_os in
   15433     cygwin*)
   15434       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15435       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15436 
   15437       ;;
   15438     mingw* | cegcc*)
   15439       # MinGW DLLs use traditional 'lib' prefix
   15440       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15441       ;;
   15442     pw32*)
   15443       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15444       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15445       ;;
   15446     esac
   15447     dynamic_linker='Win32 ld.exe'
   15448     ;;
   15449 
   15450   *,cl*)
   15451     # Native MSVC
   15452     libname_spec='$name'
   15453     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15454     library_names_spec='${libname}.dll.lib'
   15455 
   15456     case $build_os in
   15457     mingw*)
   15458       sys_lib_search_path_spec=
   15459       lt_save_ifs=$IFS
   15460       IFS=';'
   15461       for lt_path in $LIB
   15462       do
   15463         IFS=$lt_save_ifs
   15464         # Let DOS variable expansion print the short 8.3 style file name.
   15465         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   15466         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   15467       done
   15468       IFS=$lt_save_ifs
   15469       # Convert to MSYS style.
   15470       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   15471       ;;
   15472     cygwin*)
   15473       # Convert to unix form, then to dos form, then back to unix form
   15474       # but this time dos style (no spaces!) so that the unix form looks
   15475       # like /cygdrive/c/PROGRA~1:/cygdr...
   15476       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   15477       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   15478       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15479       ;;
   15480     *)
   15481       sys_lib_search_path_spec="$LIB"
   15482       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   15483         # It is most probably a Windows format PATH.
   15484         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15485       else
   15486         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15487       fi
   15488       # FIXME: find the short name or the path components, as spaces are
   15489       # common. (e.g. "Program Files" -> "PROGRA~1")
   15490       ;;
   15491     esac
   15492 
   15493     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15494     postinstall_cmds='base_file=`basename \${file}`~
   15495       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   15496       dldir=$destdir/`dirname \$dlpath`~
   15497       test -d \$dldir || mkdir -p \$dldir~
   15498       $install_prog $dir/$dlname \$dldir/$dlname'
   15499     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15500       dlpath=$dir/\$dldll~
   15501        $RM \$dlpath'
   15502     shlibpath_overrides_runpath=yes
   15503     dynamic_linker='Win32 link.exe'
   15504     ;;
   15505 
   15506   *)
   15507     # Assume MSVC wrapper
   15508     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15509     dynamic_linker='Win32 ld.exe'
   15510     ;;
   15511   esac
   15512   # FIXME: first we should search . and the directory the executable is in
   15513   shlibpath_var=PATH
   15514   ;;
   15515 
   15516 darwin* | rhapsody*)
   15517   dynamic_linker="$host_os dyld"
   15518   version_type=darwin
   15519   need_lib_prefix=no
   15520   need_version=no
   15521   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15522   soname_spec='${libname}${release}${major}$shared_ext'
   15523   shlibpath_overrides_runpath=yes
   15524   shlibpath_var=DYLD_LIBRARY_PATH
   15525   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15526 
   15527   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15528   ;;
   15529 
   15530 dgux*)
   15531   version_type=linux # correct to gnu/linux during the next big refactor
   15532   need_lib_prefix=no
   15533   need_version=no
   15534   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15535   soname_spec='${libname}${release}${shared_ext}$major'
   15536   shlibpath_var=LD_LIBRARY_PATH
   15537   ;;
   15538 
   15539 freebsd* | dragonfly*)
   15540   # DragonFly does not have aout.  When/if they implement a new
   15541   # versioning mechanism, adjust this.
   15542   if test -x /usr/bin/objformat; then
   15543     objformat=`/usr/bin/objformat`
   15544   else
   15545     case $host_os in
   15546     freebsd[23].*) objformat=aout ;;
   15547     *) objformat=elf ;;
   15548     esac
   15549   fi
   15550   version_type=freebsd-$objformat
   15551   case $version_type in
   15552     freebsd-elf*)
   15553       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15554       need_version=no
   15555       need_lib_prefix=no
   15556       ;;
   15557     freebsd-*)
   15558       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15559       need_version=yes
   15560       ;;
   15561   esac
   15562   shlibpath_var=LD_LIBRARY_PATH
   15563   case $host_os in
   15564   freebsd2.*)
   15565     shlibpath_overrides_runpath=yes
   15566     ;;
   15567   freebsd3.[01]* | freebsdelf3.[01]*)
   15568     shlibpath_overrides_runpath=yes
   15569     hardcode_into_libs=yes
   15570     ;;
   15571   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15572   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15573     shlibpath_overrides_runpath=no
   15574     hardcode_into_libs=yes
   15575     ;;
   15576   *) # from 4.6 on, and DragonFly
   15577     shlibpath_overrides_runpath=yes
   15578     hardcode_into_libs=yes
   15579     ;;
   15580   esac
   15581   ;;
   15582 
   15583 haiku*)
   15584   version_type=linux # correct to gnu/linux during the next big refactor
   15585   need_lib_prefix=no
   15586   need_version=no
   15587   dynamic_linker="$host_os runtime_loader"
   15588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15589   soname_spec='${libname}${release}${shared_ext}$major'
   15590   shlibpath_var=LIBRARY_PATH
   15591   shlibpath_overrides_runpath=yes
   15592   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   15593   hardcode_into_libs=yes
   15594   ;;
   15595 
   15596 hpux9* | hpux10* | hpux11*)
   15597   # Give a soname corresponding to the major version so that dld.sl refuses to
   15598   # link against other versions.
   15599   version_type=sunos
   15600   need_lib_prefix=no
   15601   need_version=no
   15602   case $host_cpu in
   15603   ia64*)
   15604     shrext_cmds='.so'
   15605     hardcode_into_libs=yes
   15606     dynamic_linker="$host_os dld.so"
   15607     shlibpath_var=LD_LIBRARY_PATH
   15608     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15609     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15610     soname_spec='${libname}${release}${shared_ext}$major'
   15611     if test "X$HPUX_IA64_MODE" = X32; then
   15612       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15613     else
   15614       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15615     fi
   15616     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15617     ;;
   15618   hppa*64*)
   15619     shrext_cmds='.sl'
   15620     hardcode_into_libs=yes
   15621     dynamic_linker="$host_os dld.sl"
   15622     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15623     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15624     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15625     soname_spec='${libname}${release}${shared_ext}$major'
   15626     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15627     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15628     ;;
   15629   *)
   15630     shrext_cmds='.sl'
   15631     dynamic_linker="$host_os dld.sl"
   15632     shlibpath_var=SHLIB_PATH
   15633     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15634     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15635     soname_spec='${libname}${release}${shared_ext}$major'
   15636     ;;
   15637   esac
   15638   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   15639   postinstall_cmds='chmod 555 $lib'
   15640   # or fails outright, so override atomically:
   15641   install_override_mode=555
   15642   ;;
   15643 
   15644 interix[3-9]*)
   15645   version_type=linux # correct to gnu/linux during the next big refactor
   15646   need_lib_prefix=no
   15647   need_version=no
   15648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15649   soname_spec='${libname}${release}${shared_ext}$major'
   15650   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15651   shlibpath_var=LD_LIBRARY_PATH
   15652   shlibpath_overrides_runpath=no
   15653   hardcode_into_libs=yes
   15654   ;;
   15655 
   15656 irix5* | irix6* | nonstopux*)
   15657   case $host_os in
   15658     nonstopux*) version_type=nonstopux ;;
   15659     *)
   15660 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15661 		version_type=linux # correct to gnu/linux during the next big refactor
   15662 	else
   15663 		version_type=irix
   15664 	fi ;;
   15665   esac
   15666   need_lib_prefix=no
   15667   need_version=no
   15668   soname_spec='${libname}${release}${shared_ext}$major'
   15669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15670   case $host_os in
   15671   irix5* | nonstopux*)
   15672     libsuff= shlibsuff=
   15673     ;;
   15674   *)
   15675     case $LD in # libtool.m4 will add one of these switches to LD
   15676     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15677       libsuff= shlibsuff= libmagic=32-bit;;
   15678     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15679       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15680     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15681       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15682     *) libsuff= shlibsuff= libmagic=never-match;;
   15683     esac
   15684     ;;
   15685   esac
   15686   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15687   shlibpath_overrides_runpath=no
   15688   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15689   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15690   hardcode_into_libs=yes
   15691   ;;
   15692 
   15693 # No shared lib support for Linux oldld, aout, or coff.
   15694 linux*oldld* | linux*aout* | linux*coff*)
   15695   dynamic_linker=no
   15696   ;;
   15697 
   15698 # This must be glibc/ELF.
   15699 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15700   version_type=linux # correct to gnu/linux during the next big refactor
   15701   need_lib_prefix=no
   15702   need_version=no
   15703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15704   soname_spec='${libname}${release}${shared_ext}$major'
   15705   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15706   shlibpath_var=LD_LIBRARY_PATH
   15707   shlibpath_overrides_runpath=no
   15708 
   15709   # Some binutils ld are patched to set DT_RUNPATH
   15710   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   15711   $as_echo_n "(cached) " >&6
   15712 else
   15713   lt_cv_shlibpath_overrides_runpath=no
   15714     save_LDFLAGS=$LDFLAGS
   15715     save_libdir=$libdir
   15716     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   15717 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   15718     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15719 /* end confdefs.h.  */
   15720 
   15721 int
   15722 main ()
   15723 {
   15724 
   15725   ;
   15726   return 0;
   15727 }
   15728 _ACEOF
   15729 if ac_fn_cxx_try_link "$LINENO"; then :
   15730   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   15731   lt_cv_shlibpath_overrides_runpath=yes
   15732 fi
   15733 fi
   15734 rm -f core conftest.err conftest.$ac_objext \
   15735     conftest$ac_exeext conftest.$ac_ext
   15736     LDFLAGS=$save_LDFLAGS
   15737     libdir=$save_libdir
   15738 
   15739 fi
   15740 
   15741   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   15742 
   15743   # This implies no fast_install, which is unacceptable.
   15744   # Some rework will be needed to allow for fast_install
   15745   # before this can be enabled.
   15746   hardcode_into_libs=yes
   15747 
   15748   # Append ld.so.conf contents to the search path
   15749   if test -f /etc/ld.so.conf; then
   15750     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' ' '`
   15751     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15752   fi
   15753 
   15754   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15755   # powerpc, because MkLinux only supported shared libraries with the
   15756   # GNU dynamic linker.  Since this was broken with cross compilers,
   15757   # most powerpc-linux boxes support dynamic linking these days and
   15758   # people can always --disable-shared, the test was removed, and we
   15759   # assume the GNU/Linux dynamic linker is in use.
   15760   dynamic_linker='GNU/Linux ld.so'
   15761   ;;
   15762 
   15763 netbsdelf*-gnu)
   15764   version_type=linux
   15765   need_lib_prefix=no
   15766   need_version=no
   15767   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15768   soname_spec='${libname}${release}${shared_ext}$major'
   15769   shlibpath_var=LD_LIBRARY_PATH
   15770   shlibpath_overrides_runpath=no
   15771   hardcode_into_libs=yes
   15772   dynamic_linker='NetBSD ld.elf_so'
   15773   ;;
   15774 
   15775 netbsd*)
   15776   version_type=sunos
   15777   need_lib_prefix=no
   15778   need_version=no
   15779   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15780     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15781     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15782     dynamic_linker='NetBSD (a.out) ld.so'
   15783   else
   15784     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15785     soname_spec='${libname}${release}${shared_ext}$major'
   15786     dynamic_linker='NetBSD ld.elf_so'
   15787   fi
   15788   shlibpath_var=LD_LIBRARY_PATH
   15789   shlibpath_overrides_runpath=yes
   15790   hardcode_into_libs=yes
   15791   ;;
   15792 
   15793 newsos6)
   15794   version_type=linux # correct to gnu/linux during the next big refactor
   15795   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15796   shlibpath_var=LD_LIBRARY_PATH
   15797   shlibpath_overrides_runpath=yes
   15798   ;;
   15799 
   15800 *nto* | *qnx*)
   15801   version_type=qnx
   15802   need_lib_prefix=no
   15803   need_version=no
   15804   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15805   soname_spec='${libname}${release}${shared_ext}$major'
   15806   shlibpath_var=LD_LIBRARY_PATH
   15807   shlibpath_overrides_runpath=no
   15808   hardcode_into_libs=yes
   15809   dynamic_linker='ldqnx.so'
   15810   ;;
   15811 
   15812 openbsd*)
   15813   version_type=sunos
   15814   sys_lib_dlsearch_path_spec="/usr/lib"
   15815   need_lib_prefix=no
   15816   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15817   case $host_os in
   15818     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   15819     *)				need_version=no  ;;
   15820   esac
   15821   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15822   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15823   shlibpath_var=LD_LIBRARY_PATH
   15824   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15825     case $host_os in
   15826       openbsd2.[89] | openbsd2.[89].*)
   15827 	shlibpath_overrides_runpath=no
   15828 	;;
   15829       *)
   15830 	shlibpath_overrides_runpath=yes
   15831 	;;
   15832       esac
   15833   else
   15834     shlibpath_overrides_runpath=yes
   15835   fi
   15836   ;;
   15837 
   15838 os2*)
   15839   libname_spec='$name'
   15840   shrext_cmds=".dll"
   15841   need_lib_prefix=no
   15842   library_names_spec='$libname${shared_ext} $libname.a'
   15843   dynamic_linker='OS/2 ld.exe'
   15844   shlibpath_var=LIBPATH
   15845   ;;
   15846 
   15847 osf3* | osf4* | osf5*)
   15848   version_type=osf
   15849   need_lib_prefix=no
   15850   need_version=no
   15851   soname_spec='${libname}${release}${shared_ext}$major'
   15852   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15853   shlibpath_var=LD_LIBRARY_PATH
   15854   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15855   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15856   ;;
   15857 
   15858 rdos*)
   15859   dynamic_linker=no
   15860   ;;
   15861 
   15862 solaris*)
   15863   version_type=linux # correct to gnu/linux during the next big refactor
   15864   need_lib_prefix=no
   15865   need_version=no
   15866   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15867   soname_spec='${libname}${release}${shared_ext}$major'
   15868   shlibpath_var=LD_LIBRARY_PATH
   15869   shlibpath_overrides_runpath=yes
   15870   hardcode_into_libs=yes
   15871   # ldd complains unless libraries are executable
   15872   postinstall_cmds='chmod +x $lib'
   15873   ;;
   15874 
   15875 sunos4*)
   15876   version_type=sunos
   15877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15878   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15879   shlibpath_var=LD_LIBRARY_PATH
   15880   shlibpath_overrides_runpath=yes
   15881   if test "$with_gnu_ld" = yes; then
   15882     need_lib_prefix=no
   15883   fi
   15884   need_version=yes
   15885   ;;
   15886 
   15887 sysv4 | sysv4.3*)
   15888   version_type=linux # correct to gnu/linux during the next big refactor
   15889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15890   soname_spec='${libname}${release}${shared_ext}$major'
   15891   shlibpath_var=LD_LIBRARY_PATH
   15892   case $host_vendor in
   15893     sni)
   15894       shlibpath_overrides_runpath=no
   15895       need_lib_prefix=no
   15896       runpath_var=LD_RUN_PATH
   15897       ;;
   15898     siemens)
   15899       need_lib_prefix=no
   15900       ;;
   15901     motorola)
   15902       need_lib_prefix=no
   15903       need_version=no
   15904       shlibpath_overrides_runpath=no
   15905       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15906       ;;
   15907   esac
   15908   ;;
   15909 
   15910 sysv4*MP*)
   15911   if test -d /usr/nec ;then
   15912     version_type=linux # correct to gnu/linux during the next big refactor
   15913     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15914     soname_spec='$libname${shared_ext}.$major'
   15915     shlibpath_var=LD_LIBRARY_PATH
   15916   fi
   15917   ;;
   15918 
   15919 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15920   version_type=freebsd-elf
   15921   need_lib_prefix=no
   15922   need_version=no
   15923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15924   soname_spec='${libname}${release}${shared_ext}$major'
   15925   shlibpath_var=LD_LIBRARY_PATH
   15926   shlibpath_overrides_runpath=yes
   15927   hardcode_into_libs=yes
   15928   if test "$with_gnu_ld" = yes; then
   15929     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15930   else
   15931     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15932     case $host_os in
   15933       sco3.2v5*)
   15934         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15935 	;;
   15936     esac
   15937   fi
   15938   sys_lib_dlsearch_path_spec='/usr/lib'
   15939   ;;
   15940 
   15941 tpf*)
   15942   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   15943   version_type=linux # correct to gnu/linux during the next big refactor
   15944   need_lib_prefix=no
   15945   need_version=no
   15946   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15947   shlibpath_var=LD_LIBRARY_PATH
   15948   shlibpath_overrides_runpath=no
   15949   hardcode_into_libs=yes
   15950   ;;
   15951 
   15952 uts4*)
   15953   version_type=linux # correct to gnu/linux during the next big refactor
   15954   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15955   soname_spec='${libname}${release}${shared_ext}$major'
   15956   shlibpath_var=LD_LIBRARY_PATH
   15957   ;;
   15958 
   15959 *)
   15960   dynamic_linker=no
   15961   ;;
   15962 esac
   15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   15964 $as_echo "$dynamic_linker" >&6; }
   15965 test "$dynamic_linker" = no && can_build_shared=no
   15966 
   15967 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15968 if test "$GCC" = yes; then
   15969   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15970 fi
   15971 
   15972 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   15973   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   15974 fi
   15975 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   15976   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   15977 fi
   15978 
   15979 
   15980 
   15981 
   15982 
   15983 
   15984 
   15985 
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 
   16005 
   16006 
   16007 
   16008 
   16009 
   16010 
   16011 
   16012 
   16013 
   16014 
   16015 
   16016     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   16017 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16018 hardcode_action_CXX=
   16019 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   16020    test -n "$runpath_var_CXX" ||
   16021    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   16022 
   16023   # We can hardcode non-existent directories.
   16024   if test "$hardcode_direct_CXX" != no &&
   16025      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16026      # have to relink, otherwise we might link with an installed library
   16027      # when we should be linking with a yet-to-be-installed one
   16028      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   16029      test "$hardcode_minus_L_CXX" != no; then
   16030     # Linking always hardcodes the temporary library directory.
   16031     hardcode_action_CXX=relink
   16032   else
   16033     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16034     hardcode_action_CXX=immediate
   16035   fi
   16036 else
   16037   # We cannot hardcode anything, or else we can only hardcode existing
   16038   # directories.
   16039   hardcode_action_CXX=unsupported
   16040 fi
   16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   16042 $as_echo "$hardcode_action_CXX" >&6; }
   16043 
   16044 if test "$hardcode_action_CXX" = relink ||
   16045    test "$inherit_rpath_CXX" = yes; then
   16046   # Fast installation is not supported
   16047   enable_fast_install=no
   16048 elif test "$shlibpath_overrides_runpath" = yes ||
   16049      test "$enable_shared" = no; then
   16050   # Fast installation is not necessary
   16051   enable_fast_install=needless
   16052 fi
   16053 
   16054 
   16055 
   16056 
   16057 
   16058 
   16059 
   16060   fi # test -n "$compiler"
   16061 
   16062   CC=$lt_save_CC
   16063   CFLAGS=$lt_save_CFLAGS
   16064   LDCXX=$LD
   16065   LD=$lt_save_LD
   16066   GCC=$lt_save_GCC
   16067   with_gnu_ld=$lt_save_with_gnu_ld
   16068   lt_cv_path_LDCXX=$lt_cv_path_LD
   16069   lt_cv_path_LD=$lt_save_path_LD
   16070   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   16071   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   16072 fi # test "$_lt_caught_CXX_error" != yes
   16073 
   16074 ac_ext=c
   16075 ac_cpp='$CPP $CPPFLAGS'
   16076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16079 
   16080 
   16081 
   16082 
   16083 
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094         ac_config_commands="$ac_config_commands libtool"
   16095 
   16096 
   16097 
   16098 
   16099 # Only expand once:
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 # Enable quiet compiles on automake 1.11.
   16107 # Check whether --enable-silent-rules was given.
   16108 if test "${enable_silent_rules+set}" = set; then :
   16109   enableval=$enable_silent_rules;
   16110 fi
   16111 
   16112 case $enable_silent_rules in # (((
   16113   yes) AM_DEFAULT_VERBOSITY=0;;
   16114    no) AM_DEFAULT_VERBOSITY=1;;
   16115     *) AM_DEFAULT_VERBOSITY=0;;
   16116 esac
   16117 am_make=${MAKE-make}
   16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   16119 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   16120 if ${am_cv_make_support_nested_variables+:} false; then :
   16121   $as_echo_n "(cached) " >&6
   16122 else
   16123   if $as_echo 'TRUE=$(BAR$(V))
   16124 BAR0=false
   16125 BAR1=true
   16126 V=1
   16127 am__doit:
   16128 	@$(TRUE)
   16129 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   16130   am_cv_make_support_nested_variables=yes
   16131 else
   16132   am_cv_make_support_nested_variables=no
   16133 fi
   16134 fi
   16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   16136 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   16137 if test $am_cv_make_support_nested_variables = yes; then
   16138     AM_V='$(V)'
   16139   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   16140 else
   16141   AM_V=$AM_DEFAULT_VERBOSITY
   16142   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   16143 fi
   16144 AM_BACKSLASH='\'
   16145 
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   16156 	if test -n "$ac_tool_prefix"; then
   16157   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   16158 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16160 $as_echo_n "checking for $ac_word... " >&6; }
   16161 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   16162   $as_echo_n "(cached) " >&6
   16163 else
   16164   case $PKG_CONFIG in
   16165   [\\/]* | ?:[\\/]*)
   16166   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   16167   ;;
   16168   *)
   16169   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16170 for as_dir in $PATH
   16171 do
   16172   IFS=$as_save_IFS
   16173   test -z "$as_dir" && as_dir=.
   16174     for ac_exec_ext in '' $ac_executable_extensions; do
   16175   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16176     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   16177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16178     break 2
   16179   fi
   16180 done
   16181   done
   16182 IFS=$as_save_IFS
   16183 
   16184   ;;
   16185 esac
   16186 fi
   16187 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   16188 if test -n "$PKG_CONFIG"; then
   16189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   16190 $as_echo "$PKG_CONFIG" >&6; }
   16191 else
   16192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16193 $as_echo "no" >&6; }
   16194 fi
   16195 
   16196 
   16197 fi
   16198 if test -z "$ac_cv_path_PKG_CONFIG"; then
   16199   ac_pt_PKG_CONFIG=$PKG_CONFIG
   16200   # Extract the first word of "pkg-config", so it can be a program name with args.
   16201 set dummy pkg-config; ac_word=$2
   16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16203 $as_echo_n "checking for $ac_word... " >&6; }
   16204 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   16205   $as_echo_n "(cached) " >&6
   16206 else
   16207   case $ac_pt_PKG_CONFIG in
   16208   [\\/]* | ?:[\\/]*)
   16209   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   16210   ;;
   16211   *)
   16212   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16213 for as_dir in $PATH
   16214 do
   16215   IFS=$as_save_IFS
   16216   test -z "$as_dir" && as_dir=.
   16217     for ac_exec_ext in '' $ac_executable_extensions; do
   16218   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16219     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   16220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16221     break 2
   16222   fi
   16223 done
   16224   done
   16225 IFS=$as_save_IFS
   16226 
   16227   ;;
   16228 esac
   16229 fi
   16230 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   16231 if test -n "$ac_pt_PKG_CONFIG"; then
   16232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   16233 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   16234 else
   16235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16236 $as_echo "no" >&6; }
   16237 fi
   16238 
   16239   if test "x$ac_pt_PKG_CONFIG" = x; then
   16240     PKG_CONFIG=""
   16241   else
   16242     case $cross_compiling:$ac_tool_warned in
   16243 yes:)
   16244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   16245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   16246 ac_tool_warned=yes ;;
   16247 esac
   16248     PKG_CONFIG=$ac_pt_PKG_CONFIG
   16249   fi
   16250 else
   16251   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   16252 fi
   16253 
   16254 fi
   16255 if test -n "$PKG_CONFIG"; then
   16256 	_pkg_min_version=0.9.0
   16257 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   16258 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   16259 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   16260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16261 $as_echo "yes" >&6; }
   16262 	else
   16263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16264 $as_echo "no" >&6; }
   16265 		PKG_CONFIG=""
   16266 	fi
   16267 fi
   16268 
   16269 
   16270 pkg_failed=no
   16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
   16272 $as_echo_n "checking for GL... " >&6; }
   16273 
   16274 if test -n "$GL_CFLAGS"; then
   16275     pkg_cv_GL_CFLAGS="$GL_CFLAGS"
   16276  elif test -n "$PKG_CONFIG"; then
   16277     if test -n "$PKG_CONFIG" && \
   16278     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl\""; } >&5
   16279   ($PKG_CONFIG --exists --print-errors "gl") 2>&5
   16280   ac_status=$?
   16281   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16282   test $ac_status = 0; }; then
   16283   pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "gl" 2>/dev/null`
   16284 		      test "x$?" != "x0" && pkg_failed=yes
   16285 else
   16286   pkg_failed=yes
   16287 fi
   16288  else
   16289     pkg_failed=untried
   16290 fi
   16291 if test -n "$GL_LIBS"; then
   16292     pkg_cv_GL_LIBS="$GL_LIBS"
   16293  elif test -n "$PKG_CONFIG"; then
   16294     if test -n "$PKG_CONFIG" && \
   16295     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl\""; } >&5
   16296   ($PKG_CONFIG --exists --print-errors "gl") 2>&5
   16297   ac_status=$?
   16298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16299   test $ac_status = 0; }; then
   16300   pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "gl" 2>/dev/null`
   16301 		      test "x$?" != "x0" && pkg_failed=yes
   16302 else
   16303   pkg_failed=yes
   16304 fi
   16305  else
   16306     pkg_failed=untried
   16307 fi
   16308 
   16309 
   16310 
   16311 if test $pkg_failed = yes; then
   16312    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16313 $as_echo "no" >&6; }
   16314 
   16315 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16316         _pkg_short_errors_supported=yes
   16317 else
   16318         _pkg_short_errors_supported=no
   16319 fi
   16320         if test $_pkg_short_errors_supported = yes; then
   16321 	        GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gl" 2>&1`
   16322         else
   16323 	        GL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gl" 2>&1`
   16324         fi
   16325 	# Put the nasty error message in config.log where it belongs
   16326 	echo "$GL_PKG_ERRORS" >&5
   16327 
   16328 
   16329 		  ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
   16330 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
   16331 
   16332 else
   16333   as_fn_error $? "GL not found" "$LINENO" 5
   16334 fi
   16335 
   16336 
   16337 		  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
   16338 $as_echo_n "checking for glBegin in -lGL... " >&6; }
   16339 if ${ac_cv_lib_GL_glBegin+:} false; then :
   16340   $as_echo_n "(cached) " >&6
   16341 else
   16342   ac_check_lib_save_LIBS=$LIBS
   16343 LIBS="-lGL  $LIBS"
   16344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16345 /* end confdefs.h.  */
   16346 
   16347 /* Override any GCC internal prototype to avoid an error.
   16348    Use char because int might match the return type of a GCC
   16349    builtin and then its argument prototype would still apply.  */
   16350 #ifdef __cplusplus
   16351 extern "C"
   16352 #endif
   16353 char glBegin ();
   16354 int
   16355 main ()
   16356 {
   16357 return glBegin ();
   16358   ;
   16359   return 0;
   16360 }
   16361 _ACEOF
   16362 if ac_fn_c_try_link "$LINENO"; then :
   16363   ac_cv_lib_GL_glBegin=yes
   16364 else
   16365   ac_cv_lib_GL_glBegin=no
   16366 fi
   16367 rm -f core conftest.err conftest.$ac_objext \
   16368     conftest$ac_exeext conftest.$ac_ext
   16369 LIBS=$ac_check_lib_save_LIBS
   16370 fi
   16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
   16372 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
   16373 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
   16374   GL_LIBS=-lGL
   16375 else
   16376   as_fn_error $? "GL required" "$LINENO" 5
   16377 fi
   16378 
   16379 
   16380 elif test $pkg_failed = untried; then
   16381      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16382 $as_echo "no" >&6; }
   16383 
   16384 		  ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
   16385 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
   16386 
   16387 else
   16388   as_fn_error $? "GL not found" "$LINENO" 5
   16389 fi
   16390 
   16391 
   16392 		  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
   16393 $as_echo_n "checking for glBegin in -lGL... " >&6; }
   16394 if ${ac_cv_lib_GL_glBegin+:} false; then :
   16395   $as_echo_n "(cached) " >&6
   16396 else
   16397   ac_check_lib_save_LIBS=$LIBS
   16398 LIBS="-lGL  $LIBS"
   16399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16400 /* end confdefs.h.  */
   16401 
   16402 /* Override any GCC internal prototype to avoid an error.
   16403    Use char because int might match the return type of a GCC
   16404    builtin and then its argument prototype would still apply.  */
   16405 #ifdef __cplusplus
   16406 extern "C"
   16407 #endif
   16408 char glBegin ();
   16409 int
   16410 main ()
   16411 {
   16412 return glBegin ();
   16413   ;
   16414   return 0;
   16415 }
   16416 _ACEOF
   16417 if ac_fn_c_try_link "$LINENO"; then :
   16418   ac_cv_lib_GL_glBegin=yes
   16419 else
   16420   ac_cv_lib_GL_glBegin=no
   16421 fi
   16422 rm -f core conftest.err conftest.$ac_objext \
   16423     conftest$ac_exeext conftest.$ac_ext
   16424 LIBS=$ac_check_lib_save_LIBS
   16425 fi
   16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
   16427 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
   16428 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
   16429   GL_LIBS=-lGL
   16430 else
   16431   as_fn_error $? "GL required" "$LINENO" 5
   16432 fi
   16433 
   16434 
   16435 else
   16436 	GL_CFLAGS=$pkg_cv_GL_CFLAGS
   16437 	GL_LIBS=$pkg_cv_GL_LIBS
   16438         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16439 $as_echo "yes" >&6; }
   16440 
   16441 fi
   16442 
   16443 DEMO_CFLAGS="$DEMO_CFLAGS $GL_CFLAGS"
   16444 DEMO_LIBS="$DEMO_LIBS $GL_LIBS"
   16445 
   16446 GLUT_CFLAGS=""
   16447 GLUT_LIBS=-lglut
   16448 glut_enabled=yes
   16449 
   16450 # Check whether --with-glut was given.
   16451 if test "${with_glut+set}" = set; then :
   16452   withval=$with_glut; GLUT_CFLAGS="-I$withval/include"
   16453 	 GLUT_LIBS="-L$withval/lib -lglut"
   16454 fi
   16455 
   16456 ac_fn_c_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default"
   16457 if test "x$ac_cv_header_GL_glut_h" = xyes; then :
   16458 
   16459 else
   16460   glut_enabled=no
   16461 fi
   16462 
   16463 
   16464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glutInit in -lglut" >&5
   16465 $as_echo_n "checking for glutInit in -lglut... " >&6; }
   16466 if ${ac_cv_lib_glut_glutInit+:} false; then :
   16467   $as_echo_n "(cached) " >&6
   16468 else
   16469   ac_check_lib_save_LIBS=$LIBS
   16470 LIBS="-lglut  $LIBS"
   16471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16472 /* end confdefs.h.  */
   16473 
   16474 /* Override any GCC internal prototype to avoid an error.
   16475    Use char because int might match the return type of a GCC
   16476    builtin and then its argument prototype would still apply.  */
   16477 #ifdef __cplusplus
   16478 extern "C"
   16479 #endif
   16480 char glutInit ();
   16481 int
   16482 main ()
   16483 {
   16484 return glutInit ();
   16485   ;
   16486   return 0;
   16487 }
   16488 _ACEOF
   16489 if ac_fn_c_try_link "$LINENO"; then :
   16490   ac_cv_lib_glut_glutInit=yes
   16491 else
   16492   ac_cv_lib_glut_glutInit=no
   16493 fi
   16494 rm -f core conftest.err conftest.$ac_objext \
   16495     conftest$ac_exeext conftest.$ac_ext
   16496 LIBS=$ac_check_lib_save_LIBS
   16497 fi
   16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glut_glutInit" >&5
   16499 $as_echo "$ac_cv_lib_glut_glutInit" >&6; }
   16500 if test "x$ac_cv_lib_glut_glutInit" = xyes; then :
   16501   cat >>confdefs.h <<_ACEOF
   16502 #define HAVE_LIBGLUT 1
   16503 _ACEOF
   16504 
   16505   LIBS="-lglut $LIBS"
   16506 
   16507 else
   16508   glut_enabled=no
   16509 fi
   16510 
   16511 
   16512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16513 /* end confdefs.h.  */
   16514 #include <GL/freeglut.h>
   16515 
   16516 _ACEOF
   16517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   16518   $EGREP "glutInitContextProfile" >/dev/null 2>&1; then :
   16519   $as_echo "#define HAVE_FREEGLUT 1" >>confdefs.h
   16520 
   16521 fi
   16522 rm -f conftest*
   16523 
   16524 
   16525 
   16526 pkg_failed=no
   16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLEW" >&5
   16528 $as_echo_n "checking for GLEW... " >&6; }
   16529 
   16530 if test -n "$GLEW_CFLAGS"; then
   16531     pkg_cv_GLEW_CFLAGS="$GLEW_CFLAGS"
   16532  elif test -n "$PKG_CONFIG"; then
   16533     if test -n "$PKG_CONFIG" && \
   16534     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glew >= 1.5.4\""; } >&5
   16535   ($PKG_CONFIG --exists --print-errors "glew >= 1.5.4") 2>&5
   16536   ac_status=$?
   16537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16538   test $ac_status = 0; }; then
   16539   pkg_cv_GLEW_CFLAGS=`$PKG_CONFIG --cflags "glew >= 1.5.4" 2>/dev/null`
   16540 		      test "x$?" != "x0" && pkg_failed=yes
   16541 else
   16542   pkg_failed=yes
   16543 fi
   16544  else
   16545     pkg_failed=untried
   16546 fi
   16547 if test -n "$GLEW_LIBS"; then
   16548     pkg_cv_GLEW_LIBS="$GLEW_LIBS"
   16549  elif test -n "$PKG_CONFIG"; then
   16550     if test -n "$PKG_CONFIG" && \
   16551     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glew >= 1.5.4\""; } >&5
   16552   ($PKG_CONFIG --exists --print-errors "glew >= 1.5.4") 2>&5
   16553   ac_status=$?
   16554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16555   test $ac_status = 0; }; then
   16556   pkg_cv_GLEW_LIBS=`$PKG_CONFIG --libs "glew >= 1.5.4" 2>/dev/null`
   16557 		      test "x$?" != "x0" && pkg_failed=yes
   16558 else
   16559   pkg_failed=yes
   16560 fi
   16561  else
   16562     pkg_failed=untried
   16563 fi
   16564 
   16565 
   16566 
   16567 if test $pkg_failed = yes; then
   16568    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16569 $as_echo "no" >&6; }
   16570 
   16571 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16572         _pkg_short_errors_supported=yes
   16573 else
   16574         _pkg_short_errors_supported=no
   16575 fi
   16576         if test $_pkg_short_errors_supported = yes; then
   16577 	        GLEW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glew >= 1.5.4" 2>&1`
   16578         else
   16579 	        GLEW_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glew >= 1.5.4" 2>&1`
   16580         fi
   16581 	# Put the nasty error message in config.log where it belongs
   16582 	echo "$GLEW_PKG_ERRORS" >&5
   16583 
   16584 	as_fn_error $? "Package requirements (glew >= 1.5.4) were not met:
   16585 
   16586 $GLEW_PKG_ERRORS
   16587 
   16588 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   16589 installed software in a non-standard prefix.
   16590 
   16591 Alternatively, you may set the environment variables GLEW_CFLAGS
   16592 and GLEW_LIBS to avoid the need to call pkg-config.
   16593 See the pkg-config man page for more details." "$LINENO" 5
   16594 elif test $pkg_failed = untried; then
   16595      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16596 $as_echo "no" >&6; }
   16597 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16599 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   16600 is in your PATH or set the PKG_CONFIG environment variable to the full
   16601 path to pkg-config.
   16602 
   16603 Alternatively, you may set the environment variables GLEW_CFLAGS
   16604 and GLEW_LIBS to avoid the need to call pkg-config.
   16605 See the pkg-config man page for more details.
   16606 
   16607 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   16608 See \`config.log' for more details" "$LINENO" 5; }
   16609 else
   16610 	GLEW_CFLAGS=$pkg_cv_GLEW_CFLAGS
   16611 	GLEW_LIBS=$pkg_cv_GLEW_LIBS
   16612         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16613 $as_echo "yes" >&6; }
   16614 
   16615 fi
   16616 DEMO_CFLAGS="$DEMO_CFLAGS $GLEW_CFLAGS"
   16617 DEMO_LIBS="$DEMO_LIBS $GLEW_LIBS"
   16618 
   16619 # LIBS was set by AC_CHECK_LIB above
   16620 LIBS=""
   16621 
   16622 
   16623 pkg_failed=no
   16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
   16625 $as_echo_n "checking for GLU... " >&6; }
   16626 
   16627 if test -n "$GLU_CFLAGS"; then
   16628     pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
   16629  elif test -n "$PKG_CONFIG"; then
   16630     if test -n "$PKG_CONFIG" && \
   16631     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glu\""; } >&5
   16632   ($PKG_CONFIG --exists --print-errors "glu") 2>&5
   16633   ac_status=$?
   16634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16635   test $ac_status = 0; }; then
   16636   pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "glu" 2>/dev/null`
   16637 		      test "x$?" != "x0" && pkg_failed=yes
   16638 else
   16639   pkg_failed=yes
   16640 fi
   16641  else
   16642     pkg_failed=untried
   16643 fi
   16644 if test -n "$GLU_LIBS"; then
   16645     pkg_cv_GLU_LIBS="$GLU_LIBS"
   16646  elif test -n "$PKG_CONFIG"; then
   16647     if test -n "$PKG_CONFIG" && \
   16648     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glu\""; } >&5
   16649   ($PKG_CONFIG --exists --print-errors "glu") 2>&5
   16650   ac_status=$?
   16651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16652   test $ac_status = 0; }; then
   16653   pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "glu" 2>/dev/null`
   16654 		      test "x$?" != "x0" && pkg_failed=yes
   16655 else
   16656   pkg_failed=yes
   16657 fi
   16658  else
   16659     pkg_failed=untried
   16660 fi
   16661 
   16662 
   16663 
   16664 if test $pkg_failed = yes; then
   16665    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16666 $as_echo "no" >&6; }
   16667 
   16668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16669         _pkg_short_errors_supported=yes
   16670 else
   16671         _pkg_short_errors_supported=no
   16672 fi
   16673         if test $_pkg_short_errors_supported = yes; then
   16674 	        GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glu" 2>&1`
   16675         else
   16676 	        GLU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glu" 2>&1`
   16677         fi
   16678 	# Put the nasty error message in config.log where it belongs
   16679 	echo "$GLU_PKG_ERRORS" >&5
   16680 
   16681 	ac_fn_c_check_header_mongrel "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "$ac_includes_default"
   16682 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
   16683 
   16684 else
   16685   as_fn_error $? "GLU not found" "$LINENO" 5
   16686 fi
   16687 
   16688 
   16689 		   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
   16690 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
   16691 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
   16692   $as_echo_n "(cached) " >&6
   16693 else
   16694   ac_check_lib_save_LIBS=$LIBS
   16695 LIBS="-lGLU  $LIBS"
   16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16697 /* end confdefs.h.  */
   16698 
   16699 /* Override any GCC internal prototype to avoid an error.
   16700    Use char because int might match the return type of a GCC
   16701    builtin and then its argument prototype would still apply.  */
   16702 #ifdef __cplusplus
   16703 extern "C"
   16704 #endif
   16705 char gluBeginCurve ();
   16706 int
   16707 main ()
   16708 {
   16709 return gluBeginCurve ();
   16710   ;
   16711   return 0;
   16712 }
   16713 _ACEOF
   16714 if ac_fn_c_try_link "$LINENO"; then :
   16715   ac_cv_lib_GLU_gluBeginCurve=yes
   16716 else
   16717   ac_cv_lib_GLU_gluBeginCurve=no
   16718 fi
   16719 rm -f core conftest.err conftest.$ac_objext \
   16720     conftest$ac_exeext conftest.$ac_ext
   16721 LIBS=$ac_check_lib_save_LIBS
   16722 fi
   16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
   16724 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
   16725 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
   16726   GLU_LIBS=-lGLU
   16727 else
   16728   as_fn_error $? "GLU required" "$LINENO" 5
   16729 fi
   16730 
   16731 elif test $pkg_failed = untried; then
   16732      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16733 $as_echo "no" >&6; }
   16734 	ac_fn_c_check_header_mongrel "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "$ac_includes_default"
   16735 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
   16736 
   16737 else
   16738   as_fn_error $? "GLU not found" "$LINENO" 5
   16739 fi
   16740 
   16741 
   16742 		   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
   16743 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
   16744 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
   16745   $as_echo_n "(cached) " >&6
   16746 else
   16747   ac_check_lib_save_LIBS=$LIBS
   16748 LIBS="-lGLU  $LIBS"
   16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16750 /* end confdefs.h.  */
   16751 
   16752 /* Override any GCC internal prototype to avoid an error.
   16753    Use char because int might match the return type of a GCC
   16754    builtin and then its argument prototype would still apply.  */
   16755 #ifdef __cplusplus
   16756 extern "C"
   16757 #endif
   16758 char gluBeginCurve ();
   16759 int
   16760 main ()
   16761 {
   16762 return gluBeginCurve ();
   16763   ;
   16764   return 0;
   16765 }
   16766 _ACEOF
   16767 if ac_fn_c_try_link "$LINENO"; then :
   16768   ac_cv_lib_GLU_gluBeginCurve=yes
   16769 else
   16770   ac_cv_lib_GLU_gluBeginCurve=no
   16771 fi
   16772 rm -f core conftest.err conftest.$ac_objext \
   16773     conftest$ac_exeext conftest.$ac_ext
   16774 LIBS=$ac_check_lib_save_LIBS
   16775 fi
   16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
   16777 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
   16778 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
   16779   GLU_LIBS=-lGLU
   16780 else
   16781   as_fn_error $? "GLU required" "$LINENO" 5
   16782 fi
   16783 
   16784 else
   16785 	GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
   16786 	GLU_LIBS=$pkg_cv_GLU_LIBS
   16787         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16788 $as_echo "yes" >&6; }
   16789 
   16790 fi
   16791 
   16792 DEMO_CFLAGS="$DEMO_CFLAGS $GLU_CFLAGS"
   16793 DEMO_LIBS="$DEMO_LIBS $GLU_LIBS"
   16794 
   16795 # Check whether --enable-egl was given.
   16796 if test "${enable_egl+set}" = set; then :
   16797   enableval=$enable_egl; egl_enabled="$enableval"
   16798 else
   16799   egl_enabled=auto
   16800 fi
   16801 
   16802 if test "x$egl_enabled" != "xno"; then
   16803 
   16804 pkg_failed=no
   16805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGL" >&5
   16806 $as_echo_n "checking for EGL... " >&6; }
   16807 
   16808 if test -n "$EGL_CFLAGS"; then
   16809     pkg_cv_EGL_CFLAGS="$EGL_CFLAGS"
   16810  elif test -n "$PKG_CONFIG"; then
   16811     if test -n "$PKG_CONFIG" && \
   16812     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl\""; } >&5
   16813   ($PKG_CONFIG --exists --print-errors "egl") 2>&5
   16814   ac_status=$?
   16815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16816   test $ac_status = 0; }; then
   16817   pkg_cv_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl" 2>/dev/null`
   16818 		      test "x$?" != "x0" && pkg_failed=yes
   16819 else
   16820   pkg_failed=yes
   16821 fi
   16822  else
   16823     pkg_failed=untried
   16824 fi
   16825 if test -n "$EGL_LIBS"; then
   16826     pkg_cv_EGL_LIBS="$EGL_LIBS"
   16827  elif test -n "$PKG_CONFIG"; then
   16828     if test -n "$PKG_CONFIG" && \
   16829     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl\""; } >&5
   16830   ($PKG_CONFIG --exists --print-errors "egl") 2>&5
   16831   ac_status=$?
   16832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16833   test $ac_status = 0; }; then
   16834   pkg_cv_EGL_LIBS=`$PKG_CONFIG --libs "egl" 2>/dev/null`
   16835 		      test "x$?" != "x0" && pkg_failed=yes
   16836 else
   16837   pkg_failed=yes
   16838 fi
   16839  else
   16840     pkg_failed=untried
   16841 fi
   16842 
   16843 
   16844 
   16845 if test $pkg_failed = yes; then
   16846    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16847 $as_echo "no" >&6; }
   16848 
   16849 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16850         _pkg_short_errors_supported=yes
   16851 else
   16852         _pkg_short_errors_supported=no
   16853 fi
   16854         if test $_pkg_short_errors_supported = yes; then
   16855 	        EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "egl" 2>&1`
   16856         else
   16857 	        EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "egl" 2>&1`
   16858         fi
   16859 	# Put the nasty error message in config.log where it belongs
   16860 	echo "$EGL_PKG_ERRORS" >&5
   16861 
   16862 	egl_enabled=no
   16863 elif test $pkg_failed = untried; then
   16864      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16865 $as_echo "no" >&6; }
   16866 	egl_enabled=no
   16867 else
   16868 	EGL_CFLAGS=$pkg_cv_EGL_CFLAGS
   16869 	EGL_LIBS=$pkg_cv_EGL_LIBS
   16870         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16871 $as_echo "yes" >&6; }
   16872 	egl_enabled=yes
   16873 fi
   16874 fi
   16875 # Check whether --enable-gles1 was given.
   16876 if test "${enable_gles1+set}" = set; then :
   16877   enableval=$enable_gles1; glesv1_enabled="$enableval"
   16878 else
   16879   glesv1_enabled=auto
   16880 fi
   16881 
   16882 if test "x$glesv1_enabled" != "xno"; then
   16883 
   16884 pkg_failed=no
   16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLESV1" >&5
   16886 $as_echo_n "checking for GLESV1... " >&6; }
   16887 
   16888 if test -n "$GLESV1_CFLAGS"; then
   16889     pkg_cv_GLESV1_CFLAGS="$GLESV1_CFLAGS"
   16890  elif test -n "$PKG_CONFIG"; then
   16891     if test -n "$PKG_CONFIG" && \
   16892     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glesv1_cm\""; } >&5
   16893   ($PKG_CONFIG --exists --print-errors "glesv1_cm") 2>&5
   16894   ac_status=$?
   16895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16896   test $ac_status = 0; }; then
   16897   pkg_cv_GLESV1_CFLAGS=`$PKG_CONFIG --cflags "glesv1_cm" 2>/dev/null`
   16898 		      test "x$?" != "x0" && pkg_failed=yes
   16899 else
   16900   pkg_failed=yes
   16901 fi
   16902  else
   16903     pkg_failed=untried
   16904 fi
   16905 if test -n "$GLESV1_LIBS"; then
   16906     pkg_cv_GLESV1_LIBS="$GLESV1_LIBS"
   16907  elif test -n "$PKG_CONFIG"; then
   16908     if test -n "$PKG_CONFIG" && \
   16909     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glesv1_cm\""; } >&5
   16910   ($PKG_CONFIG --exists --print-errors "glesv1_cm") 2>&5
   16911   ac_status=$?
   16912   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16913   test $ac_status = 0; }; then
   16914   pkg_cv_GLESV1_LIBS=`$PKG_CONFIG --libs "glesv1_cm" 2>/dev/null`
   16915 		      test "x$?" != "x0" && pkg_failed=yes
   16916 else
   16917   pkg_failed=yes
   16918 fi
   16919  else
   16920     pkg_failed=untried
   16921 fi
   16922 
   16923 
   16924 
   16925 if test $pkg_failed = yes; then
   16926    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16927 $as_echo "no" >&6; }
   16928 
   16929 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16930         _pkg_short_errors_supported=yes
   16931 else
   16932         _pkg_short_errors_supported=no
   16933 fi
   16934         if test $_pkg_short_errors_supported = yes; then
   16935 	        GLESV1_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glesv1_cm" 2>&1`
   16936         else
   16937 	        GLESV1_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glesv1_cm" 2>&1`
   16938         fi
   16939 	# Put the nasty error message in config.log where it belongs
   16940 	echo "$GLESV1_PKG_ERRORS" >&5
   16941 
   16942 	glesv1_enabled=no
   16943 elif test $pkg_failed = untried; then
   16944      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16945 $as_echo "no" >&6; }
   16946 	glesv1_enabled=no
   16947 else
   16948 	GLESV1_CFLAGS=$pkg_cv_GLESV1_CFLAGS
   16949 	GLESV1_LIBS=$pkg_cv_GLESV1_LIBS
   16950         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16951 $as_echo "yes" >&6; }
   16952 	glesv1_enabled=yes
   16953 fi
   16954 fi
   16955 # Check whether --enable-gles2 was given.
   16956 if test "${enable_gles2+set}" = set; then :
   16957   enableval=$enable_gles2; glesv2_enabled="$enableval"
   16958 else
   16959   glesv2_enabled=auto
   16960 fi
   16961 
   16962 if test "x$glesv2_enabled" != "xno"; then
   16963 
   16964 pkg_failed=no
   16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLESV2" >&5
   16966 $as_echo_n "checking for GLESV2... " >&6; }
   16967 
   16968 if test -n "$GLESV2_CFLAGS"; then
   16969     pkg_cv_GLESV2_CFLAGS="$GLESV2_CFLAGS"
   16970  elif test -n "$PKG_CONFIG"; then
   16971     if test -n "$PKG_CONFIG" && \
   16972     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glesv2\""; } >&5
   16973   ($PKG_CONFIG --exists --print-errors "glesv2") 2>&5
   16974   ac_status=$?
   16975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16976   test $ac_status = 0; }; then
   16977   pkg_cv_GLESV2_CFLAGS=`$PKG_CONFIG --cflags "glesv2" 2>/dev/null`
   16978 		      test "x$?" != "x0" && pkg_failed=yes
   16979 else
   16980   pkg_failed=yes
   16981 fi
   16982  else
   16983     pkg_failed=untried
   16984 fi
   16985 if test -n "$GLESV2_LIBS"; then
   16986     pkg_cv_GLESV2_LIBS="$GLESV2_LIBS"
   16987  elif test -n "$PKG_CONFIG"; then
   16988     if test -n "$PKG_CONFIG" && \
   16989     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glesv2\""; } >&5
   16990   ($PKG_CONFIG --exists --print-errors "glesv2") 2>&5
   16991   ac_status=$?
   16992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16993   test $ac_status = 0; }; then
   16994   pkg_cv_GLESV2_LIBS=`$PKG_CONFIG --libs "glesv2" 2>/dev/null`
   16995 		      test "x$?" != "x0" && pkg_failed=yes
   16996 else
   16997   pkg_failed=yes
   16998 fi
   16999  else
   17000     pkg_failed=untried
   17001 fi
   17002 
   17003 
   17004 
   17005 if test $pkg_failed = yes; then
   17006    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17007 $as_echo "no" >&6; }
   17008 
   17009 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17010         _pkg_short_errors_supported=yes
   17011 else
   17012         _pkg_short_errors_supported=no
   17013 fi
   17014         if test $_pkg_short_errors_supported = yes; then
   17015 	        GLESV2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glesv2" 2>&1`
   17016         else
   17017 	        GLESV2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glesv2" 2>&1`
   17018         fi
   17019 	# Put the nasty error message in config.log where it belongs
   17020 	echo "$GLESV2_PKG_ERRORS" >&5
   17021 
   17022 	glesv2_enabled=no
   17023 elif test $pkg_failed = untried; then
   17024      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17025 $as_echo "no" >&6; }
   17026 	glesv2_enabled=no
   17027 else
   17028 	GLESV2_CFLAGS=$pkg_cv_GLESV2_CFLAGS
   17029 	GLESV2_LIBS=$pkg_cv_GLESV2_LIBS
   17030         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17031 $as_echo "yes" >&6; }
   17032 	glesv2_enabled=yes
   17033 fi
   17034 fi
   17035 # Check whether --enable-vg was given.
   17036 if test "${enable_vg+set}" = set; then :
   17037   enableval=$enable_vg; vg_enabled="$enableval"
   17038 else
   17039   vg_enabled=auto
   17040 fi
   17041 
   17042 if test "x$vg_enabled" != "xno"; then
   17043 
   17044 pkg_failed=no
   17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VG" >&5
   17046 $as_echo_n "checking for VG... " >&6; }
   17047 
   17048 if test -n "$VG_CFLAGS"; then
   17049     pkg_cv_VG_CFLAGS="$VG_CFLAGS"
   17050  elif test -n "$PKG_CONFIG"; then
   17051     if test -n "$PKG_CONFIG" && \
   17052     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vg\""; } >&5
   17053   ($PKG_CONFIG --exists --print-errors "vg") 2>&5
   17054   ac_status=$?
   17055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17056   test $ac_status = 0; }; then
   17057   pkg_cv_VG_CFLAGS=`$PKG_CONFIG --cflags "vg" 2>/dev/null`
   17058 		      test "x$?" != "x0" && pkg_failed=yes
   17059 else
   17060   pkg_failed=yes
   17061 fi
   17062  else
   17063     pkg_failed=untried
   17064 fi
   17065 if test -n "$VG_LIBS"; then
   17066     pkg_cv_VG_LIBS="$VG_LIBS"
   17067  elif test -n "$PKG_CONFIG"; then
   17068     if test -n "$PKG_CONFIG" && \
   17069     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vg\""; } >&5
   17070   ($PKG_CONFIG --exists --print-errors "vg") 2>&5
   17071   ac_status=$?
   17072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17073   test $ac_status = 0; }; then
   17074   pkg_cv_VG_LIBS=`$PKG_CONFIG --libs "vg" 2>/dev/null`
   17075 		      test "x$?" != "x0" && pkg_failed=yes
   17076 else
   17077   pkg_failed=yes
   17078 fi
   17079  else
   17080     pkg_failed=untried
   17081 fi
   17082 
   17083 
   17084 
   17085 if test $pkg_failed = yes; then
   17086    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17087 $as_echo "no" >&6; }
   17088 
   17089 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17090         _pkg_short_errors_supported=yes
   17091 else
   17092         _pkg_short_errors_supported=no
   17093 fi
   17094         if test $_pkg_short_errors_supported = yes; then
   17095 	        VG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "vg" 2>&1`
   17096         else
   17097 	        VG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "vg" 2>&1`
   17098         fi
   17099 	# Put the nasty error message in config.log where it belongs
   17100 	echo "$VG_PKG_ERRORS" >&5
   17101 
   17102 	vg_enabled=no
   17103 elif test $pkg_failed = untried; then
   17104      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17105 $as_echo "no" >&6; }
   17106 	vg_enabled=no
   17107 else
   17108 	VG_CFLAGS=$pkg_cv_VG_CFLAGS
   17109 	VG_LIBS=$pkg_cv_VG_LIBS
   17110         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17111 $as_echo "yes" >&6; }
   17112 	vg_enabled=yes
   17113 fi
   17114 fi
   17115 # Check whether --enable-osmesa was given.
   17116 if test "${enable_osmesa+set}" = set; then :
   17117   enableval=$enable_osmesa; osmesa_enabled="$enableval"
   17118 else
   17119   osmesa_enabled=auto
   17120 fi
   17121 
   17122 if test "x$osmesa_enabled" != "xno"; then
   17123 
   17124 pkg_failed=no
   17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSMESA" >&5
   17126 $as_echo_n "checking for OSMESA... " >&6; }
   17127 
   17128 if test -n "$OSMESA_CFLAGS"; then
   17129     pkg_cv_OSMESA_CFLAGS="$OSMESA_CFLAGS"
   17130  elif test -n "$PKG_CONFIG"; then
   17131     if test -n "$PKG_CONFIG" && \
   17132     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"osmesa\""; } >&5
   17133   ($PKG_CONFIG --exists --print-errors "osmesa") 2>&5
   17134   ac_status=$?
   17135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17136   test $ac_status = 0; }; then
   17137   pkg_cv_OSMESA_CFLAGS=`$PKG_CONFIG --cflags "osmesa" 2>/dev/null`
   17138 		      test "x$?" != "x0" && pkg_failed=yes
   17139 else
   17140   pkg_failed=yes
   17141 fi
   17142  else
   17143     pkg_failed=untried
   17144 fi
   17145 if test -n "$OSMESA_LIBS"; then
   17146     pkg_cv_OSMESA_LIBS="$OSMESA_LIBS"
   17147  elif test -n "$PKG_CONFIG"; then
   17148     if test -n "$PKG_CONFIG" && \
   17149     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"osmesa\""; } >&5
   17150   ($PKG_CONFIG --exists --print-errors "osmesa") 2>&5
   17151   ac_status=$?
   17152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17153   test $ac_status = 0; }; then
   17154   pkg_cv_OSMESA_LIBS=`$PKG_CONFIG --libs "osmesa" 2>/dev/null`
   17155 		      test "x$?" != "x0" && pkg_failed=yes
   17156 else
   17157   pkg_failed=yes
   17158 fi
   17159  else
   17160     pkg_failed=untried
   17161 fi
   17162 
   17163 
   17164 
   17165 if test $pkg_failed = yes; then
   17166    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17167 $as_echo "no" >&6; }
   17168 
   17169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17170         _pkg_short_errors_supported=yes
   17171 else
   17172         _pkg_short_errors_supported=no
   17173 fi
   17174         if test $_pkg_short_errors_supported = yes; then
   17175 	        OSMESA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "osmesa" 2>&1`
   17176         else
   17177 	        OSMESA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "osmesa" 2>&1`
   17178         fi
   17179 	# Put the nasty error message in config.log where it belongs
   17180 	echo "$OSMESA_PKG_ERRORS" >&5
   17181 
   17182 	osmesa_enabled=no
   17183 elif test $pkg_failed = untried; then
   17184      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17185 $as_echo "no" >&6; }
   17186 	osmesa_enabled=no
   17187 else
   17188 	OSMESA_CFLAGS=$pkg_cv_OSMESA_CFLAGS
   17189 	OSMESA_LIBS=$pkg_cv_OSMESA_LIBS
   17190         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17191 $as_echo "yes" >&6; }
   17192 	osmesa_enabled=yes
   17193 fi
   17194 fi
   17195 # Check whether --enable-libdrm was given.
   17196 if test "${enable_libdrm+set}" = set; then :
   17197   enableval=$enable_libdrm; drm_enabled="$enableval"
   17198 else
   17199   drm_enabled=auto
   17200 fi
   17201 
   17202 if test "x$drm_enabled" != "xno"; then
   17203 
   17204 pkg_failed=no
   17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRM" >&5
   17206 $as_echo_n "checking for DRM... " >&6; }
   17207 
   17208 if test -n "$DRM_CFLAGS"; then
   17209     pkg_cv_DRM_CFLAGS="$DRM_CFLAGS"
   17210  elif test -n "$PKG_CONFIG"; then
   17211     if test -n "$PKG_CONFIG" && \
   17212     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm\""; } >&5
   17213   ($PKG_CONFIG --exists --print-errors "libdrm") 2>&5
   17214   ac_status=$?
   17215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17216   test $ac_status = 0; }; then
   17217   pkg_cv_DRM_CFLAGS=`$PKG_CONFIG --cflags "libdrm" 2>/dev/null`
   17218 		      test "x$?" != "x0" && pkg_failed=yes
   17219 else
   17220   pkg_failed=yes
   17221 fi
   17222  else
   17223     pkg_failed=untried
   17224 fi
   17225 if test -n "$DRM_LIBS"; then
   17226     pkg_cv_DRM_LIBS="$DRM_LIBS"
   17227  elif test -n "$PKG_CONFIG"; then
   17228     if test -n "$PKG_CONFIG" && \
   17229     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm\""; } >&5
   17230   ($PKG_CONFIG --exists --print-errors "libdrm") 2>&5
   17231   ac_status=$?
   17232   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17233   test $ac_status = 0; }; then
   17234   pkg_cv_DRM_LIBS=`$PKG_CONFIG --libs "libdrm" 2>/dev/null`
   17235 		      test "x$?" != "x0" && pkg_failed=yes
   17236 else
   17237   pkg_failed=yes
   17238 fi
   17239  else
   17240     pkg_failed=untried
   17241 fi
   17242 
   17243 
   17244 
   17245 if test $pkg_failed = yes; then
   17246    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17247 $as_echo "no" >&6; }
   17248 
   17249 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17250         _pkg_short_errors_supported=yes
   17251 else
   17252         _pkg_short_errors_supported=no
   17253 fi
   17254         if test $_pkg_short_errors_supported = yes; then
   17255 	        DRM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm" 2>&1`
   17256         else
   17257 	        DRM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm" 2>&1`
   17258         fi
   17259 	# Put the nasty error message in config.log where it belongs
   17260 	echo "$DRM_PKG_ERRORS" >&5
   17261 
   17262 	drm_enabled=no
   17263 elif test $pkg_failed = untried; then
   17264      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17265 $as_echo "no" >&6; }
   17266 	drm_enabled=no
   17267 else
   17268 	DRM_CFLAGS=$pkg_cv_DRM_CFLAGS
   17269 	DRM_LIBS=$pkg_cv_DRM_LIBS
   17270         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17271 $as_echo "yes" >&6; }
   17272 	drm_enabled=yes
   17273 fi
   17274 fi
   17275 OSMESA32_LIBS=$OSMESA_LIBS
   17276 OSMESA16_LIBS=`echo $OSMESA_LIBS | sed 's|32|16|g'`
   17277 OSMESA_LIBS=`echo $OSMESA_LIBS | sed 's|32||g'`
   17278 
   17279 case "$host_os" in
   17280 linux*|*-gnu*|gnu*)
   17281     DEMO_CFLAGS="$DEMO_CFLAGS -D_GNU_SOURCE -DPTHREADS"
   17282     ;;
   17283 solaris*)
   17284     DEMO_CFLAGS="$DEFINES -DPTHREADS -DSVR4"
   17285     ;;
   17286 cygwin*)
   17287     DEMO_CFLAGS="$DEFINES -DPTHREADS"
   17288     ;;
   17289 esac
   17290 
   17291 if  test "x$GCC" = xyes ; then
   17292     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   17293 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   17294 -Wbad-function-cast"
   17295     case `$CC -dumpversion` in
   17296     3.4.* | 4.*)
   17297 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   17298 	;;
   17299     esac
   17300 else
   17301     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   17302 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   17303   SUNCC="yes"
   17304 else
   17305   SUNCC="no"
   17306 fi
   17307 
   17308     if test "x$SUNCC" = "xyes"; then
   17309 	CWARNFLAGS="-v"
   17310     fi
   17311 fi
   17312 DEMO_CFLAGS="$DEMO_CFLAGS $CWARNFLAGS"
   17313 
   17314 # Check whether --enable-x11 was given.
   17315 if test "${enable_x11+set}" = set; then :
   17316   enableval=$enable_x11; x11_enabled="$enableval"
   17317 else
   17318   x11_enabled=auto
   17319 fi
   17320 
   17321 if test "x$x11_enabled" != "xno"; then
   17322 
   17323 pkg_failed=no
   17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   17325 $as_echo_n "checking for X11... " >&6; }
   17326 
   17327 if test -n "$X11_CFLAGS"; then
   17328     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   17329  elif test -n "$PKG_CONFIG"; then
   17330     if test -n "$PKG_CONFIG" && \
   17331     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext\""; } >&5
   17332   ($PKG_CONFIG --exists --print-errors "x11 xext") 2>&5
   17333   ac_status=$?
   17334   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17335   test $ac_status = 0; }; then
   17336   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11 xext" 2>/dev/null`
   17337 		      test "x$?" != "x0" && pkg_failed=yes
   17338 else
   17339   pkg_failed=yes
   17340 fi
   17341  else
   17342     pkg_failed=untried
   17343 fi
   17344 if test -n "$X11_LIBS"; then
   17345     pkg_cv_X11_LIBS="$X11_LIBS"
   17346  elif test -n "$PKG_CONFIG"; then
   17347     if test -n "$PKG_CONFIG" && \
   17348     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext\""; } >&5
   17349   ($PKG_CONFIG --exists --print-errors "x11 xext") 2>&5
   17350   ac_status=$?
   17351   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17352   test $ac_status = 0; }; then
   17353   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11 xext" 2>/dev/null`
   17354 		      test "x$?" != "x0" && pkg_failed=yes
   17355 else
   17356   pkg_failed=yes
   17357 fi
   17358  else
   17359     pkg_failed=untried
   17360 fi
   17361 
   17362 
   17363 
   17364 if test $pkg_failed = yes; then
   17365    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17366 $as_echo "no" >&6; }
   17367 
   17368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17369         _pkg_short_errors_supported=yes
   17370 else
   17371         _pkg_short_errors_supported=no
   17372 fi
   17373         if test $_pkg_short_errors_supported = yes; then
   17374 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xext" 2>&1`
   17375         else
   17376 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xext" 2>&1`
   17377         fi
   17378 	# Put the nasty error message in config.log where it belongs
   17379 	echo "$X11_PKG_ERRORS" >&5
   17380 
   17381 	x11_enabled=no
   17382 elif test $pkg_failed = untried; then
   17383      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17384 $as_echo "no" >&6; }
   17385 	x11_enabled=no
   17386 else
   17387 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   17388 	X11_LIBS=$pkg_cv_X11_LIBS
   17389         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17390 $as_echo "yes" >&6; }
   17391 	x11_enabled=yes
   17392 fi
   17393 fi
   17394 
   17395 # Check whether --enable-wayland was given.
   17396 if test "${enable_wayland+set}" = set; then :
   17397   enableval=$enable_wayland; wayland_enabled="$enableval"
   17398 else
   17399   wayland_enabled=no
   17400 fi
   17401 
   17402 
   17403 if test "x$wayland_enabled" != "xno"; then
   17404 
   17405 pkg_failed=no
   17406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND" >&5
   17407 $as_echo_n "checking for WAYLAND... " >&6; }
   17408 
   17409 if test -n "$WAYLAND_CFLAGS"; then
   17410     pkg_cv_WAYLAND_CFLAGS="$WAYLAND_CFLAGS"
   17411  elif test -n "$PKG_CONFIG"; then
   17412     if test -n "$PKG_CONFIG" && \
   17413     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client wayland-egl\""; } >&5
   17414   ($PKG_CONFIG --exists --print-errors "wayland-client wayland-egl") 2>&5
   17415   ac_status=$?
   17416   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17417   test $ac_status = 0; }; then
   17418   pkg_cv_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "wayland-client wayland-egl" 2>/dev/null`
   17419 		      test "x$?" != "x0" && pkg_failed=yes
   17420 else
   17421   pkg_failed=yes
   17422 fi
   17423  else
   17424     pkg_failed=untried
   17425 fi
   17426 if test -n "$WAYLAND_LIBS"; then
   17427     pkg_cv_WAYLAND_LIBS="$WAYLAND_LIBS"
   17428  elif test -n "$PKG_CONFIG"; then
   17429     if test -n "$PKG_CONFIG" && \
   17430     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client wayland-egl\""; } >&5
   17431   ($PKG_CONFIG --exists --print-errors "wayland-client wayland-egl") 2>&5
   17432   ac_status=$?
   17433   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17434   test $ac_status = 0; }; then
   17435   pkg_cv_WAYLAND_LIBS=`$PKG_CONFIG --libs "wayland-client wayland-egl" 2>/dev/null`
   17436 		      test "x$?" != "x0" && pkg_failed=yes
   17437 else
   17438   pkg_failed=yes
   17439 fi
   17440  else
   17441     pkg_failed=untried
   17442 fi
   17443 
   17444 
   17445 
   17446 if test $pkg_failed = yes; then
   17447    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17448 $as_echo "no" >&6; }
   17449 
   17450 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17451         _pkg_short_errors_supported=yes
   17452 else
   17453         _pkg_short_errors_supported=no
   17454 fi
   17455         if test $_pkg_short_errors_supported = yes; then
   17456 	        WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-client wayland-egl" 2>&1`
   17457         else
   17458 	        WAYLAND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-client wayland-egl" 2>&1`
   17459         fi
   17460 	# Put the nasty error message in config.log where it belongs
   17461 	echo "$WAYLAND_PKG_ERRORS" >&5
   17462 
   17463 	wayland_enabled=no
   17464 elif test $pkg_failed = untried; then
   17465      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17466 $as_echo "no" >&6; }
   17467 	wayland_enabled=no
   17468 else
   17469 	WAYLAND_CFLAGS=$pkg_cv_WAYLAND_CFLAGS
   17470 	WAYLAND_LIBS=$pkg_cv_WAYLAND_LIBS
   17471         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17472 $as_echo "yes" >&6; }
   17473 	wayland_enabled=yes
   17474 fi
   17475 fi
   17476 
   17477 # Check whether --enable-gbm was given.
   17478 if test "${enable_gbm+set}" = set; then :
   17479   enableval=$enable_gbm; gbm_enabled="$enableval"
   17480 else
   17481   gbm_enabled=auto
   17482 fi
   17483 
   17484 if test "x$gbm_enabled" != "xno"; then
   17485 
   17486 pkg_failed=no
   17487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GBM" >&5
   17488 $as_echo_n "checking for GBM... " >&6; }
   17489 
   17490 if test -n "$GBM_CFLAGS"; then
   17491     pkg_cv_GBM_CFLAGS="$GBM_CFLAGS"
   17492  elif test -n "$PKG_CONFIG"; then
   17493     if test -n "$PKG_CONFIG" && \
   17494     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gbm\""; } >&5
   17495   ($PKG_CONFIG --exists --print-errors "gbm") 2>&5
   17496   ac_status=$?
   17497   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17498   test $ac_status = 0; }; then
   17499   pkg_cv_GBM_CFLAGS=`$PKG_CONFIG --cflags "gbm" 2>/dev/null`
   17500 		      test "x$?" != "x0" && pkg_failed=yes
   17501 else
   17502   pkg_failed=yes
   17503 fi
   17504  else
   17505     pkg_failed=untried
   17506 fi
   17507 if test -n "$GBM_LIBS"; then
   17508     pkg_cv_GBM_LIBS="$GBM_LIBS"
   17509  elif test -n "$PKG_CONFIG"; then
   17510     if test -n "$PKG_CONFIG" && \
   17511     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gbm\""; } >&5
   17512   ($PKG_CONFIG --exists --print-errors "gbm") 2>&5
   17513   ac_status=$?
   17514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17515   test $ac_status = 0; }; then
   17516   pkg_cv_GBM_LIBS=`$PKG_CONFIG --libs "gbm" 2>/dev/null`
   17517 		      test "x$?" != "x0" && pkg_failed=yes
   17518 else
   17519   pkg_failed=yes
   17520 fi
   17521  else
   17522     pkg_failed=untried
   17523 fi
   17524 
   17525 
   17526 
   17527 if test $pkg_failed = yes; then
   17528    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17529 $as_echo "no" >&6; }
   17530 
   17531 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17532         _pkg_short_errors_supported=yes
   17533 else
   17534         _pkg_short_errors_supported=no
   17535 fi
   17536         if test $_pkg_short_errors_supported = yes; then
   17537 	        GBM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gbm" 2>&1`
   17538         else
   17539 	        GBM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gbm" 2>&1`
   17540         fi
   17541 	# Put the nasty error message in config.log where it belongs
   17542 	echo "$GBM_PKG_ERRORS" >&5
   17543 
   17544 	gbm_enabled=no
   17545 elif test $pkg_failed = untried; then
   17546      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17547 $as_echo "no" >&6; }
   17548 	gbm_enabled=no
   17549 else
   17550 	GBM_CFLAGS=$pkg_cv_GBM_CFLAGS
   17551 	GBM_LIBS=$pkg_cv_GBM_LIBS
   17552         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17553 $as_echo "yes" >&6; }
   17554 	gbm_enabled=yes
   17555 fi
   17556 fi
   17557 
   17558 # Check whether --enable-freetype2 was given.
   17559 if test "${enable_freetype2+set}" = set; then :
   17560   enableval=$enable_freetype2; freetype2_enabled="$enableval"
   17561 else
   17562   freetype2_enabled=auto
   17563 fi
   17564 
   17565 if test "x$freetype2_enabled" != "xno"; then
   17566 
   17567 pkg_failed=no
   17568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE2" >&5
   17569 $as_echo_n "checking for FREETYPE2... " >&6; }
   17570 
   17571 if test -n "$FREETYPE2_CFLAGS"; then
   17572     pkg_cv_FREETYPE2_CFLAGS="$FREETYPE2_CFLAGS"
   17573  elif test -n "$PKG_CONFIG"; then
   17574     if test -n "$PKG_CONFIG" && \
   17575     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   17576   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   17577   ac_status=$?
   17578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17579   test $ac_status = 0; }; then
   17580   pkg_cv_FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
   17581 		      test "x$?" != "x0" && pkg_failed=yes
   17582 else
   17583   pkg_failed=yes
   17584 fi
   17585  else
   17586     pkg_failed=untried
   17587 fi
   17588 if test -n "$FREETYPE2_LIBS"; then
   17589     pkg_cv_FREETYPE2_LIBS="$FREETYPE2_LIBS"
   17590  elif test -n "$PKG_CONFIG"; then
   17591     if test -n "$PKG_CONFIG" && \
   17592     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   17593   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   17594   ac_status=$?
   17595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17596   test $ac_status = 0; }; then
   17597   pkg_cv_FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
   17598 		      test "x$?" != "x0" && pkg_failed=yes
   17599 else
   17600   pkg_failed=yes
   17601 fi
   17602  else
   17603     pkg_failed=untried
   17604 fi
   17605 
   17606 
   17607 
   17608 if test $pkg_failed = yes; then
   17609    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17610 $as_echo "no" >&6; }
   17611 
   17612 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17613         _pkg_short_errors_supported=yes
   17614 else
   17615         _pkg_short_errors_supported=no
   17616 fi
   17617         if test $_pkg_short_errors_supported = yes; then
   17618 	        FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
   17619         else
   17620 	        FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
   17621         fi
   17622 	# Put the nasty error message in config.log where it belongs
   17623 	echo "$FREETYPE2_PKG_ERRORS" >&5
   17624 
   17625 	freetype2_enabled=no
   17626 elif test $pkg_failed = untried; then
   17627      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17628 $as_echo "no" >&6; }
   17629 	freetype2_enabled=no
   17630 else
   17631 	FREETYPE2_CFLAGS=$pkg_cv_FREETYPE2_CFLAGS
   17632 	FREETYPE2_LIBS=$pkg_cv_FREETYPE2_LIBS
   17633         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17634 $as_echo "yes" >&6; }
   17635 	freetype2_enabled=yes
   17636 fi
   17637 fi
   17638 
   17639 mesa_source_enabled=no
   17640 
   17641 # Check whether --with-mesa-source was given.
   17642 if test "${with_mesa_source+set}" = set; then :
   17643   withval=$with_mesa_source; mesa_source_enabled="yes"
   17644 	 mesa_source_dir="$withval"
   17645 else
   17646   mesa_source_enabled="no"
   17647 fi
   17648 
   17649 MESA_GLAPI="$mesa_source_dir/src/mapi/glapi/gen"
   17650 
   17651 # Check whether --enable-rbug was given.
   17652 if test "${enable_rbug+set}" = set; then :
   17653   enableval=$enable_rbug; rbug_enabled="yes"
   17654 else
   17655   rbug_enabled="no"
   17656 fi
   17657 
   17658 
   17659 use_system_data=no
   17660 
   17661 # Check whether --with-system-data-files was given.
   17662 if test "${with_system_data_files+set}" = set; then :
   17663   withval=$with_system_data_files; use_system_data=yes
   17664 fi
   17665 
   17666 if test "x$use_system_data" = xyes; then
   17667     demos_data_dir="${datadir}/${PACKAGE}/"
   17668 else
   17669     demos_data_dir="../data/"
   17670 fi
   17671 
   17672   prefix_NONE=
   17673   exec_prefix_NONE=
   17674   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   17675   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   17676   eval ac_define_dir="\"$demos_data_dir\""
   17677   eval ac_define_dir="\"$ac_define_dir\""
   17678   DEMOS_DATA_DIR="$ac_define_dir"
   17679 
   17680 
   17681 cat >>confdefs.h <<_ACEOF
   17682 #define DEMOS_DATA_DIR "$ac_define_dir"
   17683 _ACEOF
   17684 
   17685   test "$prefix_NONE" && prefix=NONE
   17686   test "$exec_prefix_NONE" && exec_prefix=NONE
   17687 
   17688 
   17689 cat >>confdefs.h <<_ACEOF
   17690 #define DEMOS_DATA_DIR "$DEMOS_DATA_DIR"
   17691 _ACEOF
   17692 
   17693 
   17694 case "$host_os" in
   17695 solaris*)
   17696     DEMO_LIBS="$DEMO_LIBS -lX11 -lsocket -lnsl -lm"
   17697     ;;
   17698 cygwin*)
   17699     DEMO_LIBS="$DEMO_LIBS -lX11"
   17700     ;;
   17701 *)
   17702     DEMO_LIBS="$DEMO_LIBS -lm"
   17703     ;;
   17704 esac
   17705 
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727  if test "x$egl_enabled" = "xyes"; then
   17728   HAVE_EGL_TRUE=
   17729   HAVE_EGL_FALSE='#'
   17730 else
   17731   HAVE_EGL_TRUE='#'
   17732   HAVE_EGL_FALSE=
   17733 fi
   17734 
   17735  if test "x$glesv1_enabled" = "xyes"; then
   17736   HAVE_GLESV1_TRUE=
   17737   HAVE_GLESV1_FALSE='#'
   17738 else
   17739   HAVE_GLESV1_TRUE='#'
   17740   HAVE_GLESV1_FALSE=
   17741 fi
   17742 
   17743  if test "x$glesv2_enabled" = "xyes"; then
   17744   HAVE_GLESV2_TRUE=
   17745   HAVE_GLESV2_FALSE='#'
   17746 else
   17747   HAVE_GLESV2_TRUE='#'
   17748   HAVE_GLESV2_FALSE=
   17749 fi
   17750 
   17751  if test "x$vg_enabled" = "xyes"; then
   17752   HAVE_VG_TRUE=
   17753   HAVE_VG_FALSE='#'
   17754 else
   17755   HAVE_VG_TRUE='#'
   17756   HAVE_VG_FALSE=
   17757 fi
   17758 
   17759  if test "x$glut_enabled" = "xyes"; then
   17760   HAVE_GLUT_TRUE=
   17761   HAVE_GLUT_FALSE='#'
   17762 else
   17763   HAVE_GLUT_TRUE='#'
   17764   HAVE_GLUT_FALSE=
   17765 fi
   17766 
   17767  if test "x$x11_enabled" = "xyes"; then
   17768   HAVE_X11_TRUE=
   17769   HAVE_X11_FALSE='#'
   17770 else
   17771   HAVE_X11_TRUE='#'
   17772   HAVE_X11_FALSE=
   17773 fi
   17774 
   17775  if test "x$gbm_enabled" = "xyes"; then
   17776   HAVE_GBM_TRUE=
   17777   HAVE_GBM_FALSE='#'
   17778 else
   17779   HAVE_GBM_TRUE='#'
   17780   HAVE_GBM_FALSE=
   17781 fi
   17782 
   17783  if test "x$freetype2_enabled" = "xyes"; then
   17784   HAVE_FREETYPE2_TRUE=
   17785   HAVE_FREETYPE2_FALSE='#'
   17786 else
   17787   HAVE_FREETYPE2_TRUE='#'
   17788   HAVE_FREETYPE2_FALSE=
   17789 fi
   17790 
   17791  if test "x$osmesa_enabled" = "xyes"; then
   17792   HAVE_OSMESA_TRUE=
   17793   HAVE_OSMESA_FALSE='#'
   17794 else
   17795   HAVE_OSMESA_TRUE='#'
   17796   HAVE_OSMESA_FALSE=
   17797 fi
   17798 
   17799  if test "x$drm_enabled" = "xyes"; then
   17800   HAVE_DRM_TRUE=
   17801   HAVE_DRM_FALSE='#'
   17802 else
   17803   HAVE_DRM_TRUE='#'
   17804   HAVE_DRM_FALSE=
   17805 fi
   17806 
   17807  if test "x$mesa_source_enabled" = "xyes"; then
   17808   HAVE_MESA_SOURCE_TRUE=
   17809   HAVE_MESA_SOURCE_FALSE='#'
   17810 else
   17811   HAVE_MESA_SOURCE_TRUE='#'
   17812   HAVE_MESA_SOURCE_FALSE=
   17813 fi
   17814 
   17815  if test "x$wayland_enabled" = "xyes"; then
   17816   HAVE_WAYLAND_TRUE=
   17817   HAVE_WAYLAND_FALSE='#'
   17818 else
   17819   HAVE_WAYLAND_TRUE='#'
   17820   HAVE_WAYLAND_FALSE=
   17821 fi
   17822 
   17823  if test "x$rbug_enabled" = "xyes"; then
   17824   HAVE_RBUG_TRUE=
   17825   HAVE_RBUG_FALSE='#'
   17826 else
   17827   HAVE_RBUG_TRUE='#'
   17828   HAVE_RBUG_FALSE=
   17829 fi
   17830 
   17831 
   17832 ac_config_files="$ac_config_files Makefile src/Makefile src/demos/Makefile src/egl/Makefile src/egl/eglut/Makefile src/egl/opengl/Makefile src/egl/opengles1/Makefile src/egl/opengles2/Makefile src/egl/openvg/Makefile src/egl/openvg/trivial/Makefile src/egl/oes_vg/Makefile src/fp/Makefile src/fpglsl/Makefile src/glsl/Makefile src/gs/Makefile src/data/Makefile src/objviewer/Makefile src/osdemos/Makefile src/perf/Makefile src/rbug/Makefile src/redbook/Makefile src/samples/Makefile src/slang/Makefile src/tests/Makefile src/tools/Makefile src/trivial/Makefile src/util/Makefile src/vp/Makefile src/vpglsl/Makefile src/wgl/Makefile src/xdemos/Makefile"
   17833 
   17834 cat >confcache <<\_ACEOF
   17835 # This file is a shell script that caches the results of configure
   17836 # tests run on this system so they can be shared between configure
   17837 # scripts and configure runs, see configure's option --config-cache.
   17838 # It is not useful on other systems.  If it contains results you don't
   17839 # want to keep, you may remove or edit it.
   17840 #
   17841 # config.status only pays attention to the cache file if you give it
   17842 # the --recheck option to rerun configure.
   17843 #
   17844 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17845 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17846 # following values.
   17847 
   17848 _ACEOF
   17849 
   17850 # The following way of writing the cache mishandles newlines in values,
   17851 # but we know of no workaround that is simple, portable, and efficient.
   17852 # So, we kill variables containing newlines.
   17853 # Ultrix sh set writes to stderr and can't be redirected directly,
   17854 # and sets the high bit in the cache file unless we assign to the vars.
   17855 (
   17856   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17857     eval ac_val=\$$ac_var
   17858     case $ac_val in #(
   17859     *${as_nl}*)
   17860       case $ac_var in #(
   17861       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17862 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17863       esac
   17864       case $ac_var in #(
   17865       _ | IFS | as_nl) ;; #(
   17866       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17867       *) { eval $ac_var=; unset $ac_var;} ;;
   17868       esac ;;
   17869     esac
   17870   done
   17871 
   17872   (set) 2>&1 |
   17873     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17874     *${as_nl}ac_space=\ *)
   17875       # `set' does not quote correctly, so add quotes: double-quote
   17876       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17877       sed -n \
   17878 	"s/'/'\\\\''/g;
   17879 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17880       ;; #(
   17881     *)
   17882       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17883       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17884       ;;
   17885     esac |
   17886     sort
   17887 ) |
   17888   sed '
   17889      /^ac_cv_env_/b end
   17890      t clear
   17891      :clear
   17892      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17893      t end
   17894      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17895      :end' >>confcache
   17896 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17897   if test -w "$cache_file"; then
   17898     if test "x$cache_file" != "x/dev/null"; then
   17899       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17900 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17901       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17902 	cat confcache >"$cache_file"
   17903       else
   17904         case $cache_file in #(
   17905         */* | ?:*)
   17906 	  mv -f confcache "$cache_file"$$ &&
   17907 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17908         *)
   17909 	  mv -f confcache "$cache_file" ;;
   17910 	esac
   17911       fi
   17912     fi
   17913   else
   17914     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17915 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17916   fi
   17917 fi
   17918 rm -f confcache
   17919 
   17920 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17921 # Let make expand exec_prefix.
   17922 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17923 
   17924 # Transform confdefs.h into DEFS.
   17925 # Protect against shell expansion while executing Makefile rules.
   17926 # Protect against Makefile macro expansion.
   17927 #
   17928 # If the first sed substitution is executed (which looks for macros that
   17929 # take arguments), then branch to the quote section.  Otherwise,
   17930 # look for a macro that doesn't take arguments.
   17931 ac_script='
   17932 :mline
   17933 /\\$/{
   17934  N
   17935  s,\\\n,,
   17936  b mline
   17937 }
   17938 t clear
   17939 :clear
   17940 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   17941 t quote
   17942 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   17943 t quote
   17944 b any
   17945 :quote
   17946 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   17947 s/\[/\\&/g
   17948 s/\]/\\&/g
   17949 s/\$/$$/g
   17950 H
   17951 :any
   17952 ${
   17953 	g
   17954 	s/^\n//
   17955 	s/\n/ /g
   17956 	p
   17957 }
   17958 '
   17959 DEFS=`sed -n "$ac_script" confdefs.h`
   17960 
   17961 
   17962 ac_libobjs=
   17963 ac_ltlibobjs=
   17964 U=
   17965 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17966   # 1. Remove the extension, and $U if already installed.
   17967   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17968   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17969   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17970   #    will be set to the directory where LIBOBJS objects are built.
   17971   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17972   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17973 done
   17974 LIBOBJS=$ac_libobjs
   17975 
   17976 LTLIBOBJS=$ac_ltlibobjs
   17977 
   17978 
   17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17980 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17981    if test -n "$am_sleep_pid"; then
   17982      # Hide warnings about reused PIDs.
   17983      wait $am_sleep_pid 2>/dev/null
   17984    fi
   17985    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17986 $as_echo "done" >&6; }
   17987  if test -n "$EXEEXT"; then
   17988   am__EXEEXT_TRUE=
   17989   am__EXEEXT_FALSE='#'
   17990 else
   17991   am__EXEEXT_TRUE='#'
   17992   am__EXEEXT_FALSE=
   17993 fi
   17994 
   17995 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17996   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17998 fi
   17999 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18000   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18002 fi
   18003 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18004   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18006 fi
   18007 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   18008   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   18009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18010 fi
   18011 if test -z "${HAVE_EGL_TRUE}" && test -z "${HAVE_EGL_FALSE}"; then
   18012   as_fn_error $? "conditional \"HAVE_EGL\" was never defined.
   18013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18014 fi
   18015 if test -z "${HAVE_GLESV1_TRUE}" && test -z "${HAVE_GLESV1_FALSE}"; then
   18016   as_fn_error $? "conditional \"HAVE_GLESV1\" was never defined.
   18017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18018 fi
   18019 if test -z "${HAVE_GLESV2_TRUE}" && test -z "${HAVE_GLESV2_FALSE}"; then
   18020   as_fn_error $? "conditional \"HAVE_GLESV2\" was never defined.
   18021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18022 fi
   18023 if test -z "${HAVE_VG_TRUE}" && test -z "${HAVE_VG_FALSE}"; then
   18024   as_fn_error $? "conditional \"HAVE_VG\" was never defined.
   18025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18026 fi
   18027 if test -z "${HAVE_GLUT_TRUE}" && test -z "${HAVE_GLUT_FALSE}"; then
   18028   as_fn_error $? "conditional \"HAVE_GLUT\" was never defined.
   18029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18030 fi
   18031 if test -z "${HAVE_X11_TRUE}" && test -z "${HAVE_X11_FALSE}"; then
   18032   as_fn_error $? "conditional \"HAVE_X11\" was never defined.
   18033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18034 fi
   18035 if test -z "${HAVE_GBM_TRUE}" && test -z "${HAVE_GBM_FALSE}"; then
   18036   as_fn_error $? "conditional \"HAVE_GBM\" was never defined.
   18037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18038 fi
   18039 if test -z "${HAVE_FREETYPE2_TRUE}" && test -z "${HAVE_FREETYPE2_FALSE}"; then
   18040   as_fn_error $? "conditional \"HAVE_FREETYPE2\" was never defined.
   18041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18042 fi
   18043 if test -z "${HAVE_OSMESA_TRUE}" && test -z "${HAVE_OSMESA_FALSE}"; then
   18044   as_fn_error $? "conditional \"HAVE_OSMESA\" was never defined.
   18045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18046 fi
   18047 if test -z "${HAVE_DRM_TRUE}" && test -z "${HAVE_DRM_FALSE}"; then
   18048   as_fn_error $? "conditional \"HAVE_DRM\" was never defined.
   18049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18050 fi
   18051 if test -z "${HAVE_MESA_SOURCE_TRUE}" && test -z "${HAVE_MESA_SOURCE_FALSE}"; then
   18052   as_fn_error $? "conditional \"HAVE_MESA_SOURCE\" was never defined.
   18053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18054 fi
   18055 if test -z "${HAVE_WAYLAND_TRUE}" && test -z "${HAVE_WAYLAND_FALSE}"; then
   18056   as_fn_error $? "conditional \"HAVE_WAYLAND\" was never defined.
   18057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18058 fi
   18059 if test -z "${HAVE_RBUG_TRUE}" && test -z "${HAVE_RBUG_FALSE}"; then
   18060   as_fn_error $? "conditional \"HAVE_RBUG\" was never defined.
   18061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18062 fi
   18063 
   18064 : "${CONFIG_STATUS=./config.status}"
   18065 ac_write_fail=0
   18066 ac_clean_files_save=$ac_clean_files
   18067 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18068 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18069 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18070 as_write_fail=0
   18071 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18072 #! $SHELL
   18073 # Generated by $as_me.
   18074 # Run this file to recreate the current configuration.
   18075 # Compiler output produced by configure, useful for debugging
   18076 # configure, is in config.log if it exists.
   18077 
   18078 debug=false
   18079 ac_cs_recheck=false
   18080 ac_cs_silent=false
   18081 
   18082 SHELL=\${CONFIG_SHELL-$SHELL}
   18083 export SHELL
   18084 _ASEOF
   18085 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18086 ## -------------------- ##
   18087 ## M4sh Initialization. ##
   18088 ## -------------------- ##
   18089 
   18090 # Be more Bourne compatible
   18091 DUALCASE=1; export DUALCASE # for MKS sh
   18092 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18093   emulate sh
   18094   NULLCMD=:
   18095   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18096   # is contrary to our usage.  Disable this feature.
   18097   alias -g '${1+"$@"}'='"$@"'
   18098   setopt NO_GLOB_SUBST
   18099 else
   18100   case `(set -o) 2>/dev/null` in #(
   18101   *posix*) :
   18102     set -o posix ;; #(
   18103   *) :
   18104      ;;
   18105 esac
   18106 fi
   18107 
   18108 
   18109 as_nl='
   18110 '
   18111 export as_nl
   18112 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18113 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18114 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18115 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18116 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18117 # but without wasting forks for bash or zsh.
   18118 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18119     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18120   as_echo='print -r --'
   18121   as_echo_n='print -rn --'
   18122 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18123   as_echo='printf %s\n'
   18124   as_echo_n='printf %s'
   18125 else
   18126   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18127     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18128     as_echo_n='/usr/ucb/echo -n'
   18129   else
   18130     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18131     as_echo_n_body='eval
   18132       arg=$1;
   18133       case $arg in #(
   18134       *"$as_nl"*)
   18135 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18136 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18137       esac;
   18138       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18139     '
   18140     export as_echo_n_body
   18141     as_echo_n='sh -c $as_echo_n_body as_echo'
   18142   fi
   18143   export as_echo_body
   18144   as_echo='sh -c $as_echo_body as_echo'
   18145 fi
   18146 
   18147 # The user is always right.
   18148 if test "${PATH_SEPARATOR+set}" != set; then
   18149   PATH_SEPARATOR=:
   18150   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18151     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18152       PATH_SEPARATOR=';'
   18153   }
   18154 fi
   18155 
   18156 
   18157 # IFS
   18158 # We need space, tab and new line, in precisely that order.  Quoting is
   18159 # there to prevent editors from complaining about space-tab.
   18160 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18161 # splitting by setting IFS to empty value.)
   18162 IFS=" ""	$as_nl"
   18163 
   18164 # Find who we are.  Look in the path if we contain no directory separator.
   18165 as_myself=
   18166 case $0 in #((
   18167   *[\\/]* ) as_myself=$0 ;;
   18168   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18169 for as_dir in $PATH
   18170 do
   18171   IFS=$as_save_IFS
   18172   test -z "$as_dir" && as_dir=.
   18173     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18174   done
   18175 IFS=$as_save_IFS
   18176 
   18177      ;;
   18178 esac
   18179 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18180 # in which case we are not to be found in the path.
   18181 if test "x$as_myself" = x; then
   18182   as_myself=$0
   18183 fi
   18184 if test ! -f "$as_myself"; then
   18185   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18186   exit 1
   18187 fi
   18188 
   18189 # Unset variables that we do not need and which cause bugs (e.g. in
   18190 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18191 # suppresses any "Segmentation fault" message there.  '((' could
   18192 # trigger a bug in pdksh 5.2.14.
   18193 for as_var in BASH_ENV ENV MAIL MAILPATH
   18194 do eval test x\${$as_var+set} = xset \
   18195   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18196 done
   18197 PS1='$ '
   18198 PS2='> '
   18199 PS4='+ '
   18200 
   18201 # NLS nuisances.
   18202 LC_ALL=C
   18203 export LC_ALL
   18204 LANGUAGE=C
   18205 export LANGUAGE
   18206 
   18207 # CDPATH.
   18208 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18209 
   18210 
   18211 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18212 # ----------------------------------------
   18213 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18214 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18215 # script with STATUS, using 1 if that was 0.
   18216 as_fn_error ()
   18217 {
   18218   as_status=$1; test $as_status -eq 0 && as_status=1
   18219   if test "$4"; then
   18220     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18221     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18222   fi
   18223   $as_echo "$as_me: error: $2" >&2
   18224   as_fn_exit $as_status
   18225 } # as_fn_error
   18226 
   18227 
   18228 # as_fn_set_status STATUS
   18229 # -----------------------
   18230 # Set $? to STATUS, without forking.
   18231 as_fn_set_status ()
   18232 {
   18233   return $1
   18234 } # as_fn_set_status
   18235 
   18236 # as_fn_exit STATUS
   18237 # -----------------
   18238 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18239 as_fn_exit ()
   18240 {
   18241   set +e
   18242   as_fn_set_status $1
   18243   exit $1
   18244 } # as_fn_exit
   18245 
   18246 # as_fn_unset VAR
   18247 # ---------------
   18248 # Portably unset VAR.
   18249 as_fn_unset ()
   18250 {
   18251   { eval $1=; unset $1;}
   18252 }
   18253 as_unset=as_fn_unset
   18254 # as_fn_append VAR VALUE
   18255 # ----------------------
   18256 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18257 # advantage of any shell optimizations that allow amortized linear growth over
   18258 # repeated appends, instead of the typical quadratic growth present in naive
   18259 # implementations.
   18260 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18261   eval 'as_fn_append ()
   18262   {
   18263     eval $1+=\$2
   18264   }'
   18265 else
   18266   as_fn_append ()
   18267   {
   18268     eval $1=\$$1\$2
   18269   }
   18270 fi # as_fn_append
   18271 
   18272 # as_fn_arith ARG...
   18273 # ------------------
   18274 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18275 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18276 # must be portable across $(()) and expr.
   18277 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18278   eval 'as_fn_arith ()
   18279   {
   18280     as_val=$(( $* ))
   18281   }'
   18282 else
   18283   as_fn_arith ()
   18284   {
   18285     as_val=`expr "$@" || test $? -eq 1`
   18286   }
   18287 fi # as_fn_arith
   18288 
   18289 
   18290 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18291    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18292   as_expr=expr
   18293 else
   18294   as_expr=false
   18295 fi
   18296 
   18297 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18298   as_basename=basename
   18299 else
   18300   as_basename=false
   18301 fi
   18302 
   18303 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18304   as_dirname=dirname
   18305 else
   18306   as_dirname=false
   18307 fi
   18308 
   18309 as_me=`$as_basename -- "$0" ||
   18310 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18311 	 X"$0" : 'X\(//\)$' \| \
   18312 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18313 $as_echo X/"$0" |
   18314     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18315 	    s//\1/
   18316 	    q
   18317 	  }
   18318 	  /^X\/\(\/\/\)$/{
   18319 	    s//\1/
   18320 	    q
   18321 	  }
   18322 	  /^X\/\(\/\).*/{
   18323 	    s//\1/
   18324 	    q
   18325 	  }
   18326 	  s/.*/./; q'`
   18327 
   18328 # Avoid depending upon Character Ranges.
   18329 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18330 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18331 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18332 as_cr_digits='0123456789'
   18333 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18334 
   18335 ECHO_C= ECHO_N= ECHO_T=
   18336 case `echo -n x` in #(((((
   18337 -n*)
   18338   case `echo 'xy\c'` in
   18339   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18340   xy)  ECHO_C='\c';;
   18341   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18342        ECHO_T='	';;
   18343   esac;;
   18344 *)
   18345   ECHO_N='-n';;
   18346 esac
   18347 
   18348 rm -f conf$$ conf$$.exe conf$$.file
   18349 if test -d conf$$.dir; then
   18350   rm -f conf$$.dir/conf$$.file
   18351 else
   18352   rm -f conf$$.dir
   18353   mkdir conf$$.dir 2>/dev/null
   18354 fi
   18355 if (echo >conf$$.file) 2>/dev/null; then
   18356   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18357     as_ln_s='ln -s'
   18358     # ... but there are two gotchas:
   18359     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18360     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18361     # In both cases, we have to default to `cp -pR'.
   18362     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18363       as_ln_s='cp -pR'
   18364   elif ln conf$$.file conf$$ 2>/dev/null; then
   18365     as_ln_s=ln
   18366   else
   18367     as_ln_s='cp -pR'
   18368   fi
   18369 else
   18370   as_ln_s='cp -pR'
   18371 fi
   18372 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18373 rmdir conf$$.dir 2>/dev/null
   18374 
   18375 
   18376 # as_fn_mkdir_p
   18377 # -------------
   18378 # Create "$as_dir" as a directory, including parents if necessary.
   18379 as_fn_mkdir_p ()
   18380 {
   18381 
   18382   case $as_dir in #(
   18383   -*) as_dir=./$as_dir;;
   18384   esac
   18385   test -d "$as_dir" || eval $as_mkdir_p || {
   18386     as_dirs=
   18387     while :; do
   18388       case $as_dir in #(
   18389       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18390       *) as_qdir=$as_dir;;
   18391       esac
   18392       as_dirs="'$as_qdir' $as_dirs"
   18393       as_dir=`$as_dirname -- "$as_dir" ||
   18394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18395 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18396 	 X"$as_dir" : 'X\(//\)$' \| \
   18397 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18398 $as_echo X"$as_dir" |
   18399     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18400 	    s//\1/
   18401 	    q
   18402 	  }
   18403 	  /^X\(\/\/\)[^/].*/{
   18404 	    s//\1/
   18405 	    q
   18406 	  }
   18407 	  /^X\(\/\/\)$/{
   18408 	    s//\1/
   18409 	    q
   18410 	  }
   18411 	  /^X\(\/\).*/{
   18412 	    s//\1/
   18413 	    q
   18414 	  }
   18415 	  s/.*/./; q'`
   18416       test -d "$as_dir" && break
   18417     done
   18418     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18419   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18420 
   18421 
   18422 } # as_fn_mkdir_p
   18423 if mkdir -p . 2>/dev/null; then
   18424   as_mkdir_p='mkdir -p "$as_dir"'
   18425 else
   18426   test -d ./-p && rmdir ./-p
   18427   as_mkdir_p=false
   18428 fi
   18429 
   18430 
   18431 # as_fn_executable_p FILE
   18432 # -----------------------
   18433 # Test if FILE is an executable regular file.
   18434 as_fn_executable_p ()
   18435 {
   18436   test -f "$1" && test -x "$1"
   18437 } # as_fn_executable_p
   18438 as_test_x='test -x'
   18439 as_executable_p=as_fn_executable_p
   18440 
   18441 # Sed expression to map a string onto a valid CPP name.
   18442 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18443 
   18444 # Sed expression to map a string onto a valid variable name.
   18445 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18446 
   18447 
   18448 exec 6>&1
   18449 ## ----------------------------------- ##
   18450 ## Main body of $CONFIG_STATUS script. ##
   18451 ## ----------------------------------- ##
   18452 _ASEOF
   18453 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18454 
   18455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18456 # Save the log message, to keep $0 and so on meaningful, and to
   18457 # report actual input values of CONFIG_FILES etc. instead of their
   18458 # values after options handling.
   18459 ac_log="
   18460 This file was extended by mesa-demos $as_me 8.2.0, which was
   18461 generated by GNU Autoconf 2.69.  Invocation command line was
   18462 
   18463   CONFIG_FILES    = $CONFIG_FILES
   18464   CONFIG_HEADERS  = $CONFIG_HEADERS
   18465   CONFIG_LINKS    = $CONFIG_LINKS
   18466   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18467   $ $0 $@
   18468 
   18469 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18470 "
   18471 
   18472 _ACEOF
   18473 
   18474 case $ac_config_files in *"
   18475 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18476 esac
   18477 
   18478 
   18479 
   18480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18481 # Files that config.status was made for.
   18482 config_files="$ac_config_files"
   18483 config_commands="$ac_config_commands"
   18484 
   18485 _ACEOF
   18486 
   18487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18488 ac_cs_usage="\
   18489 \`$as_me' instantiates files and other configuration actions
   18490 from templates according to the current configuration.  Unless the files
   18491 and actions are specified as TAGs, all are instantiated by default.
   18492 
   18493 Usage: $0 [OPTION]... [TAG]...
   18494 
   18495   -h, --help       print this help, then exit
   18496   -V, --version    print version number and configuration settings, then exit
   18497       --config     print configuration, then exit
   18498   -q, --quiet, --silent
   18499                    do not print progress messages
   18500   -d, --debug      don't remove temporary files
   18501       --recheck    update $as_me by reconfiguring in the same conditions
   18502       --file=FILE[:TEMPLATE]
   18503                    instantiate the configuration file FILE
   18504 
   18505 Configuration files:
   18506 $config_files
   18507 
   18508 Configuration commands:
   18509 $config_commands
   18510 
   18511 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=Demos>."
   18512 
   18513 _ACEOF
   18514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18515 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18516 ac_cs_version="\\
   18517 mesa-demos config.status 8.2.0
   18518 configured by $0, generated by GNU Autoconf 2.69,
   18519   with options \\"\$ac_cs_config\\"
   18520 
   18521 Copyright (C) 2012 Free Software Foundation, Inc.
   18522 This config.status script is free software; the Free Software Foundation
   18523 gives unlimited permission to copy, distribute and modify it."
   18524 
   18525 ac_pwd='$ac_pwd'
   18526 srcdir='$srcdir'
   18527 INSTALL='$INSTALL'
   18528 MKDIR_P='$MKDIR_P'
   18529 AWK='$AWK'
   18530 test -n "\$AWK" || AWK=awk
   18531 _ACEOF
   18532 
   18533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18534 # The default lists apply if the user does not specify any file.
   18535 ac_need_defaults=:
   18536 while test $# != 0
   18537 do
   18538   case $1 in
   18539   --*=?*)
   18540     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18541     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18542     ac_shift=:
   18543     ;;
   18544   --*=)
   18545     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18546     ac_optarg=
   18547     ac_shift=:
   18548     ;;
   18549   *)
   18550     ac_option=$1
   18551     ac_optarg=$2
   18552     ac_shift=shift
   18553     ;;
   18554   esac
   18555 
   18556   case $ac_option in
   18557   # Handling of the options.
   18558   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18559     ac_cs_recheck=: ;;
   18560   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18561     $as_echo "$ac_cs_version"; exit ;;
   18562   --config | --confi | --conf | --con | --co | --c )
   18563     $as_echo "$ac_cs_config"; exit ;;
   18564   --debug | --debu | --deb | --de | --d | -d )
   18565     debug=: ;;
   18566   --file | --fil | --fi | --f )
   18567     $ac_shift
   18568     case $ac_optarg in
   18569     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18570     '') as_fn_error $? "missing file argument" ;;
   18571     esac
   18572     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18573     ac_need_defaults=false;;
   18574   --he | --h |  --help | --hel | -h )
   18575     $as_echo "$ac_cs_usage"; exit ;;
   18576   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18577   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18578     ac_cs_silent=: ;;
   18579 
   18580   # This is an error.
   18581   -*) as_fn_error $? "unrecognized option: \`$1'
   18582 Try \`$0 --help' for more information." ;;
   18583 
   18584   *) as_fn_append ac_config_targets " $1"
   18585      ac_need_defaults=false ;;
   18586 
   18587   esac
   18588   shift
   18589 done
   18590 
   18591 ac_configure_extra_args=
   18592 
   18593 if $ac_cs_silent; then
   18594   exec 6>/dev/null
   18595   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18596 fi
   18597 
   18598 _ACEOF
   18599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18600 if \$ac_cs_recheck; then
   18601   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18602   shift
   18603   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18604   CONFIG_SHELL='$SHELL'
   18605   export CONFIG_SHELL
   18606   exec "\$@"
   18607 fi
   18608 
   18609 _ACEOF
   18610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18611 exec 5>>config.log
   18612 {
   18613   echo
   18614   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18615 ## Running $as_me. ##
   18616 _ASBOX
   18617   $as_echo "$ac_log"
   18618 } >&5
   18619 
   18620 _ACEOF
   18621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18622 #
   18623 # INIT-COMMANDS
   18624 #
   18625 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18626 
   18627 
   18628 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18629 # if CDPATH is set.
   18630 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18631 
   18632 sed_quote_subst='$sed_quote_subst'
   18633 double_quote_subst='$double_quote_subst'
   18634 delay_variable_subst='$delay_variable_subst'
   18635 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18636 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18637 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18638 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18639 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18640 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18641 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18642 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18643 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18644 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18645 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18646 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18647 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18648 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18649 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18650 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18651 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18652 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18653 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18654 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18655 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18656 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18657 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18658 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18659 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18660 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18661 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18662 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18663 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18664 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18665 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18666 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18667 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18668 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18669 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18670 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18671 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18672 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18673 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18674 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18675 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18676 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18677 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18678 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18679 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18680 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18681 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18682 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18683 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18684 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18685 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18686 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18687 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18688 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18689 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18690 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18691 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"`'
   18692 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18693 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18694 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18695 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18696 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18697 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18698 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18699 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18700 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18701 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18702 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18703 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18704 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18705 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18706 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18707 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18708 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18709 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18710 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18711 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18712 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18713 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18714 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18715 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18716 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18717 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18718 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18719 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18720 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18721 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18722 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18723 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18724 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18725 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18726 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18727 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18728 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18729 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18730 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18731 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18732 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18733 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18734 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18735 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18736 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18737 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18738 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18739 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18740 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18741 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18742 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18743 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18744 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18745 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18746 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18747 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18748 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18749 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18750 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18751 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18752 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18753 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18754 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18755 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18756 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18757 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18758 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18759 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18760 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18761 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18762 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18763 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18764 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18765 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   18766 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   18767 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   18768 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   18769 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   18770 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   18771 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   18772 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18773 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18774 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18775 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   18776 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   18777 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18778 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   18779 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   18780 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   18781 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   18782 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   18783 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   18784 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18785 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18786 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   18787 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18788 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18789 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18790 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18791 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18792 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18793 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   18794 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18795 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18796 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18797 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   18798 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   18799 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   18800 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   18801 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   18802 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   18803 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   18804 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   18805 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   18806 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18807 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   18808 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   18809 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18810 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18811 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18812 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   18813 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   18814 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   18815 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   18816 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   18817 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   18818 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   18819 
   18820 LTCC='$LTCC'
   18821 LTCFLAGS='$LTCFLAGS'
   18822 compiler='$compiler_DEFAULT'
   18823 
   18824 # A function that is used when there is no print builtin or printf.
   18825 func_fallback_echo ()
   18826 {
   18827   eval 'cat <<_LTECHO_EOF
   18828 \$1
   18829 _LTECHO_EOF'
   18830 }
   18831 
   18832 # Quote evaled strings.
   18833 for var in SHELL \
   18834 ECHO \
   18835 PATH_SEPARATOR \
   18836 SED \
   18837 GREP \
   18838 EGREP \
   18839 FGREP \
   18840 LD \
   18841 NM \
   18842 LN_S \
   18843 lt_SP2NL \
   18844 lt_NL2SP \
   18845 reload_flag \
   18846 OBJDUMP \
   18847 deplibs_check_method \
   18848 file_magic_cmd \
   18849 file_magic_glob \
   18850 want_nocaseglob \
   18851 DLLTOOL \
   18852 sharedlib_from_linklib_cmd \
   18853 AR \
   18854 AR_FLAGS \
   18855 archiver_list_spec \
   18856 STRIP \
   18857 RANLIB \
   18858 CC \
   18859 CFLAGS \
   18860 compiler \
   18861 lt_cv_sys_global_symbol_pipe \
   18862 lt_cv_sys_global_symbol_to_cdecl \
   18863 lt_cv_sys_global_symbol_to_c_name_address \
   18864 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18865 nm_file_list_spec \
   18866 lt_prog_compiler_no_builtin_flag \
   18867 lt_prog_compiler_pic \
   18868 lt_prog_compiler_wl \
   18869 lt_prog_compiler_static \
   18870 lt_cv_prog_compiler_c_o \
   18871 need_locks \
   18872 MANIFEST_TOOL \
   18873 DSYMUTIL \
   18874 NMEDIT \
   18875 LIPO \
   18876 OTOOL \
   18877 OTOOL64 \
   18878 shrext_cmds \
   18879 export_dynamic_flag_spec \
   18880 whole_archive_flag_spec \
   18881 compiler_needs_object \
   18882 with_gnu_ld \
   18883 allow_undefined_flag \
   18884 no_undefined_flag \
   18885 hardcode_libdir_flag_spec \
   18886 hardcode_libdir_separator \
   18887 exclude_expsyms \
   18888 include_expsyms \
   18889 file_list_spec \
   18890 variables_saved_for_relink \
   18891 libname_spec \
   18892 library_names_spec \
   18893 soname_spec \
   18894 install_override_mode \
   18895 finish_eval \
   18896 old_striplib \
   18897 striplib \
   18898 compiler_lib_search_dirs \
   18899 predep_objects \
   18900 postdep_objects \
   18901 predeps \
   18902 postdeps \
   18903 compiler_lib_search_path \
   18904 LD_CXX \
   18905 reload_flag_CXX \
   18906 compiler_CXX \
   18907 lt_prog_compiler_no_builtin_flag_CXX \
   18908 lt_prog_compiler_pic_CXX \
   18909 lt_prog_compiler_wl_CXX \
   18910 lt_prog_compiler_static_CXX \
   18911 lt_cv_prog_compiler_c_o_CXX \
   18912 export_dynamic_flag_spec_CXX \
   18913 whole_archive_flag_spec_CXX \
   18914 compiler_needs_object_CXX \
   18915 with_gnu_ld_CXX \
   18916 allow_undefined_flag_CXX \
   18917 no_undefined_flag_CXX \
   18918 hardcode_libdir_flag_spec_CXX \
   18919 hardcode_libdir_separator_CXX \
   18920 exclude_expsyms_CXX \
   18921 include_expsyms_CXX \
   18922 file_list_spec_CXX \
   18923 compiler_lib_search_dirs_CXX \
   18924 predep_objects_CXX \
   18925 postdep_objects_CXX \
   18926 predeps_CXX \
   18927 postdeps_CXX \
   18928 compiler_lib_search_path_CXX; do
   18929     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18930     *[\\\\\\\`\\"\\\$]*)
   18931       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18932       ;;
   18933     *)
   18934       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18935       ;;
   18936     esac
   18937 done
   18938 
   18939 # Double-quote double-evaled strings.
   18940 for var in reload_cmds \
   18941 old_postinstall_cmds \
   18942 old_postuninstall_cmds \
   18943 old_archive_cmds \
   18944 extract_expsyms_cmds \
   18945 old_archive_from_new_cmds \
   18946 old_archive_from_expsyms_cmds \
   18947 archive_cmds \
   18948 archive_expsym_cmds \
   18949 module_cmds \
   18950 module_expsym_cmds \
   18951 export_symbols_cmds \
   18952 prelink_cmds \
   18953 postlink_cmds \
   18954 postinstall_cmds \
   18955 postuninstall_cmds \
   18956 finish_cmds \
   18957 sys_lib_search_path_spec \
   18958 sys_lib_dlsearch_path_spec \
   18959 reload_cmds_CXX \
   18960 old_archive_cmds_CXX \
   18961 old_archive_from_new_cmds_CXX \
   18962 old_archive_from_expsyms_cmds_CXX \
   18963 archive_cmds_CXX \
   18964 archive_expsym_cmds_CXX \
   18965 module_cmds_CXX \
   18966 module_expsym_cmds_CXX \
   18967 export_symbols_cmds_CXX \
   18968 prelink_cmds_CXX \
   18969 postlink_cmds_CXX; do
   18970     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18971     *[\\\\\\\`\\"\\\$]*)
   18972       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18973       ;;
   18974     *)
   18975       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18976       ;;
   18977     esac
   18978 done
   18979 
   18980 ac_aux_dir='$ac_aux_dir'
   18981 xsi_shell='$xsi_shell'
   18982 lt_shell_append='$lt_shell_append'
   18983 
   18984 # See if we are running on zsh, and set the options which allow our
   18985 # commands through without removal of \ escapes INIT.
   18986 if test -n "\${ZSH_VERSION+set}" ; then
   18987    setopt NO_GLOB_SUBST
   18988 fi
   18989 
   18990 
   18991     PACKAGE='$PACKAGE'
   18992     VERSION='$VERSION'
   18993     TIMESTAMP='$TIMESTAMP'
   18994     RM='$RM'
   18995     ofile='$ofile'
   18996 
   18997 
   18998 
   18999 
   19000 
   19001 
   19002 _ACEOF
   19003 
   19004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19005 
   19006 # Handling of arguments.
   19007 for ac_config_target in $ac_config_targets
   19008 do
   19009   case $ac_config_target in
   19010     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19011     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19012     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19013     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19014     "src/demos/Makefile") CONFIG_FILES="$CONFIG_FILES src/demos/Makefile" ;;
   19015     "src/egl/Makefile") CONFIG_FILES="$CONFIG_FILES src/egl/Makefile" ;;
   19016     "src/egl/eglut/Makefile") CONFIG_FILES="$CONFIG_FILES src/egl/eglut/Makefile" ;;
   19017     "src/egl/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES src/egl/opengl/Makefile" ;;
   19018     "src/egl/opengles1/Makefile") CONFIG_FILES="$CONFIG_FILES src/egl/opengles1/Makefile" ;;
   19019     "src/egl/opengles2/Makefile") CONFIG_FILES="$CONFIG_FILES src/egl/opengles2/Makefile" ;;
   19020     "src/egl/openvg/Makefile") CONFIG_FILES="$CONFIG_FILES src/egl/openvg/Makefile" ;;
   19021     "src/egl/openvg/trivial/Makefile") CONFIG_FILES="$CONFIG_FILES src/egl/openvg/trivial/Makefile" ;;
   19022     "src/egl/oes_vg/Makefile") CONFIG_FILES="$CONFIG_FILES src/egl/oes_vg/Makefile" ;;
   19023     "src/fp/Makefile") CONFIG_FILES="$CONFIG_FILES src/fp/Makefile" ;;
   19024     "src/fpglsl/Makefile") CONFIG_FILES="$CONFIG_FILES src/fpglsl/Makefile" ;;
   19025     "src/glsl/Makefile") CONFIG_FILES="$CONFIG_FILES src/glsl/Makefile" ;;
   19026     "src/gs/Makefile") CONFIG_FILES="$CONFIG_FILES src/gs/Makefile" ;;
   19027     "src/data/Makefile") CONFIG_FILES="$CONFIG_FILES src/data/Makefile" ;;
   19028     "src/objviewer/Makefile") CONFIG_FILES="$CONFIG_FILES src/objviewer/Makefile" ;;
   19029     "src/osdemos/Makefile") CONFIG_FILES="$CONFIG_FILES src/osdemos/Makefile" ;;
   19030     "src/perf/Makefile") CONFIG_FILES="$CONFIG_FILES src/perf/Makefile" ;;
   19031     "src/rbug/Makefile") CONFIG_FILES="$CONFIG_FILES src/rbug/Makefile" ;;
   19032     "src/redbook/Makefile") CONFIG_FILES="$CONFIG_FILES src/redbook/Makefile" ;;
   19033     "src/samples/Makefile") CONFIG_FILES="$CONFIG_FILES src/samples/Makefile" ;;
   19034     "src/slang/Makefile") CONFIG_FILES="$CONFIG_FILES src/slang/Makefile" ;;
   19035     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
   19036     "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
   19037     "src/trivial/Makefile") CONFIG_FILES="$CONFIG_FILES src/trivial/Makefile" ;;
   19038     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   19039     "src/vp/Makefile") CONFIG_FILES="$CONFIG_FILES src/vp/Makefile" ;;
   19040     "src/vpglsl/Makefile") CONFIG_FILES="$CONFIG_FILES src/vpglsl/Makefile" ;;
   19041     "src/wgl/Makefile") CONFIG_FILES="$CONFIG_FILES src/wgl/Makefile" ;;
   19042     "src/xdemos/Makefile") CONFIG_FILES="$CONFIG_FILES src/xdemos/Makefile" ;;
   19043 
   19044   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19045   esac
   19046 done
   19047 
   19048 
   19049 # If the user did not use the arguments to specify the items to instantiate,
   19050 # then the envvar interface is used.  Set only those that are not.
   19051 # We use the long form for the default assignment because of an extremely
   19052 # bizarre bug on SunOS 4.1.3.
   19053 if $ac_need_defaults; then
   19054   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19055   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19056 fi
   19057 
   19058 # Have a temporary directory for convenience.  Make it in the build tree
   19059 # simply because there is no reason against having it here, and in addition,
   19060 # creating and moving files from /tmp can sometimes cause problems.
   19061 # Hook for its removal unless debugging.
   19062 # Note that there is a small window in which the directory will not be cleaned:
   19063 # after its creation but before its name has been assigned to `$tmp'.
   19064 $debug ||
   19065 {
   19066   tmp= ac_tmp=
   19067   trap 'exit_status=$?
   19068   : "${ac_tmp:=$tmp}"
   19069   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19070 ' 0
   19071   trap 'as_fn_exit 1' 1 2 13 15
   19072 }
   19073 # Create a (secure) tmp directory for tmp files.
   19074 
   19075 {
   19076   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19077   test -d "$tmp"
   19078 }  ||
   19079 {
   19080   tmp=./conf$$-$RANDOM
   19081   (umask 077 && mkdir "$tmp")
   19082 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19083 ac_tmp=$tmp
   19084 
   19085 # Set up the scripts for CONFIG_FILES section.
   19086 # No need to generate them if there are no CONFIG_FILES.
   19087 # This happens for instance with `./config.status config.h'.
   19088 if test -n "$CONFIG_FILES"; then
   19089 
   19090 
   19091 ac_cr=`echo X | tr X '\015'`
   19092 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19093 # But we know of no other shell where ac_cr would be empty at this
   19094 # point, so we can use a bashism as a fallback.
   19095 if test "x$ac_cr" = x; then
   19096   eval ac_cr=\$\'\\r\'
   19097 fi
   19098 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19099 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19100   ac_cs_awk_cr='\\r'
   19101 else
   19102   ac_cs_awk_cr=$ac_cr
   19103 fi
   19104 
   19105 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19106 _ACEOF
   19107 
   19108 
   19109 {
   19110   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19111   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19112   echo "_ACEOF"
   19113 } >conf$$subs.sh ||
   19114   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19115 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19116 ac_delim='%!_!# '
   19117 for ac_last_try in false false false false false :; do
   19118   . ./conf$$subs.sh ||
   19119     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19120 
   19121   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19122   if test $ac_delim_n = $ac_delim_num; then
   19123     break
   19124   elif $ac_last_try; then
   19125     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19126   else
   19127     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19128   fi
   19129 done
   19130 rm -f conf$$subs.sh
   19131 
   19132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19133 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19134 _ACEOF
   19135 sed -n '
   19136 h
   19137 s/^/S["/; s/!.*/"]=/
   19138 p
   19139 g
   19140 s/^[^!]*!//
   19141 :repl
   19142 t repl
   19143 s/'"$ac_delim"'$//
   19144 t delim
   19145 :nl
   19146 h
   19147 s/\(.\{148\}\)..*/\1/
   19148 t more1
   19149 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19150 p
   19151 n
   19152 b repl
   19153 :more1
   19154 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19155 p
   19156 g
   19157 s/.\{148\}//
   19158 t nl
   19159 :delim
   19160 h
   19161 s/\(.\{148\}\)..*/\1/
   19162 t more2
   19163 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19164 p
   19165 b
   19166 :more2
   19167 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19168 p
   19169 g
   19170 s/.\{148\}//
   19171 t delim
   19172 ' <conf$$subs.awk | sed '
   19173 /^[^""]/{
   19174   N
   19175   s/\n//
   19176 }
   19177 ' >>$CONFIG_STATUS || ac_write_fail=1
   19178 rm -f conf$$subs.awk
   19179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19180 _ACAWK
   19181 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19182   for (key in S) S_is_set[key] = 1
   19183   FS = ""
   19184 
   19185 }
   19186 {
   19187   line = $ 0
   19188   nfields = split(line, field, "@")
   19189   substed = 0
   19190   len = length(field[1])
   19191   for (i = 2; i < nfields; i++) {
   19192     key = field[i]
   19193     keylen = length(key)
   19194     if (S_is_set[key]) {
   19195       value = S[key]
   19196       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19197       len += length(value) + length(field[++i])
   19198       substed = 1
   19199     } else
   19200       len += 1 + keylen
   19201   }
   19202 
   19203   print line
   19204 }
   19205 
   19206 _ACAWK
   19207 _ACEOF
   19208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19209 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19210   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19211 else
   19212   cat
   19213 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19214   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19215 _ACEOF
   19216 
   19217 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19218 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19219 # trailing colons and then remove the whole line if VPATH becomes empty
   19220 # (actually we leave an empty line to preserve line numbers).
   19221 if test "x$srcdir" = x.; then
   19222   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19223 h
   19224 s///
   19225 s/^/:/
   19226 s/[	 ]*$/:/
   19227 s/:\$(srcdir):/:/g
   19228 s/:\${srcdir}:/:/g
   19229 s/:@srcdir@:/:/g
   19230 s/^:*//
   19231 s/:*$//
   19232 x
   19233 s/\(=[	 ]*\).*/\1/
   19234 G
   19235 s/\n//
   19236 s/^[^=]*=[	 ]*$//
   19237 }'
   19238 fi
   19239 
   19240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19241 fi # test -n "$CONFIG_FILES"
   19242 
   19243 
   19244 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   19245 shift
   19246 for ac_tag
   19247 do
   19248   case $ac_tag in
   19249   :[FHLC]) ac_mode=$ac_tag; continue;;
   19250   esac
   19251   case $ac_mode$ac_tag in
   19252   :[FHL]*:*);;
   19253   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19254   :[FH]-) ac_tag=-:-;;
   19255   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19256   esac
   19257   ac_save_IFS=$IFS
   19258   IFS=:
   19259   set x $ac_tag
   19260   IFS=$ac_save_IFS
   19261   shift
   19262   ac_file=$1
   19263   shift
   19264 
   19265   case $ac_mode in
   19266   :L) ac_source=$1;;
   19267   :[FH])
   19268     ac_file_inputs=
   19269     for ac_f
   19270     do
   19271       case $ac_f in
   19272       -) ac_f="$ac_tmp/stdin";;
   19273       *) # Look for the file first in the build tree, then in the source tree
   19274 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19275 	 # because $ac_f cannot contain `:'.
   19276 	 test -f "$ac_f" ||
   19277 	   case $ac_f in
   19278 	   [\\/$]*) false;;
   19279 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19280 	   esac ||
   19281 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19282       esac
   19283       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19284       as_fn_append ac_file_inputs " '$ac_f'"
   19285     done
   19286 
   19287     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19288     # use $as_me), people would be surprised to read:
   19289     #    /* config.h.  Generated by config.status.  */
   19290     configure_input='Generated from '`
   19291 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19292 	`' by configure.'
   19293     if test x"$ac_file" != x-; then
   19294       configure_input="$ac_file.  $configure_input"
   19295       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19296 $as_echo "$as_me: creating $ac_file" >&6;}
   19297     fi
   19298     # Neutralize special characters interpreted by sed in replacement strings.
   19299     case $configure_input in #(
   19300     *\&* | *\|* | *\\* )
   19301        ac_sed_conf_input=`$as_echo "$configure_input" |
   19302        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19303     *) ac_sed_conf_input=$configure_input;;
   19304     esac
   19305 
   19306     case $ac_tag in
   19307     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19308       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19309     esac
   19310     ;;
   19311   esac
   19312 
   19313   ac_dir=`$as_dirname -- "$ac_file" ||
   19314 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19315 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19316 	 X"$ac_file" : 'X\(//\)$' \| \
   19317 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19318 $as_echo X"$ac_file" |
   19319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19320 	    s//\1/
   19321 	    q
   19322 	  }
   19323 	  /^X\(\/\/\)[^/].*/{
   19324 	    s//\1/
   19325 	    q
   19326 	  }
   19327 	  /^X\(\/\/\)$/{
   19328 	    s//\1/
   19329 	    q
   19330 	  }
   19331 	  /^X\(\/\).*/{
   19332 	    s//\1/
   19333 	    q
   19334 	  }
   19335 	  s/.*/./; q'`
   19336   as_dir="$ac_dir"; as_fn_mkdir_p
   19337   ac_builddir=.
   19338 
   19339 case "$ac_dir" in
   19340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19341 *)
   19342   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19343   # A ".." for each directory in $ac_dir_suffix.
   19344   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19345   case $ac_top_builddir_sub in
   19346   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19347   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19348   esac ;;
   19349 esac
   19350 ac_abs_top_builddir=$ac_pwd
   19351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19352 # for backward compatibility:
   19353 ac_top_builddir=$ac_top_build_prefix
   19354 
   19355 case $srcdir in
   19356   .)  # We are building in place.
   19357     ac_srcdir=.
   19358     ac_top_srcdir=$ac_top_builddir_sub
   19359     ac_abs_top_srcdir=$ac_pwd ;;
   19360   [\\/]* | ?:[\\/]* )  # Absolute name.
   19361     ac_srcdir=$srcdir$ac_dir_suffix;
   19362     ac_top_srcdir=$srcdir
   19363     ac_abs_top_srcdir=$srcdir ;;
   19364   *) # Relative name.
   19365     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19366     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19367     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19368 esac
   19369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19370 
   19371 
   19372   case $ac_mode in
   19373   :F)
   19374   #
   19375   # CONFIG_FILE
   19376   #
   19377 
   19378   case $INSTALL in
   19379   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19380   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19381   esac
   19382   ac_MKDIR_P=$MKDIR_P
   19383   case $MKDIR_P in
   19384   [\\/$]* | ?:[\\/]* ) ;;
   19385   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19386   esac
   19387 _ACEOF
   19388 
   19389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19390 # If the template does not know about datarootdir, expand it.
   19391 # FIXME: This hack should be removed a few years after 2.60.
   19392 ac_datarootdir_hack=; ac_datarootdir_seen=
   19393 ac_sed_dataroot='
   19394 /datarootdir/ {
   19395   p
   19396   q
   19397 }
   19398 /@datadir@/p
   19399 /@docdir@/p
   19400 /@infodir@/p
   19401 /@localedir@/p
   19402 /@mandir@/p'
   19403 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19404 *datarootdir*) ac_datarootdir_seen=yes;;
   19405 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19406   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19407 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19408 _ACEOF
   19409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19410   ac_datarootdir_hack='
   19411   s&@datadir@&$datadir&g
   19412   s&@docdir@&$docdir&g
   19413   s&@infodir@&$infodir&g
   19414   s&@localedir@&$localedir&g
   19415   s&@mandir@&$mandir&g
   19416   s&\\\${datarootdir}&$datarootdir&g' ;;
   19417 esac
   19418 _ACEOF
   19419 
   19420 # Neutralize VPATH when `$srcdir' = `.'.
   19421 # Shell code in configure.ac might set extrasub.
   19422 # FIXME: do we really want to maintain this feature?
   19423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19424 ac_sed_extra="$ac_vpsub
   19425 $extrasub
   19426 _ACEOF
   19427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19428 :t
   19429 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19430 s|@configure_input@|$ac_sed_conf_input|;t t
   19431 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19432 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19433 s&@srcdir@&$ac_srcdir&;t t
   19434 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19435 s&@top_srcdir@&$ac_top_srcdir&;t t
   19436 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19437 s&@builddir@&$ac_builddir&;t t
   19438 s&@abs_builddir@&$ac_abs_builddir&;t t
   19439 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19440 s&@INSTALL@&$ac_INSTALL&;t t
   19441 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19442 $ac_datarootdir_hack
   19443 "
   19444 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19445   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19446 
   19447 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19448   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19449   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19450       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19451   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19452 which seems to be undefined.  Please make sure it is defined" >&5
   19453 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19454 which seems to be undefined.  Please make sure it is defined" >&2;}
   19455 
   19456   rm -f "$ac_tmp/stdin"
   19457   case $ac_file in
   19458   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19459   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19460   esac \
   19461   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19462  ;;
   19463 
   19464 
   19465   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19466 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19467  ;;
   19468   esac
   19469 
   19470 
   19471   case $ac_file$ac_mode in
   19472     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19473   # Older Autoconf quotes --file arguments for eval, but not when files
   19474   # are listed without --file.  Let's play safe and only enable the eval
   19475   # if we detect the quoting.
   19476   case $CONFIG_FILES in
   19477   *\'*) eval set x "$CONFIG_FILES" ;;
   19478   *)   set x $CONFIG_FILES ;;
   19479   esac
   19480   shift
   19481   for mf
   19482   do
   19483     # Strip MF so we end up with the name of the file.
   19484     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19485     # Check whether this is an Automake generated Makefile or not.
   19486     # We used to match only the files named 'Makefile.in', but
   19487     # some people rename them; so instead we look at the file content.
   19488     # Grep'ing the first line is not enough: some people post-process
   19489     # each Makefile.in and add a new line on top of each file to say so.
   19490     # Grep'ing the whole file is not good either: AIX grep has a line
   19491     # limit of 2048, but all sed's we know have understand at least 4000.
   19492     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19493       dirpart=`$as_dirname -- "$mf" ||
   19494 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19495 	 X"$mf" : 'X\(//\)[^/]' \| \
   19496 	 X"$mf" : 'X\(//\)$' \| \
   19497 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19498 $as_echo X"$mf" |
   19499     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19500 	    s//\1/
   19501 	    q
   19502 	  }
   19503 	  /^X\(\/\/\)[^/].*/{
   19504 	    s//\1/
   19505 	    q
   19506 	  }
   19507 	  /^X\(\/\/\)$/{
   19508 	    s//\1/
   19509 	    q
   19510 	  }
   19511 	  /^X\(\/\).*/{
   19512 	    s//\1/
   19513 	    q
   19514 	  }
   19515 	  s/.*/./; q'`
   19516     else
   19517       continue
   19518     fi
   19519     # Extract the definition of DEPDIR, am__include, and am__quote
   19520     # from the Makefile without running 'make'.
   19521     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19522     test -z "$DEPDIR" && continue
   19523     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19524     test -z "$am__include" && continue
   19525     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19526     # Find all dependency output files, they are included files with
   19527     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19528     # simplest approach to changing $(DEPDIR) to its actual value in the
   19529     # expansion.
   19530     for file in `sed -n "
   19531       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19532 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19533       # Make sure the directory exists.
   19534       test -f "$dirpart/$file" && continue
   19535       fdir=`$as_dirname -- "$file" ||
   19536 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19537 	 X"$file" : 'X\(//\)[^/]' \| \
   19538 	 X"$file" : 'X\(//\)$' \| \
   19539 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19540 $as_echo X"$file" |
   19541     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19542 	    s//\1/
   19543 	    q
   19544 	  }
   19545 	  /^X\(\/\/\)[^/].*/{
   19546 	    s//\1/
   19547 	    q
   19548 	  }
   19549 	  /^X\(\/\/\)$/{
   19550 	    s//\1/
   19551 	    q
   19552 	  }
   19553 	  /^X\(\/\).*/{
   19554 	    s//\1/
   19555 	    q
   19556 	  }
   19557 	  s/.*/./; q'`
   19558       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19559       # echo "creating $dirpart/$file"
   19560       echo '# dummy' > "$dirpart/$file"
   19561     done
   19562   done
   19563 }
   19564  ;;
   19565     "libtool":C)
   19566 
   19567     # See if we are running on zsh, and set the options which allow our
   19568     # commands through without removal of \ escapes.
   19569     if test -n "${ZSH_VERSION+set}" ; then
   19570       setopt NO_GLOB_SUBST
   19571     fi
   19572 
   19573     cfgfile="${ofile}T"
   19574     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19575     $RM "$cfgfile"
   19576 
   19577     cat <<_LT_EOF >> "$cfgfile"
   19578 #! $SHELL
   19579 
   19580 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19581 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19582 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19583 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19584 #
   19585 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19586 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19587 #                 Foundation, Inc.
   19588 #   Written by Gordon Matzigkeit, 1996
   19589 #
   19590 #   This file is part of GNU Libtool.
   19591 #
   19592 # GNU Libtool is free software; you can redistribute it and/or
   19593 # modify it under the terms of the GNU General Public License as
   19594 # published by the Free Software Foundation; either version 2 of
   19595 # the License, or (at your option) any later version.
   19596 #
   19597 # As a special exception to the GNU General Public License,
   19598 # if you distribute this file as part of a program or library that
   19599 # is built using GNU Libtool, you may include this file under the
   19600 # same distribution terms that you use for the rest of that program.
   19601 #
   19602 # GNU Libtool is distributed in the hope that it will be useful,
   19603 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19604 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19605 # GNU General Public License for more details.
   19606 #
   19607 # You should have received a copy of the GNU General Public License
   19608 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19609 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19610 # obtained by writing to the Free Software Foundation, Inc.,
   19611 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19612 
   19613 
   19614 # The names of the tagged configurations supported by this script.
   19615 available_tags="CXX "
   19616 
   19617 # ### BEGIN LIBTOOL CONFIG
   19618 
   19619 # Which release of libtool.m4 was used?
   19620 macro_version=$macro_version
   19621 macro_revision=$macro_revision
   19622 
   19623 # Whether or not to build shared libraries.
   19624 build_libtool_libs=$enable_shared
   19625 
   19626 # Whether or not to build static libraries.
   19627 build_old_libs=$enable_static
   19628 
   19629 # What type of objects to build.
   19630 pic_mode=$pic_mode
   19631 
   19632 # Whether or not to optimize for fast installation.
   19633 fast_install=$enable_fast_install
   19634 
   19635 # Shell to use when invoking shell scripts.
   19636 SHELL=$lt_SHELL
   19637 
   19638 # An echo program that protects backslashes.
   19639 ECHO=$lt_ECHO
   19640 
   19641 # The PATH separator for the build system.
   19642 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19643 
   19644 # The host system.
   19645 host_alias=$host_alias
   19646 host=$host
   19647 host_os=$host_os
   19648 
   19649 # The build system.
   19650 build_alias=$build_alias
   19651 build=$build
   19652 build_os=$build_os
   19653 
   19654 # A sed program that does not truncate output.
   19655 SED=$lt_SED
   19656 
   19657 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19658 Xsed="\$SED -e 1s/^X//"
   19659 
   19660 # A grep program that handles long lines.
   19661 GREP=$lt_GREP
   19662 
   19663 # An ERE matcher.
   19664 EGREP=$lt_EGREP
   19665 
   19666 # A literal string matcher.
   19667 FGREP=$lt_FGREP
   19668 
   19669 # A BSD- or MS-compatible name lister.
   19670 NM=$lt_NM
   19671 
   19672 # Whether we need soft or hard links.
   19673 LN_S=$lt_LN_S
   19674 
   19675 # What is the maximum length of a command?
   19676 max_cmd_len=$max_cmd_len
   19677 
   19678 # Object file suffix (normally "o").
   19679 objext=$ac_objext
   19680 
   19681 # Executable file suffix (normally "").
   19682 exeext=$exeext
   19683 
   19684 # whether the shell understands "unset".
   19685 lt_unset=$lt_unset
   19686 
   19687 # turn spaces into newlines.
   19688 SP2NL=$lt_lt_SP2NL
   19689 
   19690 # turn newlines into spaces.
   19691 NL2SP=$lt_lt_NL2SP
   19692 
   19693 # convert \$build file names to \$host format.
   19694 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19695 
   19696 # convert \$build files to toolchain format.
   19697 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19698 
   19699 # An object symbol dumper.
   19700 OBJDUMP=$lt_OBJDUMP
   19701 
   19702 # Method to check whether dependent libraries are shared objects.
   19703 deplibs_check_method=$lt_deplibs_check_method
   19704 
   19705 # Command to use when deplibs_check_method = "file_magic".
   19706 file_magic_cmd=$lt_file_magic_cmd
   19707 
   19708 # How to find potential files when deplibs_check_method = "file_magic".
   19709 file_magic_glob=$lt_file_magic_glob
   19710 
   19711 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19712 want_nocaseglob=$lt_want_nocaseglob
   19713 
   19714 # DLL creation program.
   19715 DLLTOOL=$lt_DLLTOOL
   19716 
   19717 # Command to associate shared and link libraries.
   19718 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19719 
   19720 # The archiver.
   19721 AR=$lt_AR
   19722 
   19723 # Flags to create an archive.
   19724 AR_FLAGS=$lt_AR_FLAGS
   19725 
   19726 # How to feed a file listing to the archiver.
   19727 archiver_list_spec=$lt_archiver_list_spec
   19728 
   19729 # A symbol stripping program.
   19730 STRIP=$lt_STRIP
   19731 
   19732 # Commands used to install an old-style archive.
   19733 RANLIB=$lt_RANLIB
   19734 old_postinstall_cmds=$lt_old_postinstall_cmds
   19735 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19736 
   19737 # Whether to use a lock for old archive extraction.
   19738 lock_old_archive_extraction=$lock_old_archive_extraction
   19739 
   19740 # A C compiler.
   19741 LTCC=$lt_CC
   19742 
   19743 # LTCC compiler flags.
   19744 LTCFLAGS=$lt_CFLAGS
   19745 
   19746 # Take the output of nm and produce a listing of raw symbols and C names.
   19747 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19748 
   19749 # Transform the output of nm in a proper C declaration.
   19750 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19751 
   19752 # Transform the output of nm in a C name address pair.
   19753 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19754 
   19755 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19756 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19757 
   19758 # Specify filename containing input files for \$NM.
   19759 nm_file_list_spec=$lt_nm_file_list_spec
   19760 
   19761 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19762 lt_sysroot=$lt_sysroot
   19763 
   19764 # The name of the directory that contains temporary libtool files.
   19765 objdir=$objdir
   19766 
   19767 # Used to examine libraries when file_magic_cmd begins with "file".
   19768 MAGIC_CMD=$MAGIC_CMD
   19769 
   19770 # Must we lock files when doing compilation?
   19771 need_locks=$lt_need_locks
   19772 
   19773 # Manifest tool.
   19774 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19775 
   19776 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19777 DSYMUTIL=$lt_DSYMUTIL
   19778 
   19779 # Tool to change global to local symbols on Mac OS X.
   19780 NMEDIT=$lt_NMEDIT
   19781 
   19782 # Tool to manipulate fat objects and archives on Mac OS X.
   19783 LIPO=$lt_LIPO
   19784 
   19785 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19786 OTOOL=$lt_OTOOL
   19787 
   19788 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19789 OTOOL64=$lt_OTOOL64
   19790 
   19791 # Old archive suffix (normally "a").
   19792 libext=$libext
   19793 
   19794 # Shared library suffix (normally ".so").
   19795 shrext_cmds=$lt_shrext_cmds
   19796 
   19797 # The commands to extract the exported symbol list from a shared archive.
   19798 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19799 
   19800 # Variables whose values should be saved in libtool wrapper scripts and
   19801 # restored at link time.
   19802 variables_saved_for_relink=$lt_variables_saved_for_relink
   19803 
   19804 # Do we need the "lib" prefix for modules?
   19805 need_lib_prefix=$need_lib_prefix
   19806 
   19807 # Do we need a version for libraries?
   19808 need_version=$need_version
   19809 
   19810 # Library versioning type.
   19811 version_type=$version_type
   19812 
   19813 # Shared library runtime path variable.
   19814 runpath_var=$runpath_var
   19815 
   19816 # Shared library path variable.
   19817 shlibpath_var=$shlibpath_var
   19818 
   19819 # Is shlibpath searched before the hard-coded library search path?
   19820 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19821 
   19822 # Format of library name prefix.
   19823 libname_spec=$lt_libname_spec
   19824 
   19825 # List of archive names.  First name is the real one, the rest are links.
   19826 # The last name is the one that the linker finds with -lNAME
   19827 library_names_spec=$lt_library_names_spec
   19828 
   19829 # The coded name of the library, if different from the real name.
   19830 soname_spec=$lt_soname_spec
   19831 
   19832 # Permission mode override for installation of shared libraries.
   19833 install_override_mode=$lt_install_override_mode
   19834 
   19835 # Command to use after installation of a shared archive.
   19836 postinstall_cmds=$lt_postinstall_cmds
   19837 
   19838 # Command to use after uninstallation of a shared archive.
   19839 postuninstall_cmds=$lt_postuninstall_cmds
   19840 
   19841 # Commands used to finish a libtool library installation in a directory.
   19842 finish_cmds=$lt_finish_cmds
   19843 
   19844 # As "finish_cmds", except a single script fragment to be evaled but
   19845 # not shown.
   19846 finish_eval=$lt_finish_eval
   19847 
   19848 # Whether we should hardcode library paths into libraries.
   19849 hardcode_into_libs=$hardcode_into_libs
   19850 
   19851 # Compile-time system search path for libraries.
   19852 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19853 
   19854 # Run-time system search path for libraries.
   19855 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19856 
   19857 # Whether dlopen is supported.
   19858 dlopen_support=$enable_dlopen
   19859 
   19860 # Whether dlopen of programs is supported.
   19861 dlopen_self=$enable_dlopen_self
   19862 
   19863 # Whether dlopen of statically linked programs is supported.
   19864 dlopen_self_static=$enable_dlopen_self_static
   19865 
   19866 # Commands to strip libraries.
   19867 old_striplib=$lt_old_striplib
   19868 striplib=$lt_striplib
   19869 
   19870 
   19871 # The linker used to build libraries.
   19872 LD=$lt_LD
   19873 
   19874 # How to create reloadable object files.
   19875 reload_flag=$lt_reload_flag
   19876 reload_cmds=$lt_reload_cmds
   19877 
   19878 # Commands used to build an old-style archive.
   19879 old_archive_cmds=$lt_old_archive_cmds
   19880 
   19881 # A language specific compiler.
   19882 CC=$lt_compiler
   19883 
   19884 # Is the compiler the GNU compiler?
   19885 with_gcc=$GCC
   19886 
   19887 # Compiler flag to turn off builtin functions.
   19888 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19889 
   19890 # Additional compiler flags for building library objects.
   19891 pic_flag=$lt_lt_prog_compiler_pic
   19892 
   19893 # How to pass a linker flag through the compiler.
   19894 wl=$lt_lt_prog_compiler_wl
   19895 
   19896 # Compiler flag to prevent dynamic linking.
   19897 link_static_flag=$lt_lt_prog_compiler_static
   19898 
   19899 # Does compiler simultaneously support -c and -o options?
   19900 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19901 
   19902 # Whether or not to add -lc for building shared libraries.
   19903 build_libtool_need_lc=$archive_cmds_need_lc
   19904 
   19905 # Whether or not to disallow shared libs when runtime libs are static.
   19906 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19907 
   19908 # Compiler flag to allow reflexive dlopens.
   19909 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19910 
   19911 # Compiler flag to generate shared objects directly from archives.
   19912 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19913 
   19914 # Whether the compiler copes with passing no objects directly.
   19915 compiler_needs_object=$lt_compiler_needs_object
   19916 
   19917 # Create an old-style archive from a shared archive.
   19918 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19919 
   19920 # Create a temporary old-style archive to link instead of a shared archive.
   19921 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19922 
   19923 # Commands used to build a shared archive.
   19924 archive_cmds=$lt_archive_cmds
   19925 archive_expsym_cmds=$lt_archive_expsym_cmds
   19926 
   19927 # Commands used to build a loadable module if different from building
   19928 # a shared archive.
   19929 module_cmds=$lt_module_cmds
   19930 module_expsym_cmds=$lt_module_expsym_cmds
   19931 
   19932 # Whether we are building with GNU ld or not.
   19933 with_gnu_ld=$lt_with_gnu_ld
   19934 
   19935 # Flag that allows shared libraries with undefined symbols to be built.
   19936 allow_undefined_flag=$lt_allow_undefined_flag
   19937 
   19938 # Flag that enforces no undefined symbols.
   19939 no_undefined_flag=$lt_no_undefined_flag
   19940 
   19941 # Flag to hardcode \$libdir into a binary during linking.
   19942 # This must work even if \$libdir does not exist
   19943 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19944 
   19945 # Whether we need a single "-rpath" flag with a separated argument.
   19946 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19947 
   19948 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19949 # DIR into the resulting binary.
   19950 hardcode_direct=$hardcode_direct
   19951 
   19952 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19953 # DIR into the resulting binary and the resulting library dependency is
   19954 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19955 # library is relocated.
   19956 hardcode_direct_absolute=$hardcode_direct_absolute
   19957 
   19958 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19959 # into the resulting binary.
   19960 hardcode_minus_L=$hardcode_minus_L
   19961 
   19962 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19963 # into the resulting binary.
   19964 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19965 
   19966 # Set to "yes" if building a shared library automatically hardcodes DIR
   19967 # into the library and all subsequent libraries and executables linked
   19968 # against it.
   19969 hardcode_automatic=$hardcode_automatic
   19970 
   19971 # Set to yes if linker adds runtime paths of dependent libraries
   19972 # to runtime path list.
   19973 inherit_rpath=$inherit_rpath
   19974 
   19975 # Whether libtool must link a program against all its dependency libraries.
   19976 link_all_deplibs=$link_all_deplibs
   19977 
   19978 # Set to "yes" if exported symbols are required.
   19979 always_export_symbols=$always_export_symbols
   19980 
   19981 # The commands to list exported symbols.
   19982 export_symbols_cmds=$lt_export_symbols_cmds
   19983 
   19984 # Symbols that should not be listed in the preloaded symbols.
   19985 exclude_expsyms=$lt_exclude_expsyms
   19986 
   19987 # Symbols that must always be exported.
   19988 include_expsyms=$lt_include_expsyms
   19989 
   19990 # Commands necessary for linking programs (against libraries) with templates.
   19991 prelink_cmds=$lt_prelink_cmds
   19992 
   19993 # Commands necessary for finishing linking programs.
   19994 postlink_cmds=$lt_postlink_cmds
   19995 
   19996 # Specify filename containing input files.
   19997 file_list_spec=$lt_file_list_spec
   19998 
   19999 # How to hardcode a shared library path into an executable.
   20000 hardcode_action=$hardcode_action
   20001 
   20002 # The directories searched by this compiler when creating a shared library.
   20003 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   20004 
   20005 # Dependencies to place before and after the objects being linked to
   20006 # create a shared library.
   20007 predep_objects=$lt_predep_objects
   20008 postdep_objects=$lt_postdep_objects
   20009 predeps=$lt_predeps
   20010 postdeps=$lt_postdeps
   20011 
   20012 # The library search path used internally by the compiler when linking
   20013 # a shared library.
   20014 compiler_lib_search_path=$lt_compiler_lib_search_path
   20015 
   20016 # ### END LIBTOOL CONFIG
   20017 
   20018 _LT_EOF
   20019 
   20020   case $host_os in
   20021   aix3*)
   20022     cat <<\_LT_EOF >> "$cfgfile"
   20023 # AIX sometimes has problems with the GCC collect2 program.  For some
   20024 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20025 # vanish in a puff of smoke.
   20026 if test "X${COLLECT_NAMES+set}" != Xset; then
   20027   COLLECT_NAMES=
   20028   export COLLECT_NAMES
   20029 fi
   20030 _LT_EOF
   20031     ;;
   20032   esac
   20033 
   20034 
   20035 ltmain="$ac_aux_dir/ltmain.sh"
   20036 
   20037 
   20038   # We use sed instead of cat because bash on DJGPP gets confused if
   20039   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20040   # text mode, it properly converts lines to CR/LF.  This bash problem
   20041   # is reportedly fixed, but why not run on old versions too?
   20042   sed '$q' "$ltmain" >> "$cfgfile" \
   20043      || (rm -f "$cfgfile"; exit 1)
   20044 
   20045   if test x"$xsi_shell" = xyes; then
   20046   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20047 func_dirname ()\
   20048 {\
   20049 \    case ${1} in\
   20050 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20051 \      *  ) func_dirname_result="${3}" ;;\
   20052 \    esac\
   20053 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20054   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20055     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20056 test 0 -eq $? || _lt_function_replace_fail=:
   20057 
   20058 
   20059   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20060 func_basename ()\
   20061 {\
   20062 \    func_basename_result="${1##*/}"\
   20063 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20064   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20065     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20066 test 0 -eq $? || _lt_function_replace_fail=:
   20067 
   20068 
   20069   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20070 func_dirname_and_basename ()\
   20071 {\
   20072 \    case ${1} in\
   20073 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20074 \      *  ) func_dirname_result="${3}" ;;\
   20075 \    esac\
   20076 \    func_basename_result="${1##*/}"\
   20077 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20078   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20079     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20080 test 0 -eq $? || _lt_function_replace_fail=:
   20081 
   20082 
   20083   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20084 func_stripname ()\
   20085 {\
   20086 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20087 \    # positional parameters, so assign one to ordinary parameter first.\
   20088 \    func_stripname_result=${3}\
   20089 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20090 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20091 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20092   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20093     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20094 test 0 -eq $? || _lt_function_replace_fail=:
   20095 
   20096 
   20097   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20098 func_split_long_opt ()\
   20099 {\
   20100 \    func_split_long_opt_name=${1%%=*}\
   20101 \    func_split_long_opt_arg=${1#*=}\
   20102 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20103   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20104     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20105 test 0 -eq $? || _lt_function_replace_fail=:
   20106 
   20107 
   20108   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20109 func_split_short_opt ()\
   20110 {\
   20111 \    func_split_short_opt_arg=${1#??}\
   20112 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20113 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20114   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20115     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20116 test 0 -eq $? || _lt_function_replace_fail=:
   20117 
   20118 
   20119   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20120 func_lo2o ()\
   20121 {\
   20122 \    case ${1} in\
   20123 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20124 \      *)    func_lo2o_result=${1} ;;\
   20125 \    esac\
   20126 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20127   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20128     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20129 test 0 -eq $? || _lt_function_replace_fail=:
   20130 
   20131 
   20132   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20133 func_xform ()\
   20134 {\
   20135     func_xform_result=${1%.*}.lo\
   20136 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20137   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20138     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20139 test 0 -eq $? || _lt_function_replace_fail=:
   20140 
   20141 
   20142   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20143 func_arith ()\
   20144 {\
   20145     func_arith_result=$(( $* ))\
   20146 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20147   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20148     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20149 test 0 -eq $? || _lt_function_replace_fail=:
   20150 
   20151 
   20152   sed -e '/^func_len ()$/,/^} # func_len /c\
   20153 func_len ()\
   20154 {\
   20155     func_len_result=${#1}\
   20156 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20157   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20158     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20159 test 0 -eq $? || _lt_function_replace_fail=:
   20160 
   20161 fi
   20162 
   20163 if test x"$lt_shell_append" = xyes; then
   20164   sed -e '/^func_append ()$/,/^} # func_append /c\
   20165 func_append ()\
   20166 {\
   20167     eval "${1}+=\\${2}"\
   20168 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20169   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20170     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20171 test 0 -eq $? || _lt_function_replace_fail=:
   20172 
   20173 
   20174   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20175 func_append_quoted ()\
   20176 {\
   20177 \    func_quote_for_eval "${2}"\
   20178 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20179 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20180   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20181     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20182 test 0 -eq $? || _lt_function_replace_fail=:
   20183 
   20184 
   20185   # Save a `func_append' function call where possible by direct use of '+='
   20186   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20187     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20188       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20189   test 0 -eq $? || _lt_function_replace_fail=:
   20190 else
   20191   # Save a `func_append' function call even when '+=' is not available
   20192   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20193     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20194       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20195   test 0 -eq $? || _lt_function_replace_fail=:
   20196 fi
   20197 
   20198 if test x"$_lt_function_replace_fail" = x":"; then
   20199   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20200 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20201 fi
   20202 
   20203 
   20204    mv -f "$cfgfile" "$ofile" ||
   20205     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20206   chmod +x "$ofile"
   20207 
   20208 
   20209     cat <<_LT_EOF >> "$ofile"
   20210 
   20211 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   20212 
   20213 # The linker used to build libraries.
   20214 LD=$lt_LD_CXX
   20215 
   20216 # How to create reloadable object files.
   20217 reload_flag=$lt_reload_flag_CXX
   20218 reload_cmds=$lt_reload_cmds_CXX
   20219 
   20220 # Commands used to build an old-style archive.
   20221 old_archive_cmds=$lt_old_archive_cmds_CXX
   20222 
   20223 # A language specific compiler.
   20224 CC=$lt_compiler_CXX
   20225 
   20226 # Is the compiler the GNU compiler?
   20227 with_gcc=$GCC_CXX
   20228 
   20229 # Compiler flag to turn off builtin functions.
   20230 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   20231 
   20232 # Additional compiler flags for building library objects.
   20233 pic_flag=$lt_lt_prog_compiler_pic_CXX
   20234 
   20235 # How to pass a linker flag through the compiler.
   20236 wl=$lt_lt_prog_compiler_wl_CXX
   20237 
   20238 # Compiler flag to prevent dynamic linking.
   20239 link_static_flag=$lt_lt_prog_compiler_static_CXX
   20240 
   20241 # Does compiler simultaneously support -c and -o options?
   20242 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   20243 
   20244 # Whether or not to add -lc for building shared libraries.
   20245 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   20246 
   20247 # Whether or not to disallow shared libs when runtime libs are static.
   20248 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   20249 
   20250 # Compiler flag to allow reflexive dlopens.
   20251 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   20252 
   20253 # Compiler flag to generate shared objects directly from archives.
   20254 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   20255 
   20256 # Whether the compiler copes with passing no objects directly.
   20257 compiler_needs_object=$lt_compiler_needs_object_CXX
   20258 
   20259 # Create an old-style archive from a shared archive.
   20260 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   20261 
   20262 # Create a temporary old-style archive to link instead of a shared archive.
   20263 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   20264 
   20265 # Commands used to build a shared archive.
   20266 archive_cmds=$lt_archive_cmds_CXX
   20267 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   20268 
   20269 # Commands used to build a loadable module if different from building
   20270 # a shared archive.
   20271 module_cmds=$lt_module_cmds_CXX
   20272 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   20273 
   20274 # Whether we are building with GNU ld or not.
   20275 with_gnu_ld=$lt_with_gnu_ld_CXX
   20276 
   20277 # Flag that allows shared libraries with undefined symbols to be built.
   20278 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   20279 
   20280 # Flag that enforces no undefined symbols.
   20281 no_undefined_flag=$lt_no_undefined_flag_CXX
   20282 
   20283 # Flag to hardcode \$libdir into a binary during linking.
   20284 # This must work even if \$libdir does not exist
   20285 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   20286 
   20287 # Whether we need a single "-rpath" flag with a separated argument.
   20288 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   20289 
   20290 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20291 # DIR into the resulting binary.
   20292 hardcode_direct=$hardcode_direct_CXX
   20293 
   20294 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20295 # DIR into the resulting binary and the resulting library dependency is
   20296 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20297 # library is relocated.
   20298 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   20299 
   20300 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20301 # into the resulting binary.
   20302 hardcode_minus_L=$hardcode_minus_L_CXX
   20303 
   20304 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20305 # into the resulting binary.
   20306 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   20307 
   20308 # Set to "yes" if building a shared library automatically hardcodes DIR
   20309 # into the library and all subsequent libraries and executables linked
   20310 # against it.
   20311 hardcode_automatic=$hardcode_automatic_CXX
   20312 
   20313 # Set to yes if linker adds runtime paths of dependent libraries
   20314 # to runtime path list.
   20315 inherit_rpath=$inherit_rpath_CXX
   20316 
   20317 # Whether libtool must link a program against all its dependency libraries.
   20318 link_all_deplibs=$link_all_deplibs_CXX
   20319 
   20320 # Set to "yes" if exported symbols are required.
   20321 always_export_symbols=$always_export_symbols_CXX
   20322 
   20323 # The commands to list exported symbols.
   20324 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   20325 
   20326 # Symbols that should not be listed in the preloaded symbols.
   20327 exclude_expsyms=$lt_exclude_expsyms_CXX
   20328 
   20329 # Symbols that must always be exported.
   20330 include_expsyms=$lt_include_expsyms_CXX
   20331 
   20332 # Commands necessary for linking programs (against libraries) with templates.
   20333 prelink_cmds=$lt_prelink_cmds_CXX
   20334 
   20335 # Commands necessary for finishing linking programs.
   20336 postlink_cmds=$lt_postlink_cmds_CXX
   20337 
   20338 # Specify filename containing input files.
   20339 file_list_spec=$lt_file_list_spec_CXX
   20340 
   20341 # How to hardcode a shared library path into an executable.
   20342 hardcode_action=$hardcode_action_CXX
   20343 
   20344 # The directories searched by this compiler when creating a shared library.
   20345 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   20346 
   20347 # Dependencies to place before and after the objects being linked to
   20348 # create a shared library.
   20349 predep_objects=$lt_predep_objects_CXX
   20350 postdep_objects=$lt_postdep_objects_CXX
   20351 predeps=$lt_predeps_CXX
   20352 postdeps=$lt_postdeps_CXX
   20353 
   20354 # The library search path used internally by the compiler when linking
   20355 # a shared library.
   20356 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   20357 
   20358 # ### END LIBTOOL TAG CONFIG: CXX
   20359 _LT_EOF
   20360 
   20361  ;;
   20362 
   20363   esac
   20364 done # for ac_tag
   20365 
   20366 
   20367 as_fn_exit 0
   20368 _ACEOF
   20369 ac_clean_files=$ac_clean_files_save
   20370 
   20371 test $ac_write_fail = 0 ||
   20372   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20373 
   20374 
   20375 # configure is writing to config.log, and then calls config.status.
   20376 # config.status does its own redirection, appending to config.log.
   20377 # Unfortunately, on DOS this fails, as config.log is still kept open
   20378 # by configure, so config.status won't be able to write to it; its
   20379 # output is simply discarded.  So we exec the FD to /dev/null,
   20380 # effectively closing config.log, so it can be properly (re)opened and
   20381 # appended to by config.status.  When coming back to configure, we
   20382 # need to make the FD available again.
   20383 if test "$no_create" != yes; then
   20384   ac_cs_success=:
   20385   ac_config_status_args=
   20386   test "$silent" = yes &&
   20387     ac_config_status_args="$ac_config_status_args --quiet"
   20388   exec 5>/dev/null
   20389   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20390   exec 5>>config.log
   20391   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20392   # would make configure fail if this is the last instruction.
   20393   $ac_cs_success || as_fn_exit 1
   20394 fi
   20395 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20396   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20397 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20398 fi
   20399 
   20400