Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for libXxf86dga 1.1.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (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 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$lt_ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 ECHO=${lt_ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $ECHO works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<_LT_EOF
    606 $*
    607 _LT_EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$lt_ECHO"; then
    616   if test "X${echo_test_string+set}" != Xset; then
    617     # find a string as large as possible, as long as the shell can cope with it
    618     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    621 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    622       then
    623         break
    624       fi
    625     done
    626   fi
    627 
    628   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    629      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    630      test "X$echo_testing_string" = "X$echo_test_string"; then
    631     :
    632   else
    633     # The Solaris, AIX, and Digital Unix default echo programs unquote
    634     # backslashes.  This makes it impossible to quote backslashes using
    635     #   echo "$something" | sed 's/\\/\\\\/g'
    636     #
    637     # So, first we look for a working echo in the user's PATH.
    638 
    639     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    640     for dir in $PATH /usr/ucb; do
    641       IFS="$lt_save_ifs"
    642       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    643          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    644          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    645          test "X$echo_testing_string" = "X$echo_test_string"; then
    646         ECHO="$dir/echo"
    647         break
    648       fi
    649     done
    650     IFS="$lt_save_ifs"
    651 
    652     if test "X$ECHO" = Xecho; then
    653       # We didn't find a better echo, so look for alternatives.
    654       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    655          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    656          test "X$echo_testing_string" = "X$echo_test_string"; then
    657         # This shell has a builtin print -r that does the trick.
    658         ECHO='print -r'
    659       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    660 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    661         # If we have ksh, try running configure again with it.
    662         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    663         export ORIGINAL_CONFIG_SHELL
    664         CONFIG_SHELL=/bin/ksh
    665         export CONFIG_SHELL
    666         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    667       else
    668         # Try using printf.
    669         ECHO='printf %s\n'
    670         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    671 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    672 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    673 	  # Cool, printf works
    674 	  :
    675         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    676 	     test "X$echo_testing_string" = 'X\t' &&
    677 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    678 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    679 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    680 	  export CONFIG_SHELL
    681 	  SHELL="$CONFIG_SHELL"
    682 	  export SHELL
    683 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    684         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    685 	     test "X$echo_testing_string" = 'X\t' &&
    686 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    687 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    688 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    689         else
    690 	  # maybe with a smaller string...
    691 	  prev=:
    692 
    693 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    694 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    695 	    then
    696 	      break
    697 	    fi
    698 	    prev="$cmd"
    699 	  done
    700 
    701 	  if test "$prev" != 'sed 50q "$0"'; then
    702 	    echo_test_string=`eval $prev`
    703 	    export echo_test_string
    704 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    705 	  else
    706 	    # Oops.  We lost completely, so just stick with echo.
    707 	    ECHO=echo
    708 	  fi
    709         fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 
    715 # Copy echo and quote the copy suitably for passing to libtool from
    716 # the Makefile, instead of quoting the original, which is used later.
    717 lt_ECHO=$ECHO
    718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    719    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    720 fi
    721 
    722 
    723 
    724 
    725 exec 7<&0 </dev/null 6>&1
    726 
    727 # Name of the host.
    728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    729 # so uname gets run too.
    730 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    731 
    732 #
    733 # Initializations.
    734 #
    735 ac_default_prefix=/usr/local
    736 ac_clean_files=
    737 ac_config_libobj_dir=.
    738 LIBOBJS=
    739 cross_compiling=no
    740 subdirs=
    741 MFLAGS=
    742 MAKEFLAGS=
    743 SHELL=${CONFIG_SHELL-/bin/sh}
    744 
    745 # Identity of this package.
    746 PACKAGE_NAME='libXxf86dga'
    747 PACKAGE_TARNAME='libXxf86dga'
    748 PACKAGE_VERSION='1.1.1'
    749 PACKAGE_STRING='libXxf86dga 1.1.1'
    750 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    751 
    752 # Factoring default headers for most tests.
    753 ac_includes_default="\
    754 #include <stdio.h>
    755 #ifdef HAVE_SYS_TYPES_H
    756 # include <sys/types.h>
    757 #endif
    758 #ifdef HAVE_SYS_STAT_H
    759 # include <sys/stat.h>
    760 #endif
    761 #ifdef STDC_HEADERS
    762 # include <stdlib.h>
    763 # include <stddef.h>
    764 #else
    765 # ifdef HAVE_STDLIB_H
    766 #  include <stdlib.h>
    767 # endif
    768 #endif
    769 #ifdef HAVE_STRING_H
    770 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    771 #  include <memory.h>
    772 # endif
    773 # include <string.h>
    774 #endif
    775 #ifdef HAVE_STRINGS_H
    776 # include <strings.h>
    777 #endif
    778 #ifdef HAVE_INTTYPES_H
    779 # include <inttypes.h>
    780 #endif
    781 #ifdef HAVE_STDINT_H
    782 # include <stdint.h>
    783 #endif
    784 #ifdef HAVE_UNISTD_H
    785 # include <unistd.h>
    786 #endif"
    787 
    788 ac_subst_vars='am__EXEEXT_FALSE
    789 am__EXEEXT_TRUE
    790 LTLIBOBJS
    791 LIBOBJS
    792 XTMALLOC_ZERO_CFLAGS
    793 XMALLOC_ZERO_CFLAGS
    794 MALLOC_ZERO_CFLAGS
    795 XXF86DGA_LIBS
    796 XXF86DGA_CFLAGS
    797 PKG_CONFIG
    798 ADMIN_MAN_DIR
    799 DRIVER_MAN_DIR
    800 MISC_MAN_DIR
    801 FILE_MAN_DIR
    802 LIB_MAN_DIR
    803 APP_MAN_DIR
    804 ADMIN_MAN_SUFFIX
    805 DRIVER_MAN_SUFFIX
    806 MISC_MAN_SUFFIX
    807 FILE_MAN_SUFFIX
    808 LIB_MAN_SUFFIX
    809 APP_MAN_SUFFIX
    810 distcleancheck_listfiles
    811 CHANGELOG_CMD
    812 AM_BACKSLASH
    813 AM_DEFAULT_VERBOSITY
    814 CWARNFLAGS
    815 CPP
    816 OTOOL64
    817 OTOOL
    818 LIPO
    819 NMEDIT
    820 DSYMUTIL
    821 lt_ECHO
    822 RANLIB
    823 AR
    824 OBJDUMP
    825 LN_S
    826 NM
    827 ac_ct_DUMPBIN
    828 DUMPBIN
    829 LD
    830 FGREP
    831 EGREP
    832 GREP
    833 SED
    834 host_os
    835 host_vendor
    836 host_cpu
    837 host
    838 build_os
    839 build_vendor
    840 build_cpu
    841 build
    842 LIBTOOL
    843 am__fastdepCC_FALSE
    844 am__fastdepCC_TRUE
    845 CCDEPMODE
    846 AMDEPBACKSLASH
    847 AMDEP_FALSE
    848 AMDEP_TRUE
    849 am__quote
    850 am__include
    851 DEPDIR
    852 OBJEXT
    853 EXEEXT
    854 ac_ct_CC
    855 CPPFLAGS
    856 LDFLAGS
    857 CFLAGS
    858 CC
    859 MAINT
    860 MAINTAINER_MODE_FALSE
    861 MAINTAINER_MODE_TRUE
    862 am__untar
    863 am__tar
    864 AMTAR
    865 am__leading_dot
    866 SET_MAKE
    867 AWK
    868 mkdir_p
    869 MKDIR_P
    870 INSTALL_STRIP_PROGRAM
    871 STRIP
    872 install_sh
    873 MAKEINFO
    874 AUTOHEADER
    875 AUTOMAKE
    876 AUTOCONF
    877 ACLOCAL
    878 VERSION
    879 PACKAGE
    880 CYGPATH_W
    881 am__isrc
    882 INSTALL_DATA
    883 INSTALL_SCRIPT
    884 INSTALL_PROGRAM
    885 target_alias
    886 host_alias
    887 build_alias
    888 LIBS
    889 ECHO_T
    890 ECHO_N
    891 ECHO_C
    892 DEFS
    893 mandir
    894 localedir
    895 libdir
    896 psdir
    897 pdfdir
    898 dvidir
    899 htmldir
    900 infodir
    901 docdir
    902 oldincludedir
    903 includedir
    904 localstatedir
    905 sharedstatedir
    906 sysconfdir
    907 datadir
    908 datarootdir
    909 libexecdir
    910 sbindir
    911 bindir
    912 program_transform_name
    913 prefix
    914 exec_prefix
    915 PACKAGE_BUGREPORT
    916 PACKAGE_STRING
    917 PACKAGE_VERSION
    918 PACKAGE_TARNAME
    919 PACKAGE_NAME
    920 PATH_SEPARATOR
    921 SHELL'
    922 ac_subst_files=''
    923 ac_user_opts='
    924 enable_option_checking
    925 enable_maintainer_mode
    926 enable_dependency_tracking
    927 enable_shared
    928 enable_static
    929 with_pic
    930 enable_fast_install
    931 with_gnu_ld
    932 enable_libtool_lock
    933 enable_silent_rules
    934 enable_strict_compilation
    935 with_release_version
    936 enable_malloc0returnsnull
    937 '
    938       ac_precious_vars='build_alias
    939 host_alias
    940 target_alias
    941 CC
    942 CFLAGS
    943 LDFLAGS
    944 LIBS
    945 CPPFLAGS
    946 CPP
    947 PKG_CONFIG
    948 XXF86DGA_CFLAGS
    949 XXF86DGA_LIBS'
    950 
    951 
    952 # Initialize some variables set by options.
    953 ac_init_help=
    954 ac_init_version=false
    955 ac_unrecognized_opts=
    956 ac_unrecognized_sep=
    957 # The variables have the same names as the options, with
    958 # dashes changed to underlines.
    959 cache_file=/dev/null
    960 exec_prefix=NONE
    961 no_create=
    962 no_recursion=
    963 prefix=NONE
    964 program_prefix=NONE
    965 program_suffix=NONE
    966 program_transform_name=s,x,x,
    967 silent=
    968 site=
    969 srcdir=
    970 verbose=
    971 x_includes=NONE
    972 x_libraries=NONE
    973 
    974 # Installation directory options.
    975 # These are left unexpanded so users can "make install exec_prefix=/foo"
    976 # and all the variables that are supposed to be based on exec_prefix
    977 # by default will actually change.
    978 # Use braces instead of parens because sh, perl, etc. also accept them.
    979 # (The list follows the same order as the GNU Coding Standards.)
    980 bindir='${exec_prefix}/bin'
    981 sbindir='${exec_prefix}/sbin'
    982 libexecdir='${exec_prefix}/libexec'
    983 datarootdir='${prefix}/share'
    984 datadir='${datarootdir}'
    985 sysconfdir='${prefix}/etc'
    986 sharedstatedir='${prefix}/com'
    987 localstatedir='${prefix}/var'
    988 includedir='${prefix}/include'
    989 oldincludedir='/usr/include'
    990 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    991 infodir='${datarootdir}/info'
    992 htmldir='${docdir}'
    993 dvidir='${docdir}'
    994 pdfdir='${docdir}'
    995 psdir='${docdir}'
    996 libdir='${exec_prefix}/lib'
    997 localedir='${datarootdir}/locale'
    998 mandir='${datarootdir}/man'
    999 
   1000 ac_prev=
   1001 ac_dashdash=
   1002 for ac_option
   1003 do
   1004   # If the previous option needs an argument, assign it.
   1005   if test -n "$ac_prev"; then
   1006     eval $ac_prev=\$ac_option
   1007     ac_prev=
   1008     continue
   1009   fi
   1010 
   1011   case $ac_option in
   1012   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1013   *)	ac_optarg=yes ;;
   1014   esac
   1015 
   1016   # Accept the important Cygnus configure options, so we can diagnose typos.
   1017 
   1018   case $ac_dashdash$ac_option in
   1019   --)
   1020     ac_dashdash=yes ;;
   1021 
   1022   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1023     ac_prev=bindir ;;
   1024   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1025     bindir=$ac_optarg ;;
   1026 
   1027   -build | --build | --buil | --bui | --bu)
   1028     ac_prev=build_alias ;;
   1029   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1030     build_alias=$ac_optarg ;;
   1031 
   1032   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1033   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1034     ac_prev=cache_file ;;
   1035   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1036   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1037     cache_file=$ac_optarg ;;
   1038 
   1039   --config-cache | -C)
   1040     cache_file=config.cache ;;
   1041 
   1042   -datadir | --datadir | --datadi | --datad)
   1043     ac_prev=datadir ;;
   1044   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1045     datadir=$ac_optarg ;;
   1046 
   1047   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1048   | --dataroo | --dataro | --datar)
   1049     ac_prev=datarootdir ;;
   1050   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1051   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1052     datarootdir=$ac_optarg ;;
   1053 
   1054   -disable-* | --disable-*)
   1055     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1056     # Reject names that are not valid shell variable names.
   1057     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1058       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1059    { (exit 1); exit 1; }; }
   1060     ac_useropt_orig=$ac_useropt
   1061     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1062     case $ac_user_opts in
   1063       *"
   1064 "enable_$ac_useropt"
   1065 "*) ;;
   1066       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1067 	 ac_unrecognized_sep=', ';;
   1068     esac
   1069     eval enable_$ac_useropt=no ;;
   1070 
   1071   -docdir | --docdir | --docdi | --doc | --do)
   1072     ac_prev=docdir ;;
   1073   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1074     docdir=$ac_optarg ;;
   1075 
   1076   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1077     ac_prev=dvidir ;;
   1078   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1079     dvidir=$ac_optarg ;;
   1080 
   1081   -enable-* | --enable-*)
   1082     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1083     # Reject names that are not valid shell variable names.
   1084     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1085       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1086    { (exit 1); exit 1; }; }
   1087     ac_useropt_orig=$ac_useropt
   1088     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1089     case $ac_user_opts in
   1090       *"
   1091 "enable_$ac_useropt"
   1092 "*) ;;
   1093       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1094 	 ac_unrecognized_sep=', ';;
   1095     esac
   1096     eval enable_$ac_useropt=\$ac_optarg ;;
   1097 
   1098   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1099   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1100   | --exec | --exe | --ex)
   1101     ac_prev=exec_prefix ;;
   1102   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1103   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1104   | --exec=* | --exe=* | --ex=*)
   1105     exec_prefix=$ac_optarg ;;
   1106 
   1107   -gas | --gas | --ga | --g)
   1108     # Obsolete; use --with-gas.
   1109     with_gas=yes ;;
   1110 
   1111   -help | --help | --hel | --he | -h)
   1112     ac_init_help=long ;;
   1113   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1114     ac_init_help=recursive ;;
   1115   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1116     ac_init_help=short ;;
   1117 
   1118   -host | --host | --hos | --ho)
   1119     ac_prev=host_alias ;;
   1120   -host=* | --host=* | --hos=* | --ho=*)
   1121     host_alias=$ac_optarg ;;
   1122 
   1123   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1124     ac_prev=htmldir ;;
   1125   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1126   | --ht=*)
   1127     htmldir=$ac_optarg ;;
   1128 
   1129   -includedir | --includedir | --includedi | --included | --include \
   1130   | --includ | --inclu | --incl | --inc)
   1131     ac_prev=includedir ;;
   1132   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1133   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1134     includedir=$ac_optarg ;;
   1135 
   1136   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1137     ac_prev=infodir ;;
   1138   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1139     infodir=$ac_optarg ;;
   1140 
   1141   -libdir | --libdir | --libdi | --libd)
   1142     ac_prev=libdir ;;
   1143   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1144     libdir=$ac_optarg ;;
   1145 
   1146   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1147   | --libexe | --libex | --libe)
   1148     ac_prev=libexecdir ;;
   1149   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1150   | --libexe=* | --libex=* | --libe=*)
   1151     libexecdir=$ac_optarg ;;
   1152 
   1153   -localedir | --localedir | --localedi | --localed | --locale)
   1154     ac_prev=localedir ;;
   1155   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1156     localedir=$ac_optarg ;;
   1157 
   1158   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1159   | --localstate | --localstat | --localsta | --localst | --locals)
   1160     ac_prev=localstatedir ;;
   1161   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1162   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1163     localstatedir=$ac_optarg ;;
   1164 
   1165   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1166     ac_prev=mandir ;;
   1167   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1168     mandir=$ac_optarg ;;
   1169 
   1170   -nfp | --nfp | --nf)
   1171     # Obsolete; use --without-fp.
   1172     with_fp=no ;;
   1173 
   1174   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1175   | --no-cr | --no-c | -n)
   1176     no_create=yes ;;
   1177 
   1178   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1179   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1180     no_recursion=yes ;;
   1181 
   1182   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1183   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1184   | --oldin | --oldi | --old | --ol | --o)
   1185     ac_prev=oldincludedir ;;
   1186   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1187   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1188   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1189     oldincludedir=$ac_optarg ;;
   1190 
   1191   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1192     ac_prev=prefix ;;
   1193   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1194     prefix=$ac_optarg ;;
   1195 
   1196   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1197   | --program-pre | --program-pr | --program-p)
   1198     ac_prev=program_prefix ;;
   1199   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1200   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1201     program_prefix=$ac_optarg ;;
   1202 
   1203   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1204   | --program-suf | --program-su | --program-s)
   1205     ac_prev=program_suffix ;;
   1206   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1207   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1208     program_suffix=$ac_optarg ;;
   1209 
   1210   -program-transform-name | --program-transform-name \
   1211   | --program-transform-nam | --program-transform-na \
   1212   | --program-transform-n | --program-transform- \
   1213   | --program-transform | --program-transfor \
   1214   | --program-transfo | --program-transf \
   1215   | --program-trans | --program-tran \
   1216   | --progr-tra | --program-tr | --program-t)
   1217     ac_prev=program_transform_name ;;
   1218   -program-transform-name=* | --program-transform-name=* \
   1219   | --program-transform-nam=* | --program-transform-na=* \
   1220   | --program-transform-n=* | --program-transform-=* \
   1221   | --program-transform=* | --program-transfor=* \
   1222   | --program-transfo=* | --program-transf=* \
   1223   | --program-trans=* | --program-tran=* \
   1224   | --progr-tra=* | --program-tr=* | --program-t=*)
   1225     program_transform_name=$ac_optarg ;;
   1226 
   1227   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1228     ac_prev=pdfdir ;;
   1229   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1230     pdfdir=$ac_optarg ;;
   1231 
   1232   -psdir | --psdir | --psdi | --psd | --ps)
   1233     ac_prev=psdir ;;
   1234   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1235     psdir=$ac_optarg ;;
   1236 
   1237   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1238   | -silent | --silent | --silen | --sile | --sil)
   1239     silent=yes ;;
   1240 
   1241   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1242     ac_prev=sbindir ;;
   1243   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1244   | --sbi=* | --sb=*)
   1245     sbindir=$ac_optarg ;;
   1246 
   1247   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1248   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1249   | --sharedst | --shareds | --shared | --share | --shar \
   1250   | --sha | --sh)
   1251     ac_prev=sharedstatedir ;;
   1252   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1253   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1254   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1255   | --sha=* | --sh=*)
   1256     sharedstatedir=$ac_optarg ;;
   1257 
   1258   -site | --site | --sit)
   1259     ac_prev=site ;;
   1260   -site=* | --site=* | --sit=*)
   1261     site=$ac_optarg ;;
   1262 
   1263   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1264     ac_prev=srcdir ;;
   1265   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1266     srcdir=$ac_optarg ;;
   1267 
   1268   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1269   | --syscon | --sysco | --sysc | --sys | --sy)
   1270     ac_prev=sysconfdir ;;
   1271   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1272   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1273     sysconfdir=$ac_optarg ;;
   1274 
   1275   -target | --target | --targe | --targ | --tar | --ta | --t)
   1276     ac_prev=target_alias ;;
   1277   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1278     target_alias=$ac_optarg ;;
   1279 
   1280   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1281     verbose=yes ;;
   1282 
   1283   -version | --version | --versio | --versi | --vers | -V)
   1284     ac_init_version=: ;;
   1285 
   1286   -with-* | --with-*)
   1287     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1288     # Reject names that are not valid shell variable names.
   1289     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1290       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1291    { (exit 1); exit 1; }; }
   1292     ac_useropt_orig=$ac_useropt
   1293     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1294     case $ac_user_opts in
   1295       *"
   1296 "with_$ac_useropt"
   1297 "*) ;;
   1298       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1299 	 ac_unrecognized_sep=', ';;
   1300     esac
   1301     eval with_$ac_useropt=\$ac_optarg ;;
   1302 
   1303   -without-* | --without-*)
   1304     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1305     # Reject names that are not valid shell variable names.
   1306     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1307       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1308    { (exit 1); exit 1; }; }
   1309     ac_useropt_orig=$ac_useropt
   1310     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1311     case $ac_user_opts in
   1312       *"
   1313 "with_$ac_useropt"
   1314 "*) ;;
   1315       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1316 	 ac_unrecognized_sep=', ';;
   1317     esac
   1318     eval with_$ac_useropt=no ;;
   1319 
   1320   --x)
   1321     # Obsolete; use --with-x.
   1322     with_x=yes ;;
   1323 
   1324   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1325   | --x-incl | --x-inc | --x-in | --x-i)
   1326     ac_prev=x_includes ;;
   1327   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1328   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1329     x_includes=$ac_optarg ;;
   1330 
   1331   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1332   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1333     ac_prev=x_libraries ;;
   1334   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1335   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1336     x_libraries=$ac_optarg ;;
   1337 
   1338   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1339 Try \`$0 --help' for more information." >&2
   1340    { (exit 1); exit 1; }; }
   1341     ;;
   1342 
   1343   *=*)
   1344     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1345     # Reject names that are not valid shell variable names.
   1346     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1347       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1348    { (exit 1); exit 1; }; }
   1349     eval $ac_envvar=\$ac_optarg
   1350     export $ac_envvar ;;
   1351 
   1352   *)
   1353     # FIXME: should be removed in autoconf 3.0.
   1354     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1355     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1356       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1357     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1358     ;;
   1359 
   1360   esac
   1361 done
   1362 
   1363 if test -n "$ac_prev"; then
   1364   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1365   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1366    { (exit 1); exit 1; }; }
   1367 fi
   1368 
   1369 if test -n "$ac_unrecognized_opts"; then
   1370   case $enable_option_checking in
   1371     no) ;;
   1372     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1373    { (exit 1); exit 1; }; } ;;
   1374     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1375   esac
   1376 fi
   1377 
   1378 # Check all directory arguments for consistency.
   1379 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1380 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1381 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1382 		libdir localedir mandir
   1383 do
   1384   eval ac_val=\$$ac_var
   1385   # Remove trailing slashes.
   1386   case $ac_val in
   1387     */ )
   1388       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1389       eval $ac_var=\$ac_val;;
   1390   esac
   1391   # Be sure to have absolute directory names.
   1392   case $ac_val in
   1393     [\\/$]* | ?:[\\/]* )  continue;;
   1394     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1395   esac
   1396   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1397    { (exit 1); exit 1; }; }
   1398 done
   1399 
   1400 # There might be people who depend on the old broken behavior: `$host'
   1401 # used to hold the argument of --host etc.
   1402 # FIXME: To remove some day.
   1403 build=$build_alias
   1404 host=$host_alias
   1405 target=$target_alias
   1406 
   1407 # FIXME: To remove some day.
   1408 if test "x$host_alias" != x; then
   1409   if test "x$build_alias" = x; then
   1410     cross_compiling=maybe
   1411     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1412     If a cross compiler is detected then cross compile mode will be used." >&2
   1413   elif test "x$build_alias" != "x$host_alias"; then
   1414     cross_compiling=yes
   1415   fi
   1416 fi
   1417 
   1418 ac_tool_prefix=
   1419 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1420 
   1421 test "$silent" = yes && exec 6>/dev/null
   1422 
   1423 
   1424 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1425 ac_ls_di=`ls -di .` &&
   1426 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1427   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1428    { (exit 1); exit 1; }; }
   1429 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1430   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1431    { (exit 1); exit 1; }; }
   1432 
   1433 
   1434 # Find the source files, if location was not specified.
   1435 if test -z "$srcdir"; then
   1436   ac_srcdir_defaulted=yes
   1437   # Try the directory containing this script, then the parent directory.
   1438   ac_confdir=`$as_dirname -- "$as_myself" ||
   1439 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1440 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1441 	 X"$as_myself" : 'X\(//\)$' \| \
   1442 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1443 $as_echo X"$as_myself" |
   1444     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1445 	    s//\1/
   1446 	    q
   1447 	  }
   1448 	  /^X\(\/\/\)[^/].*/{
   1449 	    s//\1/
   1450 	    q
   1451 	  }
   1452 	  /^X\(\/\/\)$/{
   1453 	    s//\1/
   1454 	    q
   1455 	  }
   1456 	  /^X\(\/\).*/{
   1457 	    s//\1/
   1458 	    q
   1459 	  }
   1460 	  s/.*/./; q'`
   1461   srcdir=$ac_confdir
   1462   if test ! -r "$srcdir/$ac_unique_file"; then
   1463     srcdir=..
   1464   fi
   1465 else
   1466   ac_srcdir_defaulted=no
   1467 fi
   1468 if test ! -r "$srcdir/$ac_unique_file"; then
   1469   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1470   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1471    { (exit 1); exit 1; }; }
   1472 fi
   1473 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1474 ac_abs_confdir=`(
   1475 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1476    { (exit 1); exit 1; }; }
   1477 	pwd)`
   1478 # When building in place, set srcdir=.
   1479 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1480   srcdir=.
   1481 fi
   1482 # Remove unnecessary trailing slashes from srcdir.
   1483 # Double slashes in file names in object file debugging info
   1484 # mess up M-x gdb in Emacs.
   1485 case $srcdir in
   1486 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1487 esac
   1488 for ac_var in $ac_precious_vars; do
   1489   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1490   eval ac_env_${ac_var}_value=\$${ac_var}
   1491   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1492   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1493 done
   1494 
   1495 #
   1496 # Report the --help message.
   1497 #
   1498 if test "$ac_init_help" = "long"; then
   1499   # Omit some internal or obsolete options to make the list less imposing.
   1500   # This message is too long to be a string in the A/UX 3.1 sh.
   1501   cat <<_ACEOF
   1502 \`configure' configures libXxf86dga 1.1.1 to adapt to many kinds of systems.
   1503 
   1504 Usage: $0 [OPTION]... [VAR=VALUE]...
   1505 
   1506 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1507 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1508 
   1509 Defaults for the options are specified in brackets.
   1510 
   1511 Configuration:
   1512   -h, --help              display this help and exit
   1513       --help=short        display options specific to this package
   1514       --help=recursive    display the short help of all the included packages
   1515   -V, --version           display version information and exit
   1516   -q, --quiet, --silent   do not print \`checking...' messages
   1517       --cache-file=FILE   cache test results in FILE [disabled]
   1518   -C, --config-cache      alias for \`--cache-file=config.cache'
   1519   -n, --no-create         do not create output files
   1520       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1521 
   1522 Installation directories:
   1523   --prefix=PREFIX         install architecture-independent files in PREFIX
   1524                           [$ac_default_prefix]
   1525   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1526                           [PREFIX]
   1527 
   1528 By default, \`make install' will install all the files in
   1529 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1530 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1531 for instance \`--prefix=\$HOME'.
   1532 
   1533 For better control, use the options below.
   1534 
   1535 Fine tuning of the installation directories:
   1536   --bindir=DIR            user executables [EPREFIX/bin]
   1537   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1538   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1539   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1540   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1541   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1542   --libdir=DIR            object code libraries [EPREFIX/lib]
   1543   --includedir=DIR        C header files [PREFIX/include]
   1544   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1545   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1546   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1547   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1548   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1549   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1550   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXxf86dga]
   1551   --htmldir=DIR           html documentation [DOCDIR]
   1552   --dvidir=DIR            dvi documentation [DOCDIR]
   1553   --pdfdir=DIR            pdf documentation [DOCDIR]
   1554   --psdir=DIR             ps documentation [DOCDIR]
   1555 _ACEOF
   1556 
   1557   cat <<\_ACEOF
   1558 
   1559 Program names:
   1560   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1561   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1562   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1563 
   1564 System types:
   1565   --build=BUILD     configure for building on BUILD [guessed]
   1566   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1567 _ACEOF
   1568 fi
   1569 
   1570 if test -n "$ac_init_help"; then
   1571   case $ac_init_help in
   1572      short | recursive ) echo "Configuration of libXxf86dga 1.1.1:";;
   1573    esac
   1574   cat <<\_ACEOF
   1575 
   1576 Optional Features:
   1577   --disable-option-checking  ignore unrecognized --enable/--with options
   1578   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1579   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1580   --enable-maintainer-mode  enable make rules and dependencies not useful
   1581 			  (and sometimes confusing) to the casual installer
   1582   --disable-dependency-tracking  speeds up one-time build
   1583   --enable-dependency-tracking   do not reject slow dependency extractors
   1584   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1585   --enable-static[=PKGS]  build static libraries [default=yes]
   1586   --enable-fast-install[=PKGS]
   1587                           optimize for fast installation [default=yes]
   1588   --disable-libtool-lock  avoid locking (might break parallel builds)
   1589   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1590   --disable-silent-rules         verbose build output (undo: `make V=0')
   1591   --enable-strict-compilation
   1592                           Enable all warnings from compiler and make them
   1593                           errors (default: disabled)
   1594   --enable-malloc0returnsnull
   1595                           malloc(0) returns NULL (default: auto)
   1596 
   1597 Optional Packages:
   1598   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1599   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1600   --with-pic              try to use only PIC/non-PIC objects [default=use
   1601                           both]
   1602   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1603   --with-release-version=STRING
   1604                           Use release version string in package name
   1605 
   1606 Some influential environment variables:
   1607   CC          C compiler command
   1608   CFLAGS      C compiler flags
   1609   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1610               nonstandard directory <lib dir>
   1611   LIBS        libraries to pass to the linker, e.g. -l<library>
   1612   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1613               you have headers in a nonstandard directory <include dir>
   1614   CPP         C preprocessor
   1615   PKG_CONFIG  path to pkg-config utility
   1616   XXF86DGA_CFLAGS
   1617               C compiler flags for XXF86DGA, overriding pkg-config
   1618   XXF86DGA_LIBS
   1619               linker flags for XXF86DGA, overriding pkg-config
   1620 
   1621 Use these variables to override the choices made by `configure' or to help
   1622 it to find libraries and programs with nonstandard names/locations.
   1623 
   1624 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1625 _ACEOF
   1626 ac_status=$?
   1627 fi
   1628 
   1629 if test "$ac_init_help" = "recursive"; then
   1630   # If there are subdirs, report their specific --help.
   1631   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1632     test -d "$ac_dir" ||
   1633       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1634       continue
   1635     ac_builddir=.
   1636 
   1637 case "$ac_dir" in
   1638 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1639 *)
   1640   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1641   # A ".." for each directory in $ac_dir_suffix.
   1642   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1643   case $ac_top_builddir_sub in
   1644   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1645   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1646   esac ;;
   1647 esac
   1648 ac_abs_top_builddir=$ac_pwd
   1649 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1650 # for backward compatibility:
   1651 ac_top_builddir=$ac_top_build_prefix
   1652 
   1653 case $srcdir in
   1654   .)  # We are building in place.
   1655     ac_srcdir=.
   1656     ac_top_srcdir=$ac_top_builddir_sub
   1657     ac_abs_top_srcdir=$ac_pwd ;;
   1658   [\\/]* | ?:[\\/]* )  # Absolute name.
   1659     ac_srcdir=$srcdir$ac_dir_suffix;
   1660     ac_top_srcdir=$srcdir
   1661     ac_abs_top_srcdir=$srcdir ;;
   1662   *) # Relative name.
   1663     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1664     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1665     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1666 esac
   1667 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1668 
   1669     cd "$ac_dir" || { ac_status=$?; continue; }
   1670     # Check for guested configure.
   1671     if test -f "$ac_srcdir/configure.gnu"; then
   1672       echo &&
   1673       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1674     elif test -f "$ac_srcdir/configure"; then
   1675       echo &&
   1676       $SHELL "$ac_srcdir/configure" --help=recursive
   1677     else
   1678       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1679     fi || ac_status=$?
   1680     cd "$ac_pwd" || { ac_status=$?; break; }
   1681   done
   1682 fi
   1683 
   1684 test -n "$ac_init_help" && exit $ac_status
   1685 if $ac_init_version; then
   1686   cat <<\_ACEOF
   1687 libXxf86dga configure 1.1.1
   1688 generated by GNU Autoconf 2.63
   1689 
   1690 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1691 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1692 This configure script is free software; the Free Software Foundation
   1693 gives unlimited permission to copy, distribute and modify it.
   1694 _ACEOF
   1695   exit
   1696 fi
   1697 cat >config.log <<_ACEOF
   1698 This file contains any messages produced by compilers while
   1699 running configure, to aid debugging if configure makes a mistake.
   1700 
   1701 It was created by libXxf86dga $as_me 1.1.1, which was
   1702 generated by GNU Autoconf 2.63.  Invocation command line was
   1703 
   1704   $ $0 $@
   1705 
   1706 _ACEOF
   1707 exec 5>>config.log
   1708 {
   1709 cat <<_ASUNAME
   1710 ## --------- ##
   1711 ## Platform. ##
   1712 ## --------- ##
   1713 
   1714 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1715 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1716 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1717 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1718 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1719 
   1720 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1721 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1722 
   1723 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1724 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1725 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1726 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1727 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1728 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1729 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1730 
   1731 _ASUNAME
   1732 
   1733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1734 for as_dir in $PATH
   1735 do
   1736   IFS=$as_save_IFS
   1737   test -z "$as_dir" && as_dir=.
   1738   $as_echo "PATH: $as_dir"
   1739 done
   1740 IFS=$as_save_IFS
   1741 
   1742 } >&5
   1743 
   1744 cat >&5 <<_ACEOF
   1745 
   1746 
   1747 ## ----------- ##
   1748 ## Core tests. ##
   1749 ## ----------- ##
   1750 
   1751 _ACEOF
   1752 
   1753 
   1754 # Keep a trace of the command line.
   1755 # Strip out --no-create and --no-recursion so they do not pile up.
   1756 # Strip out --silent because we don't want to record it for future runs.
   1757 # Also quote any args containing shell meta-characters.
   1758 # Make two passes to allow for proper duplicate-argument suppression.
   1759 ac_configure_args=
   1760 ac_configure_args0=
   1761 ac_configure_args1=
   1762 ac_must_keep_next=false
   1763 for ac_pass in 1 2
   1764 do
   1765   for ac_arg
   1766   do
   1767     case $ac_arg in
   1768     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1769     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1770     | -silent | --silent | --silen | --sile | --sil)
   1771       continue ;;
   1772     *\'*)
   1773       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1774     esac
   1775     case $ac_pass in
   1776     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1777     2)
   1778       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1779       if test $ac_must_keep_next = true; then
   1780 	ac_must_keep_next=false # Got value, back to normal.
   1781       else
   1782 	case $ac_arg in
   1783 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1784 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1785 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1786 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1787 	    case "$ac_configure_args0 " in
   1788 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1789 	    esac
   1790 	    ;;
   1791 	  -* ) ac_must_keep_next=true ;;
   1792 	esac
   1793       fi
   1794       ac_configure_args="$ac_configure_args '$ac_arg'"
   1795       ;;
   1796     esac
   1797   done
   1798 done
   1799 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1800 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1801 
   1802 # When interrupted or exit'd, cleanup temporary files, and complete
   1803 # config.log.  We remove comments because anyway the quotes in there
   1804 # would cause problems or look ugly.
   1805 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1806 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1807 trap 'exit_status=$?
   1808   # Save into config.log some information that might help in debugging.
   1809   {
   1810     echo
   1811 
   1812     cat <<\_ASBOX
   1813 ## ---------------- ##
   1814 ## Cache variables. ##
   1815 ## ---------------- ##
   1816 _ASBOX
   1817     echo
   1818     # The following way of writing the cache mishandles newlines in values,
   1819 (
   1820   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1821     eval ac_val=\$$ac_var
   1822     case $ac_val in #(
   1823     *${as_nl}*)
   1824       case $ac_var in #(
   1825       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1826 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1827       esac
   1828       case $ac_var in #(
   1829       _ | IFS | as_nl) ;; #(
   1830       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1831       *) $as_unset $ac_var ;;
   1832       esac ;;
   1833     esac
   1834   done
   1835   (set) 2>&1 |
   1836     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1837     *${as_nl}ac_space=\ *)
   1838       sed -n \
   1839 	"s/'\''/'\''\\\\'\'''\''/g;
   1840 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1841       ;; #(
   1842     *)
   1843       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1844       ;;
   1845     esac |
   1846     sort
   1847 )
   1848     echo
   1849 
   1850     cat <<\_ASBOX
   1851 ## ----------------- ##
   1852 ## Output variables. ##
   1853 ## ----------------- ##
   1854 _ASBOX
   1855     echo
   1856     for ac_var in $ac_subst_vars
   1857     do
   1858       eval ac_val=\$$ac_var
   1859       case $ac_val in
   1860       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1861       esac
   1862       $as_echo "$ac_var='\''$ac_val'\''"
   1863     done | sort
   1864     echo
   1865 
   1866     if test -n "$ac_subst_files"; then
   1867       cat <<\_ASBOX
   1868 ## ------------------- ##
   1869 ## File substitutions. ##
   1870 ## ------------------- ##
   1871 _ASBOX
   1872       echo
   1873       for ac_var in $ac_subst_files
   1874       do
   1875 	eval ac_val=\$$ac_var
   1876 	case $ac_val in
   1877 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1878 	esac
   1879 	$as_echo "$ac_var='\''$ac_val'\''"
   1880       done | sort
   1881       echo
   1882     fi
   1883 
   1884     if test -s confdefs.h; then
   1885       cat <<\_ASBOX
   1886 ## ----------- ##
   1887 ## confdefs.h. ##
   1888 ## ----------- ##
   1889 _ASBOX
   1890       echo
   1891       cat confdefs.h
   1892       echo
   1893     fi
   1894     test "$ac_signal" != 0 &&
   1895       $as_echo "$as_me: caught signal $ac_signal"
   1896     $as_echo "$as_me: exit $exit_status"
   1897   } >&5
   1898   rm -f core *.core core.conftest.* &&
   1899     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1900     exit $exit_status
   1901 ' 0
   1902 for ac_signal in 1 2 13 15; do
   1903   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1904 done
   1905 ac_signal=0
   1906 
   1907 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1908 rm -f -r conftest* confdefs.h
   1909 
   1910 # Predefined preprocessor variables.
   1911 
   1912 cat >>confdefs.h <<_ACEOF
   1913 #define PACKAGE_NAME "$PACKAGE_NAME"
   1914 _ACEOF
   1915 
   1916 
   1917 cat >>confdefs.h <<_ACEOF
   1918 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1919 _ACEOF
   1920 
   1921 
   1922 cat >>confdefs.h <<_ACEOF
   1923 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1924 _ACEOF
   1925 
   1926 
   1927 cat >>confdefs.h <<_ACEOF
   1928 #define PACKAGE_STRING "$PACKAGE_STRING"
   1929 _ACEOF
   1930 
   1931 
   1932 cat >>confdefs.h <<_ACEOF
   1933 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1934 _ACEOF
   1935 
   1936 
   1937 # Let the site file select an alternate cache file if it wants to.
   1938 # Prefer an explicitly selected file to automatically selected ones.
   1939 ac_site_file1=NONE
   1940 ac_site_file2=NONE
   1941 if test -n "$CONFIG_SITE"; then
   1942   ac_site_file1=$CONFIG_SITE
   1943 elif test "x$prefix" != xNONE; then
   1944   ac_site_file1=$prefix/share/config.site
   1945   ac_site_file2=$prefix/etc/config.site
   1946 else
   1947   ac_site_file1=$ac_default_prefix/share/config.site
   1948   ac_site_file2=$ac_default_prefix/etc/config.site
   1949 fi
   1950 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1951 do
   1952   test "x$ac_site_file" = xNONE && continue
   1953   if test -r "$ac_site_file"; then
   1954     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1955 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1956     sed 's/^/| /' "$ac_site_file" >&5
   1957     . "$ac_site_file"
   1958   fi
   1959 done
   1960 
   1961 if test -r "$cache_file"; then
   1962   # Some versions of bash will fail to source /dev/null (special
   1963   # files actually), so we avoid doing that.
   1964   if test -f "$cache_file"; then
   1965     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1966 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1967     case $cache_file in
   1968       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1969       *)                      . "./$cache_file";;
   1970     esac
   1971   fi
   1972 else
   1973   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1974 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1975   >$cache_file
   1976 fi
   1977 
   1978 # Check that the precious variables saved in the cache have kept the same
   1979 # value.
   1980 ac_cache_corrupted=false
   1981 for ac_var in $ac_precious_vars; do
   1982   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1983   eval ac_new_set=\$ac_env_${ac_var}_set
   1984   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1985   eval ac_new_val=\$ac_env_${ac_var}_value
   1986   case $ac_old_set,$ac_new_set in
   1987     set,)
   1988       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1989 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1990       ac_cache_corrupted=: ;;
   1991     ,set)
   1992       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1993 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1994       ac_cache_corrupted=: ;;
   1995     ,);;
   1996     *)
   1997       if test "x$ac_old_val" != "x$ac_new_val"; then
   1998 	# differences in whitespace do not lead to failure.
   1999 	ac_old_val_w=`echo x $ac_old_val`
   2000 	ac_new_val_w=`echo x $ac_new_val`
   2001 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2002 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2003 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2004 	  ac_cache_corrupted=:
   2005 	else
   2006 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2007 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2008 	  eval $ac_var=\$ac_old_val
   2009 	fi
   2010 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2011 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2012 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2013 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2014       fi;;
   2015   esac
   2016   # Pass precious variables to config.status.
   2017   if test "$ac_new_set" = set; then
   2018     case $ac_new_val in
   2019     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2020     *) ac_arg=$ac_var=$ac_new_val ;;
   2021     esac
   2022     case " $ac_configure_args " in
   2023       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2024       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2025     esac
   2026   fi
   2027 done
   2028 if $ac_cache_corrupted; then
   2029   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2031   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2032 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2033   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2034 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2035    { (exit 1); exit 1; }; }
   2036 fi
   2037 
   2038 
   2039 
   2040 
   2041 
   2042 
   2043 
   2044 
   2045 
   2046 
   2047 
   2048 
   2049 
   2050 
   2051 
   2052 
   2053 
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 ac_ext=c
   2063 ac_cpp='$CPP $CPPFLAGS'
   2064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2067 
   2068 
   2069 am__api_version='1.11'
   2070 
   2071 ac_aux_dir=
   2072 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2073   if test -f "$ac_dir/install-sh"; then
   2074     ac_aux_dir=$ac_dir
   2075     ac_install_sh="$ac_aux_dir/install-sh -c"
   2076     break
   2077   elif test -f "$ac_dir/install.sh"; then
   2078     ac_aux_dir=$ac_dir
   2079     ac_install_sh="$ac_aux_dir/install.sh -c"
   2080     break
   2081   elif test -f "$ac_dir/shtool"; then
   2082     ac_aux_dir=$ac_dir
   2083     ac_install_sh="$ac_aux_dir/shtool install -c"
   2084     break
   2085   fi
   2086 done
   2087 if test -z "$ac_aux_dir"; then
   2088   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2089 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2090    { (exit 1); exit 1; }; }
   2091 fi
   2092 
   2093 # These three variables are undocumented and unsupported,
   2094 # and are intended to be withdrawn in a future Autoconf release.
   2095 # They can cause serious problems if a builder's source tree is in a directory
   2096 # whose full name contains unusual characters.
   2097 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2098 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2099 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2100 
   2101 
   2102 # Find a good install program.  We prefer a C program (faster),
   2103 # so one script is as good as another.  But avoid the broken or
   2104 # incompatible versions:
   2105 # SysV /etc/install, /usr/sbin/install
   2106 # SunOS /usr/etc/install
   2107 # IRIX /sbin/install
   2108 # AIX /bin/install
   2109 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2110 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2111 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2112 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2113 # OS/2's system install, which has a completely different semantic
   2114 # ./install, which can be erroneously created by make from ./install.sh.
   2115 # Reject install programs that cannot install multiple files.
   2116 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2117 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2118 if test -z "$INSTALL"; then
   2119 if test "${ac_cv_path_install+set}" = set; then
   2120   $as_echo_n "(cached) " >&6
   2121 else
   2122   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2123 for as_dir in $PATH
   2124 do
   2125   IFS=$as_save_IFS
   2126   test -z "$as_dir" && as_dir=.
   2127   # Account for people who put trailing slashes in PATH elements.
   2128 case $as_dir/ in
   2129   ./ | .// | /cC/* | \
   2130   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2131   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2132   /usr/ucb/* ) ;;
   2133   *)
   2134     # OSF1 and SCO ODT 3.0 have their own names for install.
   2135     # Don't use installbsd from OSF since it installs stuff as root
   2136     # by default.
   2137     for ac_prog in ginstall scoinst install; do
   2138       for ac_exec_ext in '' $ac_executable_extensions; do
   2139 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2140 	  if test $ac_prog = install &&
   2141 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2142 	    # AIX install.  It has an incompatible calling convention.
   2143 	    :
   2144 	  elif test $ac_prog = install &&
   2145 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2146 	    # program-specific install script used by HP pwplus--don't use.
   2147 	    :
   2148 	  else
   2149 	    rm -rf conftest.one conftest.two conftest.dir
   2150 	    echo one > conftest.one
   2151 	    echo two > conftest.two
   2152 	    mkdir conftest.dir
   2153 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2154 	      test -s conftest.one && test -s conftest.two &&
   2155 	      test -s conftest.dir/conftest.one &&
   2156 	      test -s conftest.dir/conftest.two
   2157 	    then
   2158 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2159 	      break 3
   2160 	    fi
   2161 	  fi
   2162 	fi
   2163       done
   2164     done
   2165     ;;
   2166 esac
   2167 
   2168 done
   2169 IFS=$as_save_IFS
   2170 
   2171 rm -rf conftest.one conftest.two conftest.dir
   2172 
   2173 fi
   2174   if test "${ac_cv_path_install+set}" = set; then
   2175     INSTALL=$ac_cv_path_install
   2176   else
   2177     # As a last resort, use the slow shell script.  Don't cache a
   2178     # value for INSTALL within a source directory, because that will
   2179     # break other packages using the cache if that directory is
   2180     # removed, or if the value is a relative name.
   2181     INSTALL=$ac_install_sh
   2182   fi
   2183 fi
   2184 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2185 $as_echo "$INSTALL" >&6; }
   2186 
   2187 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2188 # It thinks the first close brace ends the variable substitution.
   2189 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2190 
   2191 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2192 
   2193 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2194 
   2195 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2196 $as_echo_n "checking whether build environment is sane... " >&6; }
   2197 # Just in case
   2198 sleep 1
   2199 echo timestamp > conftest.file
   2200 # Reject unsafe characters in $srcdir or the absolute working directory
   2201 # name.  Accept space and tab only in the latter.
   2202 am_lf='
   2203 '
   2204 case `pwd` in
   2205   *[\\\"\#\$\&\'\`$am_lf]*)
   2206     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2207 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2208    { (exit 1); exit 1; }; };;
   2209 esac
   2210 case $srcdir in
   2211   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2212     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2213 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2214    { (exit 1); exit 1; }; };;
   2215 esac
   2216 
   2217 # Do `set' in a subshell so we don't clobber the current shell's
   2218 # arguments.  Must try -L first in case configure is actually a
   2219 # symlink; some systems play weird games with the mod time of symlinks
   2220 # (eg FreeBSD returns the mod time of the symlink's containing
   2221 # directory).
   2222 if (
   2223    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2224    if test "$*" = "X"; then
   2225       # -L didn't work.
   2226       set X `ls -t "$srcdir/configure" conftest.file`
   2227    fi
   2228    rm -f conftest.file
   2229    if test "$*" != "X $srcdir/configure conftest.file" \
   2230       && test "$*" != "X conftest.file $srcdir/configure"; then
   2231 
   2232       # If neither matched, then we have a broken ls.  This can happen
   2233       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2234       # broken ls alias from the environment.  This has actually
   2235       # happened.  Such a system could not be considered "sane".
   2236       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2237 alias in your environment" >&5
   2238 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2239 alias in your environment" >&2;}
   2240    { (exit 1); exit 1; }; }
   2241    fi
   2242 
   2243    test "$2" = conftest.file
   2244    )
   2245 then
   2246    # Ok.
   2247    :
   2248 else
   2249    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2250 Check your system clock" >&5
   2251 $as_echo "$as_me: error: newly created file is older than distributed files!
   2252 Check your system clock" >&2;}
   2253    { (exit 1); exit 1; }; }
   2254 fi
   2255 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2256 $as_echo "yes" >&6; }
   2257 test "$program_prefix" != NONE &&
   2258   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2259 # Use a double $ so make ignores it.
   2260 test "$program_suffix" != NONE &&
   2261   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2262 # Double any \ or $.
   2263 # By default was `s,x,x', remove it if useless.
   2264 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2265 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2266 
   2267 # expand $ac_aux_dir to an absolute path
   2268 am_aux_dir=`cd $ac_aux_dir && pwd`
   2269 
   2270 if test x"${MISSING+set}" != xset; then
   2271   case $am_aux_dir in
   2272   *\ * | *\	*)
   2273     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2274   *)
   2275     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2276   esac
   2277 fi
   2278 # Use eval to expand $SHELL
   2279 if eval "$MISSING --run true"; then
   2280   am_missing_run="$MISSING --run "
   2281 else
   2282   am_missing_run=
   2283   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2284 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2285 fi
   2286 
   2287 if test x"${install_sh}" != xset; then
   2288   case $am_aux_dir in
   2289   *\ * | *\	*)
   2290     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2291   *)
   2292     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2293   esac
   2294 fi
   2295 
   2296 # Installed binaries are usually stripped using `strip' when the user
   2297 # run `make install-strip'.  However `strip' might not be the right
   2298 # tool to use in cross-compilation environments, therefore Automake
   2299 # will honor the `STRIP' environment variable to overrule this program.
   2300 if test "$cross_compiling" != no; then
   2301   if test -n "$ac_tool_prefix"; then
   2302   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2303 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2305 $as_echo_n "checking for $ac_word... " >&6; }
   2306 if test "${ac_cv_prog_STRIP+set}" = set; then
   2307   $as_echo_n "(cached) " >&6
   2308 else
   2309   if test -n "$STRIP"; then
   2310   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2311 else
   2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2313 for as_dir in $PATH
   2314 do
   2315   IFS=$as_save_IFS
   2316   test -z "$as_dir" && as_dir=.
   2317   for ac_exec_ext in '' $ac_executable_extensions; do
   2318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2319     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2320     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2321     break 2
   2322   fi
   2323 done
   2324 done
   2325 IFS=$as_save_IFS
   2326 
   2327 fi
   2328 fi
   2329 STRIP=$ac_cv_prog_STRIP
   2330 if test -n "$STRIP"; then
   2331   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2332 $as_echo "$STRIP" >&6; }
   2333 else
   2334   { $as_echo "$as_me:$LINENO: result: no" >&5
   2335 $as_echo "no" >&6; }
   2336 fi
   2337 
   2338 
   2339 fi
   2340 if test -z "$ac_cv_prog_STRIP"; then
   2341   ac_ct_STRIP=$STRIP
   2342   # Extract the first word of "strip", so it can be a program name with args.
   2343 set dummy strip; ac_word=$2
   2344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2345 $as_echo_n "checking for $ac_word... " >&6; }
   2346 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2347   $as_echo_n "(cached) " >&6
   2348 else
   2349   if test -n "$ac_ct_STRIP"; then
   2350   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2351 else
   2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2353 for as_dir in $PATH
   2354 do
   2355   IFS=$as_save_IFS
   2356   test -z "$as_dir" && as_dir=.
   2357   for ac_exec_ext in '' $ac_executable_extensions; do
   2358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2359     ac_cv_prog_ac_ct_STRIP="strip"
   2360     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2361     break 2
   2362   fi
   2363 done
   2364 done
   2365 IFS=$as_save_IFS
   2366 
   2367 fi
   2368 fi
   2369 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2370 if test -n "$ac_ct_STRIP"; then
   2371   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2372 $as_echo "$ac_ct_STRIP" >&6; }
   2373 else
   2374   { $as_echo "$as_me:$LINENO: result: no" >&5
   2375 $as_echo "no" >&6; }
   2376 fi
   2377 
   2378   if test "x$ac_ct_STRIP" = x; then
   2379     STRIP=":"
   2380   else
   2381     case $cross_compiling:$ac_tool_warned in
   2382 yes:)
   2383 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2385 ac_tool_warned=yes ;;
   2386 esac
   2387     STRIP=$ac_ct_STRIP
   2388   fi
   2389 else
   2390   STRIP="$ac_cv_prog_STRIP"
   2391 fi
   2392 
   2393 fi
   2394 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2395 
   2396 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2397 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2398 if test -z "$MKDIR_P"; then
   2399   if test "${ac_cv_path_mkdir+set}" = set; then
   2400   $as_echo_n "(cached) " >&6
   2401 else
   2402   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2403 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2404 do
   2405   IFS=$as_save_IFS
   2406   test -z "$as_dir" && as_dir=.
   2407   for ac_prog in mkdir gmkdir; do
   2408 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2409 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2410 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2411 	     'mkdir (GNU coreutils) '* | \
   2412 	     'mkdir (coreutils) '* | \
   2413 	     'mkdir (fileutils) '4.1*)
   2414 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2415 	       break 3;;
   2416 	   esac
   2417 	 done
   2418        done
   2419 done
   2420 IFS=$as_save_IFS
   2421 
   2422 fi
   2423 
   2424   if test "${ac_cv_path_mkdir+set}" = set; then
   2425     MKDIR_P="$ac_cv_path_mkdir -p"
   2426   else
   2427     # As a last resort, use the slow shell script.  Don't cache a
   2428     # value for MKDIR_P within a source directory, because that will
   2429     # break other packages using the cache if that directory is
   2430     # removed, or if the value is a relative name.
   2431     test -d ./--version && rmdir ./--version
   2432     MKDIR_P="$ac_install_sh -d"
   2433   fi
   2434 fi
   2435 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2436 $as_echo "$MKDIR_P" >&6; }
   2437 
   2438 mkdir_p="$MKDIR_P"
   2439 case $mkdir_p in
   2440   [\\/$]* | ?:[\\/]*) ;;
   2441   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2442 esac
   2443 
   2444 for ac_prog in gawk mawk nawk awk
   2445 do
   2446   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2447 set dummy $ac_prog; ac_word=$2
   2448 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2449 $as_echo_n "checking for $ac_word... " >&6; }
   2450 if test "${ac_cv_prog_AWK+set}" = set; then
   2451   $as_echo_n "(cached) " >&6
   2452 else
   2453   if test -n "$AWK"; then
   2454   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2455 else
   2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2457 for as_dir in $PATH
   2458 do
   2459   IFS=$as_save_IFS
   2460   test -z "$as_dir" && as_dir=.
   2461   for ac_exec_ext in '' $ac_executable_extensions; do
   2462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2463     ac_cv_prog_AWK="$ac_prog"
   2464     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2465     break 2
   2466   fi
   2467 done
   2468 done
   2469 IFS=$as_save_IFS
   2470 
   2471 fi
   2472 fi
   2473 AWK=$ac_cv_prog_AWK
   2474 if test -n "$AWK"; then
   2475   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2476 $as_echo "$AWK" >&6; }
   2477 else
   2478   { $as_echo "$as_me:$LINENO: result: no" >&5
   2479 $as_echo "no" >&6; }
   2480 fi
   2481 
   2482 
   2483   test -n "$AWK" && break
   2484 done
   2485 
   2486 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2487 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2488 set x ${MAKE-make}
   2489 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2490 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2491   $as_echo_n "(cached) " >&6
   2492 else
   2493   cat >conftest.make <<\_ACEOF
   2494 SHELL = /bin/sh
   2495 all:
   2496 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2497 _ACEOF
   2498 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2499 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2500   *@@@%%%=?*=@@@%%%*)
   2501     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2502   *)
   2503     eval ac_cv_prog_make_${ac_make}_set=no;;
   2504 esac
   2505 rm -f conftest.make
   2506 fi
   2507 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2508   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2509 $as_echo "yes" >&6; }
   2510   SET_MAKE=
   2511 else
   2512   { $as_echo "$as_me:$LINENO: result: no" >&5
   2513 $as_echo "no" >&6; }
   2514   SET_MAKE="MAKE=${MAKE-make}"
   2515 fi
   2516 
   2517 rm -rf .tst 2>/dev/null
   2518 mkdir .tst 2>/dev/null
   2519 if test -d .tst; then
   2520   am__leading_dot=.
   2521 else
   2522   am__leading_dot=_
   2523 fi
   2524 rmdir .tst 2>/dev/null
   2525 
   2526 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2527   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2528   # is not polluted with repeated "-I."
   2529   am__isrc=' -I$(srcdir)'
   2530   # test to see if srcdir already configured
   2531   if test -f $srcdir/config.status; then
   2532     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2533 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2534    { (exit 1); exit 1; }; }
   2535   fi
   2536 fi
   2537 
   2538 # test whether we have cygpath
   2539 if test -z "$CYGPATH_W"; then
   2540   if (cygpath --version) >/dev/null 2>/dev/null; then
   2541     CYGPATH_W='cygpath -w'
   2542   else
   2543     CYGPATH_W=echo
   2544   fi
   2545 fi
   2546 
   2547 
   2548 # Define the identity of the package.
   2549  PACKAGE='libXxf86dga'
   2550  VERSION='1.1.1'
   2551 
   2552 
   2553 cat >>confdefs.h <<_ACEOF
   2554 #define PACKAGE "$PACKAGE"
   2555 _ACEOF
   2556 
   2557 
   2558 cat >>confdefs.h <<_ACEOF
   2559 #define VERSION "$VERSION"
   2560 _ACEOF
   2561 
   2562 # Some tools Automake needs.
   2563 
   2564 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2565 
   2566 
   2567 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2568 
   2569 
   2570 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2571 
   2572 
   2573 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2574 
   2575 
   2576 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2577 
   2578 # We need awk for the "check" target.  The system "awk" is bad on
   2579 # some platforms.
   2580 # Always define AMTAR for backward compatibility.
   2581 
   2582 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2583 
   2584 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2585 
   2586 
   2587 
   2588 
   2589 
   2590 
   2591 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2592 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2593     # Check whether --enable-maintainer-mode was given.
   2594 if test "${enable_maintainer_mode+set}" = set; then
   2595   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2596 else
   2597   USE_MAINTAINER_MODE=no
   2598 fi
   2599 
   2600   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2601 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2602    if test $USE_MAINTAINER_MODE = yes; then
   2603   MAINTAINER_MODE_TRUE=
   2604   MAINTAINER_MODE_FALSE='#'
   2605 else
   2606   MAINTAINER_MODE_TRUE='#'
   2607   MAINTAINER_MODE_FALSE=
   2608 fi
   2609 
   2610   MAINT=$MAINTAINER_MODE_TRUE
   2611 
   2612 
   2613 
   2614 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   2615 
   2616 
   2617 
   2618 
   2619 
   2620 
   2621 
   2622 
   2623 
   2624 
   2625 
   2626 ac_config_headers="$ac_config_headers src/config.h"
   2627 
   2628 
   2629 # Check for progs
   2630 ac_ext=c
   2631 ac_cpp='$CPP $CPPFLAGS'
   2632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2635 if test -n "$ac_tool_prefix"; then
   2636   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2637 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2638 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2639 $as_echo_n "checking for $ac_word... " >&6; }
   2640 if test "${ac_cv_prog_CC+set}" = set; then
   2641   $as_echo_n "(cached) " >&6
   2642 else
   2643   if test -n "$CC"; then
   2644   ac_cv_prog_CC="$CC" # Let the user override the test.
   2645 else
   2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2647 for as_dir in $PATH
   2648 do
   2649   IFS=$as_save_IFS
   2650   test -z "$as_dir" && as_dir=.
   2651   for ac_exec_ext in '' $ac_executable_extensions; do
   2652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2653     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2654     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2655     break 2
   2656   fi
   2657 done
   2658 done
   2659 IFS=$as_save_IFS
   2660 
   2661 fi
   2662 fi
   2663 CC=$ac_cv_prog_CC
   2664 if test -n "$CC"; then
   2665   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2666 $as_echo "$CC" >&6; }
   2667 else
   2668   { $as_echo "$as_me:$LINENO: result: no" >&5
   2669 $as_echo "no" >&6; }
   2670 fi
   2671 
   2672 
   2673 fi
   2674 if test -z "$ac_cv_prog_CC"; then
   2675   ac_ct_CC=$CC
   2676   # Extract the first word of "gcc", so it can be a program name with args.
   2677 set dummy gcc; ac_word=$2
   2678 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2679 $as_echo_n "checking for $ac_word... " >&6; }
   2680 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2681   $as_echo_n "(cached) " >&6
   2682 else
   2683   if test -n "$ac_ct_CC"; then
   2684   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2685 else
   2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2687 for as_dir in $PATH
   2688 do
   2689   IFS=$as_save_IFS
   2690   test -z "$as_dir" && as_dir=.
   2691   for ac_exec_ext in '' $ac_executable_extensions; do
   2692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2693     ac_cv_prog_ac_ct_CC="gcc"
   2694     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2695     break 2
   2696   fi
   2697 done
   2698 done
   2699 IFS=$as_save_IFS
   2700 
   2701 fi
   2702 fi
   2703 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2704 if test -n "$ac_ct_CC"; then
   2705   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2706 $as_echo "$ac_ct_CC" >&6; }
   2707 else
   2708   { $as_echo "$as_me:$LINENO: result: no" >&5
   2709 $as_echo "no" >&6; }
   2710 fi
   2711 
   2712   if test "x$ac_ct_CC" = x; then
   2713     CC=""
   2714   else
   2715     case $cross_compiling:$ac_tool_warned in
   2716 yes:)
   2717 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2719 ac_tool_warned=yes ;;
   2720 esac
   2721     CC=$ac_ct_CC
   2722   fi
   2723 else
   2724   CC="$ac_cv_prog_CC"
   2725 fi
   2726 
   2727 if test -z "$CC"; then
   2728           if test -n "$ac_tool_prefix"; then
   2729     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2730 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2731 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2732 $as_echo_n "checking for $ac_word... " >&6; }
   2733 if test "${ac_cv_prog_CC+set}" = set; then
   2734   $as_echo_n "(cached) " >&6
   2735 else
   2736   if test -n "$CC"; then
   2737   ac_cv_prog_CC="$CC" # Let the user override the test.
   2738 else
   2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2740 for as_dir in $PATH
   2741 do
   2742   IFS=$as_save_IFS
   2743   test -z "$as_dir" && as_dir=.
   2744   for ac_exec_ext in '' $ac_executable_extensions; do
   2745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2746     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2747     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2748     break 2
   2749   fi
   2750 done
   2751 done
   2752 IFS=$as_save_IFS
   2753 
   2754 fi
   2755 fi
   2756 CC=$ac_cv_prog_CC
   2757 if test -n "$CC"; then
   2758   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2759 $as_echo "$CC" >&6; }
   2760 else
   2761   { $as_echo "$as_me:$LINENO: result: no" >&5
   2762 $as_echo "no" >&6; }
   2763 fi
   2764 
   2765 
   2766   fi
   2767 fi
   2768 if test -z "$CC"; then
   2769   # Extract the first word of "cc", so it can be a program name with args.
   2770 set dummy cc; ac_word=$2
   2771 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2772 $as_echo_n "checking for $ac_word... " >&6; }
   2773 if test "${ac_cv_prog_CC+set}" = set; then
   2774   $as_echo_n "(cached) " >&6
   2775 else
   2776   if test -n "$CC"; then
   2777   ac_cv_prog_CC="$CC" # Let the user override the test.
   2778 else
   2779   ac_prog_rejected=no
   2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2781 for as_dir in $PATH
   2782 do
   2783   IFS=$as_save_IFS
   2784   test -z "$as_dir" && as_dir=.
   2785   for ac_exec_ext in '' $ac_executable_extensions; do
   2786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2787     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2788        ac_prog_rejected=yes
   2789        continue
   2790      fi
   2791     ac_cv_prog_CC="cc"
   2792     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2793     break 2
   2794   fi
   2795 done
   2796 done
   2797 IFS=$as_save_IFS
   2798 
   2799 if test $ac_prog_rejected = yes; then
   2800   # We found a bogon in the path, so make sure we never use it.
   2801   set dummy $ac_cv_prog_CC
   2802   shift
   2803   if test $# != 0; then
   2804     # We chose a different compiler from the bogus one.
   2805     # However, it has the same basename, so the bogon will be chosen
   2806     # first if we set CC to just the basename; use the full file name.
   2807     shift
   2808     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2809   fi
   2810 fi
   2811 fi
   2812 fi
   2813 CC=$ac_cv_prog_CC
   2814 if test -n "$CC"; then
   2815   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2816 $as_echo "$CC" >&6; }
   2817 else
   2818   { $as_echo "$as_me:$LINENO: result: no" >&5
   2819 $as_echo "no" >&6; }
   2820 fi
   2821 
   2822 
   2823 fi
   2824 if test -z "$CC"; then
   2825   if test -n "$ac_tool_prefix"; then
   2826   for ac_prog in cl.exe
   2827   do
   2828     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2829 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2830 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2831 $as_echo_n "checking for $ac_word... " >&6; }
   2832 if test "${ac_cv_prog_CC+set}" = set; then
   2833   $as_echo_n "(cached) " >&6
   2834 else
   2835   if test -n "$CC"; then
   2836   ac_cv_prog_CC="$CC" # Let the user override the test.
   2837 else
   2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2839 for as_dir in $PATH
   2840 do
   2841   IFS=$as_save_IFS
   2842   test -z "$as_dir" && as_dir=.
   2843   for ac_exec_ext in '' $ac_executable_extensions; do
   2844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2845     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2846     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2847     break 2
   2848   fi
   2849 done
   2850 done
   2851 IFS=$as_save_IFS
   2852 
   2853 fi
   2854 fi
   2855 CC=$ac_cv_prog_CC
   2856 if test -n "$CC"; then
   2857   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2858 $as_echo "$CC" >&6; }
   2859 else
   2860   { $as_echo "$as_me:$LINENO: result: no" >&5
   2861 $as_echo "no" >&6; }
   2862 fi
   2863 
   2864 
   2865     test -n "$CC" && break
   2866   done
   2867 fi
   2868 if test -z "$CC"; then
   2869   ac_ct_CC=$CC
   2870   for ac_prog in cl.exe
   2871 do
   2872   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2873 set dummy $ac_prog; ac_word=$2
   2874 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2875 $as_echo_n "checking for $ac_word... " >&6; }
   2876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2877   $as_echo_n "(cached) " >&6
   2878 else
   2879   if test -n "$ac_ct_CC"; then
   2880   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2881 else
   2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2883 for as_dir in $PATH
   2884 do
   2885   IFS=$as_save_IFS
   2886   test -z "$as_dir" && as_dir=.
   2887   for ac_exec_ext in '' $ac_executable_extensions; do
   2888   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2889     ac_cv_prog_ac_ct_CC="$ac_prog"
   2890     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2891     break 2
   2892   fi
   2893 done
   2894 done
   2895 IFS=$as_save_IFS
   2896 
   2897 fi
   2898 fi
   2899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2900 if test -n "$ac_ct_CC"; then
   2901   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2902 $as_echo "$ac_ct_CC" >&6; }
   2903 else
   2904   { $as_echo "$as_me:$LINENO: result: no" >&5
   2905 $as_echo "no" >&6; }
   2906 fi
   2907 
   2908 
   2909   test -n "$ac_ct_CC" && break
   2910 done
   2911 
   2912   if test "x$ac_ct_CC" = x; then
   2913     CC=""
   2914   else
   2915     case $cross_compiling:$ac_tool_warned in
   2916 yes:)
   2917 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2919 ac_tool_warned=yes ;;
   2920 esac
   2921     CC=$ac_ct_CC
   2922   fi
   2923 fi
   2924 
   2925 fi
   2926 
   2927 
   2928 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2930 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2931 See \`config.log' for more details." >&5
   2932 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2933 See \`config.log' for more details." >&2;}
   2934    { (exit 1); exit 1; }; }; }
   2935 
   2936 # Provide some information about the compiler.
   2937 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2938 set X $ac_compile
   2939 ac_compiler=$2
   2940 { (ac_try="$ac_compiler --version >&5"
   2941 case "(($ac_try" in
   2942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2943   *) ac_try_echo=$ac_try;;
   2944 esac
   2945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2946 $as_echo "$ac_try_echo") >&5
   2947   (eval "$ac_compiler --version >&5") 2>&5
   2948   ac_status=$?
   2949   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2950   (exit $ac_status); }
   2951 { (ac_try="$ac_compiler -v >&5"
   2952 case "(($ac_try" in
   2953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2954   *) ac_try_echo=$ac_try;;
   2955 esac
   2956 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2957 $as_echo "$ac_try_echo") >&5
   2958   (eval "$ac_compiler -v >&5") 2>&5
   2959   ac_status=$?
   2960   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2961   (exit $ac_status); }
   2962 { (ac_try="$ac_compiler -V >&5"
   2963 case "(($ac_try" in
   2964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2965   *) ac_try_echo=$ac_try;;
   2966 esac
   2967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2968 $as_echo "$ac_try_echo") >&5
   2969   (eval "$ac_compiler -V >&5") 2>&5
   2970   ac_status=$?
   2971   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2972   (exit $ac_status); }
   2973 
   2974 cat >conftest.$ac_ext <<_ACEOF
   2975 /* confdefs.h.  */
   2976 _ACEOF
   2977 cat confdefs.h >>conftest.$ac_ext
   2978 cat >>conftest.$ac_ext <<_ACEOF
   2979 /* end confdefs.h.  */
   2980 
   2981 int
   2982 main ()
   2983 {
   2984 
   2985   ;
   2986   return 0;
   2987 }
   2988 _ACEOF
   2989 ac_clean_files_save=$ac_clean_files
   2990 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2991 # Try to create an executable without -o first, disregard a.out.
   2992 # It will help us diagnose broken compilers, and finding out an intuition
   2993 # of exeext.
   2994 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2995 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2996 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2997 
   2998 # The possible output files:
   2999 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3000 
   3001 ac_rmfiles=
   3002 for ac_file in $ac_files
   3003 do
   3004   case $ac_file in
   3005     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3006     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3007   esac
   3008 done
   3009 rm -f $ac_rmfiles
   3010 
   3011 if { (ac_try="$ac_link_default"
   3012 case "(($ac_try" in
   3013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3014   *) ac_try_echo=$ac_try;;
   3015 esac
   3016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3017 $as_echo "$ac_try_echo") >&5
   3018   (eval "$ac_link_default") 2>&5
   3019   ac_status=$?
   3020   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3021   (exit $ac_status); }; then
   3022   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3023 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3024 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3025 # so that the user can short-circuit this test for compilers unknown to
   3026 # Autoconf.
   3027 for ac_file in $ac_files ''
   3028 do
   3029   test -f "$ac_file" || continue
   3030   case $ac_file in
   3031     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3032 	;;
   3033     [ab].out )
   3034 	# We found the default executable, but exeext='' is most
   3035 	# certainly right.
   3036 	break;;
   3037     *.* )
   3038         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3039 	then :; else
   3040 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3041 	fi
   3042 	# We set ac_cv_exeext here because the later test for it is not
   3043 	# safe: cross compilers may not add the suffix if given an `-o'
   3044 	# argument, so we may need to know it at that point already.
   3045 	# Even if this section looks crufty: it has the advantage of
   3046 	# actually working.
   3047 	break;;
   3048     * )
   3049 	break;;
   3050   esac
   3051 done
   3052 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3053 
   3054 else
   3055   ac_file=''
   3056 fi
   3057 
   3058 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3059 $as_echo "$ac_file" >&6; }
   3060 if test -z "$ac_file"; then
   3061   $as_echo "$as_me: failed program was:" >&5
   3062 sed 's/^/| /' conftest.$ac_ext >&5
   3063 
   3064 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3066 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3067 See \`config.log' for more details." >&5
   3068 $as_echo "$as_me: error: C compiler cannot create executables
   3069 See \`config.log' for more details." >&2;}
   3070    { (exit 77); exit 77; }; }; }
   3071 fi
   3072 
   3073 ac_exeext=$ac_cv_exeext
   3074 
   3075 # Check that the compiler produces executables we can run.  If not, either
   3076 # the compiler is broken, or we cross compile.
   3077 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3078 $as_echo_n "checking whether the C compiler works... " >&6; }
   3079 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3080 # If not cross compiling, check that we can run a simple program.
   3081 if test "$cross_compiling" != yes; then
   3082   if { ac_try='./$ac_file'
   3083   { (case "(($ac_try" in
   3084   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3085   *) ac_try_echo=$ac_try;;
   3086 esac
   3087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3088 $as_echo "$ac_try_echo") >&5
   3089   (eval "$ac_try") 2>&5
   3090   ac_status=$?
   3091   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3092   (exit $ac_status); }; }; then
   3093     cross_compiling=no
   3094   else
   3095     if test "$cross_compiling" = maybe; then
   3096 	cross_compiling=yes
   3097     else
   3098 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3100 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3101 If you meant to cross compile, use \`--host'.
   3102 See \`config.log' for more details." >&5
   3103 $as_echo "$as_me: error: cannot run C compiled programs.
   3104 If you meant to cross compile, use \`--host'.
   3105 See \`config.log' for more details." >&2;}
   3106    { (exit 1); exit 1; }; }; }
   3107     fi
   3108   fi
   3109 fi
   3110 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3111 $as_echo "yes" >&6; }
   3112 
   3113 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3114 ac_clean_files=$ac_clean_files_save
   3115 # Check that the compiler produces executables we can run.  If not, either
   3116 # the compiler is broken, or we cross compile.
   3117 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3118 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3119 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3120 $as_echo "$cross_compiling" >&6; }
   3121 
   3122 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3123 $as_echo_n "checking for suffix of executables... " >&6; }
   3124 if { (ac_try="$ac_link"
   3125 case "(($ac_try" in
   3126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3127   *) ac_try_echo=$ac_try;;
   3128 esac
   3129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3130 $as_echo "$ac_try_echo") >&5
   3131   (eval "$ac_link") 2>&5
   3132   ac_status=$?
   3133   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3134   (exit $ac_status); }; then
   3135   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3136 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3137 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3138 # `rm'.
   3139 for ac_file in conftest.exe conftest conftest.*; do
   3140   test -f "$ac_file" || continue
   3141   case $ac_file in
   3142     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3143     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3144 	  break;;
   3145     * ) break;;
   3146   esac
   3147 done
   3148 else
   3149   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3151 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3152 See \`config.log' for more details." >&5
   3153 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3154 See \`config.log' for more details." >&2;}
   3155    { (exit 1); exit 1; }; }; }
   3156 fi
   3157 
   3158 rm -f conftest$ac_cv_exeext
   3159 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3160 $as_echo "$ac_cv_exeext" >&6; }
   3161 
   3162 rm -f conftest.$ac_ext
   3163 EXEEXT=$ac_cv_exeext
   3164 ac_exeext=$EXEEXT
   3165 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3166 $as_echo_n "checking for suffix of object files... " >&6; }
   3167 if test "${ac_cv_objext+set}" = set; then
   3168   $as_echo_n "(cached) " >&6
   3169 else
   3170   cat >conftest.$ac_ext <<_ACEOF
   3171 /* confdefs.h.  */
   3172 _ACEOF
   3173 cat confdefs.h >>conftest.$ac_ext
   3174 cat >>conftest.$ac_ext <<_ACEOF
   3175 /* end confdefs.h.  */
   3176 
   3177 int
   3178 main ()
   3179 {
   3180 
   3181   ;
   3182   return 0;
   3183 }
   3184 _ACEOF
   3185 rm -f conftest.o conftest.obj
   3186 if { (ac_try="$ac_compile"
   3187 case "(($ac_try" in
   3188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3189   *) ac_try_echo=$ac_try;;
   3190 esac
   3191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3192 $as_echo "$ac_try_echo") >&5
   3193   (eval "$ac_compile") 2>&5
   3194   ac_status=$?
   3195   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3196   (exit $ac_status); }; then
   3197   for ac_file in conftest.o conftest.obj conftest.*; do
   3198   test -f "$ac_file" || continue;
   3199   case $ac_file in
   3200     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3201     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3202        break;;
   3203   esac
   3204 done
   3205 else
   3206   $as_echo "$as_me: failed program was:" >&5
   3207 sed 's/^/| /' conftest.$ac_ext >&5
   3208 
   3209 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3211 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3212 See \`config.log' for more details." >&5
   3213 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3214 See \`config.log' for more details." >&2;}
   3215    { (exit 1); exit 1; }; }; }
   3216 fi
   3217 
   3218 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3219 fi
   3220 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3221 $as_echo "$ac_cv_objext" >&6; }
   3222 OBJEXT=$ac_cv_objext
   3223 ac_objext=$OBJEXT
   3224 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3225 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3226 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3227   $as_echo_n "(cached) " >&6
   3228 else
   3229   cat >conftest.$ac_ext <<_ACEOF
   3230 /* confdefs.h.  */
   3231 _ACEOF
   3232 cat confdefs.h >>conftest.$ac_ext
   3233 cat >>conftest.$ac_ext <<_ACEOF
   3234 /* end confdefs.h.  */
   3235 
   3236 int
   3237 main ()
   3238 {
   3239 #ifndef __GNUC__
   3240        choke me
   3241 #endif
   3242 
   3243   ;
   3244   return 0;
   3245 }
   3246 _ACEOF
   3247 rm -f conftest.$ac_objext
   3248 if { (ac_try="$ac_compile"
   3249 case "(($ac_try" in
   3250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3251   *) ac_try_echo=$ac_try;;
   3252 esac
   3253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3254 $as_echo "$ac_try_echo") >&5
   3255   (eval "$ac_compile") 2>conftest.er1
   3256   ac_status=$?
   3257   grep -v '^ *+' conftest.er1 >conftest.err
   3258   rm -f conftest.er1
   3259   cat conftest.err >&5
   3260   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3261   (exit $ac_status); } && {
   3262 	 test -z "$ac_c_werror_flag" ||
   3263 	 test ! -s conftest.err
   3264        } && test -s conftest.$ac_objext; then
   3265   ac_compiler_gnu=yes
   3266 else
   3267   $as_echo "$as_me: failed program was:" >&5
   3268 sed 's/^/| /' conftest.$ac_ext >&5
   3269 
   3270 	ac_compiler_gnu=no
   3271 fi
   3272 
   3273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3274 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3275 
   3276 fi
   3277 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3278 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3279 if test $ac_compiler_gnu = yes; then
   3280   GCC=yes
   3281 else
   3282   GCC=
   3283 fi
   3284 ac_test_CFLAGS=${CFLAGS+set}
   3285 ac_save_CFLAGS=$CFLAGS
   3286 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3287 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3288 if test "${ac_cv_prog_cc_g+set}" = set; then
   3289   $as_echo_n "(cached) " >&6
   3290 else
   3291   ac_save_c_werror_flag=$ac_c_werror_flag
   3292    ac_c_werror_flag=yes
   3293    ac_cv_prog_cc_g=no
   3294    CFLAGS="-g"
   3295    cat >conftest.$ac_ext <<_ACEOF
   3296 /* confdefs.h.  */
   3297 _ACEOF
   3298 cat confdefs.h >>conftest.$ac_ext
   3299 cat >>conftest.$ac_ext <<_ACEOF
   3300 /* end confdefs.h.  */
   3301 
   3302 int
   3303 main ()
   3304 {
   3305 
   3306   ;
   3307   return 0;
   3308 }
   3309 _ACEOF
   3310 rm -f conftest.$ac_objext
   3311 if { (ac_try="$ac_compile"
   3312 case "(($ac_try" in
   3313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3314   *) ac_try_echo=$ac_try;;
   3315 esac
   3316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3317 $as_echo "$ac_try_echo") >&5
   3318   (eval "$ac_compile") 2>conftest.er1
   3319   ac_status=$?
   3320   grep -v '^ *+' conftest.er1 >conftest.err
   3321   rm -f conftest.er1
   3322   cat conftest.err >&5
   3323   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3324   (exit $ac_status); } && {
   3325 	 test -z "$ac_c_werror_flag" ||
   3326 	 test ! -s conftest.err
   3327        } && test -s conftest.$ac_objext; then
   3328   ac_cv_prog_cc_g=yes
   3329 else
   3330   $as_echo "$as_me: failed program was:" >&5
   3331 sed 's/^/| /' conftest.$ac_ext >&5
   3332 
   3333 	CFLAGS=""
   3334       cat >conftest.$ac_ext <<_ACEOF
   3335 /* confdefs.h.  */
   3336 _ACEOF
   3337 cat confdefs.h >>conftest.$ac_ext
   3338 cat >>conftest.$ac_ext <<_ACEOF
   3339 /* end confdefs.h.  */
   3340 
   3341 int
   3342 main ()
   3343 {
   3344 
   3345   ;
   3346   return 0;
   3347 }
   3348 _ACEOF
   3349 rm -f conftest.$ac_objext
   3350 if { (ac_try="$ac_compile"
   3351 case "(($ac_try" in
   3352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3353   *) ac_try_echo=$ac_try;;
   3354 esac
   3355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3356 $as_echo "$ac_try_echo") >&5
   3357   (eval "$ac_compile") 2>conftest.er1
   3358   ac_status=$?
   3359   grep -v '^ *+' conftest.er1 >conftest.err
   3360   rm -f conftest.er1
   3361   cat conftest.err >&5
   3362   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3363   (exit $ac_status); } && {
   3364 	 test -z "$ac_c_werror_flag" ||
   3365 	 test ! -s conftest.err
   3366        } && test -s conftest.$ac_objext; then
   3367   :
   3368 else
   3369   $as_echo "$as_me: failed program was:" >&5
   3370 sed 's/^/| /' conftest.$ac_ext >&5
   3371 
   3372 	ac_c_werror_flag=$ac_save_c_werror_flag
   3373 	 CFLAGS="-g"
   3374 	 cat >conftest.$ac_ext <<_ACEOF
   3375 /* confdefs.h.  */
   3376 _ACEOF
   3377 cat confdefs.h >>conftest.$ac_ext
   3378 cat >>conftest.$ac_ext <<_ACEOF
   3379 /* end confdefs.h.  */
   3380 
   3381 int
   3382 main ()
   3383 {
   3384 
   3385   ;
   3386   return 0;
   3387 }
   3388 _ACEOF
   3389 rm -f conftest.$ac_objext
   3390 if { (ac_try="$ac_compile"
   3391 case "(($ac_try" in
   3392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3393   *) ac_try_echo=$ac_try;;
   3394 esac
   3395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3396 $as_echo "$ac_try_echo") >&5
   3397   (eval "$ac_compile") 2>conftest.er1
   3398   ac_status=$?
   3399   grep -v '^ *+' conftest.er1 >conftest.err
   3400   rm -f conftest.er1
   3401   cat conftest.err >&5
   3402   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3403   (exit $ac_status); } && {
   3404 	 test -z "$ac_c_werror_flag" ||
   3405 	 test ! -s conftest.err
   3406        } && test -s conftest.$ac_objext; then
   3407   ac_cv_prog_cc_g=yes
   3408 else
   3409   $as_echo "$as_me: failed program was:" >&5
   3410 sed 's/^/| /' conftest.$ac_ext >&5
   3411 
   3412 
   3413 fi
   3414 
   3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3416 fi
   3417 
   3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3419 fi
   3420 
   3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3422    ac_c_werror_flag=$ac_save_c_werror_flag
   3423 fi
   3424 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3425 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3426 if test "$ac_test_CFLAGS" = set; then
   3427   CFLAGS=$ac_save_CFLAGS
   3428 elif test $ac_cv_prog_cc_g = yes; then
   3429   if test "$GCC" = yes; then
   3430     CFLAGS="-g -O2"
   3431   else
   3432     CFLAGS="-g"
   3433   fi
   3434 else
   3435   if test "$GCC" = yes; then
   3436     CFLAGS="-O2"
   3437   else
   3438     CFLAGS=
   3439   fi
   3440 fi
   3441 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3442 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3443 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3444   $as_echo_n "(cached) " >&6
   3445 else
   3446   ac_cv_prog_cc_c89=no
   3447 ac_save_CC=$CC
   3448 cat >conftest.$ac_ext <<_ACEOF
   3449 /* confdefs.h.  */
   3450 _ACEOF
   3451 cat confdefs.h >>conftest.$ac_ext
   3452 cat >>conftest.$ac_ext <<_ACEOF
   3453 /* end confdefs.h.  */
   3454 #include <stdarg.h>
   3455 #include <stdio.h>
   3456 #include <sys/types.h>
   3457 #include <sys/stat.h>
   3458 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3459 struct buf { int x; };
   3460 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3461 static char *e (p, i)
   3462      char **p;
   3463      int i;
   3464 {
   3465   return p[i];
   3466 }
   3467 static char *f (char * (*g) (char **, int), char **p, ...)
   3468 {
   3469   char *s;
   3470   va_list v;
   3471   va_start (v,p);
   3472   s = g (p, va_arg (v,int));
   3473   va_end (v);
   3474   return s;
   3475 }
   3476 
   3477 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3478    function prototypes and stuff, but not '\xHH' hex character constants.
   3479    These don't provoke an error unfortunately, instead are silently treated
   3480    as 'x'.  The following induces an error, until -std is added to get
   3481    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3482    array size at least.  It's necessary to write '\x00'==0 to get something
   3483    that's true only with -std.  */
   3484 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3485 
   3486 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3487    inside strings and character constants.  */
   3488 #define FOO(x) 'x'
   3489 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3490 
   3491 int test (int i, double x);
   3492 struct s1 {int (*f) (int a);};
   3493 struct s2 {int (*f) (double a);};
   3494 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3495 int argc;
   3496 char **argv;
   3497 int
   3498 main ()
   3499 {
   3500 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3501   ;
   3502   return 0;
   3503 }
   3504 _ACEOF
   3505 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3506 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3507 do
   3508   CC="$ac_save_CC $ac_arg"
   3509   rm -f conftest.$ac_objext
   3510 if { (ac_try="$ac_compile"
   3511 case "(($ac_try" in
   3512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3513   *) ac_try_echo=$ac_try;;
   3514 esac
   3515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3516 $as_echo "$ac_try_echo") >&5
   3517   (eval "$ac_compile") 2>conftest.er1
   3518   ac_status=$?
   3519   grep -v '^ *+' conftest.er1 >conftest.err
   3520   rm -f conftest.er1
   3521   cat conftest.err >&5
   3522   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3523   (exit $ac_status); } && {
   3524 	 test -z "$ac_c_werror_flag" ||
   3525 	 test ! -s conftest.err
   3526        } && test -s conftest.$ac_objext; then
   3527   ac_cv_prog_cc_c89=$ac_arg
   3528 else
   3529   $as_echo "$as_me: failed program was:" >&5
   3530 sed 's/^/| /' conftest.$ac_ext >&5
   3531 
   3532 
   3533 fi
   3534 
   3535 rm -f core conftest.err conftest.$ac_objext
   3536   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3537 done
   3538 rm -f conftest.$ac_ext
   3539 CC=$ac_save_CC
   3540 
   3541 fi
   3542 # AC_CACHE_VAL
   3543 case "x$ac_cv_prog_cc_c89" in
   3544   x)
   3545     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3546 $as_echo "none needed" >&6; } ;;
   3547   xno)
   3548     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3549 $as_echo "unsupported" >&6; } ;;
   3550   *)
   3551     CC="$CC $ac_cv_prog_cc_c89"
   3552     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3553 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3554 esac
   3555 
   3556 
   3557 ac_ext=c
   3558 ac_cpp='$CPP $CPPFLAGS'
   3559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3562 DEPDIR="${am__leading_dot}deps"
   3563 
   3564 ac_config_commands="$ac_config_commands depfiles"
   3565 
   3566 
   3567 am_make=${MAKE-make}
   3568 cat > confinc << 'END'
   3569 am__doit:
   3570 	@echo this is the am__doit target
   3571 .PHONY: am__doit
   3572 END
   3573 # If we don't find an include directive, just comment out the code.
   3574 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3575 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3576 am__include="#"
   3577 am__quote=
   3578 _am_result=none
   3579 # First try GNU make style include.
   3580 echo "include confinc" > confmf
   3581 # Ignore all kinds of additional output from `make'.
   3582 case `$am_make -s -f confmf 2> /dev/null` in #(
   3583 *the\ am__doit\ target*)
   3584   am__include=include
   3585   am__quote=
   3586   _am_result=GNU
   3587   ;;
   3588 esac
   3589 # Now try BSD make style include.
   3590 if test "$am__include" = "#"; then
   3591    echo '.include "confinc"' > confmf
   3592    case `$am_make -s -f confmf 2> /dev/null` in #(
   3593    *the\ am__doit\ target*)
   3594      am__include=.include
   3595      am__quote="\""
   3596      _am_result=BSD
   3597      ;;
   3598    esac
   3599 fi
   3600 
   3601 
   3602 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3603 $as_echo "$_am_result" >&6; }
   3604 rm -f confinc confmf
   3605 
   3606 # Check whether --enable-dependency-tracking was given.
   3607 if test "${enable_dependency_tracking+set}" = set; then
   3608   enableval=$enable_dependency_tracking;
   3609 fi
   3610 
   3611 if test "x$enable_dependency_tracking" != xno; then
   3612   am_depcomp="$ac_aux_dir/depcomp"
   3613   AMDEPBACKSLASH='\'
   3614 fi
   3615  if test "x$enable_dependency_tracking" != xno; then
   3616   AMDEP_TRUE=
   3617   AMDEP_FALSE='#'
   3618 else
   3619   AMDEP_TRUE='#'
   3620   AMDEP_FALSE=
   3621 fi
   3622 
   3623 
   3624 
   3625 depcc="$CC"   am_compiler_list=
   3626 
   3627 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3628 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3629 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3630   $as_echo_n "(cached) " >&6
   3631 else
   3632   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3633   # We make a subdir and do the tests there.  Otherwise we can end up
   3634   # making bogus files that we don't know about and never remove.  For
   3635   # instance it was reported that on HP-UX the gcc test will end up
   3636   # making a dummy file named `D' -- because `-MD' means `put the output
   3637   # in D'.
   3638   mkdir conftest.dir
   3639   # Copy depcomp to subdir because otherwise we won't find it if we're
   3640   # using a relative directory.
   3641   cp "$am_depcomp" conftest.dir
   3642   cd conftest.dir
   3643   # We will build objects and dependencies in a subdirectory because
   3644   # it helps to detect inapplicable dependency modes.  For instance
   3645   # both Tru64's cc and ICC support -MD to output dependencies as a
   3646   # side effect of compilation, but ICC will put the dependencies in
   3647   # the current directory while Tru64 will put them in the object
   3648   # directory.
   3649   mkdir sub
   3650 
   3651   am_cv_CC_dependencies_compiler_type=none
   3652   if test "$am_compiler_list" = ""; then
   3653      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3654   fi
   3655   am__universal=false
   3656   case " $depcc " in #(
   3657      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3658      esac
   3659 
   3660   for depmode in $am_compiler_list; do
   3661     # Setup a source with many dependencies, because some compilers
   3662     # like to wrap large dependency lists on column 80 (with \), and
   3663     # we should not choose a depcomp mode which is confused by this.
   3664     #
   3665     # We need to recreate these files for each test, as the compiler may
   3666     # overwrite some of them when testing with obscure command lines.
   3667     # This happens at least with the AIX C compiler.
   3668     : > sub/conftest.c
   3669     for i in 1 2 3 4 5 6; do
   3670       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3671       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3672       # Solaris 8's {/usr,}/bin/sh.
   3673       touch sub/conftst$i.h
   3674     done
   3675     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3676 
   3677     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3678     # mode.  It turns out that the SunPro C++ compiler does not properly
   3679     # handle `-M -o', and we need to detect this.  Also, some Intel
   3680     # versions had trouble with output in subdirs
   3681     am__obj=sub/conftest.${OBJEXT-o}
   3682     am__minus_obj="-o $am__obj"
   3683     case $depmode in
   3684     gcc)
   3685       # This depmode causes a compiler race in universal mode.
   3686       test "$am__universal" = false || continue
   3687       ;;
   3688     nosideeffect)
   3689       # after this tag, mechanisms are not by side-effect, so they'll
   3690       # only be used when explicitly requested
   3691       if test "x$enable_dependency_tracking" = xyes; then
   3692 	continue
   3693       else
   3694 	break
   3695       fi
   3696       ;;
   3697     msvisualcpp | msvcmsys)
   3698       # This compiler won't grok `-c -o', but also, the minuso test has
   3699       # not run yet.  These depmodes are late enough in the game, and
   3700       # so weak that their functioning should not be impacted.
   3701       am__obj=conftest.${OBJEXT-o}
   3702       am__minus_obj=
   3703       ;;
   3704     none) break ;;
   3705     esac
   3706     if depmode=$depmode \
   3707        source=sub/conftest.c object=$am__obj \
   3708        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3709        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3710          >/dev/null 2>conftest.err &&
   3711        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3712        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3713        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3714        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3715       # icc doesn't choke on unknown options, it will just issue warnings
   3716       # or remarks (even with -Werror).  So we grep stderr for any message
   3717       # that says an option was ignored or not supported.
   3718       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3719       #   icc: Command line warning: ignoring option '-M'; no argument required
   3720       # The diagnosis changed in icc 8.0:
   3721       #   icc: Command line remark: option '-MP' not supported
   3722       if (grep 'ignoring option' conftest.err ||
   3723           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3724         am_cv_CC_dependencies_compiler_type=$depmode
   3725         break
   3726       fi
   3727     fi
   3728   done
   3729 
   3730   cd ..
   3731   rm -rf conftest.dir
   3732 else
   3733   am_cv_CC_dependencies_compiler_type=none
   3734 fi
   3735 
   3736 fi
   3737 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3738 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3739 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3740 
   3741  if
   3742   test "x$enable_dependency_tracking" != xno \
   3743   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3744   am__fastdepCC_TRUE=
   3745   am__fastdepCC_FALSE='#'
   3746 else
   3747   am__fastdepCC_TRUE='#'
   3748   am__fastdepCC_FALSE=
   3749 fi
   3750 
   3751 
   3752 case `pwd` in
   3753   *\ * | *\	*)
   3754     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3755 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3756 esac
   3757 
   3758 
   3759 
   3760 macro_version='2.2.6'
   3761 macro_revision='1.3012'
   3762 
   3763 
   3764 
   3765 
   3766 
   3767 
   3768 
   3769 
   3770 
   3771 
   3772 
   3773 
   3774 
   3775 ltmain="$ac_aux_dir/ltmain.sh"
   3776 
   3777 # Make sure we can run config.sub.
   3778 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3779   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3780 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3781    { (exit 1); exit 1; }; }
   3782 
   3783 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3784 $as_echo_n "checking build system type... " >&6; }
   3785 if test "${ac_cv_build+set}" = set; then
   3786   $as_echo_n "(cached) " >&6
   3787 else
   3788   ac_build_alias=$build_alias
   3789 test "x$ac_build_alias" = x &&
   3790   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3791 test "x$ac_build_alias" = x &&
   3792   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3793 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3794    { (exit 1); exit 1; }; }
   3795 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3796   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3797 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3798    { (exit 1); exit 1; }; }
   3799 
   3800 fi
   3801 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3802 $as_echo "$ac_cv_build" >&6; }
   3803 case $ac_cv_build in
   3804 *-*-*) ;;
   3805 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3806 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3807    { (exit 1); exit 1; }; };;
   3808 esac
   3809 build=$ac_cv_build
   3810 ac_save_IFS=$IFS; IFS='-'
   3811 set x $ac_cv_build
   3812 shift
   3813 build_cpu=$1
   3814 build_vendor=$2
   3815 shift; shift
   3816 # Remember, the first character of IFS is used to create $*,
   3817 # except with old shells:
   3818 build_os=$*
   3819 IFS=$ac_save_IFS
   3820 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3821 
   3822 
   3823 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3824 $as_echo_n "checking host system type... " >&6; }
   3825 if test "${ac_cv_host+set}" = set; then
   3826   $as_echo_n "(cached) " >&6
   3827 else
   3828   if test "x$host_alias" = x; then
   3829   ac_cv_host=$ac_cv_build
   3830 else
   3831   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3832     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3833 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3834    { (exit 1); exit 1; }; }
   3835 fi
   3836 
   3837 fi
   3838 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3839 $as_echo "$ac_cv_host" >&6; }
   3840 case $ac_cv_host in
   3841 *-*-*) ;;
   3842 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3843 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3844    { (exit 1); exit 1; }; };;
   3845 esac
   3846 host=$ac_cv_host
   3847 ac_save_IFS=$IFS; IFS='-'
   3848 set x $ac_cv_host
   3849 shift
   3850 host_cpu=$1
   3851 host_vendor=$2
   3852 shift; shift
   3853 # Remember, the first character of IFS is used to create $*,
   3854 # except with old shells:
   3855 host_os=$*
   3856 IFS=$ac_save_IFS
   3857 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3858 
   3859 
   3860 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3861 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3862 if test "${ac_cv_path_SED+set}" = set; then
   3863   $as_echo_n "(cached) " >&6
   3864 else
   3865             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3866      for ac_i in 1 2 3 4 5 6 7; do
   3867        ac_script="$ac_script$as_nl$ac_script"
   3868      done
   3869      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3870      $as_unset ac_script || ac_script=
   3871      if test -z "$SED"; then
   3872   ac_path_SED_found=false
   3873   # Loop through the user's path and test for each of PROGNAME-LIST
   3874   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3875 for as_dir in $PATH
   3876 do
   3877   IFS=$as_save_IFS
   3878   test -z "$as_dir" && as_dir=.
   3879   for ac_prog in sed gsed; do
   3880     for ac_exec_ext in '' $ac_executable_extensions; do
   3881       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3882       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3883 # Check for GNU ac_path_SED and select it if it is found.
   3884   # Check for GNU $ac_path_SED
   3885 case `"$ac_path_SED" --version 2>&1` in
   3886 *GNU*)
   3887   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3888 *)
   3889   ac_count=0
   3890   $as_echo_n 0123456789 >"conftest.in"
   3891   while :
   3892   do
   3893     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3894     mv "conftest.tmp" "conftest.in"
   3895     cp "conftest.in" "conftest.nl"
   3896     $as_echo '' >> "conftest.nl"
   3897     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3898     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3899     ac_count=`expr $ac_count + 1`
   3900     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3901       # Best one so far, save it but keep looking for a better one
   3902       ac_cv_path_SED="$ac_path_SED"
   3903       ac_path_SED_max=$ac_count
   3904     fi
   3905     # 10*(2^10) chars as input seems more than enough
   3906     test $ac_count -gt 10 && break
   3907   done
   3908   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3909 esac
   3910 
   3911       $ac_path_SED_found && break 3
   3912     done
   3913   done
   3914 done
   3915 IFS=$as_save_IFS
   3916   if test -z "$ac_cv_path_SED"; then
   3917     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   3918 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   3919    { (exit 1); exit 1; }; }
   3920   fi
   3921 else
   3922   ac_cv_path_SED=$SED
   3923 fi
   3924 
   3925 fi
   3926 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   3927 $as_echo "$ac_cv_path_SED" >&6; }
   3928  SED="$ac_cv_path_SED"
   3929   rm -f conftest.sed
   3930 
   3931 test -z "$SED" && SED=sed
   3932 Xsed="$SED -e 1s/^X//"
   3933 
   3934 
   3935 
   3936 
   3937 
   3938 
   3939 
   3940 
   3941 
   3942 
   3943 
   3944 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3945 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3946 if test "${ac_cv_path_GREP+set}" = set; then
   3947   $as_echo_n "(cached) " >&6
   3948 else
   3949   if test -z "$GREP"; then
   3950   ac_path_GREP_found=false
   3951   # Loop through the user's path and test for each of PROGNAME-LIST
   3952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3953 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3954 do
   3955   IFS=$as_save_IFS
   3956   test -z "$as_dir" && as_dir=.
   3957   for ac_prog in grep ggrep; do
   3958     for ac_exec_ext in '' $ac_executable_extensions; do
   3959       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3960       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3961 # Check for GNU ac_path_GREP and select it if it is found.
   3962   # Check for GNU $ac_path_GREP
   3963 case `"$ac_path_GREP" --version 2>&1` in
   3964 *GNU*)
   3965   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3966 *)
   3967   ac_count=0
   3968   $as_echo_n 0123456789 >"conftest.in"
   3969   while :
   3970   do
   3971     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3972     mv "conftest.tmp" "conftest.in"
   3973     cp "conftest.in" "conftest.nl"
   3974     $as_echo 'GREP' >> "conftest.nl"
   3975     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3976     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3977     ac_count=`expr $ac_count + 1`
   3978     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3979       # Best one so far, save it but keep looking for a better one
   3980       ac_cv_path_GREP="$ac_path_GREP"
   3981       ac_path_GREP_max=$ac_count
   3982     fi
   3983     # 10*(2^10) chars as input seems more than enough
   3984     test $ac_count -gt 10 && break
   3985   done
   3986   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3987 esac
   3988 
   3989       $ac_path_GREP_found && break 3
   3990     done
   3991   done
   3992 done
   3993 IFS=$as_save_IFS
   3994   if test -z "$ac_cv_path_GREP"; then
   3995     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3996 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3997    { (exit 1); exit 1; }; }
   3998   fi
   3999 else
   4000   ac_cv_path_GREP=$GREP
   4001 fi
   4002 
   4003 fi
   4004 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4005 $as_echo "$ac_cv_path_GREP" >&6; }
   4006  GREP="$ac_cv_path_GREP"
   4007 
   4008 
   4009 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4010 $as_echo_n "checking for egrep... " >&6; }
   4011 if test "${ac_cv_path_EGREP+set}" = set; then
   4012   $as_echo_n "(cached) " >&6
   4013 else
   4014   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4015    then ac_cv_path_EGREP="$GREP -E"
   4016    else
   4017      if test -z "$EGREP"; then
   4018   ac_path_EGREP_found=false
   4019   # Loop through the user's path and test for each of PROGNAME-LIST
   4020   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4021 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4022 do
   4023   IFS=$as_save_IFS
   4024   test -z "$as_dir" && as_dir=.
   4025   for ac_prog in egrep; do
   4026     for ac_exec_ext in '' $ac_executable_extensions; do
   4027       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4028       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4029 # Check for GNU ac_path_EGREP and select it if it is found.
   4030   # Check for GNU $ac_path_EGREP
   4031 case `"$ac_path_EGREP" --version 2>&1` in
   4032 *GNU*)
   4033   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4034 *)
   4035   ac_count=0
   4036   $as_echo_n 0123456789 >"conftest.in"
   4037   while :
   4038   do
   4039     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4040     mv "conftest.tmp" "conftest.in"
   4041     cp "conftest.in" "conftest.nl"
   4042     $as_echo 'EGREP' >> "conftest.nl"
   4043     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4044     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4045     ac_count=`expr $ac_count + 1`
   4046     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4047       # Best one so far, save it but keep looking for a better one
   4048       ac_cv_path_EGREP="$ac_path_EGREP"
   4049       ac_path_EGREP_max=$ac_count
   4050     fi
   4051     # 10*(2^10) chars as input seems more than enough
   4052     test $ac_count -gt 10 && break
   4053   done
   4054   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4055 esac
   4056 
   4057       $ac_path_EGREP_found && break 3
   4058     done
   4059   done
   4060 done
   4061 IFS=$as_save_IFS
   4062   if test -z "$ac_cv_path_EGREP"; then
   4063     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4064 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4065    { (exit 1); exit 1; }; }
   4066   fi
   4067 else
   4068   ac_cv_path_EGREP=$EGREP
   4069 fi
   4070 
   4071    fi
   4072 fi
   4073 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4074 $as_echo "$ac_cv_path_EGREP" >&6; }
   4075  EGREP="$ac_cv_path_EGREP"
   4076 
   4077 
   4078 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   4079 $as_echo_n "checking for fgrep... " >&6; }
   4080 if test "${ac_cv_path_FGREP+set}" = set; then
   4081   $as_echo_n "(cached) " >&6
   4082 else
   4083   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4084    then ac_cv_path_FGREP="$GREP -F"
   4085    else
   4086      if test -z "$FGREP"; then
   4087   ac_path_FGREP_found=false
   4088   # Loop through the user's path and test for each of PROGNAME-LIST
   4089   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4090 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4091 do
   4092   IFS=$as_save_IFS
   4093   test -z "$as_dir" && as_dir=.
   4094   for ac_prog in fgrep; do
   4095     for ac_exec_ext in '' $ac_executable_extensions; do
   4096       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4097       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4098 # Check for GNU ac_path_FGREP and select it if it is found.
   4099   # Check for GNU $ac_path_FGREP
   4100 case `"$ac_path_FGREP" --version 2>&1` in
   4101 *GNU*)
   4102   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4103 *)
   4104   ac_count=0
   4105   $as_echo_n 0123456789 >"conftest.in"
   4106   while :
   4107   do
   4108     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4109     mv "conftest.tmp" "conftest.in"
   4110     cp "conftest.in" "conftest.nl"
   4111     $as_echo 'FGREP' >> "conftest.nl"
   4112     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4113     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4114     ac_count=`expr $ac_count + 1`
   4115     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4116       # Best one so far, save it but keep looking for a better one
   4117       ac_cv_path_FGREP="$ac_path_FGREP"
   4118       ac_path_FGREP_max=$ac_count
   4119     fi
   4120     # 10*(2^10) chars as input seems more than enough
   4121     test $ac_count -gt 10 && break
   4122   done
   4123   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4124 esac
   4125 
   4126       $ac_path_FGREP_found && break 3
   4127     done
   4128   done
   4129 done
   4130 IFS=$as_save_IFS
   4131   if test -z "$ac_cv_path_FGREP"; then
   4132     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4133 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4134    { (exit 1); exit 1; }; }
   4135   fi
   4136 else
   4137   ac_cv_path_FGREP=$FGREP
   4138 fi
   4139 
   4140    fi
   4141 fi
   4142 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   4143 $as_echo "$ac_cv_path_FGREP" >&6; }
   4144  FGREP="$ac_cv_path_FGREP"
   4145 
   4146 
   4147 test -z "$GREP" && GREP=grep
   4148 
   4149 
   4150 
   4151 
   4152 
   4153 
   4154 
   4155 
   4156 
   4157 
   4158 
   4159 
   4160 
   4161 
   4162 
   4163 
   4164 
   4165 
   4166 
   4167 # Check whether --with-gnu-ld was given.
   4168 if test "${with_gnu_ld+set}" = set; then
   4169   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4170 else
   4171   with_gnu_ld=no
   4172 fi
   4173 
   4174 ac_prog=ld
   4175 if test "$GCC" = yes; then
   4176   # Check if gcc -print-prog-name=ld gives a path.
   4177   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4178 $as_echo_n "checking for ld used by $CC... " >&6; }
   4179   case $host in
   4180   *-*-mingw*)
   4181     # gcc leaves a trailing carriage return which upsets mingw
   4182     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4183   *)
   4184     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4185   esac
   4186   case $ac_prog in
   4187     # Accept absolute paths.
   4188     [\\/]* | ?:[\\/]*)
   4189       re_direlt='/[^/][^/]*/\.\./'
   4190       # Canonicalize the pathname of ld
   4191       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4192       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4193 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4194       done
   4195       test -z "$LD" && LD="$ac_prog"
   4196       ;;
   4197   "")
   4198     # If it fails, then pretend we aren't using GCC.
   4199     ac_prog=ld
   4200     ;;
   4201   *)
   4202     # If it is relative, then search for the first ld in PATH.
   4203     with_gnu_ld=unknown
   4204     ;;
   4205   esac
   4206 elif test "$with_gnu_ld" = yes; then
   4207   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4208 $as_echo_n "checking for GNU ld... " >&6; }
   4209 else
   4210   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4211 $as_echo_n "checking for non-GNU ld... " >&6; }
   4212 fi
   4213 if test "${lt_cv_path_LD+set}" = set; then
   4214   $as_echo_n "(cached) " >&6
   4215 else
   4216   if test -z "$LD"; then
   4217   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4218   for ac_dir in $PATH; do
   4219     IFS="$lt_save_ifs"
   4220     test -z "$ac_dir" && ac_dir=.
   4221     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4222       lt_cv_path_LD="$ac_dir/$ac_prog"
   4223       # Check to see if the program is GNU ld.  I'd rather use --version,
   4224       # but apparently some variants of GNU ld only accept -v.
   4225       # Break only if it was the GNU/non-GNU ld that we prefer.
   4226       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4227       *GNU* | *'with BFD'*)
   4228 	test "$with_gnu_ld" != no && break
   4229 	;;
   4230       *)
   4231 	test "$with_gnu_ld" != yes && break
   4232 	;;
   4233       esac
   4234     fi
   4235   done
   4236   IFS="$lt_save_ifs"
   4237 else
   4238   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4239 fi
   4240 fi
   4241 
   4242 LD="$lt_cv_path_LD"
   4243 if test -n "$LD"; then
   4244   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4245 $as_echo "$LD" >&6; }
   4246 else
   4247   { $as_echo "$as_me:$LINENO: result: no" >&5
   4248 $as_echo "no" >&6; }
   4249 fi
   4250 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4251 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4252    { (exit 1); exit 1; }; }
   4253 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4254 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4255 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4256   $as_echo_n "(cached) " >&6
   4257 else
   4258   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4259 case `$LD -v 2>&1 </dev/null` in
   4260 *GNU* | *'with BFD'*)
   4261   lt_cv_prog_gnu_ld=yes
   4262   ;;
   4263 *)
   4264   lt_cv_prog_gnu_ld=no
   4265   ;;
   4266 esac
   4267 fi
   4268 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4269 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4270 with_gnu_ld=$lt_cv_prog_gnu_ld
   4271 
   4272 
   4273 
   4274 
   4275 
   4276 
   4277 
   4278 
   4279 
   4280 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   4281 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4282 if test "${lt_cv_path_NM+set}" = set; then
   4283   $as_echo_n "(cached) " >&6
   4284 else
   4285   if test -n "$NM"; then
   4286   # Let the user override the test.
   4287   lt_cv_path_NM="$NM"
   4288 else
   4289   lt_nm_to_check="${ac_tool_prefix}nm"
   4290   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4291     lt_nm_to_check="$lt_nm_to_check nm"
   4292   fi
   4293   for lt_tmp_nm in $lt_nm_to_check; do
   4294     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4295     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4296       IFS="$lt_save_ifs"
   4297       test -z "$ac_dir" && ac_dir=.
   4298       tmp_nm="$ac_dir/$lt_tmp_nm"
   4299       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4300 	# Check to see if the nm accepts a BSD-compat flag.
   4301 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4302 	#   nm: unknown option "B" ignored
   4303 	# Tru64's nm complains that /dev/null is an invalid object file
   4304 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4305 	*/dev/null* | *'Invalid file or object type'*)
   4306 	  lt_cv_path_NM="$tmp_nm -B"
   4307 	  break
   4308 	  ;;
   4309 	*)
   4310 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4311 	  */dev/null*)
   4312 	    lt_cv_path_NM="$tmp_nm -p"
   4313 	    break
   4314 	    ;;
   4315 	  *)
   4316 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4317 	    continue # so that we can try to find one that supports BSD flags
   4318 	    ;;
   4319 	  esac
   4320 	  ;;
   4321 	esac
   4322       fi
   4323     done
   4324     IFS="$lt_save_ifs"
   4325   done
   4326   : ${lt_cv_path_NM=no}
   4327 fi
   4328 fi
   4329 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4330 $as_echo "$lt_cv_path_NM" >&6; }
   4331 if test "$lt_cv_path_NM" != "no"; then
   4332   NM="$lt_cv_path_NM"
   4333 else
   4334   # Didn't find any BSD compatible name lister, look for dumpbin.
   4335   if test -n "$ac_tool_prefix"; then
   4336   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4337   do
   4338     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4340 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4341 $as_echo_n "checking for $ac_word... " >&6; }
   4342 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   4343   $as_echo_n "(cached) " >&6
   4344 else
   4345   if test -n "$DUMPBIN"; then
   4346   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4347 else
   4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4349 for as_dir in $PATH
   4350 do
   4351   IFS=$as_save_IFS
   4352   test -z "$as_dir" && as_dir=.
   4353   for ac_exec_ext in '' $ac_executable_extensions; do
   4354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4355     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4356     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4357     break 2
   4358   fi
   4359 done
   4360 done
   4361 IFS=$as_save_IFS
   4362 
   4363 fi
   4364 fi
   4365 DUMPBIN=$ac_cv_prog_DUMPBIN
   4366 if test -n "$DUMPBIN"; then
   4367   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   4368 $as_echo "$DUMPBIN" >&6; }
   4369 else
   4370   { $as_echo "$as_me:$LINENO: result: no" >&5
   4371 $as_echo "no" >&6; }
   4372 fi
   4373 
   4374 
   4375     test -n "$DUMPBIN" && break
   4376   done
   4377 fi
   4378 if test -z "$DUMPBIN"; then
   4379   ac_ct_DUMPBIN=$DUMPBIN
   4380   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4381 do
   4382   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4383 set dummy $ac_prog; ac_word=$2
   4384 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4385 $as_echo_n "checking for $ac_word... " >&6; }
   4386 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   4387   $as_echo_n "(cached) " >&6
   4388 else
   4389   if test -n "$ac_ct_DUMPBIN"; then
   4390   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4391 else
   4392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4393 for as_dir in $PATH
   4394 do
   4395   IFS=$as_save_IFS
   4396   test -z "$as_dir" && as_dir=.
   4397   for ac_exec_ext in '' $ac_executable_extensions; do
   4398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4399     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4400     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4401     break 2
   4402   fi
   4403 done
   4404 done
   4405 IFS=$as_save_IFS
   4406 
   4407 fi
   4408 fi
   4409 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4410 if test -n "$ac_ct_DUMPBIN"; then
   4411   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   4412 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4413 else
   4414   { $as_echo "$as_me:$LINENO: result: no" >&5
   4415 $as_echo "no" >&6; }
   4416 fi
   4417 
   4418 
   4419   test -n "$ac_ct_DUMPBIN" && break
   4420 done
   4421 
   4422   if test "x$ac_ct_DUMPBIN" = x; then
   4423     DUMPBIN=":"
   4424   else
   4425     case $cross_compiling:$ac_tool_warned in
   4426 yes:)
   4427 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4429 ac_tool_warned=yes ;;
   4430 esac
   4431     DUMPBIN=$ac_ct_DUMPBIN
   4432   fi
   4433 fi
   4434 
   4435 
   4436   if test "$DUMPBIN" != ":"; then
   4437     NM="$DUMPBIN"
   4438   fi
   4439 fi
   4440 test -z "$NM" && NM=nm
   4441 
   4442 
   4443 
   4444 
   4445 
   4446 
   4447 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   4448 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4449 if test "${lt_cv_nm_interface+set}" = set; then
   4450   $as_echo_n "(cached) " >&6
   4451 else
   4452   lt_cv_nm_interface="BSD nm"
   4453   echo "int some_variable = 0;" > conftest.$ac_ext
   4454   (eval echo "\"\$as_me:4454: $ac_compile\"" >&5)
   4455   (eval "$ac_compile" 2>conftest.err)
   4456   cat conftest.err >&5
   4457   (eval echo "\"\$as_me:4457: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4458   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4459   cat conftest.err >&5
   4460   (eval echo "\"\$as_me:4460: output\"" >&5)
   4461   cat conftest.out >&5
   4462   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4463     lt_cv_nm_interface="MS dumpbin"
   4464   fi
   4465   rm -f conftest*
   4466 fi
   4467 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   4468 $as_echo "$lt_cv_nm_interface" >&6; }
   4469 
   4470 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4471 $as_echo_n "checking whether ln -s works... " >&6; }
   4472 LN_S=$as_ln_s
   4473 if test "$LN_S" = "ln -s"; then
   4474   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4475 $as_echo "yes" >&6; }
   4476 else
   4477   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4478 $as_echo "no, using $LN_S" >&6; }
   4479 fi
   4480 
   4481 # find the maximum length of command line arguments
   4482 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   4483 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4484 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   4485   $as_echo_n "(cached) " >&6
   4486 else
   4487     i=0
   4488   teststring="ABCD"
   4489 
   4490   case $build_os in
   4491   msdosdjgpp*)
   4492     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4493     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4494     # during glob expansion).  Even if it were fixed, the result of this
   4495     # check would be larger than it should be.
   4496     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4497     ;;
   4498 
   4499   gnu*)
   4500     # Under GNU Hurd, this test is not required because there is
   4501     # no limit to the length of command line arguments.
   4502     # Libtool will interpret -1 as no limit whatsoever
   4503     lt_cv_sys_max_cmd_len=-1;
   4504     ;;
   4505 
   4506   cygwin* | mingw* | cegcc*)
   4507     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4508     # about 5 minutes as the teststring grows exponentially.
   4509     # Worse, since 9x/ME are not pre-emptively multitasking,
   4510     # you end up with a "frozen" computer, even though with patience
   4511     # the test eventually succeeds (with a max line length of 256k).
   4512     # Instead, let's just punt: use the minimum linelength reported by
   4513     # all of the supported platforms: 8192 (on NT/2K/XP).
   4514     lt_cv_sys_max_cmd_len=8192;
   4515     ;;
   4516 
   4517   amigaos*)
   4518     # On AmigaOS with pdksh, this test takes hours, literally.
   4519     # So we just punt and use a minimum line length of 8192.
   4520     lt_cv_sys_max_cmd_len=8192;
   4521     ;;
   4522 
   4523   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4524     # This has been around since 386BSD, at least.  Likely further.
   4525     if test -x /sbin/sysctl; then
   4526       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4527     elif test -x /usr/sbin/sysctl; then
   4528       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4529     else
   4530       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4531     fi
   4532     # And add a safety zone
   4533     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4534     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4535     ;;
   4536 
   4537   interix*)
   4538     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4539     lt_cv_sys_max_cmd_len=196608
   4540     ;;
   4541 
   4542   osf*)
   4543     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4544     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4545     # nice to cause kernel panics so lets avoid the loop below.
   4546     # First set a reasonable default.
   4547     lt_cv_sys_max_cmd_len=16384
   4548     #
   4549     if test -x /sbin/sysconfig; then
   4550       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4551         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4552       esac
   4553     fi
   4554     ;;
   4555   sco3.2v5*)
   4556     lt_cv_sys_max_cmd_len=102400
   4557     ;;
   4558   sysv5* | sco5v6* | sysv4.2uw2*)
   4559     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4560     if test -n "$kargmax"; then
   4561       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4562     else
   4563       lt_cv_sys_max_cmd_len=32768
   4564     fi
   4565     ;;
   4566   *)
   4567     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4568     if test -n "$lt_cv_sys_max_cmd_len"; then
   4569       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4570       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4571     else
   4572       # Make teststring a little bigger before we do anything with it.
   4573       # a 1K string should be a reasonable start.
   4574       for i in 1 2 3 4 5 6 7 8 ; do
   4575         teststring=$teststring$teststring
   4576       done
   4577       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4578       # If test is not a shell built-in, we'll probably end up computing a
   4579       # maximum length that is only half of the actual maximum length, but
   4580       # we can't tell.
   4581       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   4582 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   4583 	      test $i != 17 # 1/2 MB should be enough
   4584       do
   4585         i=`expr $i + 1`
   4586         teststring=$teststring$teststring
   4587       done
   4588       # Only check the string length outside the loop.
   4589       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4590       teststring=
   4591       # Add a significant safety factor because C++ compilers can tack on
   4592       # massive amounts of additional arguments before passing them to the
   4593       # linker.  It appears as though 1/2 is a usable value.
   4594       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4595     fi
   4596     ;;
   4597   esac
   4598 
   4599 fi
   4600 
   4601 if test -n $lt_cv_sys_max_cmd_len ; then
   4602   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   4603 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4604 else
   4605   { $as_echo "$as_me:$LINENO: result: none" >&5
   4606 $as_echo "none" >&6; }
   4607 fi
   4608 max_cmd_len=$lt_cv_sys_max_cmd_len
   4609 
   4610 
   4611 
   4612 
   4613 
   4614 
   4615 : ${CP="cp -f"}
   4616 : ${MV="mv -f"}
   4617 : ${RM="rm -f"}
   4618 
   4619 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   4620 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4621 # Try some XSI features
   4622 xsi_shell=no
   4623 ( _lt_dummy="a/b/c"
   4624   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   4625       = c,a/b,, \
   4626     && eval 'test $(( 1 + 1 )) -eq 2 \
   4627     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4628   && xsi_shell=yes
   4629 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   4630 $as_echo "$xsi_shell" >&6; }
   4631 
   4632 
   4633 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   4634 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4635 lt_shell_append=no
   4636 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4637     >/dev/null 2>&1 \
   4638   && lt_shell_append=yes
   4639 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   4640 $as_echo "$lt_shell_append" >&6; }
   4641 
   4642 
   4643 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4644   lt_unset=unset
   4645 else
   4646   lt_unset=false
   4647 fi
   4648 
   4649 
   4650 
   4651 
   4652 
   4653 # test EBCDIC or ASCII
   4654 case `echo X|tr X '\101'` in
   4655  A) # ASCII based system
   4656     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4657   lt_SP2NL='tr \040 \012'
   4658   lt_NL2SP='tr \015\012 \040\040'
   4659   ;;
   4660  *) # EBCDIC based system
   4661   lt_SP2NL='tr \100 \n'
   4662   lt_NL2SP='tr \r\n \100\100'
   4663   ;;
   4664 esac
   4665 
   4666 
   4667 
   4668 
   4669 
   4670 
   4671 
   4672 
   4673 
   4674 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4675 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4676 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4677   $as_echo_n "(cached) " >&6
   4678 else
   4679   lt_cv_ld_reload_flag='-r'
   4680 fi
   4681 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4682 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4683 reload_flag=$lt_cv_ld_reload_flag
   4684 case $reload_flag in
   4685 "" | " "*) ;;
   4686 *) reload_flag=" $reload_flag" ;;
   4687 esac
   4688 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4689 case $host_os in
   4690   darwin*)
   4691     if test "$GCC" = yes; then
   4692       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4693     else
   4694       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4695     fi
   4696     ;;
   4697 esac
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 
   4706 
   4707 if test -n "$ac_tool_prefix"; then
   4708   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4709 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4710 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4711 $as_echo_n "checking for $ac_word... " >&6; }
   4712 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   4713   $as_echo_n "(cached) " >&6
   4714 else
   4715   if test -n "$OBJDUMP"; then
   4716   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4717 else
   4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4719 for as_dir in $PATH
   4720 do
   4721   IFS=$as_save_IFS
   4722   test -z "$as_dir" && as_dir=.
   4723   for ac_exec_ext in '' $ac_executable_extensions; do
   4724   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4725     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4726     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4727     break 2
   4728   fi
   4729 done
   4730 done
   4731 IFS=$as_save_IFS
   4732 
   4733 fi
   4734 fi
   4735 OBJDUMP=$ac_cv_prog_OBJDUMP
   4736 if test -n "$OBJDUMP"; then
   4737   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   4738 $as_echo "$OBJDUMP" >&6; }
   4739 else
   4740   { $as_echo "$as_me:$LINENO: result: no" >&5
   4741 $as_echo "no" >&6; }
   4742 fi
   4743 
   4744 
   4745 fi
   4746 if test -z "$ac_cv_prog_OBJDUMP"; then
   4747   ac_ct_OBJDUMP=$OBJDUMP
   4748   # Extract the first word of "objdump", so it can be a program name with args.
   4749 set dummy objdump; ac_word=$2
   4750 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4751 $as_echo_n "checking for $ac_word... " >&6; }
   4752 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   4753   $as_echo_n "(cached) " >&6
   4754 else
   4755   if test -n "$ac_ct_OBJDUMP"; then
   4756   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4757 else
   4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4759 for as_dir in $PATH
   4760 do
   4761   IFS=$as_save_IFS
   4762   test -z "$as_dir" && as_dir=.
   4763   for ac_exec_ext in '' $ac_executable_extensions; do
   4764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4765     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4766     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4767     break 2
   4768   fi
   4769 done
   4770 done
   4771 IFS=$as_save_IFS
   4772 
   4773 fi
   4774 fi
   4775 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4776 if test -n "$ac_ct_OBJDUMP"; then
   4777   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   4778 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4779 else
   4780   { $as_echo "$as_me:$LINENO: result: no" >&5
   4781 $as_echo "no" >&6; }
   4782 fi
   4783 
   4784   if test "x$ac_ct_OBJDUMP" = x; then
   4785     OBJDUMP="false"
   4786   else
   4787     case $cross_compiling:$ac_tool_warned in
   4788 yes:)
   4789 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4791 ac_tool_warned=yes ;;
   4792 esac
   4793     OBJDUMP=$ac_ct_OBJDUMP
   4794   fi
   4795 else
   4796   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4797 fi
   4798 
   4799 test -z "$OBJDUMP" && OBJDUMP=objdump
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4810 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4811 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4812   $as_echo_n "(cached) " >&6
   4813 else
   4814   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4815 lt_cv_file_magic_test_file=
   4816 lt_cv_deplibs_check_method='unknown'
   4817 # Need to set the preceding variable on all platforms that support
   4818 # interlibrary dependencies.
   4819 # 'none' -- dependencies not supported.
   4820 # `unknown' -- same as none, but documents that we really don't know.
   4821 # 'pass_all' -- all dependencies passed with no checks.
   4822 # 'test_compile' -- check by making test program.
   4823 # 'file_magic [[regex]]' -- check by looking for files in library path
   4824 # which responds to the $file_magic_cmd with a given extended regex.
   4825 # If you have `file' or equivalent on your system and you're not sure
   4826 # whether `pass_all' will *always* work, you probably want this one.
   4827 
   4828 case $host_os in
   4829 aix[4-9]*)
   4830   lt_cv_deplibs_check_method=pass_all
   4831   ;;
   4832 
   4833 beos*)
   4834   lt_cv_deplibs_check_method=pass_all
   4835   ;;
   4836 
   4837 bsdi[45]*)
   4838   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4839   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4840   lt_cv_file_magic_test_file=/shlib/libc.so
   4841   ;;
   4842 
   4843 cygwin*)
   4844   # func_win32_libid is a shell function defined in ltmain.sh
   4845   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4846   lt_cv_file_magic_cmd='func_win32_libid'
   4847   ;;
   4848 
   4849 mingw* | pw32*)
   4850   # Base MSYS/MinGW do not provide the 'file' command needed by
   4851   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4852   # unless we find 'file', for example because we are cross-compiling.
   4853   if ( file / ) >/dev/null 2>&1; then
   4854     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4855     lt_cv_file_magic_cmd='func_win32_libid'
   4856   else
   4857     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4858     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4859   fi
   4860   ;;
   4861 
   4862 cegcc)
   4863   # use the weaker test based on 'objdump'. See mingw*.
   4864   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4865   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4866   ;;
   4867 
   4868 darwin* | rhapsody*)
   4869   lt_cv_deplibs_check_method=pass_all
   4870   ;;
   4871 
   4872 freebsd* | dragonfly*)
   4873   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4874     case $host_cpu in
   4875     i*86 )
   4876       # Not sure whether the presence of OpenBSD here was a mistake.
   4877       # Let's accept both of them until this is cleared up.
   4878       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4879       lt_cv_file_magic_cmd=/usr/bin/file
   4880       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4881       ;;
   4882     esac
   4883   else
   4884     lt_cv_deplibs_check_method=pass_all
   4885   fi
   4886   ;;
   4887 
   4888 gnu*)
   4889   lt_cv_deplibs_check_method=pass_all
   4890   ;;
   4891 
   4892 hpux10.20* | hpux11*)
   4893   lt_cv_file_magic_cmd=/usr/bin/file
   4894   case $host_cpu in
   4895   ia64*)
   4896     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4897     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4898     ;;
   4899   hppa*64*)
   4900     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   4901     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4902     ;;
   4903   *)
   4904     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4905     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4906     ;;
   4907   esac
   4908   ;;
   4909 
   4910 interix[3-9]*)
   4911   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4912   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4913   ;;
   4914 
   4915 irix5* | irix6* | nonstopux*)
   4916   case $LD in
   4917   *-32|*"-32 ") libmagic=32-bit;;
   4918   *-n32|*"-n32 ") libmagic=N32;;
   4919   *-64|*"-64 ") libmagic=64-bit;;
   4920   *) libmagic=never-match;;
   4921   esac
   4922   lt_cv_deplibs_check_method=pass_all
   4923   ;;
   4924 
   4925 # This must be Linux ELF.
   4926 linux* | k*bsd*-gnu)
   4927   lt_cv_deplibs_check_method=pass_all
   4928   ;;
   4929 
   4930 netbsd*)
   4931   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4932     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4933   else
   4934     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4935   fi
   4936   ;;
   4937 
   4938 newos6*)
   4939   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4940   lt_cv_file_magic_cmd=/usr/bin/file
   4941   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4942   ;;
   4943 
   4944 *nto* | *qnx*)
   4945   lt_cv_deplibs_check_method=pass_all
   4946   ;;
   4947 
   4948 openbsd*)
   4949   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4950     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4951   else
   4952     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4953   fi
   4954   ;;
   4955 
   4956 osf3* | osf4* | osf5*)
   4957   lt_cv_deplibs_check_method=pass_all
   4958   ;;
   4959 
   4960 rdos*)
   4961   lt_cv_deplibs_check_method=pass_all
   4962   ;;
   4963 
   4964 solaris*)
   4965   lt_cv_deplibs_check_method=pass_all
   4966   ;;
   4967 
   4968 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4969   lt_cv_deplibs_check_method=pass_all
   4970   ;;
   4971 
   4972 sysv4 | sysv4.3*)
   4973   case $host_vendor in
   4974   motorola)
   4975     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]'
   4976     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4977     ;;
   4978   ncr)
   4979     lt_cv_deplibs_check_method=pass_all
   4980     ;;
   4981   sequent)
   4982     lt_cv_file_magic_cmd='/bin/file'
   4983     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4984     ;;
   4985   sni)
   4986     lt_cv_file_magic_cmd='/bin/file'
   4987     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4988     lt_cv_file_magic_test_file=/lib/libc.so
   4989     ;;
   4990   siemens)
   4991     lt_cv_deplibs_check_method=pass_all
   4992     ;;
   4993   pc)
   4994     lt_cv_deplibs_check_method=pass_all
   4995     ;;
   4996   esac
   4997   ;;
   4998 
   4999 tpf*)
   5000   lt_cv_deplibs_check_method=pass_all
   5001   ;;
   5002 esac
   5003 
   5004 fi
   5005 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   5006 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5007 file_magic_cmd=$lt_cv_file_magic_cmd
   5008 deplibs_check_method=$lt_cv_deplibs_check_method
   5009 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 if test -n "$ac_tool_prefix"; then
   5023   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5024 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5025 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5026 $as_echo_n "checking for $ac_word... " >&6; }
   5027 if test "${ac_cv_prog_AR+set}" = set; then
   5028   $as_echo_n "(cached) " >&6
   5029 else
   5030   if test -n "$AR"; then
   5031   ac_cv_prog_AR="$AR" # Let the user override the test.
   5032 else
   5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5034 for as_dir in $PATH
   5035 do
   5036   IFS=$as_save_IFS
   5037   test -z "$as_dir" && as_dir=.
   5038   for ac_exec_ext in '' $ac_executable_extensions; do
   5039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5040     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5041     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5042     break 2
   5043   fi
   5044 done
   5045 done
   5046 IFS=$as_save_IFS
   5047 
   5048 fi
   5049 fi
   5050 AR=$ac_cv_prog_AR
   5051 if test -n "$AR"; then
   5052   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   5053 $as_echo "$AR" >&6; }
   5054 else
   5055   { $as_echo "$as_me:$LINENO: result: no" >&5
   5056 $as_echo "no" >&6; }
   5057 fi
   5058 
   5059 
   5060 fi
   5061 if test -z "$ac_cv_prog_AR"; then
   5062   ac_ct_AR=$AR
   5063   # Extract the first word of "ar", so it can be a program name with args.
   5064 set dummy ar; ac_word=$2
   5065 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5066 $as_echo_n "checking for $ac_word... " >&6; }
   5067 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5068   $as_echo_n "(cached) " >&6
   5069 else
   5070   if test -n "$ac_ct_AR"; then
   5071   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5072 else
   5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5074 for as_dir in $PATH
   5075 do
   5076   IFS=$as_save_IFS
   5077   test -z "$as_dir" && as_dir=.
   5078   for ac_exec_ext in '' $ac_executable_extensions; do
   5079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5080     ac_cv_prog_ac_ct_AR="ar"
   5081     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5082     break 2
   5083   fi
   5084 done
   5085 done
   5086 IFS=$as_save_IFS
   5087 
   5088 fi
   5089 fi
   5090 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5091 if test -n "$ac_ct_AR"; then
   5092   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5093 $as_echo "$ac_ct_AR" >&6; }
   5094 else
   5095   { $as_echo "$as_me:$LINENO: result: no" >&5
   5096 $as_echo "no" >&6; }
   5097 fi
   5098 
   5099   if test "x$ac_ct_AR" = x; then
   5100     AR="false"
   5101   else
   5102     case $cross_compiling:$ac_tool_warned in
   5103 yes:)
   5104 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5106 ac_tool_warned=yes ;;
   5107 esac
   5108     AR=$ac_ct_AR
   5109   fi
   5110 else
   5111   AR="$ac_cv_prog_AR"
   5112 fi
   5113 
   5114 test -z "$AR" && AR=ar
   5115 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 if test -n "$ac_tool_prefix"; then
   5128   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5129 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5130 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5131 $as_echo_n "checking for $ac_word... " >&6; }
   5132 if test "${ac_cv_prog_STRIP+set}" = set; then
   5133   $as_echo_n "(cached) " >&6
   5134 else
   5135   if test -n "$STRIP"; then
   5136   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5137 else
   5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5139 for as_dir in $PATH
   5140 do
   5141   IFS=$as_save_IFS
   5142   test -z "$as_dir" && as_dir=.
   5143   for ac_exec_ext in '' $ac_executable_extensions; do
   5144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5145     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5146     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5147     break 2
   5148   fi
   5149 done
   5150 done
   5151 IFS=$as_save_IFS
   5152 
   5153 fi
   5154 fi
   5155 STRIP=$ac_cv_prog_STRIP
   5156 if test -n "$STRIP"; then
   5157   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   5158 $as_echo "$STRIP" >&6; }
   5159 else
   5160   { $as_echo "$as_me:$LINENO: result: no" >&5
   5161 $as_echo "no" >&6; }
   5162 fi
   5163 
   5164 
   5165 fi
   5166 if test -z "$ac_cv_prog_STRIP"; then
   5167   ac_ct_STRIP=$STRIP
   5168   # Extract the first word of "strip", so it can be a program name with args.
   5169 set dummy strip; ac_word=$2
   5170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5171 $as_echo_n "checking for $ac_word... " >&6; }
   5172 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   5173   $as_echo_n "(cached) " >&6
   5174 else
   5175   if test -n "$ac_ct_STRIP"; then
   5176   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5177 else
   5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5179 for as_dir in $PATH
   5180 do
   5181   IFS=$as_save_IFS
   5182   test -z "$as_dir" && as_dir=.
   5183   for ac_exec_ext in '' $ac_executable_extensions; do
   5184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5185     ac_cv_prog_ac_ct_STRIP="strip"
   5186     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5187     break 2
   5188   fi
   5189 done
   5190 done
   5191 IFS=$as_save_IFS
   5192 
   5193 fi
   5194 fi
   5195 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5196 if test -n "$ac_ct_STRIP"; then
   5197   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   5198 $as_echo "$ac_ct_STRIP" >&6; }
   5199 else
   5200   { $as_echo "$as_me:$LINENO: result: no" >&5
   5201 $as_echo "no" >&6; }
   5202 fi
   5203 
   5204   if test "x$ac_ct_STRIP" = x; then
   5205     STRIP=":"
   5206   else
   5207     case $cross_compiling:$ac_tool_warned in
   5208 yes:)
   5209 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5211 ac_tool_warned=yes ;;
   5212 esac
   5213     STRIP=$ac_ct_STRIP
   5214   fi
   5215 else
   5216   STRIP="$ac_cv_prog_STRIP"
   5217 fi
   5218 
   5219 test -z "$STRIP" && STRIP=:
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 if test -n "$ac_tool_prefix"; then
   5227   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5228 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5229 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5230 $as_echo_n "checking for $ac_word... " >&6; }
   5231 if test "${ac_cv_prog_RANLIB+set}" = set; then
   5232   $as_echo_n "(cached) " >&6
   5233 else
   5234   if test -n "$RANLIB"; then
   5235   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5236 else
   5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5238 for as_dir in $PATH
   5239 do
   5240   IFS=$as_save_IFS
   5241   test -z "$as_dir" && as_dir=.
   5242   for ac_exec_ext in '' $ac_executable_extensions; do
   5243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5244     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5245     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5246     break 2
   5247   fi
   5248 done
   5249 done
   5250 IFS=$as_save_IFS
   5251 
   5252 fi
   5253 fi
   5254 RANLIB=$ac_cv_prog_RANLIB
   5255 if test -n "$RANLIB"; then
   5256   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   5257 $as_echo "$RANLIB" >&6; }
   5258 else
   5259   { $as_echo "$as_me:$LINENO: result: no" >&5
   5260 $as_echo "no" >&6; }
   5261 fi
   5262 
   5263 
   5264 fi
   5265 if test -z "$ac_cv_prog_RANLIB"; then
   5266   ac_ct_RANLIB=$RANLIB
   5267   # Extract the first word of "ranlib", so it can be a program name with args.
   5268 set dummy ranlib; ac_word=$2
   5269 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5270 $as_echo_n "checking for $ac_word... " >&6; }
   5271 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   5272   $as_echo_n "(cached) " >&6
   5273 else
   5274   if test -n "$ac_ct_RANLIB"; then
   5275   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5276 else
   5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5278 for as_dir in $PATH
   5279 do
   5280   IFS=$as_save_IFS
   5281   test -z "$as_dir" && as_dir=.
   5282   for ac_exec_ext in '' $ac_executable_extensions; do
   5283   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5284     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5285     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5286     break 2
   5287   fi
   5288 done
   5289 done
   5290 IFS=$as_save_IFS
   5291 
   5292 fi
   5293 fi
   5294 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5295 if test -n "$ac_ct_RANLIB"; then
   5296   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   5297 $as_echo "$ac_ct_RANLIB" >&6; }
   5298 else
   5299   { $as_echo "$as_me:$LINENO: result: no" >&5
   5300 $as_echo "no" >&6; }
   5301 fi
   5302 
   5303   if test "x$ac_ct_RANLIB" = x; then
   5304     RANLIB=":"
   5305   else
   5306     case $cross_compiling:$ac_tool_warned in
   5307 yes:)
   5308 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5310 ac_tool_warned=yes ;;
   5311 esac
   5312     RANLIB=$ac_ct_RANLIB
   5313   fi
   5314 else
   5315   RANLIB="$ac_cv_prog_RANLIB"
   5316 fi
   5317 
   5318 test -z "$RANLIB" && RANLIB=:
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 # Determine commands to create old-style static archives.
   5326 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5327 old_postinstall_cmds='chmod 644 $oldlib'
   5328 old_postuninstall_cmds=
   5329 
   5330 if test -n "$RANLIB"; then
   5331   case $host_os in
   5332   openbsd*)
   5333     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5334     ;;
   5335   *)
   5336     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5337     ;;
   5338   esac
   5339   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5340 fi
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 # If no C compiler was specified, use CC.
   5376 LTCC=${LTCC-"$CC"}
   5377 
   5378 # If no C compiler flags were specified, use CFLAGS.
   5379 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5380 
   5381 # Allow CC to be a program name with arguments.
   5382 compiler=$CC
   5383 
   5384 
   5385 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5386 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   5387 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5388 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   5389   $as_echo_n "(cached) " >&6
   5390 else
   5391 
   5392 # These are sane defaults that work on at least a few old systems.
   5393 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5394 
   5395 # Character class describing NM global symbol codes.
   5396 symcode='[BCDEGRST]'
   5397 
   5398 # Regexp to match symbols that can be accessed directly from C.
   5399 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5400 
   5401 # Define system-specific variables.
   5402 case $host_os in
   5403 aix*)
   5404   symcode='[BCDT]'
   5405   ;;
   5406 cygwin* | mingw* | pw32* | cegcc*)
   5407   symcode='[ABCDGISTW]'
   5408   ;;
   5409 hpux*)
   5410   if test "$host_cpu" = ia64; then
   5411     symcode='[ABCDEGRST]'
   5412   fi
   5413   ;;
   5414 irix* | nonstopux*)
   5415   symcode='[BCDEGRST]'
   5416   ;;
   5417 osf*)
   5418   symcode='[BCDEGQRST]'
   5419   ;;
   5420 solaris*)
   5421   symcode='[BDRT]'
   5422   ;;
   5423 sco3.2v5*)
   5424   symcode='[DT]'
   5425   ;;
   5426 sysv4.2uw2*)
   5427   symcode='[DT]'
   5428   ;;
   5429 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5430   symcode='[ABDT]'
   5431   ;;
   5432 sysv4)
   5433   symcode='[DFNSTU]'
   5434   ;;
   5435 esac
   5436 
   5437 # If we're using GNU nm, then use its standard symbol codes.
   5438 case `$NM -V 2>&1` in
   5439 *GNU* | *'with BFD'*)
   5440   symcode='[ABCDGIRSTW]' ;;
   5441 esac
   5442 
   5443 # Transform an extracted symbol line into a proper C declaration.
   5444 # Some systems (esp. on ia64) link data and code symbols differently,
   5445 # so use this general approach.
   5446 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5447 
   5448 # Transform an extracted symbol line into symbol name and symbol address
   5449 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5450 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'"
   5451 
   5452 # Handle CRLF in mingw tool chain
   5453 opt_cr=
   5454 case $build_os in
   5455 mingw*)
   5456   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5457   ;;
   5458 esac
   5459 
   5460 # Try without a prefix underscore, then with it.
   5461 for ac_symprfx in "" "_"; do
   5462 
   5463   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5464   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5465 
   5466   # Write the raw and C identifiers.
   5467   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5468     # Fake it for dumpbin and say T for any non-static function
   5469     # and D for any global variable.
   5470     # Also find C++ and __fastcall symbols from MSVC++,
   5471     # which start with @ or ?.
   5472     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5473 "     {last_section=section; section=\$ 3};"\
   5474 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5475 "     \$ 0!~/External *\|/{next};"\
   5476 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5477 "     {if(hide[section]) next};"\
   5478 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5479 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5480 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5481 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5482 "     ' prfx=^$ac_symprfx"
   5483   else
   5484     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5485   fi
   5486 
   5487   # Check to see that the pipe works correctly.
   5488   pipe_works=no
   5489 
   5490   rm -f conftest*
   5491   cat > conftest.$ac_ext <<_LT_EOF
   5492 #ifdef __cplusplus
   5493 extern "C" {
   5494 #endif
   5495 char nm_test_var;
   5496 void nm_test_func(void);
   5497 void nm_test_func(void){}
   5498 #ifdef __cplusplus
   5499 }
   5500 #endif
   5501 int main(){nm_test_var='a';nm_test_func();return(0);}
   5502 _LT_EOF
   5503 
   5504   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5505   (eval $ac_compile) 2>&5
   5506   ac_status=$?
   5507   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5508   (exit $ac_status); }; then
   5509     # Now try to grab the symbols.
   5510     nlist=conftest.nm
   5511     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   5512   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5513   ac_status=$?
   5514   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5515   (exit $ac_status); } && test -s "$nlist"; then
   5516       # Try sorting and uniquifying the output.
   5517       if sort "$nlist" | uniq > "$nlist"T; then
   5518 	mv -f "$nlist"T "$nlist"
   5519       else
   5520 	rm -f "$nlist"T
   5521       fi
   5522 
   5523       # Make sure that we snagged all the symbols we need.
   5524       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5525 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5526 	  cat <<_LT_EOF > conftest.$ac_ext
   5527 #ifdef __cplusplus
   5528 extern "C" {
   5529 #endif
   5530 
   5531 _LT_EOF
   5532 	  # Now generate the symbol file.
   5533 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5534 
   5535 	  cat <<_LT_EOF >> conftest.$ac_ext
   5536 
   5537 /* The mapping between symbol names and symbols.  */
   5538 const struct {
   5539   const char *name;
   5540   void       *address;
   5541 }
   5542 lt__PROGRAM__LTX_preloaded_symbols[] =
   5543 {
   5544   { "@PROGRAM@", (void *) 0 },
   5545 _LT_EOF
   5546 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5547 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5548   {0, (void *) 0}
   5549 };
   5550 
   5551 /* This works around a problem in FreeBSD linker */
   5552 #ifdef FREEBSD_WORKAROUND
   5553 static const void *lt_preloaded_setup() {
   5554   return lt__PROGRAM__LTX_preloaded_symbols;
   5555 }
   5556 #endif
   5557 
   5558 #ifdef __cplusplus
   5559 }
   5560 #endif
   5561 _LT_EOF
   5562 	  # Now try linking the two files.
   5563 	  mv conftest.$ac_objext conftstm.$ac_objext
   5564 	  lt_save_LIBS="$LIBS"
   5565 	  lt_save_CFLAGS="$CFLAGS"
   5566 	  LIBS="conftstm.$ac_objext"
   5567 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5568 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5569   (eval $ac_link) 2>&5
   5570   ac_status=$?
   5571   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5572   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   5573 	    pipe_works=yes
   5574 	  fi
   5575 	  LIBS="$lt_save_LIBS"
   5576 	  CFLAGS="$lt_save_CFLAGS"
   5577 	else
   5578 	  echo "cannot find nm_test_func in $nlist" >&5
   5579 	fi
   5580       else
   5581 	echo "cannot find nm_test_var in $nlist" >&5
   5582       fi
   5583     else
   5584       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5585     fi
   5586   else
   5587     echo "$progname: failed program was:" >&5
   5588     cat conftest.$ac_ext >&5
   5589   fi
   5590   rm -rf conftest* conftst*
   5591 
   5592   # Do not use the global_symbol_pipe unless it works.
   5593   if test "$pipe_works" = yes; then
   5594     break
   5595   else
   5596     lt_cv_sys_global_symbol_pipe=
   5597   fi
   5598 done
   5599 
   5600 fi
   5601 
   5602 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5603   lt_cv_sys_global_symbol_to_cdecl=
   5604 fi
   5605 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5606   { $as_echo "$as_me:$LINENO: result: failed" >&5
   5607 $as_echo "failed" >&6; }
   5608 else
   5609   { $as_echo "$as_me:$LINENO: result: ok" >&5
   5610 $as_echo "ok" >&6; }
   5611 fi
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 # Check whether --enable-libtool-lock was given.
   5636 if test "${enable_libtool_lock+set}" = set; then
   5637   enableval=$enable_libtool_lock;
   5638 fi
   5639 
   5640 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   5641 
   5642 # Some flags need to be propagated to the compiler or linker for good
   5643 # libtool support.
   5644 case $host in
   5645 ia64-*-hpux*)
   5646   # Find out which ABI we are using.
   5647   echo 'int i;' > conftest.$ac_ext
   5648   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5649   (eval $ac_compile) 2>&5
   5650   ac_status=$?
   5651   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5652   (exit $ac_status); }; then
   5653     case `/usr/bin/file conftest.$ac_objext` in
   5654       *ELF-32*)
   5655 	HPUX_IA64_MODE="32"
   5656 	;;
   5657       *ELF-64*)
   5658 	HPUX_IA64_MODE="64"
   5659 	;;
   5660     esac
   5661   fi
   5662   rm -rf conftest*
   5663   ;;
   5664 *-*-irix6*)
   5665   # Find out which ABI we are using.
   5666   echo '#line 5666 "configure"' > conftest.$ac_ext
   5667   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5668   (eval $ac_compile) 2>&5
   5669   ac_status=$?
   5670   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5671   (exit $ac_status); }; then
   5672     if test "$lt_cv_prog_gnu_ld" = yes; then
   5673       case `/usr/bin/file conftest.$ac_objext` in
   5674 	*32-bit*)
   5675 	  LD="${LD-ld} -melf32bsmip"
   5676 	  ;;
   5677 	*N32*)
   5678 	  LD="${LD-ld} -melf32bmipn32"
   5679 	  ;;
   5680 	*64-bit*)
   5681 	  LD="${LD-ld} -melf64bmip"
   5682 	;;
   5683       esac
   5684     else
   5685       case `/usr/bin/file conftest.$ac_objext` in
   5686 	*32-bit*)
   5687 	  LD="${LD-ld} -32"
   5688 	  ;;
   5689 	*N32*)
   5690 	  LD="${LD-ld} -n32"
   5691 	  ;;
   5692 	*64-bit*)
   5693 	  LD="${LD-ld} -64"
   5694 	  ;;
   5695       esac
   5696     fi
   5697   fi
   5698   rm -rf conftest*
   5699   ;;
   5700 
   5701 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   5702 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   5703   # Find out which ABI we are using.
   5704   echo 'int i;' > conftest.$ac_ext
   5705   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5706   (eval $ac_compile) 2>&5
   5707   ac_status=$?
   5708   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5709   (exit $ac_status); }; then
   5710     case `/usr/bin/file conftest.o` in
   5711       *32-bit*)
   5712 	case $host in
   5713 	  x86_64-*kfreebsd*-gnu)
   5714 	    LD="${LD-ld} -m elf_i386_fbsd"
   5715 	    ;;
   5716 	  x86_64-*linux*)
   5717 	    LD="${LD-ld} -m elf_i386"
   5718 	    ;;
   5719 	  ppc64-*linux*|powerpc64-*linux*)
   5720 	    LD="${LD-ld} -m elf32ppclinux"
   5721 	    ;;
   5722 	  s390x-*linux*)
   5723 	    LD="${LD-ld} -m elf_s390"
   5724 	    ;;
   5725 	  sparc64-*linux*)
   5726 	    LD="${LD-ld} -m elf32_sparc"
   5727 	    ;;
   5728 	esac
   5729 	;;
   5730       *64-bit*)
   5731 	case $host in
   5732 	  x86_64-*kfreebsd*-gnu)
   5733 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   5734 	    ;;
   5735 	  x86_64-*linux*)
   5736 	    LD="${LD-ld} -m elf_x86_64"
   5737 	    ;;
   5738 	  ppc*-*linux*|powerpc*-*linux*)
   5739 	    LD="${LD-ld} -m elf64ppc"
   5740 	    ;;
   5741 	  s390*-*linux*|s390*-*tpf*)
   5742 	    LD="${LD-ld} -m elf64_s390"
   5743 	    ;;
   5744 	  sparc*-*linux*)
   5745 	    LD="${LD-ld} -m elf64_sparc"
   5746 	    ;;
   5747 	esac
   5748 	;;
   5749     esac
   5750   fi
   5751   rm -rf conftest*
   5752   ;;
   5753 
   5754 *-*-sco3.2v5*)
   5755   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   5756   SAVE_CFLAGS="$CFLAGS"
   5757   CFLAGS="$CFLAGS -belf"
   5758   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   5759 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   5760 if test "${lt_cv_cc_needs_belf+set}" = set; then
   5761   $as_echo_n "(cached) " >&6
   5762 else
   5763   ac_ext=c
   5764 ac_cpp='$CPP $CPPFLAGS'
   5765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5768 
   5769      cat >conftest.$ac_ext <<_ACEOF
   5770 /* confdefs.h.  */
   5771 _ACEOF
   5772 cat confdefs.h >>conftest.$ac_ext
   5773 cat >>conftest.$ac_ext <<_ACEOF
   5774 /* end confdefs.h.  */
   5775 
   5776 int
   5777 main ()
   5778 {
   5779 
   5780   ;
   5781   return 0;
   5782 }
   5783 _ACEOF
   5784 rm -f conftest.$ac_objext conftest$ac_exeext
   5785 if { (ac_try="$ac_link"
   5786 case "(($ac_try" in
   5787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5788   *) ac_try_echo=$ac_try;;
   5789 esac
   5790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5791 $as_echo "$ac_try_echo") >&5
   5792   (eval "$ac_link") 2>conftest.er1
   5793   ac_status=$?
   5794   grep -v '^ *+' conftest.er1 >conftest.err
   5795   rm -f conftest.er1
   5796   cat conftest.err >&5
   5797   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5798   (exit $ac_status); } && {
   5799 	 test -z "$ac_c_werror_flag" ||
   5800 	 test ! -s conftest.err
   5801        } && test -s conftest$ac_exeext && {
   5802 	 test "$cross_compiling" = yes ||
   5803 	 $as_test_x conftest$ac_exeext
   5804        }; then
   5805   lt_cv_cc_needs_belf=yes
   5806 else
   5807   $as_echo "$as_me: failed program was:" >&5
   5808 sed 's/^/| /' conftest.$ac_ext >&5
   5809 
   5810 	lt_cv_cc_needs_belf=no
   5811 fi
   5812 
   5813 rm -rf conftest.dSYM
   5814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5815       conftest$ac_exeext conftest.$ac_ext
   5816      ac_ext=c
   5817 ac_cpp='$CPP $CPPFLAGS'
   5818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5821 
   5822 fi
   5823 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   5824 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   5825   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   5826     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   5827     CFLAGS="$SAVE_CFLAGS"
   5828   fi
   5829   ;;
   5830 sparc*-*solaris*)
   5831   # Find out which ABI we are using.
   5832   echo 'int i;' > conftest.$ac_ext
   5833   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5834   (eval $ac_compile) 2>&5
   5835   ac_status=$?
   5836   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5837   (exit $ac_status); }; then
   5838     case `/usr/bin/file conftest.o` in
   5839     *64-bit*)
   5840       case $lt_cv_prog_gnu_ld in
   5841       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   5842       *)
   5843 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   5844 	  LD="${LD-ld} -64"
   5845 	fi
   5846 	;;
   5847       esac
   5848       ;;
   5849     esac
   5850   fi
   5851   rm -rf conftest*
   5852   ;;
   5853 esac
   5854 
   5855 need_locks="$enable_libtool_lock"
   5856 
   5857 
   5858   case $host_os in
   5859     rhapsody* | darwin*)
   5860     if test -n "$ac_tool_prefix"; then
   5861   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   5862 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   5863 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5864 $as_echo_n "checking for $ac_word... " >&6; }
   5865 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   5866   $as_echo_n "(cached) " >&6
   5867 else
   5868   if test -n "$DSYMUTIL"; then
   5869   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   5870 else
   5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5872 for as_dir in $PATH
   5873 do
   5874   IFS=$as_save_IFS
   5875   test -z "$as_dir" && as_dir=.
   5876   for ac_exec_ext in '' $ac_executable_extensions; do
   5877   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5878     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   5879     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5880     break 2
   5881   fi
   5882 done
   5883 done
   5884 IFS=$as_save_IFS
   5885 
   5886 fi
   5887 fi
   5888 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   5889 if test -n "$DSYMUTIL"; then
   5890   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   5891 $as_echo "$DSYMUTIL" >&6; }
   5892 else
   5893   { $as_echo "$as_me:$LINENO: result: no" >&5
   5894 $as_echo "no" >&6; }
   5895 fi
   5896 
   5897 
   5898 fi
   5899 if test -z "$ac_cv_prog_DSYMUTIL"; then
   5900   ac_ct_DSYMUTIL=$DSYMUTIL
   5901   # Extract the first word of "dsymutil", so it can be a program name with args.
   5902 set dummy dsymutil; ac_word=$2
   5903 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5904 $as_echo_n "checking for $ac_word... " >&6; }
   5905 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   5906   $as_echo_n "(cached) " >&6
   5907 else
   5908   if test -n "$ac_ct_DSYMUTIL"; then
   5909   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   5910 else
   5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5912 for as_dir in $PATH
   5913 do
   5914   IFS=$as_save_IFS
   5915   test -z "$as_dir" && as_dir=.
   5916   for ac_exec_ext in '' $ac_executable_extensions; do
   5917   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5918     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   5919     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5920     break 2
   5921   fi
   5922 done
   5923 done
   5924 IFS=$as_save_IFS
   5925 
   5926 fi
   5927 fi
   5928 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   5929 if test -n "$ac_ct_DSYMUTIL"; then
   5930   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   5931 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   5932 else
   5933   { $as_echo "$as_me:$LINENO: result: no" >&5
   5934 $as_echo "no" >&6; }
   5935 fi
   5936 
   5937   if test "x$ac_ct_DSYMUTIL" = x; then
   5938     DSYMUTIL=":"
   5939   else
   5940     case $cross_compiling:$ac_tool_warned in
   5941 yes:)
   5942 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5944 ac_tool_warned=yes ;;
   5945 esac
   5946     DSYMUTIL=$ac_ct_DSYMUTIL
   5947   fi
   5948 else
   5949   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   5950 fi
   5951 
   5952     if test -n "$ac_tool_prefix"; then
   5953   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   5954 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   5955 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5956 $as_echo_n "checking for $ac_word... " >&6; }
   5957 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   5958   $as_echo_n "(cached) " >&6
   5959 else
   5960   if test -n "$NMEDIT"; then
   5961   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   5962 else
   5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5964 for as_dir in $PATH
   5965 do
   5966   IFS=$as_save_IFS
   5967   test -z "$as_dir" && as_dir=.
   5968   for ac_exec_ext in '' $ac_executable_extensions; do
   5969   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5970     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   5971     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5972     break 2
   5973   fi
   5974 done
   5975 done
   5976 IFS=$as_save_IFS
   5977 
   5978 fi
   5979 fi
   5980 NMEDIT=$ac_cv_prog_NMEDIT
   5981 if test -n "$NMEDIT"; then
   5982   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   5983 $as_echo "$NMEDIT" >&6; }
   5984 else
   5985   { $as_echo "$as_me:$LINENO: result: no" >&5
   5986 $as_echo "no" >&6; }
   5987 fi
   5988 
   5989 
   5990 fi
   5991 if test -z "$ac_cv_prog_NMEDIT"; then
   5992   ac_ct_NMEDIT=$NMEDIT
   5993   # Extract the first word of "nmedit", so it can be a program name with args.
   5994 set dummy nmedit; ac_word=$2
   5995 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5996 $as_echo_n "checking for $ac_word... " >&6; }
   5997 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   5998   $as_echo_n "(cached) " >&6
   5999 else
   6000   if test -n "$ac_ct_NMEDIT"; then
   6001   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6002 else
   6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6004 for as_dir in $PATH
   6005 do
   6006   IFS=$as_save_IFS
   6007   test -z "$as_dir" && as_dir=.
   6008   for ac_exec_ext in '' $ac_executable_extensions; do
   6009   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6010     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6011     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6012     break 2
   6013   fi
   6014 done
   6015 done
   6016 IFS=$as_save_IFS
   6017 
   6018 fi
   6019 fi
   6020 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6021 if test -n "$ac_ct_NMEDIT"; then
   6022   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   6023 $as_echo "$ac_ct_NMEDIT" >&6; }
   6024 else
   6025   { $as_echo "$as_me:$LINENO: result: no" >&5
   6026 $as_echo "no" >&6; }
   6027 fi
   6028 
   6029   if test "x$ac_ct_NMEDIT" = x; then
   6030     NMEDIT=":"
   6031   else
   6032     case $cross_compiling:$ac_tool_warned in
   6033 yes:)
   6034 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6036 ac_tool_warned=yes ;;
   6037 esac
   6038     NMEDIT=$ac_ct_NMEDIT
   6039   fi
   6040 else
   6041   NMEDIT="$ac_cv_prog_NMEDIT"
   6042 fi
   6043 
   6044     if test -n "$ac_tool_prefix"; then
   6045   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6046 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6047 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6048 $as_echo_n "checking for $ac_word... " >&6; }
   6049 if test "${ac_cv_prog_LIPO+set}" = set; then
   6050   $as_echo_n "(cached) " >&6
   6051 else
   6052   if test -n "$LIPO"; then
   6053   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6054 else
   6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6056 for as_dir in $PATH
   6057 do
   6058   IFS=$as_save_IFS
   6059   test -z "$as_dir" && as_dir=.
   6060   for ac_exec_ext in '' $ac_executable_extensions; do
   6061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6062     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6063     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6064     break 2
   6065   fi
   6066 done
   6067 done
   6068 IFS=$as_save_IFS
   6069 
   6070 fi
   6071 fi
   6072 LIPO=$ac_cv_prog_LIPO
   6073 if test -n "$LIPO"; then
   6074   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   6075 $as_echo "$LIPO" >&6; }
   6076 else
   6077   { $as_echo "$as_me:$LINENO: result: no" >&5
   6078 $as_echo "no" >&6; }
   6079 fi
   6080 
   6081 
   6082 fi
   6083 if test -z "$ac_cv_prog_LIPO"; then
   6084   ac_ct_LIPO=$LIPO
   6085   # Extract the first word of "lipo", so it can be a program name with args.
   6086 set dummy lipo; ac_word=$2
   6087 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6088 $as_echo_n "checking for $ac_word... " >&6; }
   6089 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   6090   $as_echo_n "(cached) " >&6
   6091 else
   6092   if test -n "$ac_ct_LIPO"; then
   6093   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6094 else
   6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6096 for as_dir in $PATH
   6097 do
   6098   IFS=$as_save_IFS
   6099   test -z "$as_dir" && as_dir=.
   6100   for ac_exec_ext in '' $ac_executable_extensions; do
   6101   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6102     ac_cv_prog_ac_ct_LIPO="lipo"
   6103     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6104     break 2
   6105   fi
   6106 done
   6107 done
   6108 IFS=$as_save_IFS
   6109 
   6110 fi
   6111 fi
   6112 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6113 if test -n "$ac_ct_LIPO"; then
   6114   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   6115 $as_echo "$ac_ct_LIPO" >&6; }
   6116 else
   6117   { $as_echo "$as_me:$LINENO: result: no" >&5
   6118 $as_echo "no" >&6; }
   6119 fi
   6120 
   6121   if test "x$ac_ct_LIPO" = x; then
   6122     LIPO=":"
   6123   else
   6124     case $cross_compiling:$ac_tool_warned in
   6125 yes:)
   6126 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6128 ac_tool_warned=yes ;;
   6129 esac
   6130     LIPO=$ac_ct_LIPO
   6131   fi
   6132 else
   6133   LIPO="$ac_cv_prog_LIPO"
   6134 fi
   6135 
   6136     if test -n "$ac_tool_prefix"; then
   6137   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6138 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6140 $as_echo_n "checking for $ac_word... " >&6; }
   6141 if test "${ac_cv_prog_OTOOL+set}" = set; then
   6142   $as_echo_n "(cached) " >&6
   6143 else
   6144   if test -n "$OTOOL"; then
   6145   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6146 else
   6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6148 for as_dir in $PATH
   6149 do
   6150   IFS=$as_save_IFS
   6151   test -z "$as_dir" && as_dir=.
   6152   for ac_exec_ext in '' $ac_executable_extensions; do
   6153   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6154     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6155     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6156     break 2
   6157   fi
   6158 done
   6159 done
   6160 IFS=$as_save_IFS
   6161 
   6162 fi
   6163 fi
   6164 OTOOL=$ac_cv_prog_OTOOL
   6165 if test -n "$OTOOL"; then
   6166   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   6167 $as_echo "$OTOOL" >&6; }
   6168 else
   6169   { $as_echo "$as_me:$LINENO: result: no" >&5
   6170 $as_echo "no" >&6; }
   6171 fi
   6172 
   6173 
   6174 fi
   6175 if test -z "$ac_cv_prog_OTOOL"; then
   6176   ac_ct_OTOOL=$OTOOL
   6177   # Extract the first word of "otool", so it can be a program name with args.
   6178 set dummy otool; ac_word=$2
   6179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6180 $as_echo_n "checking for $ac_word... " >&6; }
   6181 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   6182   $as_echo_n "(cached) " >&6
   6183 else
   6184   if test -n "$ac_ct_OTOOL"; then
   6185   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6186 else
   6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6188 for as_dir in $PATH
   6189 do
   6190   IFS=$as_save_IFS
   6191   test -z "$as_dir" && as_dir=.
   6192   for ac_exec_ext in '' $ac_executable_extensions; do
   6193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6194     ac_cv_prog_ac_ct_OTOOL="otool"
   6195     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6196     break 2
   6197   fi
   6198 done
   6199 done
   6200 IFS=$as_save_IFS
   6201 
   6202 fi
   6203 fi
   6204 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6205 if test -n "$ac_ct_OTOOL"; then
   6206   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   6207 $as_echo "$ac_ct_OTOOL" >&6; }
   6208 else
   6209   { $as_echo "$as_me:$LINENO: result: no" >&5
   6210 $as_echo "no" >&6; }
   6211 fi
   6212 
   6213   if test "x$ac_ct_OTOOL" = x; then
   6214     OTOOL=":"
   6215   else
   6216     case $cross_compiling:$ac_tool_warned in
   6217 yes:)
   6218 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6220 ac_tool_warned=yes ;;
   6221 esac
   6222     OTOOL=$ac_ct_OTOOL
   6223   fi
   6224 else
   6225   OTOOL="$ac_cv_prog_OTOOL"
   6226 fi
   6227 
   6228     if test -n "$ac_tool_prefix"; then
   6229   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6230 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6231 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6232 $as_echo_n "checking for $ac_word... " >&6; }
   6233 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   6234   $as_echo_n "(cached) " >&6
   6235 else
   6236   if test -n "$OTOOL64"; then
   6237   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6238 else
   6239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6240 for as_dir in $PATH
   6241 do
   6242   IFS=$as_save_IFS
   6243   test -z "$as_dir" && as_dir=.
   6244   for ac_exec_ext in '' $ac_executable_extensions; do
   6245   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6246     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6247     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6248     break 2
   6249   fi
   6250 done
   6251 done
   6252 IFS=$as_save_IFS
   6253 
   6254 fi
   6255 fi
   6256 OTOOL64=$ac_cv_prog_OTOOL64
   6257 if test -n "$OTOOL64"; then
   6258   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   6259 $as_echo "$OTOOL64" >&6; }
   6260 else
   6261   { $as_echo "$as_me:$LINENO: result: no" >&5
   6262 $as_echo "no" >&6; }
   6263 fi
   6264 
   6265 
   6266 fi
   6267 if test -z "$ac_cv_prog_OTOOL64"; then
   6268   ac_ct_OTOOL64=$OTOOL64
   6269   # Extract the first word of "otool64", so it can be a program name with args.
   6270 set dummy otool64; ac_word=$2
   6271 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6272 $as_echo_n "checking for $ac_word... " >&6; }
   6273 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   6274   $as_echo_n "(cached) " >&6
   6275 else
   6276   if test -n "$ac_ct_OTOOL64"; then
   6277   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6278 else
   6279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6280 for as_dir in $PATH
   6281 do
   6282   IFS=$as_save_IFS
   6283   test -z "$as_dir" && as_dir=.
   6284   for ac_exec_ext in '' $ac_executable_extensions; do
   6285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6286     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6287     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6288     break 2
   6289   fi
   6290 done
   6291 done
   6292 IFS=$as_save_IFS
   6293 
   6294 fi
   6295 fi
   6296 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6297 if test -n "$ac_ct_OTOOL64"; then
   6298   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   6299 $as_echo "$ac_ct_OTOOL64" >&6; }
   6300 else
   6301   { $as_echo "$as_me:$LINENO: result: no" >&5
   6302 $as_echo "no" >&6; }
   6303 fi
   6304 
   6305   if test "x$ac_ct_OTOOL64" = x; then
   6306     OTOOL64=":"
   6307   else
   6308     case $cross_compiling:$ac_tool_warned in
   6309 yes:)
   6310 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6312 ac_tool_warned=yes ;;
   6313 esac
   6314     OTOOL64=$ac_ct_OTOOL64
   6315   fi
   6316 else
   6317   OTOOL64="$ac_cv_prog_OTOOL64"
   6318 fi
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   6347 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6348 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   6349   $as_echo_n "(cached) " >&6
   6350 else
   6351   lt_cv_apple_cc_single_mod=no
   6352       if test -z "${LT_MULTI_MODULE}"; then
   6353 	# By default we will add the -single_module flag. You can override
   6354 	# by either setting the environment variable LT_MULTI_MODULE
   6355 	# non-empty at configure time, or by adding -multi_module to the
   6356 	# link flags.
   6357 	rm -rf libconftest.dylib*
   6358 	echo "int foo(void){return 1;}" > conftest.c
   6359 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6360 -dynamiclib -Wl,-single_module conftest.c" >&5
   6361 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6362 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6363         _lt_result=$?
   6364 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6365 	  lt_cv_apple_cc_single_mod=yes
   6366 	else
   6367 	  cat conftest.err >&5
   6368 	fi
   6369 	rm -rf libconftest.dylib*
   6370 	rm -f conftest.*
   6371       fi
   6372 fi
   6373 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   6374 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6375     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   6376 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6377 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   6378   $as_echo_n "(cached) " >&6
   6379 else
   6380   lt_cv_ld_exported_symbols_list=no
   6381       save_LDFLAGS=$LDFLAGS
   6382       echo "_main" > conftest.sym
   6383       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6384       cat >conftest.$ac_ext <<_ACEOF
   6385 /* confdefs.h.  */
   6386 _ACEOF
   6387 cat confdefs.h >>conftest.$ac_ext
   6388 cat >>conftest.$ac_ext <<_ACEOF
   6389 /* end confdefs.h.  */
   6390 
   6391 int
   6392 main ()
   6393 {
   6394 
   6395   ;
   6396   return 0;
   6397 }
   6398 _ACEOF
   6399 rm -f conftest.$ac_objext conftest$ac_exeext
   6400 if { (ac_try="$ac_link"
   6401 case "(($ac_try" in
   6402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6403   *) ac_try_echo=$ac_try;;
   6404 esac
   6405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6406 $as_echo "$ac_try_echo") >&5
   6407   (eval "$ac_link") 2>conftest.er1
   6408   ac_status=$?
   6409   grep -v '^ *+' conftest.er1 >conftest.err
   6410   rm -f conftest.er1
   6411   cat conftest.err >&5
   6412   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6413   (exit $ac_status); } && {
   6414 	 test -z "$ac_c_werror_flag" ||
   6415 	 test ! -s conftest.err
   6416        } && test -s conftest$ac_exeext && {
   6417 	 test "$cross_compiling" = yes ||
   6418 	 $as_test_x conftest$ac_exeext
   6419        }; then
   6420   lt_cv_ld_exported_symbols_list=yes
   6421 else
   6422   $as_echo "$as_me: failed program was:" >&5
   6423 sed 's/^/| /' conftest.$ac_ext >&5
   6424 
   6425 	lt_cv_ld_exported_symbols_list=no
   6426 fi
   6427 
   6428 rm -rf conftest.dSYM
   6429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6430       conftest$ac_exeext conftest.$ac_ext
   6431 	LDFLAGS="$save_LDFLAGS"
   6432 
   6433 fi
   6434 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   6435 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6436     case $host_os in
   6437     rhapsody* | darwin1.[012])
   6438       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6439     darwin1.*)
   6440       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6441     darwin*) # darwin 5.x on
   6442       # if running on 10.5 or later, the deployment target defaults
   6443       # to the OS version, if on x86, and 10.4, the deployment
   6444       # target defaults to 10.4. Don't you love it?
   6445       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6446 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6447 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6448 	10.[012]*)
   6449 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6450 	10.*)
   6451 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6452       esac
   6453     ;;
   6454   esac
   6455     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6456       _lt_dar_single_mod='$single_module'
   6457     fi
   6458     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6459       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6460     else
   6461       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6462     fi
   6463     if test "$DSYMUTIL" != ":"; then
   6464       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6465     else
   6466       _lt_dsymutil=
   6467     fi
   6468     ;;
   6469   esac
   6470 
   6471 ac_ext=c
   6472 ac_cpp='$CPP $CPPFLAGS'
   6473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6476 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   6477 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6478 # On Suns, sometimes $CPP names a directory.
   6479 if test -n "$CPP" && test -d "$CPP"; then
   6480   CPP=
   6481 fi
   6482 if test -z "$CPP"; then
   6483   if test "${ac_cv_prog_CPP+set}" = set; then
   6484   $as_echo_n "(cached) " >&6
   6485 else
   6486       # Double quotes because CPP needs to be expanded
   6487     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6488     do
   6489       ac_preproc_ok=false
   6490 for ac_c_preproc_warn_flag in '' yes
   6491 do
   6492   # Use a header file that comes with gcc, so configuring glibc
   6493   # with a fresh cross-compiler works.
   6494   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6495   # <limits.h> exists even on freestanding compilers.
   6496   # On the NeXT, cc -E runs the code through the compiler's parser,
   6497   # not just through cpp. "Syntax error" is here to catch this case.
   6498   cat >conftest.$ac_ext <<_ACEOF
   6499 /* confdefs.h.  */
   6500 _ACEOF
   6501 cat confdefs.h >>conftest.$ac_ext
   6502 cat >>conftest.$ac_ext <<_ACEOF
   6503 /* end confdefs.h.  */
   6504 #ifdef __STDC__
   6505 # include <limits.h>
   6506 #else
   6507 # include <assert.h>
   6508 #endif
   6509 		     Syntax error
   6510 _ACEOF
   6511 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6512 case "(($ac_try" in
   6513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6514   *) ac_try_echo=$ac_try;;
   6515 esac
   6516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6517 $as_echo "$ac_try_echo") >&5
   6518   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6519   ac_status=$?
   6520   grep -v '^ *+' conftest.er1 >conftest.err
   6521   rm -f conftest.er1
   6522   cat conftest.err >&5
   6523   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6524   (exit $ac_status); } >/dev/null && {
   6525 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6526 	 test ! -s conftest.err
   6527        }; then
   6528   :
   6529 else
   6530   $as_echo "$as_me: failed program was:" >&5
   6531 sed 's/^/| /' conftest.$ac_ext >&5
   6532 
   6533   # Broken: fails on valid input.
   6534 continue
   6535 fi
   6536 
   6537 rm -f conftest.err conftest.$ac_ext
   6538 
   6539   # OK, works on sane cases.  Now check whether nonexistent headers
   6540   # can be detected and how.
   6541   cat >conftest.$ac_ext <<_ACEOF
   6542 /* confdefs.h.  */
   6543 _ACEOF
   6544 cat confdefs.h >>conftest.$ac_ext
   6545 cat >>conftest.$ac_ext <<_ACEOF
   6546 /* end confdefs.h.  */
   6547 #include <ac_nonexistent.h>
   6548 _ACEOF
   6549 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6550 case "(($ac_try" in
   6551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6552   *) ac_try_echo=$ac_try;;
   6553 esac
   6554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6555 $as_echo "$ac_try_echo") >&5
   6556   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6557   ac_status=$?
   6558   grep -v '^ *+' conftest.er1 >conftest.err
   6559   rm -f conftest.er1
   6560   cat conftest.err >&5
   6561   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6562   (exit $ac_status); } >/dev/null && {
   6563 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6564 	 test ! -s conftest.err
   6565        }; then
   6566   # Broken: success on invalid input.
   6567 continue
   6568 else
   6569   $as_echo "$as_me: failed program was:" >&5
   6570 sed 's/^/| /' conftest.$ac_ext >&5
   6571 
   6572   # Passes both tests.
   6573 ac_preproc_ok=:
   6574 break
   6575 fi
   6576 
   6577 rm -f conftest.err conftest.$ac_ext
   6578 
   6579 done
   6580 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6581 rm -f conftest.err conftest.$ac_ext
   6582 if $ac_preproc_ok; then
   6583   break
   6584 fi
   6585 
   6586     done
   6587     ac_cv_prog_CPP=$CPP
   6588 
   6589 fi
   6590   CPP=$ac_cv_prog_CPP
   6591 else
   6592   ac_cv_prog_CPP=$CPP
   6593 fi
   6594 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   6595 $as_echo "$CPP" >&6; }
   6596 ac_preproc_ok=false
   6597 for ac_c_preproc_warn_flag in '' yes
   6598 do
   6599   # Use a header file that comes with gcc, so configuring glibc
   6600   # with a fresh cross-compiler works.
   6601   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6602   # <limits.h> exists even on freestanding compilers.
   6603   # On the NeXT, cc -E runs the code through the compiler's parser,
   6604   # not just through cpp. "Syntax error" is here to catch this case.
   6605   cat >conftest.$ac_ext <<_ACEOF
   6606 /* confdefs.h.  */
   6607 _ACEOF
   6608 cat confdefs.h >>conftest.$ac_ext
   6609 cat >>conftest.$ac_ext <<_ACEOF
   6610 /* end confdefs.h.  */
   6611 #ifdef __STDC__
   6612 # include <limits.h>
   6613 #else
   6614 # include <assert.h>
   6615 #endif
   6616 		     Syntax error
   6617 _ACEOF
   6618 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6619 case "(($ac_try" in
   6620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6621   *) ac_try_echo=$ac_try;;
   6622 esac
   6623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6624 $as_echo "$ac_try_echo") >&5
   6625   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6626   ac_status=$?
   6627   grep -v '^ *+' conftest.er1 >conftest.err
   6628   rm -f conftest.er1
   6629   cat conftest.err >&5
   6630   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6631   (exit $ac_status); } >/dev/null && {
   6632 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6633 	 test ! -s conftest.err
   6634        }; then
   6635   :
   6636 else
   6637   $as_echo "$as_me: failed program was:" >&5
   6638 sed 's/^/| /' conftest.$ac_ext >&5
   6639 
   6640   # Broken: fails on valid input.
   6641 continue
   6642 fi
   6643 
   6644 rm -f conftest.err conftest.$ac_ext
   6645 
   6646   # OK, works on sane cases.  Now check whether nonexistent headers
   6647   # can be detected and how.
   6648   cat >conftest.$ac_ext <<_ACEOF
   6649 /* confdefs.h.  */
   6650 _ACEOF
   6651 cat confdefs.h >>conftest.$ac_ext
   6652 cat >>conftest.$ac_ext <<_ACEOF
   6653 /* end confdefs.h.  */
   6654 #include <ac_nonexistent.h>
   6655 _ACEOF
   6656 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6657 case "(($ac_try" in
   6658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6659   *) ac_try_echo=$ac_try;;
   6660 esac
   6661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6662 $as_echo "$ac_try_echo") >&5
   6663   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6664   ac_status=$?
   6665   grep -v '^ *+' conftest.er1 >conftest.err
   6666   rm -f conftest.er1
   6667   cat conftest.err >&5
   6668   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6669   (exit $ac_status); } >/dev/null && {
   6670 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6671 	 test ! -s conftest.err
   6672        }; then
   6673   # Broken: success on invalid input.
   6674 continue
   6675 else
   6676   $as_echo "$as_me: failed program was:" >&5
   6677 sed 's/^/| /' conftest.$ac_ext >&5
   6678 
   6679   # Passes both tests.
   6680 ac_preproc_ok=:
   6681 break
   6682 fi
   6683 
   6684 rm -f conftest.err conftest.$ac_ext
   6685 
   6686 done
   6687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6688 rm -f conftest.err conftest.$ac_ext
   6689 if $ac_preproc_ok; then
   6690   :
   6691 else
   6692   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6694 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   6695 See \`config.log' for more details." >&5
   6696 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   6697 See \`config.log' for more details." >&2;}
   6698    { (exit 1); exit 1; }; }; }
   6699 fi
   6700 
   6701 ac_ext=c
   6702 ac_cpp='$CPP $CPPFLAGS'
   6703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6706 
   6707 
   6708 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   6709 $as_echo_n "checking for ANSI C header files... " >&6; }
   6710 if test "${ac_cv_header_stdc+set}" = set; then
   6711   $as_echo_n "(cached) " >&6
   6712 else
   6713   cat >conftest.$ac_ext <<_ACEOF
   6714 /* confdefs.h.  */
   6715 _ACEOF
   6716 cat confdefs.h >>conftest.$ac_ext
   6717 cat >>conftest.$ac_ext <<_ACEOF
   6718 /* end confdefs.h.  */
   6719 #include <stdlib.h>
   6720 #include <stdarg.h>
   6721 #include <string.h>
   6722 #include <float.h>
   6723 
   6724 int
   6725 main ()
   6726 {
   6727 
   6728   ;
   6729   return 0;
   6730 }
   6731 _ACEOF
   6732 rm -f conftest.$ac_objext
   6733 if { (ac_try="$ac_compile"
   6734 case "(($ac_try" in
   6735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6736   *) ac_try_echo=$ac_try;;
   6737 esac
   6738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6739 $as_echo "$ac_try_echo") >&5
   6740   (eval "$ac_compile") 2>conftest.er1
   6741   ac_status=$?
   6742   grep -v '^ *+' conftest.er1 >conftest.err
   6743   rm -f conftest.er1
   6744   cat conftest.err >&5
   6745   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6746   (exit $ac_status); } && {
   6747 	 test -z "$ac_c_werror_flag" ||
   6748 	 test ! -s conftest.err
   6749        } && test -s conftest.$ac_objext; then
   6750   ac_cv_header_stdc=yes
   6751 else
   6752   $as_echo "$as_me: failed program was:" >&5
   6753 sed 's/^/| /' conftest.$ac_ext >&5
   6754 
   6755 	ac_cv_header_stdc=no
   6756 fi
   6757 
   6758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6759 
   6760 if test $ac_cv_header_stdc = yes; then
   6761   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6762   cat >conftest.$ac_ext <<_ACEOF
   6763 /* confdefs.h.  */
   6764 _ACEOF
   6765 cat confdefs.h >>conftest.$ac_ext
   6766 cat >>conftest.$ac_ext <<_ACEOF
   6767 /* end confdefs.h.  */
   6768 #include <string.h>
   6769 
   6770 _ACEOF
   6771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6772   $EGREP "memchr" >/dev/null 2>&1; then
   6773   :
   6774 else
   6775   ac_cv_header_stdc=no
   6776 fi
   6777 rm -f conftest*
   6778 
   6779 fi
   6780 
   6781 if test $ac_cv_header_stdc = yes; then
   6782   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6783   cat >conftest.$ac_ext <<_ACEOF
   6784 /* confdefs.h.  */
   6785 _ACEOF
   6786 cat confdefs.h >>conftest.$ac_ext
   6787 cat >>conftest.$ac_ext <<_ACEOF
   6788 /* end confdefs.h.  */
   6789 #include <stdlib.h>
   6790 
   6791 _ACEOF
   6792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6793   $EGREP "free" >/dev/null 2>&1; then
   6794   :
   6795 else
   6796   ac_cv_header_stdc=no
   6797 fi
   6798 rm -f conftest*
   6799 
   6800 fi
   6801 
   6802 if test $ac_cv_header_stdc = yes; then
   6803   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6804   if test "$cross_compiling" = yes; then
   6805   :
   6806 else
   6807   cat >conftest.$ac_ext <<_ACEOF
   6808 /* confdefs.h.  */
   6809 _ACEOF
   6810 cat confdefs.h >>conftest.$ac_ext
   6811 cat >>conftest.$ac_ext <<_ACEOF
   6812 /* end confdefs.h.  */
   6813 #include <ctype.h>
   6814 #include <stdlib.h>
   6815 #if ((' ' & 0x0FF) == 0x020)
   6816 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6817 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6818 #else
   6819 # define ISLOWER(c) \
   6820 		   (('a' <= (c) && (c) <= 'i') \
   6821 		     || ('j' <= (c) && (c) <= 'r') \
   6822 		     || ('s' <= (c) && (c) <= 'z'))
   6823 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6824 #endif
   6825 
   6826 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6827 int
   6828 main ()
   6829 {
   6830   int i;
   6831   for (i = 0; i < 256; i++)
   6832     if (XOR (islower (i), ISLOWER (i))
   6833 	|| toupper (i) != TOUPPER (i))
   6834       return 2;
   6835   return 0;
   6836 }
   6837 _ACEOF
   6838 rm -f conftest$ac_exeext
   6839 if { (ac_try="$ac_link"
   6840 case "(($ac_try" in
   6841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6842   *) ac_try_echo=$ac_try;;
   6843 esac
   6844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6845 $as_echo "$ac_try_echo") >&5
   6846   (eval "$ac_link") 2>&5
   6847   ac_status=$?
   6848   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6849   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   6850   { (case "(($ac_try" in
   6851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6852   *) ac_try_echo=$ac_try;;
   6853 esac
   6854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6855 $as_echo "$ac_try_echo") >&5
   6856   (eval "$ac_try") 2>&5
   6857   ac_status=$?
   6858   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6859   (exit $ac_status); }; }; then
   6860   :
   6861 else
   6862   $as_echo "$as_me: program exited with status $ac_status" >&5
   6863 $as_echo "$as_me: failed program was:" >&5
   6864 sed 's/^/| /' conftest.$ac_ext >&5
   6865 
   6866 ( exit $ac_status )
   6867 ac_cv_header_stdc=no
   6868 fi
   6869 rm -rf conftest.dSYM
   6870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   6871 fi
   6872 
   6873 
   6874 fi
   6875 fi
   6876 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   6877 $as_echo "$ac_cv_header_stdc" >&6; }
   6878 if test $ac_cv_header_stdc = yes; then
   6879 
   6880 cat >>confdefs.h <<\_ACEOF
   6881 #define STDC_HEADERS 1
   6882 _ACEOF
   6883 
   6884 fi
   6885 
   6886 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6897 		  inttypes.h stdint.h unistd.h
   6898 do
   6899 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6900 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6901 $as_echo_n "checking for $ac_header... " >&6; }
   6902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6903   $as_echo_n "(cached) " >&6
   6904 else
   6905   cat >conftest.$ac_ext <<_ACEOF
   6906 /* confdefs.h.  */
   6907 _ACEOF
   6908 cat confdefs.h >>conftest.$ac_ext
   6909 cat >>conftest.$ac_ext <<_ACEOF
   6910 /* end confdefs.h.  */
   6911 $ac_includes_default
   6912 
   6913 #include <$ac_header>
   6914 _ACEOF
   6915 rm -f conftest.$ac_objext
   6916 if { (ac_try="$ac_compile"
   6917 case "(($ac_try" in
   6918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6919   *) ac_try_echo=$ac_try;;
   6920 esac
   6921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6922 $as_echo "$ac_try_echo") >&5
   6923   (eval "$ac_compile") 2>conftest.er1
   6924   ac_status=$?
   6925   grep -v '^ *+' conftest.er1 >conftest.err
   6926   rm -f conftest.er1
   6927   cat conftest.err >&5
   6928   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6929   (exit $ac_status); } && {
   6930 	 test -z "$ac_c_werror_flag" ||
   6931 	 test ! -s conftest.err
   6932        } && test -s conftest.$ac_objext; then
   6933   eval "$as_ac_Header=yes"
   6934 else
   6935   $as_echo "$as_me: failed program was:" >&5
   6936 sed 's/^/| /' conftest.$ac_ext >&5
   6937 
   6938 	eval "$as_ac_Header=no"
   6939 fi
   6940 
   6941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6942 fi
   6943 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6944 		 $as_echo "$as_val"'`
   6945 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6946 $as_echo "$ac_res" >&6; }
   6947 as_val=`eval 'as_val=${'$as_ac_Header'}
   6948 		 $as_echo "$as_val"'`
   6949    if test "x$as_val" = x""yes; then
   6950   cat >>confdefs.h <<_ACEOF
   6951 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6952 _ACEOF
   6953 
   6954 fi
   6955 
   6956 done
   6957 
   6958 
   6959 
   6960 for ac_header in dlfcn.h
   6961 do
   6962 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6963 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6964 $as_echo_n "checking for $ac_header... " >&6; }
   6965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6966   $as_echo_n "(cached) " >&6
   6967 else
   6968   cat >conftest.$ac_ext <<_ACEOF
   6969 /* confdefs.h.  */
   6970 _ACEOF
   6971 cat confdefs.h >>conftest.$ac_ext
   6972 cat >>conftest.$ac_ext <<_ACEOF
   6973 /* end confdefs.h.  */
   6974 $ac_includes_default
   6975 
   6976 #include <$ac_header>
   6977 _ACEOF
   6978 rm -f conftest.$ac_objext
   6979 if { (ac_try="$ac_compile"
   6980 case "(($ac_try" in
   6981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6982   *) ac_try_echo=$ac_try;;
   6983 esac
   6984 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6985 $as_echo "$ac_try_echo") >&5
   6986   (eval "$ac_compile") 2>conftest.er1
   6987   ac_status=$?
   6988   grep -v '^ *+' conftest.er1 >conftest.err
   6989   rm -f conftest.er1
   6990   cat conftest.err >&5
   6991   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6992   (exit $ac_status); } && {
   6993 	 test -z "$ac_c_werror_flag" ||
   6994 	 test ! -s conftest.err
   6995        } && test -s conftest.$ac_objext; then
   6996   eval "$as_ac_Header=yes"
   6997 else
   6998   $as_echo "$as_me: failed program was:" >&5
   6999 sed 's/^/| /' conftest.$ac_ext >&5
   7000 
   7001 	eval "$as_ac_Header=no"
   7002 fi
   7003 
   7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7005 fi
   7006 ac_res=`eval 'as_val=${'$as_ac_Header'}
   7007 		 $as_echo "$as_val"'`
   7008 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   7009 $as_echo "$ac_res" >&6; }
   7010 as_val=`eval 'as_val=${'$as_ac_Header'}
   7011 		 $as_echo "$as_val"'`
   7012    if test "x$as_val" = x""yes; then
   7013   cat >>confdefs.h <<_ACEOF
   7014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7015 _ACEOF
   7016 
   7017 fi
   7018 
   7019 done
   7020 
   7021 
   7022 
   7023 # Set options
   7024 
   7025 
   7026 
   7027         enable_dlopen=no
   7028 
   7029 
   7030   enable_win32_dll=no
   7031 
   7032 
   7033             # Check whether --enable-shared was given.
   7034 if test "${enable_shared+set}" = set; then
   7035   enableval=$enable_shared; p=${PACKAGE-default}
   7036     case $enableval in
   7037     yes) enable_shared=yes ;;
   7038     no) enable_shared=no ;;
   7039     *)
   7040       enable_shared=no
   7041       # Look at the argument we got.  We use all the common list separators.
   7042       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7043       for pkg in $enableval; do
   7044 	IFS="$lt_save_ifs"
   7045 	if test "X$pkg" = "X$p"; then
   7046 	  enable_shared=yes
   7047 	fi
   7048       done
   7049       IFS="$lt_save_ifs"
   7050       ;;
   7051     esac
   7052 else
   7053   enable_shared=yes
   7054 fi
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064   # Check whether --enable-static was given.
   7065 if test "${enable_static+set}" = set; then
   7066   enableval=$enable_static; p=${PACKAGE-default}
   7067     case $enableval in
   7068     yes) enable_static=yes ;;
   7069     no) enable_static=no ;;
   7070     *)
   7071      enable_static=no
   7072       # Look at the argument we got.  We use all the common list separators.
   7073       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7074       for pkg in $enableval; do
   7075 	IFS="$lt_save_ifs"
   7076 	if test "X$pkg" = "X$p"; then
   7077 	  enable_static=yes
   7078 	fi
   7079       done
   7080       IFS="$lt_save_ifs"
   7081       ;;
   7082     esac
   7083 else
   7084   enable_static=yes
   7085 fi
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 # Check whether --with-pic was given.
   7097 if test "${with_pic+set}" = set; then
   7098   withval=$with_pic; pic_mode="$withval"
   7099 else
   7100   pic_mode=default
   7101 fi
   7102 
   7103 
   7104 test -z "$pic_mode" && pic_mode=default
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112   # Check whether --enable-fast-install was given.
   7113 if test "${enable_fast_install+set}" = set; then
   7114   enableval=$enable_fast_install; p=${PACKAGE-default}
   7115     case $enableval in
   7116     yes) enable_fast_install=yes ;;
   7117     no) enable_fast_install=no ;;
   7118     *)
   7119       enable_fast_install=no
   7120       # Look at the argument we got.  We use all the common list separators.
   7121       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7122       for pkg in $enableval; do
   7123 	IFS="$lt_save_ifs"
   7124 	if test "X$pkg" = "X$p"; then
   7125 	  enable_fast_install=yes
   7126 	fi
   7127       done
   7128       IFS="$lt_save_ifs"
   7129       ;;
   7130     esac
   7131 else
   7132   enable_fast_install=yes
   7133 fi
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 # This can be used to rebuild libtool when needed
   7146 LIBTOOL_DEPS="$ltmain"
   7147 
   7148 # Always use our own libtool.
   7149 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 test -z "$LN_S" && LN_S="ln -s"
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 if test -n "${ZSH_VERSION+set}" ; then
   7191    setopt NO_GLOB_SUBST
   7192 fi
   7193 
   7194 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   7195 $as_echo_n "checking for objdir... " >&6; }
   7196 if test "${lt_cv_objdir+set}" = set; then
   7197   $as_echo_n "(cached) " >&6
   7198 else
   7199   rm -f .libs 2>/dev/null
   7200 mkdir .libs 2>/dev/null
   7201 if test -d .libs; then
   7202   lt_cv_objdir=.libs
   7203 else
   7204   # MS-DOS does not allow filenames that begin with a dot.
   7205   lt_cv_objdir=_libs
   7206 fi
   7207 rmdir .libs 2>/dev/null
   7208 fi
   7209 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7210 $as_echo "$lt_cv_objdir" >&6; }
   7211 objdir=$lt_cv_objdir
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 cat >>confdefs.h <<_ACEOF
   7218 #define LT_OBJDIR "$lt_cv_objdir/"
   7219 _ACEOF
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 case $host_os in
   7238 aix3*)
   7239   # AIX sometimes has problems with the GCC collect2 program.  For some
   7240   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7241   # vanish in a puff of smoke.
   7242   if test "X${COLLECT_NAMES+set}" != Xset; then
   7243     COLLECT_NAMES=
   7244     export COLLECT_NAMES
   7245   fi
   7246   ;;
   7247 esac
   7248 
   7249 # Sed substitution that helps us do robust quoting.  It backslashifies
   7250 # metacharacters that are still active within double-quoted strings.
   7251 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7252 
   7253 # Same as above, but do not quote variable references.
   7254 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7255 
   7256 # Sed substitution to delay expansion of an escaped shell variable in a
   7257 # double_quote_subst'ed string.
   7258 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7259 
   7260 # Sed substitution to delay expansion of an escaped single quote.
   7261 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7262 
   7263 # Sed substitution to avoid accidental globbing in evaled expressions
   7264 no_glob_subst='s/\*/\\\*/g'
   7265 
   7266 # Global variables:
   7267 ofile=libtool
   7268 can_build_shared=yes
   7269 
   7270 # All known linkers require a `.a' archive for static linking (except MSVC,
   7271 # which needs '.lib').
   7272 libext=a
   7273 
   7274 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7275 
   7276 old_CC="$CC"
   7277 old_CFLAGS="$CFLAGS"
   7278 
   7279 # Set sane defaults for various variables
   7280 test -z "$CC" && CC=cc
   7281 test -z "$LTCC" && LTCC=$CC
   7282 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7283 test -z "$LD" && LD=ld
   7284 test -z "$ac_objext" && ac_objext=o
   7285 
   7286 for cc_temp in $compiler""; do
   7287   case $cc_temp in
   7288     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7289     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7290     \-*) ;;
   7291     *) break;;
   7292   esac
   7293 done
   7294 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7295 
   7296 
   7297 # Only perform the check for file, if the check method requires it
   7298 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7299 case $deplibs_check_method in
   7300 file_magic*)
   7301   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7302     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7303 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7304 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7305   $as_echo_n "(cached) " >&6
   7306 else
   7307   case $MAGIC_CMD in
   7308 [\\/*] |  ?:[\\/]*)
   7309   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7310   ;;
   7311 *)
   7312   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7313   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7314   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7315   for ac_dir in $ac_dummy; do
   7316     IFS="$lt_save_ifs"
   7317     test -z "$ac_dir" && ac_dir=.
   7318     if test -f $ac_dir/${ac_tool_prefix}file; then
   7319       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7320       if test -n "$file_magic_test_file"; then
   7321 	case $deplibs_check_method in
   7322 	"file_magic "*)
   7323 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7324 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7325 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7326 	    $EGREP "$file_magic_regex" > /dev/null; then
   7327 	    :
   7328 	  else
   7329 	    cat <<_LT_EOF 1>&2
   7330 
   7331 *** Warning: the command libtool uses to detect shared libraries,
   7332 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7333 *** The result is that libtool may fail to recognize shared libraries
   7334 *** as such.  This will affect the creation of libtool libraries that
   7335 *** depend on shared libraries, but programs linked with such libtool
   7336 *** libraries will work regardless of this problem.  Nevertheless, you
   7337 *** may want to report the problem to your system manager and/or to
   7338 *** bug-libtool@gnu.org
   7339 
   7340 _LT_EOF
   7341 	  fi ;;
   7342 	esac
   7343       fi
   7344       break
   7345     fi
   7346   done
   7347   IFS="$lt_save_ifs"
   7348   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7349   ;;
   7350 esac
   7351 fi
   7352 
   7353 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7354 if test -n "$MAGIC_CMD"; then
   7355   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7356 $as_echo "$MAGIC_CMD" >&6; }
   7357 else
   7358   { $as_echo "$as_me:$LINENO: result: no" >&5
   7359 $as_echo "no" >&6; }
   7360 fi
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7367   if test -n "$ac_tool_prefix"; then
   7368     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7369 $as_echo_n "checking for file... " >&6; }
   7370 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7371   $as_echo_n "(cached) " >&6
   7372 else
   7373   case $MAGIC_CMD in
   7374 [\\/*] |  ?:[\\/]*)
   7375   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7376   ;;
   7377 *)
   7378   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7379   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7380   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7381   for ac_dir in $ac_dummy; do
   7382     IFS="$lt_save_ifs"
   7383     test -z "$ac_dir" && ac_dir=.
   7384     if test -f $ac_dir/file; then
   7385       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7386       if test -n "$file_magic_test_file"; then
   7387 	case $deplibs_check_method in
   7388 	"file_magic "*)
   7389 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7390 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7391 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7392 	    $EGREP "$file_magic_regex" > /dev/null; then
   7393 	    :
   7394 	  else
   7395 	    cat <<_LT_EOF 1>&2
   7396 
   7397 *** Warning: the command libtool uses to detect shared libraries,
   7398 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7399 *** The result is that libtool may fail to recognize shared libraries
   7400 *** as such.  This will affect the creation of libtool libraries that
   7401 *** depend on shared libraries, but programs linked with such libtool
   7402 *** libraries will work regardless of this problem.  Nevertheless, you
   7403 *** may want to report the problem to your system manager and/or to
   7404 *** bug-libtool@gnu.org
   7405 
   7406 _LT_EOF
   7407 	  fi ;;
   7408 	esac
   7409       fi
   7410       break
   7411     fi
   7412   done
   7413   IFS="$lt_save_ifs"
   7414   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7415   ;;
   7416 esac
   7417 fi
   7418 
   7419 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7420 if test -n "$MAGIC_CMD"; then
   7421   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7422 $as_echo "$MAGIC_CMD" >&6; }
   7423 else
   7424   { $as_echo "$as_me:$LINENO: result: no" >&5
   7425 $as_echo "no" >&6; }
   7426 fi
   7427 
   7428 
   7429   else
   7430     MAGIC_CMD=:
   7431   fi
   7432 fi
   7433 
   7434   fi
   7435   ;;
   7436 esac
   7437 
   7438 # Use C for the default configuration in the libtool script
   7439 
   7440 lt_save_CC="$CC"
   7441 ac_ext=c
   7442 ac_cpp='$CPP $CPPFLAGS'
   7443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7446 
   7447 
   7448 # Source file extension for C test sources.
   7449 ac_ext=c
   7450 
   7451 # Object file extension for compiled C test sources.
   7452 objext=o
   7453 objext=$objext
   7454 
   7455 # Code to be used in simple compile tests
   7456 lt_simple_compile_test_code="int some_variable = 0;"
   7457 
   7458 # Code to be used in simple link tests
   7459 lt_simple_link_test_code='int main(){return(0);}'
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 # If no C compiler was specified, use CC.
   7468 LTCC=${LTCC-"$CC"}
   7469 
   7470 # If no C compiler flags were specified, use CFLAGS.
   7471 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7472 
   7473 # Allow CC to be a program name with arguments.
   7474 compiler=$CC
   7475 
   7476 # Save the default compiler, since it gets overwritten when the other
   7477 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7478 compiler_DEFAULT=$CC
   7479 
   7480 # save warnings/boilerplate of simple test code
   7481 ac_outfile=conftest.$ac_objext
   7482 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7483 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7484 _lt_compiler_boilerplate=`cat conftest.err`
   7485 $RM conftest*
   7486 
   7487 ac_outfile=conftest.$ac_objext
   7488 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7489 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7490 _lt_linker_boilerplate=`cat conftest.err`
   7491 $RM -r conftest*
   7492 
   7493 
   7494 if test -n "$compiler"; then
   7495 
   7496 lt_prog_compiler_no_builtin_flag=
   7497 
   7498 if test "$GCC" = yes; then
   7499   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7500 
   7501   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7502 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7503 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7504   $as_echo_n "(cached) " >&6
   7505 else
   7506   lt_cv_prog_compiler_rtti_exceptions=no
   7507    ac_outfile=conftest.$ac_objext
   7508    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7509    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7510    # Insert the option either (1) after the last *FLAGS variable, or
   7511    # (2) before a word containing "conftest.", or (3) at the end.
   7512    # Note that $ac_compile itself does not contain backslashes and begins
   7513    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7514    # The option is referenced via a variable to avoid confusing sed.
   7515    lt_compile=`echo "$ac_compile" | $SED \
   7516    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7517    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7518    -e 's:$: $lt_compiler_flag:'`
   7519    (eval echo "\"\$as_me:7519: $lt_compile\"" >&5)
   7520    (eval "$lt_compile" 2>conftest.err)
   7521    ac_status=$?
   7522    cat conftest.err >&5
   7523    echo "$as_me:7523: \$? = $ac_status" >&5
   7524    if (exit $ac_status) && test -s "$ac_outfile"; then
   7525      # The compiler can only warn and ignore the option if not recognized
   7526      # So say no if there are warnings other than the usual output.
   7527      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7528      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7529      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7530        lt_cv_prog_compiler_rtti_exceptions=yes
   7531      fi
   7532    fi
   7533    $RM conftest*
   7534 
   7535 fi
   7536 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7537 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7538 
   7539 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7540     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7541 else
   7542     :
   7543 fi
   7544 
   7545 fi
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552   lt_prog_compiler_wl=
   7553 lt_prog_compiler_pic=
   7554 lt_prog_compiler_static=
   7555 
   7556 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7557 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7558 
   7559   if test "$GCC" = yes; then
   7560     lt_prog_compiler_wl='-Wl,'
   7561     lt_prog_compiler_static='-static'
   7562 
   7563     case $host_os in
   7564       aix*)
   7565       # All AIX code is PIC.
   7566       if test "$host_cpu" = ia64; then
   7567 	# AIX 5 now supports IA64 processor
   7568 	lt_prog_compiler_static='-Bstatic'
   7569       fi
   7570       ;;
   7571 
   7572     amigaos*)
   7573       case $host_cpu in
   7574       powerpc)
   7575             # see comment about AmigaOS4 .so support
   7576             lt_prog_compiler_pic='-fPIC'
   7577         ;;
   7578       m68k)
   7579             # FIXME: we need at least 68020 code to build shared libraries, but
   7580             # adding the `-m68020' flag to GCC prevents building anything better,
   7581             # like `-m68040'.
   7582             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7583         ;;
   7584       esac
   7585       ;;
   7586 
   7587     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7588       # PIC is the default for these OSes.
   7589       ;;
   7590 
   7591     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7592       # This hack is so that the source file can tell whether it is being
   7593       # built for inclusion in a dll (and should export symbols for example).
   7594       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7595       # (--disable-auto-import) libraries
   7596       lt_prog_compiler_pic='-DDLL_EXPORT'
   7597       ;;
   7598 
   7599     darwin* | rhapsody*)
   7600       # PIC is the default on this platform
   7601       # Common symbols not allowed in MH_DYLIB files
   7602       lt_prog_compiler_pic='-fno-common'
   7603       ;;
   7604 
   7605     hpux*)
   7606       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7607       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7608       # sets the default TLS model and affects inlining.
   7609       case $host_cpu in
   7610       hppa*64*)
   7611 	# +Z the default
   7612 	;;
   7613       *)
   7614 	lt_prog_compiler_pic='-fPIC'
   7615 	;;
   7616       esac
   7617       ;;
   7618 
   7619     interix[3-9]*)
   7620       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7621       # Instead, we relocate shared libraries at runtime.
   7622       ;;
   7623 
   7624     msdosdjgpp*)
   7625       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7626       # on systems that don't support them.
   7627       lt_prog_compiler_can_build_shared=no
   7628       enable_shared=no
   7629       ;;
   7630 
   7631     *nto* | *qnx*)
   7632       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7633       # it will coredump.
   7634       lt_prog_compiler_pic='-fPIC -shared'
   7635       ;;
   7636 
   7637     sysv4*MP*)
   7638       if test -d /usr/nec; then
   7639 	lt_prog_compiler_pic=-Kconform_pic
   7640       fi
   7641       ;;
   7642 
   7643     *)
   7644       lt_prog_compiler_pic='-fPIC'
   7645       ;;
   7646     esac
   7647   else
   7648     # PORTME Check for flag to pass linker flags through the system compiler.
   7649     case $host_os in
   7650     aix*)
   7651       lt_prog_compiler_wl='-Wl,'
   7652       if test "$host_cpu" = ia64; then
   7653 	# AIX 5 now supports IA64 processor
   7654 	lt_prog_compiler_static='-Bstatic'
   7655       else
   7656 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7657       fi
   7658       ;;
   7659 
   7660     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7661       # This hack is so that the source file can tell whether it is being
   7662       # built for inclusion in a dll (and should export symbols for example).
   7663       lt_prog_compiler_pic='-DDLL_EXPORT'
   7664       ;;
   7665 
   7666     hpux9* | hpux10* | hpux11*)
   7667       lt_prog_compiler_wl='-Wl,'
   7668       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7669       # not for PA HP-UX.
   7670       case $host_cpu in
   7671       hppa*64*|ia64*)
   7672 	# +Z the default
   7673 	;;
   7674       *)
   7675 	lt_prog_compiler_pic='+Z'
   7676 	;;
   7677       esac
   7678       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7679       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7680       ;;
   7681 
   7682     irix5* | irix6* | nonstopux*)
   7683       lt_prog_compiler_wl='-Wl,'
   7684       # PIC (with -KPIC) is the default.
   7685       lt_prog_compiler_static='-non_shared'
   7686       ;;
   7687 
   7688     linux* | k*bsd*-gnu)
   7689       case $cc_basename in
   7690       # old Intel for x86_64 which still supported -KPIC.
   7691       ecc*)
   7692 	lt_prog_compiler_wl='-Wl,'
   7693 	lt_prog_compiler_pic='-KPIC'
   7694 	lt_prog_compiler_static='-static'
   7695         ;;
   7696       # icc used to be incompatible with GCC.
   7697       # ICC 10 doesn't accept -KPIC any more.
   7698       icc* | ifort*)
   7699 	lt_prog_compiler_wl='-Wl,'
   7700 	lt_prog_compiler_pic='-fPIC'
   7701 	lt_prog_compiler_static='-static'
   7702         ;;
   7703       # Lahey Fortran 8.1.
   7704       lf95*)
   7705 	lt_prog_compiler_wl='-Wl,'
   7706 	lt_prog_compiler_pic='--shared'
   7707 	lt_prog_compiler_static='--static'
   7708 	;;
   7709       pgcc* | pgf77* | pgf90* | pgf95*)
   7710         # Portland Group compilers (*not* the Pentium gcc compiler,
   7711 	# which looks to be a dead project)
   7712 	lt_prog_compiler_wl='-Wl,'
   7713 	lt_prog_compiler_pic='-fpic'
   7714 	lt_prog_compiler_static='-Bstatic'
   7715         ;;
   7716       ccc*)
   7717         lt_prog_compiler_wl='-Wl,'
   7718         # All Alpha code is PIC.
   7719         lt_prog_compiler_static='-non_shared'
   7720         ;;
   7721       xl*)
   7722 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7723 	lt_prog_compiler_wl='-Wl,'
   7724 	lt_prog_compiler_pic='-qpic'
   7725 	lt_prog_compiler_static='-qstaticlink'
   7726 	;;
   7727       *)
   7728 	case `$CC -V 2>&1 | sed 5q` in
   7729 	*Sun\ C*)
   7730 	  # Sun C 5.9
   7731 	  lt_prog_compiler_pic='-KPIC'
   7732 	  lt_prog_compiler_static='-Bstatic'
   7733 	  lt_prog_compiler_wl='-Wl,'
   7734 	  ;;
   7735 	*Sun\ F*)
   7736 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7737 	  lt_prog_compiler_pic='-KPIC'
   7738 	  lt_prog_compiler_static='-Bstatic'
   7739 	  lt_prog_compiler_wl=''
   7740 	  ;;
   7741 	esac
   7742 	;;
   7743       esac
   7744       ;;
   7745 
   7746     newsos6)
   7747       lt_prog_compiler_pic='-KPIC'
   7748       lt_prog_compiler_static='-Bstatic'
   7749       ;;
   7750 
   7751     *nto* | *qnx*)
   7752       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7753       # it will coredump.
   7754       lt_prog_compiler_pic='-fPIC -shared'
   7755       ;;
   7756 
   7757     osf3* | osf4* | osf5*)
   7758       lt_prog_compiler_wl='-Wl,'
   7759       # All OSF/1 code is PIC.
   7760       lt_prog_compiler_static='-non_shared'
   7761       ;;
   7762 
   7763     rdos*)
   7764       lt_prog_compiler_static='-non_shared'
   7765       ;;
   7766 
   7767     solaris*)
   7768       lt_prog_compiler_pic='-KPIC'
   7769       lt_prog_compiler_static='-Bstatic'
   7770       case $cc_basename in
   7771       f77* | f90* | f95*)
   7772 	lt_prog_compiler_wl='-Qoption ld ';;
   7773       *)
   7774 	lt_prog_compiler_wl='-Wl,';;
   7775       esac
   7776       ;;
   7777 
   7778     sunos4*)
   7779       lt_prog_compiler_wl='-Qoption ld '
   7780       lt_prog_compiler_pic='-PIC'
   7781       lt_prog_compiler_static='-Bstatic'
   7782       ;;
   7783 
   7784     sysv4 | sysv4.2uw2* | sysv4.3*)
   7785       lt_prog_compiler_wl='-Wl,'
   7786       lt_prog_compiler_pic='-KPIC'
   7787       lt_prog_compiler_static='-Bstatic'
   7788       ;;
   7789 
   7790     sysv4*MP*)
   7791       if test -d /usr/nec ;then
   7792 	lt_prog_compiler_pic='-Kconform_pic'
   7793 	lt_prog_compiler_static='-Bstatic'
   7794       fi
   7795       ;;
   7796 
   7797     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7798       lt_prog_compiler_wl='-Wl,'
   7799       lt_prog_compiler_pic='-KPIC'
   7800       lt_prog_compiler_static='-Bstatic'
   7801       ;;
   7802 
   7803     unicos*)
   7804       lt_prog_compiler_wl='-Wl,'
   7805       lt_prog_compiler_can_build_shared=no
   7806       ;;
   7807 
   7808     uts4*)
   7809       lt_prog_compiler_pic='-pic'
   7810       lt_prog_compiler_static='-Bstatic'
   7811       ;;
   7812 
   7813     *)
   7814       lt_prog_compiler_can_build_shared=no
   7815       ;;
   7816     esac
   7817   fi
   7818 
   7819 case $host_os in
   7820   # For platforms which do not support PIC, -DPIC is meaningless:
   7821   *djgpp*)
   7822     lt_prog_compiler_pic=
   7823     ;;
   7824   *)
   7825     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7826     ;;
   7827 esac
   7828 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7829 $as_echo "$lt_prog_compiler_pic" >&6; }
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 #
   7837 # Check to make sure the PIC flag actually works.
   7838 #
   7839 if test -n "$lt_prog_compiler_pic"; then
   7840   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7841 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7842 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7843   $as_echo_n "(cached) " >&6
   7844 else
   7845   lt_cv_prog_compiler_pic_works=no
   7846    ac_outfile=conftest.$ac_objext
   7847    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7848    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7849    # Insert the option either (1) after the last *FLAGS variable, or
   7850    # (2) before a word containing "conftest.", or (3) at the end.
   7851    # Note that $ac_compile itself does not contain backslashes and begins
   7852    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7853    # The option is referenced via a variable to avoid confusing sed.
   7854    lt_compile=`echo "$ac_compile" | $SED \
   7855    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7856    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7857    -e 's:$: $lt_compiler_flag:'`
   7858    (eval echo "\"\$as_me:7858: $lt_compile\"" >&5)
   7859    (eval "$lt_compile" 2>conftest.err)
   7860    ac_status=$?
   7861    cat conftest.err >&5
   7862    echo "$as_me:7862: \$? = $ac_status" >&5
   7863    if (exit $ac_status) && test -s "$ac_outfile"; then
   7864      # The compiler can only warn and ignore the option if not recognized
   7865      # So say no if there are warnings other than the usual output.
   7866      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7867      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7868      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7869        lt_cv_prog_compiler_pic_works=yes
   7870      fi
   7871    fi
   7872    $RM conftest*
   7873 
   7874 fi
   7875 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7876 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7877 
   7878 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7879     case $lt_prog_compiler_pic in
   7880      "" | " "*) ;;
   7881      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7882      esac
   7883 else
   7884     lt_prog_compiler_pic=
   7885      lt_prog_compiler_can_build_shared=no
   7886 fi
   7887 
   7888 fi
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 #
   7896 # Check to make sure the static flag actually works.
   7897 #
   7898 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7899 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7900 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7901 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7902   $as_echo_n "(cached) " >&6
   7903 else
   7904   lt_cv_prog_compiler_static_works=no
   7905    save_LDFLAGS="$LDFLAGS"
   7906    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7907    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7908    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7909      # The linker can only warn and ignore the option if not recognized
   7910      # So say no if there are warnings
   7911      if test -s conftest.err; then
   7912        # Append any errors to the config.log.
   7913        cat conftest.err 1>&5
   7914        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7915        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7916        if diff conftest.exp conftest.er2 >/dev/null; then
   7917          lt_cv_prog_compiler_static_works=yes
   7918        fi
   7919      else
   7920        lt_cv_prog_compiler_static_works=yes
   7921      fi
   7922    fi
   7923    $RM -r conftest*
   7924    LDFLAGS="$save_LDFLAGS"
   7925 
   7926 fi
   7927 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7928 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7929 
   7930 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7931     :
   7932 else
   7933     lt_prog_compiler_static=
   7934 fi
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7943 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7944 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7945   $as_echo_n "(cached) " >&6
   7946 else
   7947   lt_cv_prog_compiler_c_o=no
   7948    $RM -r conftest 2>/dev/null
   7949    mkdir conftest
   7950    cd conftest
   7951    mkdir out
   7952    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7953 
   7954    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7955    # Insert the option either (1) after the last *FLAGS variable, or
   7956    # (2) before a word containing "conftest.", or (3) at the end.
   7957    # Note that $ac_compile itself does not contain backslashes and begins
   7958    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7959    lt_compile=`echo "$ac_compile" | $SED \
   7960    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7961    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7962    -e 's:$: $lt_compiler_flag:'`
   7963    (eval echo "\"\$as_me:7963: $lt_compile\"" >&5)
   7964    (eval "$lt_compile" 2>out/conftest.err)
   7965    ac_status=$?
   7966    cat out/conftest.err >&5
   7967    echo "$as_me:7967: \$? = $ac_status" >&5
   7968    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7969    then
   7970      # The compiler can only warn and ignore the option if not recognized
   7971      # So say no if there are warnings
   7972      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7973      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7974      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7975        lt_cv_prog_compiler_c_o=yes
   7976      fi
   7977    fi
   7978    chmod u+w . 2>&5
   7979    $RM conftest*
   7980    # SGI C++ compiler will create directory out/ii_files/ for
   7981    # template instantiation
   7982    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7983    $RM out/* && rmdir out
   7984    cd ..
   7985    $RM -r conftest
   7986    $RM conftest*
   7987 
   7988 fi
   7989 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7990 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7991 
   7992 
   7993 
   7994 
   7995 
   7996 
   7997   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7998 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7999 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8000   $as_echo_n "(cached) " >&6
   8001 else
   8002   lt_cv_prog_compiler_c_o=no
   8003    $RM -r conftest 2>/dev/null
   8004    mkdir conftest
   8005    cd conftest
   8006    mkdir out
   8007    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8008 
   8009    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8010    # Insert the option either (1) after the last *FLAGS variable, or
   8011    # (2) before a word containing "conftest.", or (3) at the end.
   8012    # Note that $ac_compile itself does not contain backslashes and begins
   8013    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8014    lt_compile=`echo "$ac_compile" | $SED \
   8015    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8016    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8017    -e 's:$: $lt_compiler_flag:'`
   8018    (eval echo "\"\$as_me:8018: $lt_compile\"" >&5)
   8019    (eval "$lt_compile" 2>out/conftest.err)
   8020    ac_status=$?
   8021    cat out/conftest.err >&5
   8022    echo "$as_me:8022: \$? = $ac_status" >&5
   8023    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8024    then
   8025      # The compiler can only warn and ignore the option if not recognized
   8026      # So say no if there are warnings
   8027      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8028      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8029      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8030        lt_cv_prog_compiler_c_o=yes
   8031      fi
   8032    fi
   8033    chmod u+w . 2>&5
   8034    $RM conftest*
   8035    # SGI C++ compiler will create directory out/ii_files/ for
   8036    # template instantiation
   8037    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8038    $RM out/* && rmdir out
   8039    cd ..
   8040    $RM -r conftest
   8041    $RM conftest*
   8042 
   8043 fi
   8044 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8045 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8046 
   8047 
   8048 
   8049 
   8050 hard_links="nottested"
   8051 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8052   # do not overwrite the value of need_locks provided by the user
   8053   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8054 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8055   hard_links=yes
   8056   $RM conftest*
   8057   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8058   touch conftest.a
   8059   ln conftest.a conftest.b 2>&5 || hard_links=no
   8060   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8061   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8062 $as_echo "$hard_links" >&6; }
   8063   if test "$hard_links" = no; then
   8064     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8065 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8066     need_locks=warn
   8067   fi
   8068 else
   8069   need_locks=no
   8070 fi
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8078 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8079 
   8080   runpath_var=
   8081   allow_undefined_flag=
   8082   always_export_symbols=no
   8083   archive_cmds=
   8084   archive_expsym_cmds=
   8085   compiler_needs_object=no
   8086   enable_shared_with_static_runtimes=no
   8087   export_dynamic_flag_spec=
   8088   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8089   hardcode_automatic=no
   8090   hardcode_direct=no
   8091   hardcode_direct_absolute=no
   8092   hardcode_libdir_flag_spec=
   8093   hardcode_libdir_flag_spec_ld=
   8094   hardcode_libdir_separator=
   8095   hardcode_minus_L=no
   8096   hardcode_shlibpath_var=unsupported
   8097   inherit_rpath=no
   8098   link_all_deplibs=unknown
   8099   module_cmds=
   8100   module_expsym_cmds=
   8101   old_archive_from_new_cmds=
   8102   old_archive_from_expsyms_cmds=
   8103   thread_safe_flag_spec=
   8104   whole_archive_flag_spec=
   8105   # include_expsyms should be a list of space-separated symbols to be *always*
   8106   # included in the symbol list
   8107   include_expsyms=
   8108   # exclude_expsyms can be an extended regexp of symbols to exclude
   8109   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8110   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8111   # as well as any symbol that contains `d'.
   8112   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8113   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8114   # platforms (ab)use it in PIC code, but their linkers get confused if
   8115   # the symbol is explicitly referenced.  Since portable code cannot
   8116   # rely on this symbol name, it's probably fine to never include it in
   8117   # preloaded symbol tables.
   8118   # Exclude shared library initialization/finalization symbols.
   8119   extract_expsyms_cmds=
   8120 
   8121   case $host_os in
   8122   cygwin* | mingw* | pw32* | cegcc*)
   8123     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8124     # When not using gcc, we currently assume that we are using
   8125     # Microsoft Visual C++.
   8126     if test "$GCC" != yes; then
   8127       with_gnu_ld=no
   8128     fi
   8129     ;;
   8130   interix*)
   8131     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8132     with_gnu_ld=yes
   8133     ;;
   8134   openbsd*)
   8135     with_gnu_ld=no
   8136     ;;
   8137   esac
   8138 
   8139   ld_shlibs=yes
   8140   if test "$with_gnu_ld" = yes; then
   8141     # If archive_cmds runs LD, not CC, wlarc should be empty
   8142     wlarc='${wl}'
   8143 
   8144     # Set some defaults for GNU ld with shared library support. These
   8145     # are reset later if shared libraries are not supported. Putting them
   8146     # here allows them to be overridden if necessary.
   8147     runpath_var=LD_RUN_PATH
   8148     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8149     export_dynamic_flag_spec='${wl}--export-dynamic'
   8150     # ancient GNU ld didn't support --whole-archive et. al.
   8151     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8152       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8153     else
   8154       whole_archive_flag_spec=
   8155     fi
   8156     supports_anon_versioning=no
   8157     case `$LD -v 2>&1` in
   8158       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8159       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8160       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8161       *\ 2.11.*) ;; # other 2.11 versions
   8162       *) supports_anon_versioning=yes ;;
   8163     esac
   8164 
   8165     # See if GNU ld supports shared libraries.
   8166     case $host_os in
   8167     aix[3-9]*)
   8168       # On AIX/PPC, the GNU linker is very broken
   8169       if test "$host_cpu" != ia64; then
   8170 	ld_shlibs=no
   8171 	cat <<_LT_EOF 1>&2
   8172 
   8173 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8174 *** to be unable to reliably create shared libraries on AIX.
   8175 *** Therefore, libtool is disabling shared libraries support.  If you
   8176 *** really care for shared libraries, you may want to modify your PATH
   8177 *** so that a non-GNU linker is found, and then restart.
   8178 
   8179 _LT_EOF
   8180       fi
   8181       ;;
   8182 
   8183     amigaos*)
   8184       case $host_cpu in
   8185       powerpc)
   8186             # see comment about AmigaOS4 .so support
   8187             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8188             archive_expsym_cmds=''
   8189         ;;
   8190       m68k)
   8191             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)'
   8192             hardcode_libdir_flag_spec='-L$libdir'
   8193             hardcode_minus_L=yes
   8194         ;;
   8195       esac
   8196       ;;
   8197 
   8198     beos*)
   8199       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8200 	allow_undefined_flag=unsupported
   8201 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8202 	# support --undefined.  This deserves some investigation.  FIXME
   8203 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8204       else
   8205 	ld_shlibs=no
   8206       fi
   8207       ;;
   8208 
   8209     cygwin* | mingw* | pw32* | cegcc*)
   8210       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8211       # as there is no search path for DLLs.
   8212       hardcode_libdir_flag_spec='-L$libdir'
   8213       allow_undefined_flag=unsupported
   8214       always_export_symbols=no
   8215       enable_shared_with_static_runtimes=yes
   8216       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8217 
   8218       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8219         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8220 	# If the export-symbols file already is a .def file (1st line
   8221 	# is EXPORTS), use it as is; otherwise, prepend...
   8222 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8223 	  cp $export_symbols $output_objdir/$soname.def;
   8224 	else
   8225 	  echo EXPORTS > $output_objdir/$soname.def;
   8226 	  cat $export_symbols >> $output_objdir/$soname.def;
   8227 	fi~
   8228 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8229       else
   8230 	ld_shlibs=no
   8231       fi
   8232       ;;
   8233 
   8234     interix[3-9]*)
   8235       hardcode_direct=no
   8236       hardcode_shlibpath_var=no
   8237       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8238       export_dynamic_flag_spec='${wl}-E'
   8239       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8240       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8241       # default) and relocated if they conflict, which is a slow very memory
   8242       # consuming and fragmenting process.  To avoid this, we pick a random,
   8243       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8244       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8245       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8246       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'
   8247       ;;
   8248 
   8249     gnu* | linux* | tpf* | k*bsd*-gnu)
   8250       tmp_diet=no
   8251       if test "$host_os" = linux-dietlibc; then
   8252 	case $cc_basename in
   8253 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8254 	esac
   8255       fi
   8256       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8257 	 && test "$tmp_diet" = no
   8258       then
   8259 	tmp_addflag=
   8260 	tmp_sharedflag='-shared'
   8261 	case $cc_basename,$host_cpu in
   8262         pgcc*)				# Portland Group C compiler
   8263 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8264 	  tmp_addflag=' $pic_flag'
   8265 	  ;;
   8266 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8267 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8268 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8269 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8270 	  tmp_addflag=' -i_dynamic' ;;
   8271 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8272 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8273 	ifc* | ifort*)			# Intel Fortran compiler
   8274 	  tmp_addflag=' -nofor_main' ;;
   8275 	lf95*)				# Lahey Fortran 8.1
   8276 	  whole_archive_flag_spec=
   8277 	  tmp_sharedflag='--shared' ;;
   8278 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8279 	  tmp_sharedflag='-qmkshrobj'
   8280 	  tmp_addflag= ;;
   8281 	esac
   8282 	case `$CC -V 2>&1 | sed 5q` in
   8283 	*Sun\ C*)			# Sun C 5.9
   8284 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8285 	  compiler_needs_object=yes
   8286 	  tmp_sharedflag='-G' ;;
   8287 	*Sun\ F*)			# Sun Fortran 8.3
   8288 	  tmp_sharedflag='-G' ;;
   8289 	esac
   8290 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8291 
   8292         if test "x$supports_anon_versioning" = xyes; then
   8293           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8294 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8295 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8296 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8297         fi
   8298 
   8299 	case $cc_basename in
   8300 	xlf*)
   8301 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8302 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8303 	  hardcode_libdir_flag_spec=
   8304 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8305 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8306 	  if test "x$supports_anon_versioning" = xyes; then
   8307 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8308 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8309 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8310 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8311 	  fi
   8312 	  ;;
   8313 	esac
   8314       else
   8315         ld_shlibs=no
   8316       fi
   8317       ;;
   8318 
   8319     netbsd*)
   8320       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8321 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8322 	wlarc=
   8323       else
   8324 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8325 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8326       fi
   8327       ;;
   8328 
   8329     solaris*)
   8330       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8331 	ld_shlibs=no
   8332 	cat <<_LT_EOF 1>&2
   8333 
   8334 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8335 *** create shared libraries on Solaris systems.  Therefore, libtool
   8336 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8337 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8338 *** your PATH or compiler configuration so that the native linker is
   8339 *** used, and then restart.
   8340 
   8341 _LT_EOF
   8342       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8343 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8344 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8345       else
   8346 	ld_shlibs=no
   8347       fi
   8348       ;;
   8349 
   8350     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8351       case `$LD -v 2>&1` in
   8352         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8353 	ld_shlibs=no
   8354 	cat <<_LT_EOF 1>&2
   8355 
   8356 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8357 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8358 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8359 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8360 *** your PATH or compiler configuration so that the native linker is
   8361 *** used, and then restart.
   8362 
   8363 _LT_EOF
   8364 	;;
   8365 	*)
   8366 	  # For security reasons, it is highly recommended that you always
   8367 	  # use absolute paths for naming shared libraries, and exclude the
   8368 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8369 	  # requires that you compile everything twice, which is a pain.
   8370 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8371 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8372 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8373 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8374 	  else
   8375 	    ld_shlibs=no
   8376 	  fi
   8377 	;;
   8378       esac
   8379       ;;
   8380 
   8381     sunos4*)
   8382       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8383       wlarc=
   8384       hardcode_direct=yes
   8385       hardcode_shlibpath_var=no
   8386       ;;
   8387 
   8388     *)
   8389       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8390 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8391 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8392       else
   8393 	ld_shlibs=no
   8394       fi
   8395       ;;
   8396     esac
   8397 
   8398     if test "$ld_shlibs" = no; then
   8399       runpath_var=
   8400       hardcode_libdir_flag_spec=
   8401       export_dynamic_flag_spec=
   8402       whole_archive_flag_spec=
   8403     fi
   8404   else
   8405     # PORTME fill in a description of your system's linker (not GNU ld)
   8406     case $host_os in
   8407     aix3*)
   8408       allow_undefined_flag=unsupported
   8409       always_export_symbols=yes
   8410       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'
   8411       # Note: this linker hardcodes the directories in LIBPATH if there
   8412       # are no directories specified by -L.
   8413       hardcode_minus_L=yes
   8414       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8415 	# Neither direct hardcoding nor static linking is supported with a
   8416 	# broken collect2.
   8417 	hardcode_direct=unsupported
   8418       fi
   8419       ;;
   8420 
   8421     aix[4-9]*)
   8422       if test "$host_cpu" = ia64; then
   8423 	# On IA64, the linker does run time linking by default, so we don't
   8424 	# have to do anything special.
   8425 	aix_use_runtimelinking=no
   8426 	exp_sym_flag='-Bexport'
   8427 	no_entry_flag=""
   8428       else
   8429 	# If we're using GNU nm, then we don't want the "-C" option.
   8430 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8431 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8432 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8433 	else
   8434 	  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'
   8435 	fi
   8436 	aix_use_runtimelinking=no
   8437 
   8438 	# Test if we are trying to use run time linking or normal
   8439 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8440 	# need to do runtime linking.
   8441 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8442 	  for ld_flag in $LDFLAGS; do
   8443 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8444 	    aix_use_runtimelinking=yes
   8445 	    break
   8446 	  fi
   8447 	  done
   8448 	  ;;
   8449 	esac
   8450 
   8451 	exp_sym_flag='-bexport'
   8452 	no_entry_flag='-bnoentry'
   8453       fi
   8454 
   8455       # When large executables or shared objects are built, AIX ld can
   8456       # have problems creating the table of contents.  If linking a library
   8457       # or program results in "error TOC overflow" add -mminimal-toc to
   8458       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8459       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8460 
   8461       archive_cmds=''
   8462       hardcode_direct=yes
   8463       hardcode_direct_absolute=yes
   8464       hardcode_libdir_separator=':'
   8465       link_all_deplibs=yes
   8466       file_list_spec='${wl}-f,'
   8467 
   8468       if test "$GCC" = yes; then
   8469 	case $host_os in aix4.[012]|aix4.[012].*)
   8470 	# We only want to do this on AIX 4.2 and lower, the check
   8471 	# below for broken collect2 doesn't work under 4.3+
   8472 	  collect2name=`${CC} -print-prog-name=collect2`
   8473 	  if test -f "$collect2name" &&
   8474 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8475 	  then
   8476 	  # We have reworked collect2
   8477 	  :
   8478 	  else
   8479 	  # We have old collect2
   8480 	  hardcode_direct=unsupported
   8481 	  # It fails to find uninstalled libraries when the uninstalled
   8482 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8483 	  # to unsupported forces relinking
   8484 	  hardcode_minus_L=yes
   8485 	  hardcode_libdir_flag_spec='-L$libdir'
   8486 	  hardcode_libdir_separator=
   8487 	  fi
   8488 	  ;;
   8489 	esac
   8490 	shared_flag='-shared'
   8491 	if test "$aix_use_runtimelinking" = yes; then
   8492 	  shared_flag="$shared_flag "'${wl}-G'
   8493 	fi
   8494       else
   8495 	# not using gcc
   8496 	if test "$host_cpu" = ia64; then
   8497 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8498 	# chokes on -Wl,-G. The following line is correct:
   8499 	  shared_flag='-G'
   8500 	else
   8501 	  if test "$aix_use_runtimelinking" = yes; then
   8502 	    shared_flag='${wl}-G'
   8503 	  else
   8504 	    shared_flag='${wl}-bM:SRE'
   8505 	  fi
   8506 	fi
   8507       fi
   8508 
   8509       export_dynamic_flag_spec='${wl}-bexpall'
   8510       # It seems that -bexpall does not export symbols beginning with
   8511       # underscore (_), so it is better to generate a list of symbols to export.
   8512       always_export_symbols=yes
   8513       if test "$aix_use_runtimelinking" = yes; then
   8514 	# Warning - without using the other runtime loading flags (-brtl),
   8515 	# -berok will link without error, but may produce a broken library.
   8516 	allow_undefined_flag='-berok'
   8517         # Determine the default libpath from the value encoded in an
   8518         # empty executable.
   8519         cat >conftest.$ac_ext <<_ACEOF
   8520 /* confdefs.h.  */
   8521 _ACEOF
   8522 cat confdefs.h >>conftest.$ac_ext
   8523 cat >>conftest.$ac_ext <<_ACEOF
   8524 /* end confdefs.h.  */
   8525 
   8526 int
   8527 main ()
   8528 {
   8529 
   8530   ;
   8531   return 0;
   8532 }
   8533 _ACEOF
   8534 rm -f conftest.$ac_objext conftest$ac_exeext
   8535 if { (ac_try="$ac_link"
   8536 case "(($ac_try" in
   8537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8538   *) ac_try_echo=$ac_try;;
   8539 esac
   8540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8541 $as_echo "$ac_try_echo") >&5
   8542   (eval "$ac_link") 2>conftest.er1
   8543   ac_status=$?
   8544   grep -v '^ *+' conftest.er1 >conftest.err
   8545   rm -f conftest.er1
   8546   cat conftest.err >&5
   8547   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8548   (exit $ac_status); } && {
   8549 	 test -z "$ac_c_werror_flag" ||
   8550 	 test ! -s conftest.err
   8551        } && test -s conftest$ac_exeext && {
   8552 	 test "$cross_compiling" = yes ||
   8553 	 $as_test_x conftest$ac_exeext
   8554        }; then
   8555 
   8556 lt_aix_libpath_sed='
   8557     /Import File Strings/,/^$/ {
   8558 	/^0/ {
   8559 	    s/^0  *\(.*\)$/\1/
   8560 	    p
   8561 	}
   8562     }'
   8563 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8564 # Check for a 64-bit object if we didn't find anything.
   8565 if test -z "$aix_libpath"; then
   8566   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8567 fi
   8568 else
   8569   $as_echo "$as_me: failed program was:" >&5
   8570 sed 's/^/| /' conftest.$ac_ext >&5
   8571 
   8572 
   8573 fi
   8574 
   8575 rm -rf conftest.dSYM
   8576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8577       conftest$ac_exeext conftest.$ac_ext
   8578 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8579 
   8580         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8581         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8582       else
   8583 	if test "$host_cpu" = ia64; then
   8584 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8585 	  allow_undefined_flag="-z nodefs"
   8586 	  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"
   8587 	else
   8588 	 # Determine the default libpath from the value encoded in an
   8589 	 # empty executable.
   8590 	 cat >conftest.$ac_ext <<_ACEOF
   8591 /* confdefs.h.  */
   8592 _ACEOF
   8593 cat confdefs.h >>conftest.$ac_ext
   8594 cat >>conftest.$ac_ext <<_ACEOF
   8595 /* end confdefs.h.  */
   8596 
   8597 int
   8598 main ()
   8599 {
   8600 
   8601   ;
   8602   return 0;
   8603 }
   8604 _ACEOF
   8605 rm -f conftest.$ac_objext conftest$ac_exeext
   8606 if { (ac_try="$ac_link"
   8607 case "(($ac_try" in
   8608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8609   *) ac_try_echo=$ac_try;;
   8610 esac
   8611 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8612 $as_echo "$ac_try_echo") >&5
   8613   (eval "$ac_link") 2>conftest.er1
   8614   ac_status=$?
   8615   grep -v '^ *+' conftest.er1 >conftest.err
   8616   rm -f conftest.er1
   8617   cat conftest.err >&5
   8618   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8619   (exit $ac_status); } && {
   8620 	 test -z "$ac_c_werror_flag" ||
   8621 	 test ! -s conftest.err
   8622        } && test -s conftest$ac_exeext && {
   8623 	 test "$cross_compiling" = yes ||
   8624 	 $as_test_x conftest$ac_exeext
   8625        }; then
   8626 
   8627 lt_aix_libpath_sed='
   8628     /Import File Strings/,/^$/ {
   8629 	/^0/ {
   8630 	    s/^0  *\(.*\)$/\1/
   8631 	    p
   8632 	}
   8633     }'
   8634 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8635 # Check for a 64-bit object if we didn't find anything.
   8636 if test -z "$aix_libpath"; then
   8637   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8638 fi
   8639 else
   8640   $as_echo "$as_me: failed program was:" >&5
   8641 sed 's/^/| /' conftest.$ac_ext >&5
   8642 
   8643 
   8644 fi
   8645 
   8646 rm -rf conftest.dSYM
   8647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8648       conftest$ac_exeext conftest.$ac_ext
   8649 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8650 
   8651 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8652 	  # Warning - without using the other run time loading flags,
   8653 	  # -berok will link without error, but may produce a broken library.
   8654 	  no_undefined_flag=' ${wl}-bernotok'
   8655 	  allow_undefined_flag=' ${wl}-berok'
   8656 	  # Exported symbols can be pulled into shared objects from archives
   8657 	  whole_archive_flag_spec='$convenience'
   8658 	  archive_cmds_need_lc=yes
   8659 	  # This is similar to how AIX traditionally builds its shared libraries.
   8660 	  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'
   8661 	fi
   8662       fi
   8663       ;;
   8664 
   8665     amigaos*)
   8666       case $host_cpu in
   8667       powerpc)
   8668             # see comment about AmigaOS4 .so support
   8669             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8670             archive_expsym_cmds=''
   8671         ;;
   8672       m68k)
   8673             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)'
   8674             hardcode_libdir_flag_spec='-L$libdir'
   8675             hardcode_minus_L=yes
   8676         ;;
   8677       esac
   8678       ;;
   8679 
   8680     bsdi[45]*)
   8681       export_dynamic_flag_spec=-rdynamic
   8682       ;;
   8683 
   8684     cygwin* | mingw* | pw32* | cegcc*)
   8685       # When not using gcc, we currently assume that we are using
   8686       # Microsoft Visual C++.
   8687       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8688       # no search path for DLLs.
   8689       hardcode_libdir_flag_spec=' '
   8690       allow_undefined_flag=unsupported
   8691       # Tell ltmain to make .lib files, not .a files.
   8692       libext=lib
   8693       # Tell ltmain to make .dll files, not .so files.
   8694       shrext_cmds=".dll"
   8695       # FIXME: Setting linknames here is a bad hack.
   8696       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8697       # The linker will automatically build a .lib file if we build a DLL.
   8698       old_archive_from_new_cmds='true'
   8699       # FIXME: Should let the user specify the lib program.
   8700       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8701       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8702       enable_shared_with_static_runtimes=yes
   8703       ;;
   8704 
   8705     darwin* | rhapsody*)
   8706 
   8707 
   8708   archive_cmds_need_lc=no
   8709   hardcode_direct=no
   8710   hardcode_automatic=yes
   8711   hardcode_shlibpath_var=unsupported
   8712   whole_archive_flag_spec=''
   8713   link_all_deplibs=yes
   8714   allow_undefined_flag="$_lt_dar_allow_undefined"
   8715   case $cc_basename in
   8716      ifort*) _lt_dar_can_shared=yes ;;
   8717      *) _lt_dar_can_shared=$GCC ;;
   8718   esac
   8719   if test "$_lt_dar_can_shared" = "yes"; then
   8720     output_verbose_link_cmd=echo
   8721     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8722     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8723     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}"
   8724     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}"
   8725 
   8726   else
   8727   ld_shlibs=no
   8728   fi
   8729 
   8730       ;;
   8731 
   8732     dgux*)
   8733       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8734       hardcode_libdir_flag_spec='-L$libdir'
   8735       hardcode_shlibpath_var=no
   8736       ;;
   8737 
   8738     freebsd1*)
   8739       ld_shlibs=no
   8740       ;;
   8741 
   8742     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8743     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8744     # does not break anything, and helps significantly (at the cost of a little
   8745     # extra space).
   8746     freebsd2.2*)
   8747       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8748       hardcode_libdir_flag_spec='-R$libdir'
   8749       hardcode_direct=yes
   8750       hardcode_shlibpath_var=no
   8751       ;;
   8752 
   8753     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8754     freebsd2*)
   8755       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8756       hardcode_direct=yes
   8757       hardcode_minus_L=yes
   8758       hardcode_shlibpath_var=no
   8759       ;;
   8760 
   8761     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8762     freebsd* | dragonfly*)
   8763       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8764       hardcode_libdir_flag_spec='-R$libdir'
   8765       hardcode_direct=yes
   8766       hardcode_shlibpath_var=no
   8767       ;;
   8768 
   8769     hpux9*)
   8770       if test "$GCC" = yes; then
   8771 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   8772       else
   8773 	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'
   8774       fi
   8775       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8776       hardcode_libdir_separator=:
   8777       hardcode_direct=yes
   8778 
   8779       # hardcode_minus_L: Not really in the search PATH,
   8780       # but as the default location of the library.
   8781       hardcode_minus_L=yes
   8782       export_dynamic_flag_spec='${wl}-E'
   8783       ;;
   8784 
   8785     hpux10*)
   8786       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8787 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8788       else
   8789 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8790       fi
   8791       if test "$with_gnu_ld" = no; then
   8792 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8793 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8794 	hardcode_libdir_separator=:
   8795 	hardcode_direct=yes
   8796 	hardcode_direct_absolute=yes
   8797 	export_dynamic_flag_spec='${wl}-E'
   8798 	# hardcode_minus_L: Not really in the search PATH,
   8799 	# but as the default location of the library.
   8800 	hardcode_minus_L=yes
   8801       fi
   8802       ;;
   8803 
   8804     hpux11*)
   8805       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8806 	case $host_cpu in
   8807 	hppa*64*)
   8808 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8809 	  ;;
   8810 	ia64*)
   8811 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8812 	  ;;
   8813 	*)
   8814 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8815 	  ;;
   8816 	esac
   8817       else
   8818 	case $host_cpu in
   8819 	hppa*64*)
   8820 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8821 	  ;;
   8822 	ia64*)
   8823 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8824 	  ;;
   8825 	*)
   8826 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8827 	  ;;
   8828 	esac
   8829       fi
   8830       if test "$with_gnu_ld" = no; then
   8831 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8832 	hardcode_libdir_separator=:
   8833 
   8834 	case $host_cpu in
   8835 	hppa*64*|ia64*)
   8836 	  hardcode_direct=no
   8837 	  hardcode_shlibpath_var=no
   8838 	  ;;
   8839 	*)
   8840 	  hardcode_direct=yes
   8841 	  hardcode_direct_absolute=yes
   8842 	  export_dynamic_flag_spec='${wl}-E'
   8843 
   8844 	  # hardcode_minus_L: Not really in the search PATH,
   8845 	  # but as the default location of the library.
   8846 	  hardcode_minus_L=yes
   8847 	  ;;
   8848 	esac
   8849       fi
   8850       ;;
   8851 
   8852     irix5* | irix6* | nonstopux*)
   8853       if test "$GCC" = yes; then
   8854 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8855 	# Try to use the -exported_symbol ld option, if it does not
   8856 	# work, assume that -exports_file does not work either and
   8857 	# implicitly export all symbols.
   8858         save_LDFLAGS="$LDFLAGS"
   8859         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8860         cat >conftest.$ac_ext <<_ACEOF
   8861 int foo(void) {}
   8862 _ACEOF
   8863 rm -f conftest.$ac_objext conftest$ac_exeext
   8864 if { (ac_try="$ac_link"
   8865 case "(($ac_try" in
   8866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8867   *) ac_try_echo=$ac_try;;
   8868 esac
   8869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8870 $as_echo "$ac_try_echo") >&5
   8871   (eval "$ac_link") 2>conftest.er1
   8872   ac_status=$?
   8873   grep -v '^ *+' conftest.er1 >conftest.err
   8874   rm -f conftest.er1
   8875   cat conftest.err >&5
   8876   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8877   (exit $ac_status); } && {
   8878 	 test -z "$ac_c_werror_flag" ||
   8879 	 test ! -s conftest.err
   8880        } && test -s conftest$ac_exeext && {
   8881 	 test "$cross_compiling" = yes ||
   8882 	 $as_test_x conftest$ac_exeext
   8883        }; then
   8884   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   8885 
   8886 else
   8887   $as_echo "$as_me: failed program was:" >&5
   8888 sed 's/^/| /' conftest.$ac_ext >&5
   8889 
   8890 
   8891 fi
   8892 
   8893 rm -rf conftest.dSYM
   8894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8895       conftest$ac_exeext conftest.$ac_ext
   8896         LDFLAGS="$save_LDFLAGS"
   8897       else
   8898 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8899 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   8900       fi
   8901       archive_cmds_need_lc='no'
   8902       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8903       hardcode_libdir_separator=:
   8904       inherit_rpath=yes
   8905       link_all_deplibs=yes
   8906       ;;
   8907 
   8908     netbsd*)
   8909       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8910 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8911       else
   8912 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8913       fi
   8914       hardcode_libdir_flag_spec='-R$libdir'
   8915       hardcode_direct=yes
   8916       hardcode_shlibpath_var=no
   8917       ;;
   8918 
   8919     newsos6)
   8920       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8921       hardcode_direct=yes
   8922       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8923       hardcode_libdir_separator=:
   8924       hardcode_shlibpath_var=no
   8925       ;;
   8926 
   8927     *nto* | *qnx*)
   8928       ;;
   8929 
   8930     openbsd*)
   8931       if test -f /usr/libexec/ld.so; then
   8932 	hardcode_direct=yes
   8933 	hardcode_shlibpath_var=no
   8934 	hardcode_direct_absolute=yes
   8935 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8936 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8937 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8938 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8939 	  export_dynamic_flag_spec='${wl}-E'
   8940 	else
   8941 	  case $host_os in
   8942 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8943 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8944 	     hardcode_libdir_flag_spec='-R$libdir'
   8945 	     ;;
   8946 	   *)
   8947 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8948 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8949 	     ;;
   8950 	  esac
   8951 	fi
   8952       else
   8953 	ld_shlibs=no
   8954       fi
   8955       ;;
   8956 
   8957     os2*)
   8958       hardcode_libdir_flag_spec='-L$libdir'
   8959       hardcode_minus_L=yes
   8960       allow_undefined_flag=unsupported
   8961       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'
   8962       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8963       ;;
   8964 
   8965     osf3*)
   8966       if test "$GCC" = yes; then
   8967 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8968 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8969       else
   8970 	allow_undefined_flag=' -expect_unresolved \*'
   8971 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8972       fi
   8973       archive_cmds_need_lc='no'
   8974       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8975       hardcode_libdir_separator=:
   8976       ;;
   8977 
   8978     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8979       if test "$GCC" = yes; then
   8980 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8981 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8982 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8983       else
   8984 	allow_undefined_flag=' -expect_unresolved \*'
   8985 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8986 	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~
   8987 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   8988 
   8989 	# Both c and cxx compiler support -rpath directly
   8990 	hardcode_libdir_flag_spec='-rpath $libdir'
   8991       fi
   8992       archive_cmds_need_lc='no'
   8993       hardcode_libdir_separator=:
   8994       ;;
   8995 
   8996     solaris*)
   8997       no_undefined_flag=' -z defs'
   8998       if test "$GCC" = yes; then
   8999 	wlarc='${wl}'
   9000 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9001 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9002 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9003       else
   9004 	case `$CC -V 2>&1` in
   9005 	*"Compilers 5.0"*)
   9006 	  wlarc=''
   9007 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9008 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9009 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9010 	  ;;
   9011 	*)
   9012 	  wlarc='${wl}'
   9013 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9014 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9015 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9016 	  ;;
   9017 	esac
   9018       fi
   9019       hardcode_libdir_flag_spec='-R$libdir'
   9020       hardcode_shlibpath_var=no
   9021       case $host_os in
   9022       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9023       *)
   9024 	# The compiler driver will combine and reorder linker options,
   9025 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9026 	# but is careful enough not to reorder.
   9027 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9028 	if test "$GCC" = yes; then
   9029 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9030 	else
   9031 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9032 	fi
   9033 	;;
   9034       esac
   9035       link_all_deplibs=yes
   9036       ;;
   9037 
   9038     sunos4*)
   9039       if test "x$host_vendor" = xsequent; then
   9040 	# Use $CC to link under sequent, because it throws in some extra .o
   9041 	# files that make .init and .fini sections work.
   9042 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9043       else
   9044 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9045       fi
   9046       hardcode_libdir_flag_spec='-L$libdir'
   9047       hardcode_direct=yes
   9048       hardcode_minus_L=yes
   9049       hardcode_shlibpath_var=no
   9050       ;;
   9051 
   9052     sysv4)
   9053       case $host_vendor in
   9054 	sni)
   9055 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9056 	  hardcode_direct=yes # is this really true???
   9057 	;;
   9058 	siemens)
   9059 	  ## LD is ld it makes a PLAMLIB
   9060 	  ## CC just makes a GrossModule.
   9061 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9062 	  reload_cmds='$CC -r -o $output$reload_objs'
   9063 	  hardcode_direct=no
   9064         ;;
   9065 	motorola)
   9066 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9067 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9068 	;;
   9069       esac
   9070       runpath_var='LD_RUN_PATH'
   9071       hardcode_shlibpath_var=no
   9072       ;;
   9073 
   9074     sysv4.3*)
   9075       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9076       hardcode_shlibpath_var=no
   9077       export_dynamic_flag_spec='-Bexport'
   9078       ;;
   9079 
   9080     sysv4*MP*)
   9081       if test -d /usr/nec; then
   9082 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9083 	hardcode_shlibpath_var=no
   9084 	runpath_var=LD_RUN_PATH
   9085 	hardcode_runpath_var=yes
   9086 	ld_shlibs=yes
   9087       fi
   9088       ;;
   9089 
   9090     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9091       no_undefined_flag='${wl}-z,text'
   9092       archive_cmds_need_lc=no
   9093       hardcode_shlibpath_var=no
   9094       runpath_var='LD_RUN_PATH'
   9095 
   9096       if test "$GCC" = yes; then
   9097 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9098 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9099       else
   9100 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9101 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9102       fi
   9103       ;;
   9104 
   9105     sysv5* | sco3.2v5* | sco5v6*)
   9106       # Note: We can NOT use -z defs as we might desire, because we do not
   9107       # link with -lc, and that would cause any symbols used from libc to
   9108       # always be unresolved, which means just about no library would
   9109       # ever link correctly.  If we're not using GNU ld we use -z text
   9110       # though, which does catch some bad symbols but isn't as heavy-handed
   9111       # as -z defs.
   9112       no_undefined_flag='${wl}-z,text'
   9113       allow_undefined_flag='${wl}-z,nodefs'
   9114       archive_cmds_need_lc=no
   9115       hardcode_shlibpath_var=no
   9116       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9117       hardcode_libdir_separator=':'
   9118       link_all_deplibs=yes
   9119       export_dynamic_flag_spec='${wl}-Bexport'
   9120       runpath_var='LD_RUN_PATH'
   9121 
   9122       if test "$GCC" = yes; then
   9123 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9124 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9125       else
   9126 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9127 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9128       fi
   9129       ;;
   9130 
   9131     uts4*)
   9132       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9133       hardcode_libdir_flag_spec='-L$libdir'
   9134       hardcode_shlibpath_var=no
   9135       ;;
   9136 
   9137     *)
   9138       ld_shlibs=no
   9139       ;;
   9140     esac
   9141 
   9142     if test x$host_vendor = xsni; then
   9143       case $host in
   9144       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9145 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9146 	;;
   9147       esac
   9148     fi
   9149   fi
   9150 
   9151 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9152 $as_echo "$ld_shlibs" >&6; }
   9153 test "$ld_shlibs" = no && can_build_shared=no
   9154 
   9155 with_gnu_ld=$with_gnu_ld
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 #
   9172 # Do we need to explicitly link libc?
   9173 #
   9174 case "x$archive_cmds_need_lc" in
   9175 x|xyes)
   9176   # Assume -lc should be added
   9177   archive_cmds_need_lc=yes
   9178 
   9179   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9180     case $archive_cmds in
   9181     *'~'*)
   9182       # FIXME: we may have to deal with multi-command sequences.
   9183       ;;
   9184     '$CC '*)
   9185       # Test whether the compiler implicitly links with -lc since on some
   9186       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9187       # to ld, don't add -lc before -lgcc.
   9188       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9189 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9190       $RM conftest*
   9191       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9192 
   9193       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9194   (eval $ac_compile) 2>&5
   9195   ac_status=$?
   9196   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9197   (exit $ac_status); } 2>conftest.err; then
   9198         soname=conftest
   9199         lib=conftest
   9200         libobjs=conftest.$ac_objext
   9201         deplibs=
   9202         wl=$lt_prog_compiler_wl
   9203 	pic_flag=$lt_prog_compiler_pic
   9204         compiler_flags=-v
   9205         linker_flags=-v
   9206         verstring=
   9207         output_objdir=.
   9208         libname=conftest
   9209         lt_save_allow_undefined_flag=$allow_undefined_flag
   9210         allow_undefined_flag=
   9211         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9212   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9213   ac_status=$?
   9214   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9215   (exit $ac_status); }
   9216         then
   9217 	  archive_cmds_need_lc=no
   9218         else
   9219 	  archive_cmds_need_lc=yes
   9220         fi
   9221         allow_undefined_flag=$lt_save_allow_undefined_flag
   9222       else
   9223         cat conftest.err 1>&5
   9224       fi
   9225       $RM conftest*
   9226       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9227 $as_echo "$archive_cmds_need_lc" >&6; }
   9228       ;;
   9229     esac
   9230   fi
   9231   ;;
   9232 esac
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9391 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9392 
   9393 if test "$GCC" = yes; then
   9394   case $host_os in
   9395     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9396     *) lt_awk_arg="/^libraries:/" ;;
   9397   esac
   9398   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9399   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9400     # if the path contains ";" then we assume it to be the separator
   9401     # otherwise default to the standard path separator (i.e. ":") - it is
   9402     # assumed that no part of a normal pathname contains ";" but that should
   9403     # okay in the real world where ";" in dirpaths is itself problematic.
   9404     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9405   else
   9406     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9407   fi
   9408   # Ok, now we have the path, separated by spaces, we can step through it
   9409   # and add multilib dir if necessary.
   9410   lt_tmp_lt_search_path_spec=
   9411   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9412   for lt_sys_path in $lt_search_path_spec; do
   9413     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9414       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9415     else
   9416       test -d "$lt_sys_path" && \
   9417 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9418     fi
   9419   done
   9420   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9421 BEGIN {RS=" "; FS="/|\n";} {
   9422   lt_foo="";
   9423   lt_count=0;
   9424   for (lt_i = NF; lt_i > 0; lt_i--) {
   9425     if ($lt_i != "" && $lt_i != ".") {
   9426       if ($lt_i == "..") {
   9427         lt_count++;
   9428       } else {
   9429         if (lt_count == 0) {
   9430           lt_foo="/" $lt_i lt_foo;
   9431         } else {
   9432           lt_count--;
   9433         }
   9434       }
   9435     }
   9436   }
   9437   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9438   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9439 }'`
   9440   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9441 else
   9442   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9443 fi
   9444 library_names_spec=
   9445 libname_spec='lib$name'
   9446 soname_spec=
   9447 shrext_cmds=".so"
   9448 postinstall_cmds=
   9449 postuninstall_cmds=
   9450 finish_cmds=
   9451 finish_eval=
   9452 shlibpath_var=
   9453 shlibpath_overrides_runpath=unknown
   9454 version_type=none
   9455 dynamic_linker="$host_os ld.so"
   9456 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9457 need_lib_prefix=unknown
   9458 hardcode_into_libs=no
   9459 
   9460 # when you set need_version to no, make sure it does not cause -set_version
   9461 # flags to be left without arguments
   9462 need_version=unknown
   9463 
   9464 case $host_os in
   9465 aix3*)
   9466   version_type=linux
   9467   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9468   shlibpath_var=LIBPATH
   9469 
   9470   # AIX 3 has no versioning support, so we append a major version to the name.
   9471   soname_spec='${libname}${release}${shared_ext}$major'
   9472   ;;
   9473 
   9474 aix[4-9]*)
   9475   version_type=linux
   9476   need_lib_prefix=no
   9477   need_version=no
   9478   hardcode_into_libs=yes
   9479   if test "$host_cpu" = ia64; then
   9480     # AIX 5 supports IA64
   9481     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9482     shlibpath_var=LD_LIBRARY_PATH
   9483   else
   9484     # With GCC up to 2.95.x, collect2 would create an import file
   9485     # for dependence libraries.  The import file would start with
   9486     # the line `#! .'.  This would cause the generated library to
   9487     # depend on `.', always an invalid library.  This was fixed in
   9488     # development snapshots of GCC prior to 3.0.
   9489     case $host_os in
   9490       aix4 | aix4.[01] | aix4.[01].*)
   9491       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9492 	   echo ' yes '
   9493 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9494 	:
   9495       else
   9496 	can_build_shared=no
   9497       fi
   9498       ;;
   9499     esac
   9500     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9501     # soname into executable. Probably we can add versioning support to
   9502     # collect2, so additional links can be useful in future.
   9503     if test "$aix_use_runtimelinking" = yes; then
   9504       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9505       # instead of lib<name>.a to let people know that these are not
   9506       # typical AIX shared libraries.
   9507       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9508     else
   9509       # We preserve .a as extension for shared libraries through AIX4.2
   9510       # and later when we are not doing run time linking.
   9511       library_names_spec='${libname}${release}.a $libname.a'
   9512       soname_spec='${libname}${release}${shared_ext}$major'
   9513     fi
   9514     shlibpath_var=LIBPATH
   9515   fi
   9516   ;;
   9517 
   9518 amigaos*)
   9519   case $host_cpu in
   9520   powerpc)
   9521     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9522     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9523     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9524     ;;
   9525   m68k)
   9526     library_names_spec='$libname.ixlibrary $libname.a'
   9527     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9528     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
   9529     ;;
   9530   esac
   9531   ;;
   9532 
   9533 beos*)
   9534   library_names_spec='${libname}${shared_ext}'
   9535   dynamic_linker="$host_os ld.so"
   9536   shlibpath_var=LIBRARY_PATH
   9537   ;;
   9538 
   9539 bsdi[45]*)
   9540   version_type=linux
   9541   need_version=no
   9542   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9543   soname_spec='${libname}${release}${shared_ext}$major'
   9544   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9545   shlibpath_var=LD_LIBRARY_PATH
   9546   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9547   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9548   # the default ld.so.conf also contains /usr/contrib/lib and
   9549   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9550   # libtool to hard-code these into programs
   9551   ;;
   9552 
   9553 cygwin* | mingw* | pw32* | cegcc*)
   9554   version_type=windows
   9555   shrext_cmds=".dll"
   9556   need_version=no
   9557   need_lib_prefix=no
   9558 
   9559   case $GCC,$host_os in
   9560   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9561     library_names_spec='$libname.dll.a'
   9562     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9563     postinstall_cmds='base_file=`basename \${file}`~
   9564       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9565       dldir=$destdir/`dirname \$dlpath`~
   9566       test -d \$dldir || mkdir -p \$dldir~
   9567       $install_prog $dir/$dlname \$dldir/$dlname~
   9568       chmod a+x \$dldir/$dlname~
   9569       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9570         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9571       fi'
   9572     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9573       dlpath=$dir/\$dldll~
   9574        $RM \$dlpath'
   9575     shlibpath_overrides_runpath=yes
   9576 
   9577     case $host_os in
   9578     cygwin*)
   9579       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9580       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9581       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9582       ;;
   9583     mingw* | cegcc*)
   9584       # MinGW DLLs use traditional 'lib' prefix
   9585       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9586       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9587       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9588         # It is most probably a Windows format PATH printed by
   9589         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9590         # path with ; separators, and with drive letters. We can handle the
   9591         # drive letters (cygwin fileutils understands them), so leave them,
   9592         # especially as we might pass files found there to a mingw objdump,
   9593         # which wouldn't understand a cygwinified path. Ahh.
   9594         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9595       else
   9596         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9597       fi
   9598       ;;
   9599     pw32*)
   9600       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9601       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9602       ;;
   9603     esac
   9604     ;;
   9605 
   9606   *)
   9607     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9608     ;;
   9609   esac
   9610   dynamic_linker='Win32 ld.exe'
   9611   # FIXME: first we should search . and the directory the executable is in
   9612   shlibpath_var=PATH
   9613   ;;
   9614 
   9615 darwin* | rhapsody*)
   9616   dynamic_linker="$host_os dyld"
   9617   version_type=darwin
   9618   need_lib_prefix=no
   9619   need_version=no
   9620   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9621   soname_spec='${libname}${release}${major}$shared_ext'
   9622   shlibpath_overrides_runpath=yes
   9623   shlibpath_var=DYLD_LIBRARY_PATH
   9624   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9625 
   9626   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9627   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9628   ;;
   9629 
   9630 dgux*)
   9631   version_type=linux
   9632   need_lib_prefix=no
   9633   need_version=no
   9634   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9635   soname_spec='${libname}${release}${shared_ext}$major'
   9636   shlibpath_var=LD_LIBRARY_PATH
   9637   ;;
   9638 
   9639 freebsd1*)
   9640   dynamic_linker=no
   9641   ;;
   9642 
   9643 freebsd* | dragonfly*)
   9644   # DragonFly does not have aout.  When/if they implement a new
   9645   # versioning mechanism, adjust this.
   9646   if test -x /usr/bin/objformat; then
   9647     objformat=`/usr/bin/objformat`
   9648   else
   9649     case $host_os in
   9650     freebsd[123]*) objformat=aout ;;
   9651     *) objformat=elf ;;
   9652     esac
   9653   fi
   9654   version_type=freebsd-$objformat
   9655   case $version_type in
   9656     freebsd-elf*)
   9657       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9658       need_version=no
   9659       need_lib_prefix=no
   9660       ;;
   9661     freebsd-*)
   9662       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9663       need_version=yes
   9664       ;;
   9665   esac
   9666   shlibpath_var=LD_LIBRARY_PATH
   9667   case $host_os in
   9668   freebsd2*)
   9669     shlibpath_overrides_runpath=yes
   9670     ;;
   9671   freebsd3.[01]* | freebsdelf3.[01]*)
   9672     shlibpath_overrides_runpath=yes
   9673     hardcode_into_libs=yes
   9674     ;;
   9675   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9676   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9677     shlibpath_overrides_runpath=no
   9678     hardcode_into_libs=yes
   9679     ;;
   9680   *) # from 4.6 on, and DragonFly
   9681     shlibpath_overrides_runpath=yes
   9682     hardcode_into_libs=yes
   9683     ;;
   9684   esac
   9685   ;;
   9686 
   9687 gnu*)
   9688   version_type=linux
   9689   need_lib_prefix=no
   9690   need_version=no
   9691   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9692   soname_spec='${libname}${release}${shared_ext}$major'
   9693   shlibpath_var=LD_LIBRARY_PATH
   9694   hardcode_into_libs=yes
   9695   ;;
   9696 
   9697 hpux9* | hpux10* | hpux11*)
   9698   # Give a soname corresponding to the major version so that dld.sl refuses to
   9699   # link against other versions.
   9700   version_type=sunos
   9701   need_lib_prefix=no
   9702   need_version=no
   9703   case $host_cpu in
   9704   ia64*)
   9705     shrext_cmds='.so'
   9706     hardcode_into_libs=yes
   9707     dynamic_linker="$host_os dld.so"
   9708     shlibpath_var=LD_LIBRARY_PATH
   9709     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9710     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9711     soname_spec='${libname}${release}${shared_ext}$major'
   9712     if test "X$HPUX_IA64_MODE" = X32; then
   9713       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9714     else
   9715       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9716     fi
   9717     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9718     ;;
   9719   hppa*64*)
   9720     shrext_cmds='.sl'
   9721     hardcode_into_libs=yes
   9722     dynamic_linker="$host_os dld.sl"
   9723     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9724     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9725     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9726     soname_spec='${libname}${release}${shared_ext}$major'
   9727     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9728     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9729     ;;
   9730   *)
   9731     shrext_cmds='.sl'
   9732     dynamic_linker="$host_os dld.sl"
   9733     shlibpath_var=SHLIB_PATH
   9734     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9735     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9736     soname_spec='${libname}${release}${shared_ext}$major'
   9737     ;;
   9738   esac
   9739   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9740   postinstall_cmds='chmod 555 $lib'
   9741   ;;
   9742 
   9743 interix[3-9]*)
   9744   version_type=linux
   9745   need_lib_prefix=no
   9746   need_version=no
   9747   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9748   soname_spec='${libname}${release}${shared_ext}$major'
   9749   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9750   shlibpath_var=LD_LIBRARY_PATH
   9751   shlibpath_overrides_runpath=no
   9752   hardcode_into_libs=yes
   9753   ;;
   9754 
   9755 irix5* | irix6* | nonstopux*)
   9756   case $host_os in
   9757     nonstopux*) version_type=nonstopux ;;
   9758     *)
   9759 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9760 		version_type=linux
   9761 	else
   9762 		version_type=irix
   9763 	fi ;;
   9764   esac
   9765   need_lib_prefix=no
   9766   need_version=no
   9767   soname_spec='${libname}${release}${shared_ext}$major'
   9768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9769   case $host_os in
   9770   irix5* | nonstopux*)
   9771     libsuff= shlibsuff=
   9772     ;;
   9773   *)
   9774     case $LD in # libtool.m4 will add one of these switches to LD
   9775     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9776       libsuff= shlibsuff= libmagic=32-bit;;
   9777     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9778       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9779     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9780       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9781     *) libsuff= shlibsuff= libmagic=never-match;;
   9782     esac
   9783     ;;
   9784   esac
   9785   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9786   shlibpath_overrides_runpath=no
   9787   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9788   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9789   hardcode_into_libs=yes
   9790   ;;
   9791 
   9792 # No shared lib support for Linux oldld, aout, or coff.
   9793 linux*oldld* | linux*aout* | linux*coff*)
   9794   dynamic_linker=no
   9795   ;;
   9796 
   9797 # This must be Linux ELF.
   9798 linux* | k*bsd*-gnu)
   9799   version_type=linux
   9800   need_lib_prefix=no
   9801   need_version=no
   9802   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9803   soname_spec='${libname}${release}${shared_ext}$major'
   9804   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9805   shlibpath_var=LD_LIBRARY_PATH
   9806   shlibpath_overrides_runpath=no
   9807   # Some binutils ld are patched to set DT_RUNPATH
   9808   save_LDFLAGS=$LDFLAGS
   9809   save_libdir=$libdir
   9810   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9811        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9812   cat >conftest.$ac_ext <<_ACEOF
   9813 /* confdefs.h.  */
   9814 _ACEOF
   9815 cat confdefs.h >>conftest.$ac_ext
   9816 cat >>conftest.$ac_ext <<_ACEOF
   9817 /* end confdefs.h.  */
   9818 
   9819 int
   9820 main ()
   9821 {
   9822 
   9823   ;
   9824   return 0;
   9825 }
   9826 _ACEOF
   9827 rm -f conftest.$ac_objext conftest$ac_exeext
   9828 if { (ac_try="$ac_link"
   9829 case "(($ac_try" in
   9830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9831   *) ac_try_echo=$ac_try;;
   9832 esac
   9833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9834 $as_echo "$ac_try_echo") >&5
   9835   (eval "$ac_link") 2>conftest.er1
   9836   ac_status=$?
   9837   grep -v '^ *+' conftest.er1 >conftest.err
   9838   rm -f conftest.er1
   9839   cat conftest.err >&5
   9840   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9841   (exit $ac_status); } && {
   9842 	 test -z "$ac_c_werror_flag" ||
   9843 	 test ! -s conftest.err
   9844        } && test -s conftest$ac_exeext && {
   9845 	 test "$cross_compiling" = yes ||
   9846 	 $as_test_x conftest$ac_exeext
   9847        }; then
   9848   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   9849   shlibpath_overrides_runpath=yes
   9850 fi
   9851 
   9852 else
   9853   $as_echo "$as_me: failed program was:" >&5
   9854 sed 's/^/| /' conftest.$ac_ext >&5
   9855 
   9856 
   9857 fi
   9858 
   9859 rm -rf conftest.dSYM
   9860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9861       conftest$ac_exeext conftest.$ac_ext
   9862   LDFLAGS=$save_LDFLAGS
   9863   libdir=$save_libdir
   9864 
   9865   # This implies no fast_install, which is unacceptable.
   9866   # Some rework will be needed to allow for fast_install
   9867   # before this can be enabled.
   9868   hardcode_into_libs=yes
   9869 
   9870   # Add ABI-specific directories to the system library path.
   9871   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   9872 
   9873   # Append ld.so.conf contents to the search path
   9874   if test -f /etc/ld.so.conf; then
   9875     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;/^$/d' | tr '\n' ' '`
   9876     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9877   fi
   9878 
   9879   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9880   # powerpc, because MkLinux only supported shared libraries with the
   9881   # GNU dynamic linker.  Since this was broken with cross compilers,
   9882   # most powerpc-linux boxes support dynamic linking these days and
   9883   # people can always --disable-shared, the test was removed, and we
   9884   # assume the GNU/Linux dynamic linker is in use.
   9885   dynamic_linker='GNU/Linux ld.so'
   9886   ;;
   9887 
   9888 netbsd*)
   9889   version_type=sunos
   9890   need_lib_prefix=no
   9891   need_version=no
   9892   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9893     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9894     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9895     dynamic_linker='NetBSD (a.out) ld.so'
   9896   else
   9897     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9898     soname_spec='${libname}${release}${shared_ext}$major'
   9899     dynamic_linker='NetBSD ld.elf_so'
   9900   fi
   9901   shlibpath_var=LD_LIBRARY_PATH
   9902   shlibpath_overrides_runpath=yes
   9903   hardcode_into_libs=yes
   9904   ;;
   9905 
   9906 newsos6)
   9907   version_type=linux
   9908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9909   shlibpath_var=LD_LIBRARY_PATH
   9910   shlibpath_overrides_runpath=yes
   9911   ;;
   9912 
   9913 *nto* | *qnx*)
   9914   version_type=qnx
   9915   need_lib_prefix=no
   9916   need_version=no
   9917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9918   soname_spec='${libname}${release}${shared_ext}$major'
   9919   shlibpath_var=LD_LIBRARY_PATH
   9920   shlibpath_overrides_runpath=no
   9921   hardcode_into_libs=yes
   9922   dynamic_linker='ldqnx.so'
   9923   ;;
   9924 
   9925 openbsd*)
   9926   version_type=sunos
   9927   sys_lib_dlsearch_path_spec="/usr/lib"
   9928   need_lib_prefix=no
   9929   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9930   case $host_os in
   9931     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9932     *)				need_version=no  ;;
   9933   esac
   9934   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9935   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9936   shlibpath_var=LD_LIBRARY_PATH
   9937   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9938     case $host_os in
   9939       openbsd2.[89] | openbsd2.[89].*)
   9940 	shlibpath_overrides_runpath=no
   9941 	;;
   9942       *)
   9943 	shlibpath_overrides_runpath=yes
   9944 	;;
   9945       esac
   9946   else
   9947     shlibpath_overrides_runpath=yes
   9948   fi
   9949   ;;
   9950 
   9951 os2*)
   9952   libname_spec='$name'
   9953   shrext_cmds=".dll"
   9954   need_lib_prefix=no
   9955   library_names_spec='$libname${shared_ext} $libname.a'
   9956   dynamic_linker='OS/2 ld.exe'
   9957   shlibpath_var=LIBPATH
   9958   ;;
   9959 
   9960 osf3* | osf4* | osf5*)
   9961   version_type=osf
   9962   need_lib_prefix=no
   9963   need_version=no
   9964   soname_spec='${libname}${release}${shared_ext}$major'
   9965   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9966   shlibpath_var=LD_LIBRARY_PATH
   9967   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9968   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9969   ;;
   9970 
   9971 rdos*)
   9972   dynamic_linker=no
   9973   ;;
   9974 
   9975 solaris*)
   9976   version_type=linux
   9977   need_lib_prefix=no
   9978   need_version=no
   9979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9980   soname_spec='${libname}${release}${shared_ext}$major'
   9981   shlibpath_var=LD_LIBRARY_PATH
   9982   shlibpath_overrides_runpath=yes
   9983   hardcode_into_libs=yes
   9984   # ldd complains unless libraries are executable
   9985   postinstall_cmds='chmod +x $lib'
   9986   ;;
   9987 
   9988 sunos4*)
   9989   version_type=sunos
   9990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9991   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9992   shlibpath_var=LD_LIBRARY_PATH
   9993   shlibpath_overrides_runpath=yes
   9994   if test "$with_gnu_ld" = yes; then
   9995     need_lib_prefix=no
   9996   fi
   9997   need_version=yes
   9998   ;;
   9999 
   10000 sysv4 | sysv4.3*)
   10001   version_type=linux
   10002   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10003   soname_spec='${libname}${release}${shared_ext}$major'
   10004   shlibpath_var=LD_LIBRARY_PATH
   10005   case $host_vendor in
   10006     sni)
   10007       shlibpath_overrides_runpath=no
   10008       need_lib_prefix=no
   10009       runpath_var=LD_RUN_PATH
   10010       ;;
   10011     siemens)
   10012       need_lib_prefix=no
   10013       ;;
   10014     motorola)
   10015       need_lib_prefix=no
   10016       need_version=no
   10017       shlibpath_overrides_runpath=no
   10018       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10019       ;;
   10020   esac
   10021   ;;
   10022 
   10023 sysv4*MP*)
   10024   if test -d /usr/nec ;then
   10025     version_type=linux
   10026     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10027     soname_spec='$libname${shared_ext}.$major'
   10028     shlibpath_var=LD_LIBRARY_PATH
   10029   fi
   10030   ;;
   10031 
   10032 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10033   version_type=freebsd-elf
   10034   need_lib_prefix=no
   10035   need_version=no
   10036   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10037   soname_spec='${libname}${release}${shared_ext}$major'
   10038   shlibpath_var=LD_LIBRARY_PATH
   10039   shlibpath_overrides_runpath=yes
   10040   hardcode_into_libs=yes
   10041   if test "$with_gnu_ld" = yes; then
   10042     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10043   else
   10044     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10045     case $host_os in
   10046       sco3.2v5*)
   10047         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10048 	;;
   10049     esac
   10050   fi
   10051   sys_lib_dlsearch_path_spec='/usr/lib'
   10052   ;;
   10053 
   10054 tpf*)
   10055   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10056   version_type=linux
   10057   need_lib_prefix=no
   10058   need_version=no
   10059   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10060   shlibpath_var=LD_LIBRARY_PATH
   10061   shlibpath_overrides_runpath=no
   10062   hardcode_into_libs=yes
   10063   ;;
   10064 
   10065 uts4*)
   10066   version_type=linux
   10067   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10068   soname_spec='${libname}${release}${shared_ext}$major'
   10069   shlibpath_var=LD_LIBRARY_PATH
   10070   ;;
   10071 
   10072 *)
   10073   dynamic_linker=no
   10074   ;;
   10075 esac
   10076 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10077 $as_echo "$dynamic_linker" >&6; }
   10078 test "$dynamic_linker" = no && can_build_shared=no
   10079 
   10080 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10081 if test "$GCC" = yes; then
   10082   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10083 fi
   10084 
   10085 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10086   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10087 fi
   10088 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10089   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10090 fi
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10179 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10180 hardcode_action=
   10181 if test -n "$hardcode_libdir_flag_spec" ||
   10182    test -n "$runpath_var" ||
   10183    test "X$hardcode_automatic" = "Xyes" ; then
   10184 
   10185   # We can hardcode non-existent directories.
   10186   if test "$hardcode_direct" != no &&
   10187      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10188      # have to relink, otherwise we might link with an installed library
   10189      # when we should be linking with a yet-to-be-installed one
   10190      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10191      test "$hardcode_minus_L" != no; then
   10192     # Linking always hardcodes the temporary library directory.
   10193     hardcode_action=relink
   10194   else
   10195     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10196     hardcode_action=immediate
   10197   fi
   10198 else
   10199   # We cannot hardcode anything, or else we can only hardcode existing
   10200   # directories.
   10201   hardcode_action=unsupported
   10202 fi
   10203 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10204 $as_echo "$hardcode_action" >&6; }
   10205 
   10206 if test "$hardcode_action" = relink ||
   10207    test "$inherit_rpath" = yes; then
   10208   # Fast installation is not supported
   10209   enable_fast_install=no
   10210 elif test "$shlibpath_overrides_runpath" = yes ||
   10211      test "$enable_shared" = no; then
   10212   # Fast installation is not necessary
   10213   enable_fast_install=needless
   10214 fi
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221   if test "x$enable_dlopen" != xyes; then
   10222   enable_dlopen=unknown
   10223   enable_dlopen_self=unknown
   10224   enable_dlopen_self_static=unknown
   10225 else
   10226   lt_cv_dlopen=no
   10227   lt_cv_dlopen_libs=
   10228 
   10229   case $host_os in
   10230   beos*)
   10231     lt_cv_dlopen="load_add_on"
   10232     lt_cv_dlopen_libs=
   10233     lt_cv_dlopen_self=yes
   10234     ;;
   10235 
   10236   mingw* | pw32* | cegcc*)
   10237     lt_cv_dlopen="LoadLibrary"
   10238     lt_cv_dlopen_libs=
   10239     ;;
   10240 
   10241   cygwin*)
   10242     lt_cv_dlopen="dlopen"
   10243     lt_cv_dlopen_libs=
   10244     ;;
   10245 
   10246   darwin*)
   10247   # if libdl is installed we need to link against it
   10248     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10249 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10250 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10251   $as_echo_n "(cached) " >&6
   10252 else
   10253   ac_check_lib_save_LIBS=$LIBS
   10254 LIBS="-ldl  $LIBS"
   10255 cat >conftest.$ac_ext <<_ACEOF
   10256 /* confdefs.h.  */
   10257 _ACEOF
   10258 cat confdefs.h >>conftest.$ac_ext
   10259 cat >>conftest.$ac_ext <<_ACEOF
   10260 /* end confdefs.h.  */
   10261 
   10262 /* Override any GCC internal prototype to avoid an error.
   10263    Use char because int might match the return type of a GCC
   10264    builtin and then its argument prototype would still apply.  */
   10265 #ifdef __cplusplus
   10266 extern "C"
   10267 #endif
   10268 char dlopen ();
   10269 int
   10270 main ()
   10271 {
   10272 return dlopen ();
   10273   ;
   10274   return 0;
   10275 }
   10276 _ACEOF
   10277 rm -f conftest.$ac_objext conftest$ac_exeext
   10278 if { (ac_try="$ac_link"
   10279 case "(($ac_try" in
   10280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10281   *) ac_try_echo=$ac_try;;
   10282 esac
   10283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10284 $as_echo "$ac_try_echo") >&5
   10285   (eval "$ac_link") 2>conftest.er1
   10286   ac_status=$?
   10287   grep -v '^ *+' conftest.er1 >conftest.err
   10288   rm -f conftest.er1
   10289   cat conftest.err >&5
   10290   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10291   (exit $ac_status); } && {
   10292 	 test -z "$ac_c_werror_flag" ||
   10293 	 test ! -s conftest.err
   10294        } && test -s conftest$ac_exeext && {
   10295 	 test "$cross_compiling" = yes ||
   10296 	 $as_test_x conftest$ac_exeext
   10297        }; then
   10298   ac_cv_lib_dl_dlopen=yes
   10299 else
   10300   $as_echo "$as_me: failed program was:" >&5
   10301 sed 's/^/| /' conftest.$ac_ext >&5
   10302 
   10303 	ac_cv_lib_dl_dlopen=no
   10304 fi
   10305 
   10306 rm -rf conftest.dSYM
   10307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10308       conftest$ac_exeext conftest.$ac_ext
   10309 LIBS=$ac_check_lib_save_LIBS
   10310 fi
   10311 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10312 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10313 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10314   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10315 else
   10316 
   10317     lt_cv_dlopen="dyld"
   10318     lt_cv_dlopen_libs=
   10319     lt_cv_dlopen_self=yes
   10320 
   10321 fi
   10322 
   10323     ;;
   10324 
   10325   *)
   10326     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   10327 $as_echo_n "checking for shl_load... " >&6; }
   10328 if test "${ac_cv_func_shl_load+set}" = set; then
   10329   $as_echo_n "(cached) " >&6
   10330 else
   10331   cat >conftest.$ac_ext <<_ACEOF
   10332 /* confdefs.h.  */
   10333 _ACEOF
   10334 cat confdefs.h >>conftest.$ac_ext
   10335 cat >>conftest.$ac_ext <<_ACEOF
   10336 /* end confdefs.h.  */
   10337 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   10338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10339 #define shl_load innocuous_shl_load
   10340 
   10341 /* System header to define __stub macros and hopefully few prototypes,
   10342     which can conflict with char shl_load (); below.
   10343     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10344     <limits.h> exists even on freestanding compilers.  */
   10345 
   10346 #ifdef __STDC__
   10347 # include <limits.h>
   10348 #else
   10349 # include <assert.h>
   10350 #endif
   10351 
   10352 #undef shl_load
   10353 
   10354 /* Override any GCC internal prototype to avoid an error.
   10355    Use char because int might match the return type of a GCC
   10356    builtin and then its argument prototype would still apply.  */
   10357 #ifdef __cplusplus
   10358 extern "C"
   10359 #endif
   10360 char shl_load ();
   10361 /* The GNU C library defines this for functions which it implements
   10362     to always fail with ENOSYS.  Some functions are actually named
   10363     something starting with __ and the normal name is an alias.  */
   10364 #if defined __stub_shl_load || defined __stub___shl_load
   10365 choke me
   10366 #endif
   10367 
   10368 int
   10369 main ()
   10370 {
   10371 return shl_load ();
   10372   ;
   10373   return 0;
   10374 }
   10375 _ACEOF
   10376 rm -f conftest.$ac_objext conftest$ac_exeext
   10377 if { (ac_try="$ac_link"
   10378 case "(($ac_try" in
   10379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10380   *) ac_try_echo=$ac_try;;
   10381 esac
   10382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10383 $as_echo "$ac_try_echo") >&5
   10384   (eval "$ac_link") 2>conftest.er1
   10385   ac_status=$?
   10386   grep -v '^ *+' conftest.er1 >conftest.err
   10387   rm -f conftest.er1
   10388   cat conftest.err >&5
   10389   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10390   (exit $ac_status); } && {
   10391 	 test -z "$ac_c_werror_flag" ||
   10392 	 test ! -s conftest.err
   10393        } && test -s conftest$ac_exeext && {
   10394 	 test "$cross_compiling" = yes ||
   10395 	 $as_test_x conftest$ac_exeext
   10396        }; then
   10397   ac_cv_func_shl_load=yes
   10398 else
   10399   $as_echo "$as_me: failed program was:" >&5
   10400 sed 's/^/| /' conftest.$ac_ext >&5
   10401 
   10402 	ac_cv_func_shl_load=no
   10403 fi
   10404 
   10405 rm -rf conftest.dSYM
   10406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10407       conftest$ac_exeext conftest.$ac_ext
   10408 fi
   10409 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10410 $as_echo "$ac_cv_func_shl_load" >&6; }
   10411 if test "x$ac_cv_func_shl_load" = x""yes; then
   10412   lt_cv_dlopen="shl_load"
   10413 else
   10414   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10415 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10416 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10417   $as_echo_n "(cached) " >&6
   10418 else
   10419   ac_check_lib_save_LIBS=$LIBS
   10420 LIBS="-ldld  $LIBS"
   10421 cat >conftest.$ac_ext <<_ACEOF
   10422 /* confdefs.h.  */
   10423 _ACEOF
   10424 cat confdefs.h >>conftest.$ac_ext
   10425 cat >>conftest.$ac_ext <<_ACEOF
   10426 /* end confdefs.h.  */
   10427 
   10428 /* Override any GCC internal prototype to avoid an error.
   10429    Use char because int might match the return type of a GCC
   10430    builtin and then its argument prototype would still apply.  */
   10431 #ifdef __cplusplus
   10432 extern "C"
   10433 #endif
   10434 char shl_load ();
   10435 int
   10436 main ()
   10437 {
   10438 return shl_load ();
   10439   ;
   10440   return 0;
   10441 }
   10442 _ACEOF
   10443 rm -f conftest.$ac_objext conftest$ac_exeext
   10444 if { (ac_try="$ac_link"
   10445 case "(($ac_try" in
   10446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10447   *) ac_try_echo=$ac_try;;
   10448 esac
   10449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10450 $as_echo "$ac_try_echo") >&5
   10451   (eval "$ac_link") 2>conftest.er1
   10452   ac_status=$?
   10453   grep -v '^ *+' conftest.er1 >conftest.err
   10454   rm -f conftest.er1
   10455   cat conftest.err >&5
   10456   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10457   (exit $ac_status); } && {
   10458 	 test -z "$ac_c_werror_flag" ||
   10459 	 test ! -s conftest.err
   10460        } && test -s conftest$ac_exeext && {
   10461 	 test "$cross_compiling" = yes ||
   10462 	 $as_test_x conftest$ac_exeext
   10463        }; then
   10464   ac_cv_lib_dld_shl_load=yes
   10465 else
   10466   $as_echo "$as_me: failed program was:" >&5
   10467 sed 's/^/| /' conftest.$ac_ext >&5
   10468 
   10469 	ac_cv_lib_dld_shl_load=no
   10470 fi
   10471 
   10472 rm -rf conftest.dSYM
   10473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10474       conftest$ac_exeext conftest.$ac_ext
   10475 LIBS=$ac_check_lib_save_LIBS
   10476 fi
   10477 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10478 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10479 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10480   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10481 else
   10482   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10483 $as_echo_n "checking for dlopen... " >&6; }
   10484 if test "${ac_cv_func_dlopen+set}" = set; then
   10485   $as_echo_n "(cached) " >&6
   10486 else
   10487   cat >conftest.$ac_ext <<_ACEOF
   10488 /* confdefs.h.  */
   10489 _ACEOF
   10490 cat confdefs.h >>conftest.$ac_ext
   10491 cat >>conftest.$ac_ext <<_ACEOF
   10492 /* end confdefs.h.  */
   10493 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10494    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10495 #define dlopen innocuous_dlopen
   10496 
   10497 /* System header to define __stub macros and hopefully few prototypes,
   10498     which can conflict with char dlopen (); below.
   10499     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10500     <limits.h> exists even on freestanding compilers.  */
   10501 
   10502 #ifdef __STDC__
   10503 # include <limits.h>
   10504 #else
   10505 # include <assert.h>
   10506 #endif
   10507 
   10508 #undef dlopen
   10509 
   10510 /* Override any GCC internal prototype to avoid an error.
   10511    Use char because int might match the return type of a GCC
   10512    builtin and then its argument prototype would still apply.  */
   10513 #ifdef __cplusplus
   10514 extern "C"
   10515 #endif
   10516 char dlopen ();
   10517 /* The GNU C library defines this for functions which it implements
   10518     to always fail with ENOSYS.  Some functions are actually named
   10519     something starting with __ and the normal name is an alias.  */
   10520 #if defined __stub_dlopen || defined __stub___dlopen
   10521 choke me
   10522 #endif
   10523 
   10524 int
   10525 main ()
   10526 {
   10527 return dlopen ();
   10528   ;
   10529   return 0;
   10530 }
   10531 _ACEOF
   10532 rm -f conftest.$ac_objext conftest$ac_exeext
   10533 if { (ac_try="$ac_link"
   10534 case "(($ac_try" in
   10535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10536   *) ac_try_echo=$ac_try;;
   10537 esac
   10538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10539 $as_echo "$ac_try_echo") >&5
   10540   (eval "$ac_link") 2>conftest.er1
   10541   ac_status=$?
   10542   grep -v '^ *+' conftest.er1 >conftest.err
   10543   rm -f conftest.er1
   10544   cat conftest.err >&5
   10545   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10546   (exit $ac_status); } && {
   10547 	 test -z "$ac_c_werror_flag" ||
   10548 	 test ! -s conftest.err
   10549        } && test -s conftest$ac_exeext && {
   10550 	 test "$cross_compiling" = yes ||
   10551 	 $as_test_x conftest$ac_exeext
   10552        }; then
   10553   ac_cv_func_dlopen=yes
   10554 else
   10555   $as_echo "$as_me: failed program was:" >&5
   10556 sed 's/^/| /' conftest.$ac_ext >&5
   10557 
   10558 	ac_cv_func_dlopen=no
   10559 fi
   10560 
   10561 rm -rf conftest.dSYM
   10562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10563       conftest$ac_exeext conftest.$ac_ext
   10564 fi
   10565 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10566 $as_echo "$ac_cv_func_dlopen" >&6; }
   10567 if test "x$ac_cv_func_dlopen" = x""yes; then
   10568   lt_cv_dlopen="dlopen"
   10569 else
   10570   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10571 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10572 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10573   $as_echo_n "(cached) " >&6
   10574 else
   10575   ac_check_lib_save_LIBS=$LIBS
   10576 LIBS="-ldl  $LIBS"
   10577 cat >conftest.$ac_ext <<_ACEOF
   10578 /* confdefs.h.  */
   10579 _ACEOF
   10580 cat confdefs.h >>conftest.$ac_ext
   10581 cat >>conftest.$ac_ext <<_ACEOF
   10582 /* end confdefs.h.  */
   10583 
   10584 /* Override any GCC internal prototype to avoid an error.
   10585    Use char because int might match the return type of a GCC
   10586    builtin and then its argument prototype would still apply.  */
   10587 #ifdef __cplusplus
   10588 extern "C"
   10589 #endif
   10590 char dlopen ();
   10591 int
   10592 main ()
   10593 {
   10594 return dlopen ();
   10595   ;
   10596   return 0;
   10597 }
   10598 _ACEOF
   10599 rm -f conftest.$ac_objext conftest$ac_exeext
   10600 if { (ac_try="$ac_link"
   10601 case "(($ac_try" in
   10602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10603   *) ac_try_echo=$ac_try;;
   10604 esac
   10605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10606 $as_echo "$ac_try_echo") >&5
   10607   (eval "$ac_link") 2>conftest.er1
   10608   ac_status=$?
   10609   grep -v '^ *+' conftest.er1 >conftest.err
   10610   rm -f conftest.er1
   10611   cat conftest.err >&5
   10612   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10613   (exit $ac_status); } && {
   10614 	 test -z "$ac_c_werror_flag" ||
   10615 	 test ! -s conftest.err
   10616        } && test -s conftest$ac_exeext && {
   10617 	 test "$cross_compiling" = yes ||
   10618 	 $as_test_x conftest$ac_exeext
   10619        }; then
   10620   ac_cv_lib_dl_dlopen=yes
   10621 else
   10622   $as_echo "$as_me: failed program was:" >&5
   10623 sed 's/^/| /' conftest.$ac_ext >&5
   10624 
   10625 	ac_cv_lib_dl_dlopen=no
   10626 fi
   10627 
   10628 rm -rf conftest.dSYM
   10629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10630       conftest$ac_exeext conftest.$ac_ext
   10631 LIBS=$ac_check_lib_save_LIBS
   10632 fi
   10633 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10634 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10635 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10636   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10637 else
   10638   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10639 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10640 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10641   $as_echo_n "(cached) " >&6
   10642 else
   10643   ac_check_lib_save_LIBS=$LIBS
   10644 LIBS="-lsvld  $LIBS"
   10645 cat >conftest.$ac_ext <<_ACEOF
   10646 /* confdefs.h.  */
   10647 _ACEOF
   10648 cat confdefs.h >>conftest.$ac_ext
   10649 cat >>conftest.$ac_ext <<_ACEOF
   10650 /* end confdefs.h.  */
   10651 
   10652 /* Override any GCC internal prototype to avoid an error.
   10653    Use char because int might match the return type of a GCC
   10654    builtin and then its argument prototype would still apply.  */
   10655 #ifdef __cplusplus
   10656 extern "C"
   10657 #endif
   10658 char dlopen ();
   10659 int
   10660 main ()
   10661 {
   10662 return dlopen ();
   10663   ;
   10664   return 0;
   10665 }
   10666 _ACEOF
   10667 rm -f conftest.$ac_objext conftest$ac_exeext
   10668 if { (ac_try="$ac_link"
   10669 case "(($ac_try" in
   10670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10671   *) ac_try_echo=$ac_try;;
   10672 esac
   10673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10674 $as_echo "$ac_try_echo") >&5
   10675   (eval "$ac_link") 2>conftest.er1
   10676   ac_status=$?
   10677   grep -v '^ *+' conftest.er1 >conftest.err
   10678   rm -f conftest.er1
   10679   cat conftest.err >&5
   10680   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10681   (exit $ac_status); } && {
   10682 	 test -z "$ac_c_werror_flag" ||
   10683 	 test ! -s conftest.err
   10684        } && test -s conftest$ac_exeext && {
   10685 	 test "$cross_compiling" = yes ||
   10686 	 $as_test_x conftest$ac_exeext
   10687        }; then
   10688   ac_cv_lib_svld_dlopen=yes
   10689 else
   10690   $as_echo "$as_me: failed program was:" >&5
   10691 sed 's/^/| /' conftest.$ac_ext >&5
   10692 
   10693 	ac_cv_lib_svld_dlopen=no
   10694 fi
   10695 
   10696 rm -rf conftest.dSYM
   10697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10698       conftest$ac_exeext conftest.$ac_ext
   10699 LIBS=$ac_check_lib_save_LIBS
   10700 fi
   10701 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10702 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10703 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10704   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10705 else
   10706   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10707 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10708 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10709   $as_echo_n "(cached) " >&6
   10710 else
   10711   ac_check_lib_save_LIBS=$LIBS
   10712 LIBS="-ldld  $LIBS"
   10713 cat >conftest.$ac_ext <<_ACEOF
   10714 /* confdefs.h.  */
   10715 _ACEOF
   10716 cat confdefs.h >>conftest.$ac_ext
   10717 cat >>conftest.$ac_ext <<_ACEOF
   10718 /* end confdefs.h.  */
   10719 
   10720 /* Override any GCC internal prototype to avoid an error.
   10721    Use char because int might match the return type of a GCC
   10722    builtin and then its argument prototype would still apply.  */
   10723 #ifdef __cplusplus
   10724 extern "C"
   10725 #endif
   10726 char dld_link ();
   10727 int
   10728 main ()
   10729 {
   10730 return dld_link ();
   10731   ;
   10732   return 0;
   10733 }
   10734 _ACEOF
   10735 rm -f conftest.$ac_objext conftest$ac_exeext
   10736 if { (ac_try="$ac_link"
   10737 case "(($ac_try" in
   10738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10739   *) ac_try_echo=$ac_try;;
   10740 esac
   10741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10742 $as_echo "$ac_try_echo") >&5
   10743   (eval "$ac_link") 2>conftest.er1
   10744   ac_status=$?
   10745   grep -v '^ *+' conftest.er1 >conftest.err
   10746   rm -f conftest.er1
   10747   cat conftest.err >&5
   10748   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10749   (exit $ac_status); } && {
   10750 	 test -z "$ac_c_werror_flag" ||
   10751 	 test ! -s conftest.err
   10752        } && test -s conftest$ac_exeext && {
   10753 	 test "$cross_compiling" = yes ||
   10754 	 $as_test_x conftest$ac_exeext
   10755        }; then
   10756   ac_cv_lib_dld_dld_link=yes
   10757 else
   10758   $as_echo "$as_me: failed program was:" >&5
   10759 sed 's/^/| /' conftest.$ac_ext >&5
   10760 
   10761 	ac_cv_lib_dld_dld_link=no
   10762 fi
   10763 
   10764 rm -rf conftest.dSYM
   10765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10766       conftest$ac_exeext conftest.$ac_ext
   10767 LIBS=$ac_check_lib_save_LIBS
   10768 fi
   10769 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10770 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10771 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10772   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10773 fi
   10774 
   10775 
   10776 fi
   10777 
   10778 
   10779 fi
   10780 
   10781 
   10782 fi
   10783 
   10784 
   10785 fi
   10786 
   10787 
   10788 fi
   10789 
   10790     ;;
   10791   esac
   10792 
   10793   if test "x$lt_cv_dlopen" != xno; then
   10794     enable_dlopen=yes
   10795   else
   10796     enable_dlopen=no
   10797   fi
   10798 
   10799   case $lt_cv_dlopen in
   10800   dlopen)
   10801     save_CPPFLAGS="$CPPFLAGS"
   10802     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10803 
   10804     save_LDFLAGS="$LDFLAGS"
   10805     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10806 
   10807     save_LIBS="$LIBS"
   10808     LIBS="$lt_cv_dlopen_libs $LIBS"
   10809 
   10810     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10811 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10812 if test "${lt_cv_dlopen_self+set}" = set; then
   10813   $as_echo_n "(cached) " >&6
   10814 else
   10815   	  if test "$cross_compiling" = yes; then :
   10816   lt_cv_dlopen_self=cross
   10817 else
   10818   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10819   lt_status=$lt_dlunknown
   10820   cat > conftest.$ac_ext <<_LT_EOF
   10821 #line 10821 "configure"
   10822 #include "confdefs.h"
   10823 
   10824 #if HAVE_DLFCN_H
   10825 #include <dlfcn.h>
   10826 #endif
   10827 
   10828 #include <stdio.h>
   10829 
   10830 #ifdef RTLD_GLOBAL
   10831 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10832 #else
   10833 #  ifdef DL_GLOBAL
   10834 #    define LT_DLGLOBAL		DL_GLOBAL
   10835 #  else
   10836 #    define LT_DLGLOBAL		0
   10837 #  endif
   10838 #endif
   10839 
   10840 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10841    find out it does not work in some platform. */
   10842 #ifndef LT_DLLAZY_OR_NOW
   10843 #  ifdef RTLD_LAZY
   10844 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10845 #  else
   10846 #    ifdef DL_LAZY
   10847 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10848 #    else
   10849 #      ifdef RTLD_NOW
   10850 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10851 #      else
   10852 #        ifdef DL_NOW
   10853 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10854 #        else
   10855 #          define LT_DLLAZY_OR_NOW	0
   10856 #        endif
   10857 #      endif
   10858 #    endif
   10859 #  endif
   10860 #endif
   10861 
   10862 void fnord() { int i=42;}
   10863 int main ()
   10864 {
   10865   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10866   int status = $lt_dlunknown;
   10867 
   10868   if (self)
   10869     {
   10870       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10871       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10872       /* dlclose (self); */
   10873     }
   10874   else
   10875     puts (dlerror ());
   10876 
   10877   return status;
   10878 }
   10879 _LT_EOF
   10880   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10881   (eval $ac_link) 2>&5
   10882   ac_status=$?
   10883   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10884   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10885     (./conftest; exit; ) >&5 2>/dev/null
   10886     lt_status=$?
   10887     case x$lt_status in
   10888       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10889       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10890       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10891     esac
   10892   else :
   10893     # compilation failed
   10894     lt_cv_dlopen_self=no
   10895   fi
   10896 fi
   10897 rm -fr conftest*
   10898 
   10899 
   10900 fi
   10901 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10902 $as_echo "$lt_cv_dlopen_self" >&6; }
   10903 
   10904     if test "x$lt_cv_dlopen_self" = xyes; then
   10905       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10906       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10907 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10908 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10909   $as_echo_n "(cached) " >&6
   10910 else
   10911   	  if test "$cross_compiling" = yes; then :
   10912   lt_cv_dlopen_self_static=cross
   10913 else
   10914   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10915   lt_status=$lt_dlunknown
   10916   cat > conftest.$ac_ext <<_LT_EOF
   10917 #line 10917 "configure"
   10918 #include "confdefs.h"
   10919 
   10920 #if HAVE_DLFCN_H
   10921 #include <dlfcn.h>
   10922 #endif
   10923 
   10924 #include <stdio.h>
   10925 
   10926 #ifdef RTLD_GLOBAL
   10927 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10928 #else
   10929 #  ifdef DL_GLOBAL
   10930 #    define LT_DLGLOBAL		DL_GLOBAL
   10931 #  else
   10932 #    define LT_DLGLOBAL		0
   10933 #  endif
   10934 #endif
   10935 
   10936 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10937    find out it does not work in some platform. */
   10938 #ifndef LT_DLLAZY_OR_NOW
   10939 #  ifdef RTLD_LAZY
   10940 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10941 #  else
   10942 #    ifdef DL_LAZY
   10943 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10944 #    else
   10945 #      ifdef RTLD_NOW
   10946 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10947 #      else
   10948 #        ifdef DL_NOW
   10949 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10950 #        else
   10951 #          define LT_DLLAZY_OR_NOW	0
   10952 #        endif
   10953 #      endif
   10954 #    endif
   10955 #  endif
   10956 #endif
   10957 
   10958 void fnord() { int i=42;}
   10959 int main ()
   10960 {
   10961   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10962   int status = $lt_dlunknown;
   10963 
   10964   if (self)
   10965     {
   10966       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10967       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10968       /* dlclose (self); */
   10969     }
   10970   else
   10971     puts (dlerror ());
   10972 
   10973   return status;
   10974 }
   10975 _LT_EOF
   10976   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10977   (eval $ac_link) 2>&5
   10978   ac_status=$?
   10979   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10980   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10981     (./conftest; exit; ) >&5 2>/dev/null
   10982     lt_status=$?
   10983     case x$lt_status in
   10984       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10985       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10986       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10987     esac
   10988   else :
   10989     # compilation failed
   10990     lt_cv_dlopen_self_static=no
   10991   fi
   10992 fi
   10993 rm -fr conftest*
   10994 
   10995 
   10996 fi
   10997 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10998 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10999     fi
   11000 
   11001     CPPFLAGS="$save_CPPFLAGS"
   11002     LDFLAGS="$save_LDFLAGS"
   11003     LIBS="$save_LIBS"
   11004     ;;
   11005   esac
   11006 
   11007   case $lt_cv_dlopen_self in
   11008   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11009   *) enable_dlopen_self=unknown ;;
   11010   esac
   11011 
   11012   case $lt_cv_dlopen_self_static in
   11013   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11014   *) enable_dlopen_self_static=unknown ;;
   11015   esac
   11016 fi
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 striplib=
   11035 old_striplib=
   11036 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   11037 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11038 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11039   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11040   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11041   { $as_echo "$as_me:$LINENO: result: yes" >&5
   11042 $as_echo "yes" >&6; }
   11043 else
   11044 # FIXME - insert some real tests, host_os isn't really good enough
   11045   case $host_os in
   11046   darwin*)
   11047     if test -n "$STRIP" ; then
   11048       striplib="$STRIP -x"
   11049       old_striplib="$STRIP -S"
   11050       { $as_echo "$as_me:$LINENO: result: yes" >&5
   11051 $as_echo "yes" >&6; }
   11052     else
   11053       { $as_echo "$as_me:$LINENO: result: no" >&5
   11054 $as_echo "no" >&6; }
   11055     fi
   11056     ;;
   11057   *)
   11058     { $as_echo "$as_me:$LINENO: result: no" >&5
   11059 $as_echo "no" >&6; }
   11060     ;;
   11061   esac
   11062 fi
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075   # Report which library types will actually be built
   11076   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11077 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11078   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11079 $as_echo "$can_build_shared" >&6; }
   11080 
   11081   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11082 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11083   test "$can_build_shared" = "no" && enable_shared=no
   11084 
   11085   # On AIX, shared libraries and static libraries use the same namespace, and
   11086   # are all built from PIC.
   11087   case $host_os in
   11088   aix3*)
   11089     test "$enable_shared" = yes && enable_static=no
   11090     if test -n "$RANLIB"; then
   11091       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11092       postinstall_cmds='$RANLIB $lib'
   11093     fi
   11094     ;;
   11095 
   11096   aix[4-9]*)
   11097     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11098       test "$enable_shared" = yes && enable_static=no
   11099     fi
   11100     ;;
   11101   esac
   11102   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   11103 $as_echo "$enable_shared" >&6; }
   11104 
   11105   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11106 $as_echo_n "checking whether to build static libraries... " >&6; }
   11107   # Make sure either enable_shared or enable_static is yes.
   11108   test "$enable_shared" = yes || enable_static=yes
   11109   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   11110 $as_echo "$enable_static" >&6; }
   11111 
   11112 
   11113 
   11114 
   11115 fi
   11116 ac_ext=c
   11117 ac_cpp='$CPP $CPPFLAGS'
   11118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11121 
   11122 CC="$lt_save_CC"
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136         ac_config_commands="$ac_config_commands libtool"
   11137 
   11138 
   11139 
   11140 
   11141 # Only expand once:
   11142 
   11143 
   11144    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   11145 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11146 if test "${ac_cv_prog_cc_c99+set}" = set; then
   11147   $as_echo_n "(cached) " >&6
   11148 else
   11149   ac_cv_prog_cc_c99=no
   11150 ac_save_CC=$CC
   11151 cat >conftest.$ac_ext <<_ACEOF
   11152 /* confdefs.h.  */
   11153 _ACEOF
   11154 cat confdefs.h >>conftest.$ac_ext
   11155 cat >>conftest.$ac_ext <<_ACEOF
   11156 /* end confdefs.h.  */
   11157 #include <stdarg.h>
   11158 #include <stdbool.h>
   11159 #include <stdlib.h>
   11160 #include <wchar.h>
   11161 #include <stdio.h>
   11162 
   11163 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11164 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11165 #define showlist(...) puts (#__VA_ARGS__)
   11166 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11167 static void
   11168 test_varargs_macros (void)
   11169 {
   11170   int x = 1234;
   11171   int y = 5678;
   11172   debug ("Flag");
   11173   debug ("X = %d\n", x);
   11174   showlist (The first, second, and third items.);
   11175   report (x>y, "x is %d but y is %d", x, y);
   11176 }
   11177 
   11178 // Check long long types.
   11179 #define BIG64 18446744073709551615ull
   11180 #define BIG32 4294967295ul
   11181 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11182 #if !BIG_OK
   11183   your preprocessor is broken;
   11184 #endif
   11185 #if BIG_OK
   11186 #else
   11187   your preprocessor is broken;
   11188 #endif
   11189 static long long int bignum = -9223372036854775807LL;
   11190 static unsigned long long int ubignum = BIG64;
   11191 
   11192 struct incomplete_array
   11193 {
   11194   int datasize;
   11195   double data[];
   11196 };
   11197 
   11198 struct named_init {
   11199   int number;
   11200   const wchar_t *name;
   11201   double average;
   11202 };
   11203 
   11204 typedef const char *ccp;
   11205 
   11206 static inline int
   11207 test_restrict (ccp restrict text)
   11208 {
   11209   // See if C++-style comments work.
   11210   // Iterate through items via the restricted pointer.
   11211   // Also check for declarations in for loops.
   11212   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11213     continue;
   11214   return 0;
   11215 }
   11216 
   11217 // Check varargs and va_copy.
   11218 static void
   11219 test_varargs (const char *format, ...)
   11220 {
   11221   va_list args;
   11222   va_start (args, format);
   11223   va_list args_copy;
   11224   va_copy (args_copy, args);
   11225 
   11226   const char *str;
   11227   int number;
   11228   float fnumber;
   11229 
   11230   while (*format)
   11231     {
   11232       switch (*format++)
   11233 	{
   11234 	case 's': // string
   11235 	  str = va_arg (args_copy, const char *);
   11236 	  break;
   11237 	case 'd': // int
   11238 	  number = va_arg (args_copy, int);
   11239 	  break;
   11240 	case 'f': // float
   11241 	  fnumber = va_arg (args_copy, double);
   11242 	  break;
   11243 	default:
   11244 	  break;
   11245 	}
   11246     }
   11247   va_end (args_copy);
   11248   va_end (args);
   11249 }
   11250 
   11251 int
   11252 main ()
   11253 {
   11254 
   11255   // Check bool.
   11256   _Bool success = false;
   11257 
   11258   // Check restrict.
   11259   if (test_restrict ("String literal") == 0)
   11260     success = true;
   11261   char *restrict newvar = "Another string";
   11262 
   11263   // Check varargs.
   11264   test_varargs ("s, d' f .", "string", 65, 34.234);
   11265   test_varargs_macros ();
   11266 
   11267   // Check flexible array members.
   11268   struct incomplete_array *ia =
   11269     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11270   ia->datasize = 10;
   11271   for (int i = 0; i < ia->datasize; ++i)
   11272     ia->data[i] = i * 1.234;
   11273 
   11274   // Check named initializers.
   11275   struct named_init ni = {
   11276     .number = 34,
   11277     .name = L"Test wide string",
   11278     .average = 543.34343,
   11279   };
   11280 
   11281   ni.number = 58;
   11282 
   11283   int dynamic_array[ni.number];
   11284   dynamic_array[ni.number - 1] = 543;
   11285 
   11286   // work around unused variable warnings
   11287   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11288 	  || dynamic_array[ni.number - 1] != 543);
   11289 
   11290   ;
   11291   return 0;
   11292 }
   11293 _ACEOF
   11294 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11295 do
   11296   CC="$ac_save_CC $ac_arg"
   11297   rm -f conftest.$ac_objext
   11298 if { (ac_try="$ac_compile"
   11299 case "(($ac_try" in
   11300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11301   *) ac_try_echo=$ac_try;;
   11302 esac
   11303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11304 $as_echo "$ac_try_echo") >&5
   11305   (eval "$ac_compile") 2>conftest.er1
   11306   ac_status=$?
   11307   grep -v '^ *+' conftest.er1 >conftest.err
   11308   rm -f conftest.er1
   11309   cat conftest.err >&5
   11310   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11311   (exit $ac_status); } && {
   11312 	 test -z "$ac_c_werror_flag" ||
   11313 	 test ! -s conftest.err
   11314        } && test -s conftest.$ac_objext; then
   11315   ac_cv_prog_cc_c99=$ac_arg
   11316 else
   11317   $as_echo "$as_me: failed program was:" >&5
   11318 sed 's/^/| /' conftest.$ac_ext >&5
   11319 
   11320 
   11321 fi
   11322 
   11323 rm -f core conftest.err conftest.$ac_objext
   11324   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11325 done
   11326 rm -f conftest.$ac_ext
   11327 CC=$ac_save_CC
   11328 
   11329 fi
   11330 # AC_CACHE_VAL
   11331 case "x$ac_cv_prog_cc_c99" in
   11332   x)
   11333     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   11334 $as_echo "none needed" >&6; } ;;
   11335   xno)
   11336     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   11337 $as_echo "unsupported" >&6; } ;;
   11338   *)
   11339     CC="$CC $ac_cv_prog_cc_c99"
   11340     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   11341 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11342 esac
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 if  test "x$GCC" = xyes ; then
   11350     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   11351 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   11352 -Wbad-function-cast"
   11353     case `$CC -dumpversion` in
   11354     3.4.* | 4.*)
   11355 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   11356 	;;
   11357     esac
   11358 else
   11359     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   11360 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   11361 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   11362   $as_echo_n "(cached) " >&6
   11363 else
   11364   cat >conftest.$ac_ext <<_ACEOF
   11365 /* confdefs.h.  */
   11366 _ACEOF
   11367 cat confdefs.h >>conftest.$ac_ext
   11368 cat >>conftest.$ac_ext <<_ACEOF
   11369 /* end confdefs.h.  */
   11370 $ac_includes_default
   11371 int
   11372 main ()
   11373 {
   11374 #ifndef __SUNPRO_C
   11375   (void) __SUNPRO_C;
   11376 #endif
   11377 
   11378   ;
   11379   return 0;
   11380 }
   11381 _ACEOF
   11382 rm -f conftest.$ac_objext
   11383 if { (ac_try="$ac_compile"
   11384 case "(($ac_try" in
   11385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11386   *) ac_try_echo=$ac_try;;
   11387 esac
   11388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11389 $as_echo "$ac_try_echo") >&5
   11390   (eval "$ac_compile") 2>conftest.er1
   11391   ac_status=$?
   11392   grep -v '^ *+' conftest.er1 >conftest.err
   11393   rm -f conftest.er1
   11394   cat conftest.err >&5
   11395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11396   (exit $ac_status); } && {
   11397 	 test -z "$ac_c_werror_flag" ||
   11398 	 test ! -s conftest.err
   11399        } && test -s conftest.$ac_objext; then
   11400   ac_cv_have_decl___SUNPRO_C=yes
   11401 else
   11402   $as_echo "$as_me: failed program was:" >&5
   11403 sed 's/^/| /' conftest.$ac_ext >&5
   11404 
   11405 	ac_cv_have_decl___SUNPRO_C=no
   11406 fi
   11407 
   11408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11409 fi
   11410 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   11411 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   11412 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   11413   SUNCC="yes"
   11414 else
   11415   SUNCC="no"
   11416 fi
   11417 
   11418     if test "x$SUNCC" = "xyes"; then
   11419 	CWARNFLAGS="-v"
   11420     fi
   11421 fi
   11422 
   11423 # Check whether --enable-silent-rules was given.
   11424 if test "${enable_silent_rules+set}" = set; then
   11425   enableval=$enable_silent_rules;
   11426 fi
   11427 
   11428 case $enable_silent_rules in
   11429 yes) AM_DEFAULT_VERBOSITY=0;;
   11430 no)  AM_DEFAULT_VERBOSITY=1;;
   11431 *)   AM_DEFAULT_VERBOSITY=0;;
   11432 esac
   11433 AM_BACKSLASH='\'
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 # Check whether --enable-strict-compilation was given.
   11442 if test "${enable_strict_compilation+set}" = set; then
   11443   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11444 else
   11445   STRICT_COMPILE=no
   11446 fi
   11447 
   11448 if test "x$STRICT_COMPILE" = "xyes"; then
   11449 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   11450 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   11451 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   11452   $as_echo_n "(cached) " >&6
   11453 else
   11454   cat >conftest.$ac_ext <<_ACEOF
   11455 /* confdefs.h.  */
   11456 _ACEOF
   11457 cat confdefs.h >>conftest.$ac_ext
   11458 cat >>conftest.$ac_ext <<_ACEOF
   11459 /* end confdefs.h.  */
   11460 $ac_includes_default
   11461 int
   11462 main ()
   11463 {
   11464 #ifndef __SUNPRO_C
   11465   (void) __SUNPRO_C;
   11466 #endif
   11467 
   11468   ;
   11469   return 0;
   11470 }
   11471 _ACEOF
   11472 rm -f conftest.$ac_objext
   11473 if { (ac_try="$ac_compile"
   11474 case "(($ac_try" in
   11475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11476   *) ac_try_echo=$ac_try;;
   11477 esac
   11478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11479 $as_echo "$ac_try_echo") >&5
   11480   (eval "$ac_compile") 2>conftest.er1
   11481   ac_status=$?
   11482   grep -v '^ *+' conftest.er1 >conftest.err
   11483   rm -f conftest.er1
   11484   cat conftest.err >&5
   11485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11486   (exit $ac_status); } && {
   11487 	 test -z "$ac_c_werror_flag" ||
   11488 	 test ! -s conftest.err
   11489        } && test -s conftest.$ac_objext; then
   11490   ac_cv_have_decl___SUNPRO_C=yes
   11491 else
   11492   $as_echo "$as_me: failed program was:" >&5
   11493 sed 's/^/| /' conftest.$ac_ext >&5
   11494 
   11495 	ac_cv_have_decl___SUNPRO_C=no
   11496 fi
   11497 
   11498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11499 fi
   11500 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   11501 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   11502 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   11503   SUNCC="yes"
   11504 else
   11505   SUNCC="no"
   11506 fi
   11507 
   11508 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   11509 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   11510 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   11511   $as_echo_n "(cached) " >&6
   11512 else
   11513   cat >conftest.$ac_ext <<_ACEOF
   11514 /* confdefs.h.  */
   11515 _ACEOF
   11516 cat confdefs.h >>conftest.$ac_ext
   11517 cat >>conftest.$ac_ext <<_ACEOF
   11518 /* end confdefs.h.  */
   11519 $ac_includes_default
   11520 int
   11521 main ()
   11522 {
   11523 #ifndef __INTEL_COMPILER
   11524   (void) __INTEL_COMPILER;
   11525 #endif
   11526 
   11527   ;
   11528   return 0;
   11529 }
   11530 _ACEOF
   11531 rm -f conftest.$ac_objext
   11532 if { (ac_try="$ac_compile"
   11533 case "(($ac_try" in
   11534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11535   *) ac_try_echo=$ac_try;;
   11536 esac
   11537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11538 $as_echo "$ac_try_echo") >&5
   11539   (eval "$ac_compile") 2>conftest.er1
   11540   ac_status=$?
   11541   grep -v '^ *+' conftest.er1 >conftest.err
   11542   rm -f conftest.er1
   11543   cat conftest.err >&5
   11544   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11545   (exit $ac_status); } && {
   11546 	 test -z "$ac_c_werror_flag" ||
   11547 	 test ! -s conftest.err
   11548        } && test -s conftest.$ac_objext; then
   11549   ac_cv_have_decl___INTEL_COMPILER=yes
   11550 else
   11551   $as_echo "$as_me: failed program was:" >&5
   11552 sed 's/^/| /' conftest.$ac_ext >&5
   11553 
   11554 	ac_cv_have_decl___INTEL_COMPILER=no
   11555 fi
   11556 
   11557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11558 fi
   11559 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   11560 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   11561 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   11562   INTELCC="yes"
   11563 else
   11564   INTELCC="no"
   11565 fi
   11566 
   11567 	if test "x$GCC" = xyes ; then
   11568 		STRICT_CFLAGS="-pedantic -Werror"
   11569 	elif test "x$SUNCC" = "xyes"; then
   11570 		STRICT_CFLAGS="-errwarn"
   11571     elif test "x$INTELCC" = "xyes"; then
   11572 		STRICT_CFLAGS="-Werror"
   11573 	fi
   11574 fi
   11575 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11576 
   11577 
   11578 
   11579 
   11580 # Check whether --with-release-version was given.
   11581 if test "${with_release_version+set}" = set; then
   11582   withval=$with_release_version; RELEASE_VERSION="$withval"
   11583 else
   11584   RELEASE_VERSION=""
   11585 fi
   11586 
   11587 	if test "x$RELEASE_VERSION" != "x"; then
   11588 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   11589 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   11590 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   11591 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   11592 	fi
   11593 
   11594 cat >>confdefs.h <<_ACEOF
   11595 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11596 _ACEOF
   11597 
   11598 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11599 	if test "x$PVM" = "x"; then
   11600 		PVM="0"
   11601 	fi
   11602 
   11603 cat >>confdefs.h <<_ACEOF
   11604 #define PACKAGE_VERSION_MINOR $PVM
   11605 _ACEOF
   11606 
   11607 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11608 	if test "x$PVP" = "x"; then
   11609 		PVP="0"
   11610 	fi
   11611 
   11612 cat >>confdefs.h <<_ACEOF
   11613 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   11614 _ACEOF
   11615 
   11616 
   11617 
   11618 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   11619 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   11620 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   11621 
   11622 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 if test x$APP_MAN_SUFFIX = x    ; then
   11629     APP_MAN_SUFFIX=1
   11630 fi
   11631 if test x$APP_MAN_DIR = x    ; then
   11632     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11633 fi
   11634 
   11635 if test x$LIB_MAN_SUFFIX = x    ; then
   11636     LIB_MAN_SUFFIX=3
   11637 fi
   11638 if test x$LIB_MAN_DIR = x    ; then
   11639     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11640 fi
   11641 
   11642 if test x$FILE_MAN_SUFFIX = x    ; then
   11643     case $host_os in
   11644 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   11645 	*)		FILE_MAN_SUFFIX=5  ;;
   11646     esac
   11647 fi
   11648 if test x$FILE_MAN_DIR = x    ; then
   11649     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11650 fi
   11651 
   11652 if test x$MISC_MAN_SUFFIX = x    ; then
   11653     case $host_os in
   11654 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   11655 	*)		MISC_MAN_SUFFIX=7  ;;
   11656     esac
   11657 fi
   11658 if test x$MISC_MAN_DIR = x    ; then
   11659     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11660 fi
   11661 
   11662 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11663     case $host_os in
   11664 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   11665 	*)		DRIVER_MAN_SUFFIX=4  ;;
   11666     esac
   11667 fi
   11668 if test x$DRIVER_MAN_DIR = x    ; then
   11669     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11670 fi
   11671 
   11672 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11673     case $host_os in
   11674 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   11675 	*)		ADMIN_MAN_SUFFIX=8  ;;
   11676     esac
   11677 fi
   11678 if test x$ADMIN_MAN_DIR = x    ; then
   11679     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11680 fi
   11681 
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 # Checks for pkg-config packages
   11699 
   11700 
   11701 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11702 	if test -n "$ac_tool_prefix"; then
   11703   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11704 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11705 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11706 $as_echo_n "checking for $ac_word... " >&6; }
   11707 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   11708   $as_echo_n "(cached) " >&6
   11709 else
   11710   case $PKG_CONFIG in
   11711   [\\/]* | ?:[\\/]*)
   11712   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11713   ;;
   11714   *)
   11715   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11716 for as_dir in $PATH
   11717 do
   11718   IFS=$as_save_IFS
   11719   test -z "$as_dir" && as_dir=.
   11720   for ac_exec_ext in '' $ac_executable_extensions; do
   11721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11722     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11723     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11724     break 2
   11725   fi
   11726 done
   11727 done
   11728 IFS=$as_save_IFS
   11729 
   11730   ;;
   11731 esac
   11732 fi
   11733 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11734 if test -n "$PKG_CONFIG"; then
   11735   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   11736 $as_echo "$PKG_CONFIG" >&6; }
   11737 else
   11738   { $as_echo "$as_me:$LINENO: result: no" >&5
   11739 $as_echo "no" >&6; }
   11740 fi
   11741 
   11742 
   11743 fi
   11744 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11745   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11746   # Extract the first word of "pkg-config", so it can be a program name with args.
   11747 set dummy pkg-config; ac_word=$2
   11748 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11749 $as_echo_n "checking for $ac_word... " >&6; }
   11750 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   11751   $as_echo_n "(cached) " >&6
   11752 else
   11753   case $ac_pt_PKG_CONFIG in
   11754   [\\/]* | ?:[\\/]*)
   11755   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11756   ;;
   11757   *)
   11758   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11759 for as_dir in $PATH
   11760 do
   11761   IFS=$as_save_IFS
   11762   test -z "$as_dir" && as_dir=.
   11763   for ac_exec_ext in '' $ac_executable_extensions; do
   11764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11765     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11766     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11767     break 2
   11768   fi
   11769 done
   11770 done
   11771 IFS=$as_save_IFS
   11772 
   11773   ;;
   11774 esac
   11775 fi
   11776 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11777 if test -n "$ac_pt_PKG_CONFIG"; then
   11778   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   11779 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11780 else
   11781   { $as_echo "$as_me:$LINENO: result: no" >&5
   11782 $as_echo "no" >&6; }
   11783 fi
   11784 
   11785   if test "x$ac_pt_PKG_CONFIG" = x; then
   11786     PKG_CONFIG=""
   11787   else
   11788     case $cross_compiling:$ac_tool_warned in
   11789 yes:)
   11790 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11792 ac_tool_warned=yes ;;
   11793 esac
   11794     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11795   fi
   11796 else
   11797   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11798 fi
   11799 
   11800 fi
   11801 if test -n "$PKG_CONFIG"; then
   11802 	_pkg_min_version=0.9.0
   11803 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   11804 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11805 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11806 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   11807 $as_echo "yes" >&6; }
   11808 	else
   11809 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   11810 $as_echo "no" >&6; }
   11811 		PKG_CONFIG=""
   11812 	fi
   11813 
   11814 fi
   11815 
   11816 pkg_failed=no
   11817 { $as_echo "$as_me:$LINENO: checking for XXF86DGA" >&5
   11818 $as_echo_n "checking for XXF86DGA... " >&6; }
   11819 
   11820 if test -n "$XXF86DGA_CFLAGS"; then
   11821     pkg_cv_XXF86DGA_CFLAGS="$XXF86DGA_CFLAGS"
   11822  elif test -n "$PKG_CONFIG"; then
   11823     if test -n "$PKG_CONFIG" && \
   11824     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xextproto xext xf86dgaproto >= 2.0.99.2\"") >&5
   11825   ($PKG_CONFIG --exists --print-errors "xproto x11 xextproto xext xf86dgaproto >= 2.0.99.2") 2>&5
   11826   ac_status=$?
   11827   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11828   (exit $ac_status); }; then
   11829   pkg_cv_XXF86DGA_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xextproto xext xf86dgaproto >= 2.0.99.2" 2>/dev/null`
   11830 else
   11831   pkg_failed=yes
   11832 fi
   11833  else
   11834     pkg_failed=untried
   11835 fi
   11836 if test -n "$XXF86DGA_LIBS"; then
   11837     pkg_cv_XXF86DGA_LIBS="$XXF86DGA_LIBS"
   11838  elif test -n "$PKG_CONFIG"; then
   11839     if test -n "$PKG_CONFIG" && \
   11840     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xextproto xext xf86dgaproto >= 2.0.99.2\"") >&5
   11841   ($PKG_CONFIG --exists --print-errors "xproto x11 xextproto xext xf86dgaproto >= 2.0.99.2") 2>&5
   11842   ac_status=$?
   11843   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11844   (exit $ac_status); }; then
   11845   pkg_cv_XXF86DGA_LIBS=`$PKG_CONFIG --libs "xproto x11 xextproto xext xf86dgaproto >= 2.0.99.2" 2>/dev/null`
   11846 else
   11847   pkg_failed=yes
   11848 fi
   11849  else
   11850     pkg_failed=untried
   11851 fi
   11852 
   11853 
   11854 
   11855 if test $pkg_failed = yes; then
   11856 
   11857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11858         _pkg_short_errors_supported=yes
   11859 else
   11860         _pkg_short_errors_supported=no
   11861 fi
   11862         if test $_pkg_short_errors_supported = yes; then
   11863 	        XXF86DGA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xextproto xext xf86dgaproto >= 2.0.99.2" 2>&1`
   11864         else
   11865 	        XXF86DGA_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xextproto xext xf86dgaproto >= 2.0.99.2" 2>&1`
   11866         fi
   11867 	# Put the nasty error message in config.log where it belongs
   11868 	echo "$XXF86DGA_PKG_ERRORS" >&5
   11869 
   11870 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto x11 xextproto xext xf86dgaproto >= 2.0.99.2) were not met:
   11871 
   11872 $XXF86DGA_PKG_ERRORS
   11873 
   11874 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11875 installed software in a non-standard prefix.
   11876 
   11877 Alternatively, you may set the environment variables XXF86DGA_CFLAGS
   11878 and XXF86DGA_LIBS to avoid the need to call pkg-config.
   11879 See the pkg-config man page for more details.
   11880 " >&5
   11881 $as_echo "$as_me: error: Package requirements (xproto x11 xextproto xext xf86dgaproto >= 2.0.99.2) were not met:
   11882 
   11883 $XXF86DGA_PKG_ERRORS
   11884 
   11885 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11886 installed software in a non-standard prefix.
   11887 
   11888 Alternatively, you may set the environment variables XXF86DGA_CFLAGS
   11889 and XXF86DGA_LIBS to avoid the need to call pkg-config.
   11890 See the pkg-config man page for more details.
   11891 " >&2;}
   11892    { (exit 1); exit 1; }; }
   11893 elif test $pkg_failed = untried; then
   11894 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   11895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11896 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   11897 is in your PATH or set the PKG_CONFIG environment variable to the full
   11898 path to pkg-config.
   11899 
   11900 Alternatively, you may set the environment variables XXF86DGA_CFLAGS
   11901 and XXF86DGA_LIBS to avoid the need to call pkg-config.
   11902 See the pkg-config man page for more details.
   11903 
   11904 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11905 See \`config.log' for more details." >&5
   11906 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   11907 is in your PATH or set the PKG_CONFIG environment variable to the full
   11908 path to pkg-config.
   11909 
   11910 Alternatively, you may set the environment variables XXF86DGA_CFLAGS
   11911 and XXF86DGA_LIBS to avoid the need to call pkg-config.
   11912 See the pkg-config man page for more details.
   11913 
   11914 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11915 See \`config.log' for more details." >&2;}
   11916    { (exit 1); exit 1; }; }; }
   11917 else
   11918 	XXF86DGA_CFLAGS=$pkg_cv_XXF86DGA_CFLAGS
   11919 	XXF86DGA_LIBS=$pkg_cv_XXF86DGA_LIBS
   11920         { $as_echo "$as_me:$LINENO: result: yes" >&5
   11921 $as_echo "yes" >&6; }
   11922 	:
   11923 fi
   11924 XXF86DGA_CFLAGS="$CWARNFLAGS $XXF86DGA_CFLAGS"
   11925 
   11926 
   11927 # Check whether --enable-malloc0returnsnull was given.
   11928 if test "${enable_malloc0returnsnull+set}" = set; then
   11929   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   11930 else
   11931   MALLOC_ZERO_RETURNS_NULL=auto
   11932 fi
   11933 
   11934 
   11935 { $as_echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   11936 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   11937 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   11938 	if test "$cross_compiling" = yes; then
   11939   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   11940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11941 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   11942 See \`config.log' for more details." >&5
   11943 $as_echo "$as_me: error: cannot run test program while cross compiling
   11944 See \`config.log' for more details." >&2;}
   11945    { (exit 1); exit 1; }; }; }
   11946 else
   11947   cat >conftest.$ac_ext <<_ACEOF
   11948 
   11949 char *malloc();
   11950 char *realloc();
   11951 char *calloc();
   11952 main() {
   11953     char *m0, *r0, *c0, *p;
   11954     m0 = malloc(0);
   11955     p = malloc(10);
   11956     r0 = realloc(p,0);
   11957     c0 = calloc(0);
   11958     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   11959 }
   11960 _ACEOF
   11961 rm -f conftest$ac_exeext
   11962 if { (ac_try="$ac_link"
   11963 case "(($ac_try" in
   11964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11965   *) ac_try_echo=$ac_try;;
   11966 esac
   11967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11968 $as_echo "$ac_try_echo") >&5
   11969   (eval "$ac_link") 2>&5
   11970   ac_status=$?
   11971   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11972   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   11973   { (case "(($ac_try" in
   11974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11975   *) ac_try_echo=$ac_try;;
   11976 esac
   11977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11978 $as_echo "$ac_try_echo") >&5
   11979   (eval "$ac_try") 2>&5
   11980   ac_status=$?
   11981   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11982   (exit $ac_status); }; }; then
   11983   MALLOC_ZERO_RETURNS_NULL=yes
   11984 else
   11985   $as_echo "$as_me: program exited with status $ac_status" >&5
   11986 $as_echo "$as_me: failed program was:" >&5
   11987 sed 's/^/| /' conftest.$ac_ext >&5
   11988 
   11989 ( exit $ac_status )
   11990 MALLOC_ZERO_RETURNS_NULL=no
   11991 fi
   11992 rm -rf conftest.dSYM
   11993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   11994 fi
   11995 
   11996 
   11997 fi
   11998 { $as_echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   11999 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   12000 
   12001 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   12002 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   12003 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   12004 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   12005 else
   12006 	MALLOC_ZERO_CFLAGS=""
   12007 	XMALLOC_ZERO_CFLAGS=""
   12008 	XTMALLOC_ZERO_CFLAGS=""
   12009 fi
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xxf86dga.pc"
   12017 
   12018 cat >confcache <<\_ACEOF
   12019 # This file is a shell script that caches the results of configure
   12020 # tests run on this system so they can be shared between configure
   12021 # scripts and configure runs, see configure's option --config-cache.
   12022 # It is not useful on other systems.  If it contains results you don't
   12023 # want to keep, you may remove or edit it.
   12024 #
   12025 # config.status only pays attention to the cache file if you give it
   12026 # the --recheck option to rerun configure.
   12027 #
   12028 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12029 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12030 # following values.
   12031 
   12032 _ACEOF
   12033 
   12034 # The following way of writing the cache mishandles newlines in values,
   12035 # but we know of no workaround that is simple, portable, and efficient.
   12036 # So, we kill variables containing newlines.
   12037 # Ultrix sh set writes to stderr and can't be redirected directly,
   12038 # and sets the high bit in the cache file unless we assign to the vars.
   12039 (
   12040   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12041     eval ac_val=\$$ac_var
   12042     case $ac_val in #(
   12043     *${as_nl}*)
   12044       case $ac_var in #(
   12045       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   12046 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12047       esac
   12048       case $ac_var in #(
   12049       _ | IFS | as_nl) ;; #(
   12050       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12051       *) $as_unset $ac_var ;;
   12052       esac ;;
   12053     esac
   12054   done
   12055 
   12056   (set) 2>&1 |
   12057     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12058     *${as_nl}ac_space=\ *)
   12059       # `set' does not quote correctly, so add quotes (double-quote
   12060       # substitution turns \\\\ into \\, and sed turns \\ into \).
   12061       sed -n \
   12062 	"s/'/'\\\\''/g;
   12063 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12064       ;; #(
   12065     *)
   12066       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12067       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12068       ;;
   12069     esac |
   12070     sort
   12071 ) |
   12072   sed '
   12073      /^ac_cv_env_/b end
   12074      t clear
   12075      :clear
   12076      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12077      t end
   12078      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12079      :end' >>confcache
   12080 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12081   if test -w "$cache_file"; then
   12082     test "x$cache_file" != "x/dev/null" &&
   12083       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   12084 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12085     cat confcache >$cache_file
   12086   else
   12087     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   12088 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12089   fi
   12090 fi
   12091 rm -f confcache
   12092 
   12093 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12094 # Let make expand exec_prefix.
   12095 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12096 
   12097 DEFS=-DHAVE_CONFIG_H
   12098 
   12099 ac_libobjs=
   12100 ac_ltlibobjs=
   12101 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12102   # 1. Remove the extension, and $U if already installed.
   12103   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12104   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12105   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12106   #    will be set to the directory where LIBOBJS objects are built.
   12107   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12108   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   12109 done
   12110 LIBOBJS=$ac_libobjs
   12111 
   12112 LTLIBOBJS=$ac_ltlibobjs
   12113 
   12114 
   12115  if test -n "$EXEEXT"; then
   12116   am__EXEEXT_TRUE=
   12117   am__EXEEXT_FALSE='#'
   12118 else
   12119   am__EXEEXT_TRUE='#'
   12120   am__EXEEXT_FALSE=
   12121 fi
   12122 
   12123 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   12124   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   12125 Usually this means the macro was only invoked conditionally." >&5
   12126 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   12127 Usually this means the macro was only invoked conditionally." >&2;}
   12128    { (exit 1); exit 1; }; }
   12129 fi
   12130 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12131   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   12132 Usually this means the macro was only invoked conditionally." >&5
   12133 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   12134 Usually this means the macro was only invoked conditionally." >&2;}
   12135    { (exit 1); exit 1; }; }
   12136 fi
   12137 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12138   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   12139 Usually this means the macro was only invoked conditionally." >&5
   12140 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   12141 Usually this means the macro was only invoked conditionally." >&2;}
   12142    { (exit 1); exit 1; }; }
   12143 fi
   12144 
   12145 : ${CONFIG_STATUS=./config.status}
   12146 ac_write_fail=0
   12147 ac_clean_files_save=$ac_clean_files
   12148 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12149 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   12150 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12151 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12152 #! $SHELL
   12153 # Generated by $as_me.
   12154 # Run this file to recreate the current configuration.
   12155 # Compiler output produced by configure, useful for debugging
   12156 # configure, is in config.log if it exists.
   12157 
   12158 debug=false
   12159 ac_cs_recheck=false
   12160 ac_cs_silent=false
   12161 SHELL=\${CONFIG_SHELL-$SHELL}
   12162 _ACEOF
   12163 
   12164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12165 ## --------------------- ##
   12166 ## M4sh Initialization.  ##
   12167 ## --------------------- ##
   12168 
   12169 # Be more Bourne compatible
   12170 DUALCASE=1; export DUALCASE # for MKS sh
   12171 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   12172   emulate sh
   12173   NULLCMD=:
   12174   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12175   # is contrary to our usage.  Disable this feature.
   12176   alias -g '${1+"$@"}'='"$@"'
   12177   setopt NO_GLOB_SUBST
   12178 else
   12179   case `(set -o) 2>/dev/null` in
   12180   *posix*) set -o posix ;;
   12181 esac
   12182 
   12183 fi
   12184 
   12185 
   12186 
   12187 
   12188 # PATH needs CR
   12189 # Avoid depending upon Character Ranges.
   12190 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12191 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12192 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12193 as_cr_digits='0123456789'
   12194 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12195 
   12196 as_nl='
   12197 '
   12198 export as_nl
   12199 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12200 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12201 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12202 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12203 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12204   as_echo='printf %s\n'
   12205   as_echo_n='printf %s'
   12206 else
   12207   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12208     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12209     as_echo_n='/usr/ucb/echo -n'
   12210   else
   12211     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12212     as_echo_n_body='eval
   12213       arg=$1;
   12214       case $arg in
   12215       *"$as_nl"*)
   12216 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12217 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12218       esac;
   12219       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12220     '
   12221     export as_echo_n_body
   12222     as_echo_n='sh -c $as_echo_n_body as_echo'
   12223   fi
   12224   export as_echo_body
   12225   as_echo='sh -c $as_echo_body as_echo'
   12226 fi
   12227 
   12228 # The user is always right.
   12229 if test "${PATH_SEPARATOR+set}" != set; then
   12230   PATH_SEPARATOR=:
   12231   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12232     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12233       PATH_SEPARATOR=';'
   12234   }
   12235 fi
   12236 
   12237 # Support unset when possible.
   12238 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12239   as_unset=unset
   12240 else
   12241   as_unset=false
   12242 fi
   12243 
   12244 
   12245 # IFS
   12246 # We need space, tab and new line, in precisely that order.  Quoting is
   12247 # there to prevent editors from complaining about space-tab.
   12248 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12249 # splitting by setting IFS to empty value.)
   12250 IFS=" ""	$as_nl"
   12251 
   12252 # Find who we are.  Look in the path if we contain no directory separator.
   12253 case $0 in
   12254   *[\\/]* ) as_myself=$0 ;;
   12255   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12256 for as_dir in $PATH
   12257 do
   12258   IFS=$as_save_IFS
   12259   test -z "$as_dir" && as_dir=.
   12260   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12261 done
   12262 IFS=$as_save_IFS
   12263 
   12264      ;;
   12265 esac
   12266 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12267 # in which case we are not to be found in the path.
   12268 if test "x$as_myself" = x; then
   12269   as_myself=$0
   12270 fi
   12271 if test ! -f "$as_myself"; then
   12272   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12273   { (exit 1); exit 1; }
   12274 fi
   12275 
   12276 # Work around bugs in pre-3.0 UWIN ksh.
   12277 for as_var in ENV MAIL MAILPATH
   12278 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   12279 done
   12280 PS1='$ '
   12281 PS2='> '
   12282 PS4='+ '
   12283 
   12284 # NLS nuisances.
   12285 LC_ALL=C
   12286 export LC_ALL
   12287 LANGUAGE=C
   12288 export LANGUAGE
   12289 
   12290 # Required to use basename.
   12291 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12292    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12293   as_expr=expr
   12294 else
   12295   as_expr=false
   12296 fi
   12297 
   12298 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12299   as_basename=basename
   12300 else
   12301   as_basename=false
   12302 fi
   12303 
   12304 
   12305 # Name of the executable.
   12306 as_me=`$as_basename -- "$0" ||
   12307 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12308 	 X"$0" : 'X\(//\)$' \| \
   12309 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12310 $as_echo X/"$0" |
   12311     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12312 	    s//\1/
   12313 	    q
   12314 	  }
   12315 	  /^X\/\(\/\/\)$/{
   12316 	    s//\1/
   12317 	    q
   12318 	  }
   12319 	  /^X\/\(\/\).*/{
   12320 	    s//\1/
   12321 	    q
   12322 	  }
   12323 	  s/.*/./; q'`
   12324 
   12325 # CDPATH.
   12326 $as_unset CDPATH
   12327 
   12328 
   12329 
   12330   as_lineno_1=$LINENO
   12331   as_lineno_2=$LINENO
   12332   test "x$as_lineno_1" != "x$as_lineno_2" &&
   12333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   12334 
   12335   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   12336   # uniformly replaced by the line number.  The first 'sed' inserts a
   12337   # line-number line after each line using $LINENO; the second 'sed'
   12338   # does the real work.  The second script uses 'N' to pair each
   12339   # line-number line with the line containing $LINENO, and appends
   12340   # trailing '-' during substitution so that $LINENO is not a special
   12341   # case at line end.
   12342   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   12343   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   12344   # E. McMahon (1931-1989) for sed's syntax.  :-)
   12345   sed -n '
   12346     p
   12347     /[$]LINENO/=
   12348   ' <$as_myself |
   12349     sed '
   12350       s/[$]LINENO.*/&-/
   12351       t lineno
   12352       b
   12353       :lineno
   12354       N
   12355       :loop
   12356       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   12357       t loop
   12358       s/-\n.*//
   12359     ' >$as_me.lineno &&
   12360   chmod +x "$as_me.lineno" ||
   12361     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   12362    { (exit 1); exit 1; }; }
   12363 
   12364   # Don't try to exec as it changes $[0], causing all sort of problems
   12365   # (the dirname of $[0] is not the place where we might find the
   12366   # original and so on.  Autoconf is especially sensitive to this).
   12367   . "./$as_me.lineno"
   12368   # Exit status is that of the last command.
   12369   exit
   12370 }
   12371 
   12372 
   12373 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12374   as_dirname=dirname
   12375 else
   12376   as_dirname=false
   12377 fi
   12378 
   12379 ECHO_C= ECHO_N= ECHO_T=
   12380 case `echo -n x` in
   12381 -n*)
   12382   case `echo 'x\c'` in
   12383   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12384   *)   ECHO_C='\c';;
   12385   esac;;
   12386 *)
   12387   ECHO_N='-n';;
   12388 esac
   12389 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12390    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12391   as_expr=expr
   12392 else
   12393   as_expr=false
   12394 fi
   12395 
   12396 rm -f conf$$ conf$$.exe conf$$.file
   12397 if test -d conf$$.dir; then
   12398   rm -f conf$$.dir/conf$$.file
   12399 else
   12400   rm -f conf$$.dir
   12401   mkdir conf$$.dir 2>/dev/null
   12402 fi
   12403 if (echo >conf$$.file) 2>/dev/null; then
   12404   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12405     as_ln_s='ln -s'
   12406     # ... but there are two gotchas:
   12407     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12408     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12409     # In both cases, we have to default to `cp -p'.
   12410     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12411       as_ln_s='cp -p'
   12412   elif ln conf$$.file conf$$ 2>/dev/null; then
   12413     as_ln_s=ln
   12414   else
   12415     as_ln_s='cp -p'
   12416   fi
   12417 else
   12418   as_ln_s='cp -p'
   12419 fi
   12420 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12421 rmdir conf$$.dir 2>/dev/null
   12422 
   12423 if mkdir -p . 2>/dev/null; then
   12424   as_mkdir_p=:
   12425 else
   12426   test -d ./-p && rmdir ./-p
   12427   as_mkdir_p=false
   12428 fi
   12429 
   12430 if test -x / >/dev/null 2>&1; then
   12431   as_test_x='test -x'
   12432 else
   12433   if ls -dL / >/dev/null 2>&1; then
   12434     as_ls_L_option=L
   12435   else
   12436     as_ls_L_option=
   12437   fi
   12438   as_test_x='
   12439     eval sh -c '\''
   12440       if test -d "$1"; then
   12441 	test -d "$1/.";
   12442       else
   12443 	case $1 in
   12444 	-*)set "./$1";;
   12445 	esac;
   12446 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   12447 	???[sx]*):;;*)false;;esac;fi
   12448     '\'' sh
   12449   '
   12450 fi
   12451 as_executable_p=$as_test_x
   12452 
   12453 # Sed expression to map a string onto a valid CPP name.
   12454 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12455 
   12456 # Sed expression to map a string onto a valid variable name.
   12457 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12458 
   12459 
   12460 exec 6>&1
   12461 
   12462 # Save the log message, to keep $[0] and so on meaningful, and to
   12463 # report actual input values of CONFIG_FILES etc. instead of their
   12464 # values after options handling.
   12465 ac_log="
   12466 This file was extended by libXxf86dga $as_me 1.1.1, which was
   12467 generated by GNU Autoconf 2.63.  Invocation command line was
   12468 
   12469   CONFIG_FILES    = $CONFIG_FILES
   12470   CONFIG_HEADERS  = $CONFIG_HEADERS
   12471   CONFIG_LINKS    = $CONFIG_LINKS
   12472   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12473   $ $0 $@
   12474 
   12475 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12476 "
   12477 
   12478 _ACEOF
   12479 
   12480 case $ac_config_files in *"
   12481 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12482 esac
   12483 
   12484 case $ac_config_headers in *"
   12485 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12486 esac
   12487 
   12488 
   12489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12490 # Files that config.status was made for.
   12491 config_files="$ac_config_files"
   12492 config_headers="$ac_config_headers"
   12493 config_commands="$ac_config_commands"
   12494 
   12495 _ACEOF
   12496 
   12497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12498 ac_cs_usage="\
   12499 \`$as_me' instantiates files from templates according to the
   12500 current configuration.
   12501 
   12502 Usage: $0 [OPTION]... [FILE]...
   12503 
   12504   -h, --help       print this help, then exit
   12505   -V, --version    print version number and configuration settings, then exit
   12506   -q, --quiet, --silent
   12507                    do not print progress messages
   12508   -d, --debug      don't remove temporary files
   12509       --recheck    update $as_me by reconfiguring in the same conditions
   12510       --file=FILE[:TEMPLATE]
   12511                    instantiate the configuration file FILE
   12512       --header=FILE[:TEMPLATE]
   12513                    instantiate the configuration header FILE
   12514 
   12515 Configuration files:
   12516 $config_files
   12517 
   12518 Configuration headers:
   12519 $config_headers
   12520 
   12521 Configuration commands:
   12522 $config_commands
   12523 
   12524 Report bugs to <bug-autoconf (at] gnu.org>."
   12525 
   12526 _ACEOF
   12527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12528 ac_cs_version="\\
   12529 libXxf86dga config.status 1.1.1
   12530 configured by $0, generated by GNU Autoconf 2.63,
   12531   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   12532 
   12533 Copyright (C) 2008 Free Software Foundation, Inc.
   12534 This config.status script is free software; the Free Software Foundation
   12535 gives unlimited permission to copy, distribute and modify it."
   12536 
   12537 ac_pwd='$ac_pwd'
   12538 srcdir='$srcdir'
   12539 INSTALL='$INSTALL'
   12540 MKDIR_P='$MKDIR_P'
   12541 AWK='$AWK'
   12542 test -n "\$AWK" || AWK=awk
   12543 _ACEOF
   12544 
   12545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12546 # The default lists apply if the user does not specify any file.
   12547 ac_need_defaults=:
   12548 while test $# != 0
   12549 do
   12550   case $1 in
   12551   --*=*)
   12552     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12553     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12554     ac_shift=:
   12555     ;;
   12556   *)
   12557     ac_option=$1
   12558     ac_optarg=$2
   12559     ac_shift=shift
   12560     ;;
   12561   esac
   12562 
   12563   case $ac_option in
   12564   # Handling of the options.
   12565   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12566     ac_cs_recheck=: ;;
   12567   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12568     $as_echo "$ac_cs_version"; exit ;;
   12569   --debug | --debu | --deb | --de | --d | -d )
   12570     debug=: ;;
   12571   --file | --fil | --fi | --f )
   12572     $ac_shift
   12573     case $ac_optarg in
   12574     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12575     esac
   12576     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   12577     ac_need_defaults=false;;
   12578   --header | --heade | --head | --hea )
   12579     $ac_shift
   12580     case $ac_optarg in
   12581     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12582     esac
   12583     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   12584     ac_need_defaults=false;;
   12585   --he | --h)
   12586     # Conflict between --help and --header
   12587     { $as_echo "$as_me: error: ambiguous option: $1
   12588 Try \`$0 --help' for more information." >&2
   12589    { (exit 1); exit 1; }; };;
   12590   --help | --hel | -h )
   12591     $as_echo "$ac_cs_usage"; exit ;;
   12592   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12593   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12594     ac_cs_silent=: ;;
   12595 
   12596   # This is an error.
   12597   -*) { $as_echo "$as_me: error: unrecognized option: $1
   12598 Try \`$0 --help' for more information." >&2
   12599    { (exit 1); exit 1; }; } ;;
   12600 
   12601   *) ac_config_targets="$ac_config_targets $1"
   12602      ac_need_defaults=false ;;
   12603 
   12604   esac
   12605   shift
   12606 done
   12607 
   12608 ac_configure_extra_args=
   12609 
   12610 if $ac_cs_silent; then
   12611   exec 6>/dev/null
   12612   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12613 fi
   12614 
   12615 _ACEOF
   12616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12617 if \$ac_cs_recheck; then
   12618   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12619   shift
   12620   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12621   CONFIG_SHELL='$SHELL'
   12622   export CONFIG_SHELL
   12623   exec "\$@"
   12624 fi
   12625 
   12626 _ACEOF
   12627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12628 exec 5>>config.log
   12629 {
   12630   echo
   12631   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12632 ## Running $as_me. ##
   12633 _ASBOX
   12634   $as_echo "$ac_log"
   12635 } >&5
   12636 
   12637 _ACEOF
   12638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12639 #
   12640 # INIT-COMMANDS
   12641 #
   12642 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12643 
   12644 
   12645 # The HP-UX ksh and POSIX shell print the target directory to stdout
   12646 # if CDPATH is set.
   12647 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12648 
   12649 sed_quote_subst='$sed_quote_subst'
   12650 double_quote_subst='$double_quote_subst'
   12651 delay_variable_subst='$delay_variable_subst'
   12652 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   12653 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   12654 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   12655 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   12656 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   12657 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   12658 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12659 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   12660 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   12661 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12662 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   12663 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   12664 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   12665 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   12666 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   12667 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12668 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12669 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   12670 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   12671 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   12672 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   12673 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   12674 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   12675 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   12676 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   12677 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   12678 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12679 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12680 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   12681 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   12682 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   12683 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   12684 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12685 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   12686 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   12687 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12688 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12689 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12690 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   12691 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12692 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   12693 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   12694 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   12695 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   12696 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
   12697 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12698 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   12699 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   12700 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   12701 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   12702 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12703 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   12704 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   12705 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   12706 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   12707 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   12708 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   12709 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   12710 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   12711 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   12712 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   12713 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   12714 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12715 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12716 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   12717 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   12718 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12719 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12720 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   12721 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12722 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12723 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12724 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12725 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12726 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12727 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12728 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12729 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12730 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12731 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12732 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   12733 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   12734 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   12735 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   12736 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12737 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   12738 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   12739 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   12740 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   12741 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   12742 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12743 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12744 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12745 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12746 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12747 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   12748 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12749 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   12750 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   12751 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12752 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12753 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   12754 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12755 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12756 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12757 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12758 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12759 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12760 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   12761 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   12762 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12763 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12764 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   12765 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   12766 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   12767 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   12768 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12769 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12770 
   12771 LTCC='$LTCC'
   12772 LTCFLAGS='$LTCFLAGS'
   12773 compiler='$compiler_DEFAULT'
   12774 
   12775 # Quote evaled strings.
   12776 for var in SED \
   12777 GREP \
   12778 EGREP \
   12779 FGREP \
   12780 LD \
   12781 NM \
   12782 LN_S \
   12783 lt_SP2NL \
   12784 lt_NL2SP \
   12785 reload_flag \
   12786 OBJDUMP \
   12787 deplibs_check_method \
   12788 file_magic_cmd \
   12789 AR \
   12790 AR_FLAGS \
   12791 STRIP \
   12792 RANLIB \
   12793 CC \
   12794 CFLAGS \
   12795 compiler \
   12796 lt_cv_sys_global_symbol_pipe \
   12797 lt_cv_sys_global_symbol_to_cdecl \
   12798 lt_cv_sys_global_symbol_to_c_name_address \
   12799 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12800 SHELL \
   12801 ECHO \
   12802 lt_prog_compiler_no_builtin_flag \
   12803 lt_prog_compiler_wl \
   12804 lt_prog_compiler_pic \
   12805 lt_prog_compiler_static \
   12806 lt_cv_prog_compiler_c_o \
   12807 need_locks \
   12808 DSYMUTIL \
   12809 NMEDIT \
   12810 LIPO \
   12811 OTOOL \
   12812 OTOOL64 \
   12813 shrext_cmds \
   12814 export_dynamic_flag_spec \
   12815 whole_archive_flag_spec \
   12816 compiler_needs_object \
   12817 with_gnu_ld \
   12818 allow_undefined_flag \
   12819 no_undefined_flag \
   12820 hardcode_libdir_flag_spec \
   12821 hardcode_libdir_flag_spec_ld \
   12822 hardcode_libdir_separator \
   12823 fix_srcfile_path \
   12824 exclude_expsyms \
   12825 include_expsyms \
   12826 file_list_spec \
   12827 variables_saved_for_relink \
   12828 libname_spec \
   12829 library_names_spec \
   12830 soname_spec \
   12831 finish_eval \
   12832 old_striplib \
   12833 striplib; do
   12834     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12835     *[\\\\\\\`\\"\\\$]*)
   12836       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12837       ;;
   12838     *)
   12839       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12840       ;;
   12841     esac
   12842 done
   12843 
   12844 # Double-quote double-evaled strings.
   12845 for var in reload_cmds \
   12846 old_postinstall_cmds \
   12847 old_postuninstall_cmds \
   12848 old_archive_cmds \
   12849 extract_expsyms_cmds \
   12850 old_archive_from_new_cmds \
   12851 old_archive_from_expsyms_cmds \
   12852 archive_cmds \
   12853 archive_expsym_cmds \
   12854 module_cmds \
   12855 module_expsym_cmds \
   12856 export_symbols_cmds \
   12857 prelink_cmds \
   12858 postinstall_cmds \
   12859 postuninstall_cmds \
   12860 finish_cmds \
   12861 sys_lib_search_path_spec \
   12862 sys_lib_dlsearch_path_spec; do
   12863     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12864     *[\\\\\\\`\\"\\\$]*)
   12865       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   12866       ;;
   12867     *)
   12868       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12869       ;;
   12870     esac
   12871 done
   12872 
   12873 # Fix-up fallback echo if it was mangled by the above quoting rules.
   12874 case \$lt_ECHO in
   12875 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   12876   ;;
   12877 esac
   12878 
   12879 ac_aux_dir='$ac_aux_dir'
   12880 xsi_shell='$xsi_shell'
   12881 lt_shell_append='$lt_shell_append'
   12882 
   12883 # See if we are running on zsh, and set the options which allow our
   12884 # commands through without removal of \ escapes INIT.
   12885 if test -n "\${ZSH_VERSION+set}" ; then
   12886    setopt NO_GLOB_SUBST
   12887 fi
   12888 
   12889 
   12890     PACKAGE='$PACKAGE'
   12891     VERSION='$VERSION'
   12892     TIMESTAMP='$TIMESTAMP'
   12893     RM='$RM'
   12894     ofile='$ofile'
   12895 
   12896 
   12897 
   12898 
   12899 _ACEOF
   12900 
   12901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12902 
   12903 # Handling of arguments.
   12904 for ac_config_target in $ac_config_targets
   12905 do
   12906   case $ac_config_target in
   12907     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   12908     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12909     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   12910     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12911     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   12912     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12913     "xxf86dga.pc") CONFIG_FILES="$CONFIG_FILES xxf86dga.pc" ;;
   12914 
   12915   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   12916 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   12917    { (exit 1); exit 1; }; };;
   12918   esac
   12919 done
   12920 
   12921 
   12922 # If the user did not use the arguments to specify the items to instantiate,
   12923 # then the envvar interface is used.  Set only those that are not.
   12924 # We use the long form for the default assignment because of an extremely
   12925 # bizarre bug on SunOS 4.1.3.
   12926 if $ac_need_defaults; then
   12927   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12928   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12929   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12930 fi
   12931 
   12932 # Have a temporary directory for convenience.  Make it in the build tree
   12933 # simply because there is no reason against having it here, and in addition,
   12934 # creating and moving files from /tmp can sometimes cause problems.
   12935 # Hook for its removal unless debugging.
   12936 # Note that there is a small window in which the directory will not be cleaned:
   12937 # after its creation but before its name has been assigned to `$tmp'.
   12938 $debug ||
   12939 {
   12940   tmp=
   12941   trap 'exit_status=$?
   12942   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   12943 ' 0
   12944   trap '{ (exit 1); exit 1; }' 1 2 13 15
   12945 }
   12946 # Create a (secure) tmp directory for tmp files.
   12947 
   12948 {
   12949   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12950   test -n "$tmp" && test -d "$tmp"
   12951 }  ||
   12952 {
   12953   tmp=./conf$$-$RANDOM
   12954   (umask 077 && mkdir "$tmp")
   12955 } ||
   12956 {
   12957    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   12958    { (exit 1); exit 1; }
   12959 }
   12960 
   12961 # Set up the scripts for CONFIG_FILES section.
   12962 # No need to generate them if there are no CONFIG_FILES.
   12963 # This happens for instance with `./config.status config.h'.
   12964 if test -n "$CONFIG_FILES"; then
   12965 
   12966 
   12967 ac_cr='
'
   12969 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12970 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12971   ac_cs_awk_cr='\\r'
   12972 else
   12973   ac_cs_awk_cr=$ac_cr
   12974 fi
   12975 
   12976 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   12977 _ACEOF
   12978 
   12979 
   12980 {
   12981   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12982   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12983   echo "_ACEOF"
   12984 } >conf$$subs.sh ||
   12985   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   12986 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   12987    { (exit 1); exit 1; }; }
   12988 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   12989 ac_delim='%!_!# '
   12990 for ac_last_try in false false false false false :; do
   12991   . ./conf$$subs.sh ||
   12992     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   12993 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   12994    { (exit 1); exit 1; }; }
   12995 
   12996   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12997   if test $ac_delim_n = $ac_delim_num; then
   12998     break
   12999   elif $ac_last_try; then
   13000     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   13001 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   13002    { (exit 1); exit 1; }; }
   13003   else
   13004     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13005   fi
   13006 done
   13007 rm -f conf$$subs.sh
   13008 
   13009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13010 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   13011 _ACEOF
   13012 sed -n '
   13013 h
   13014 s/^/S["/; s/!.*/"]=/
   13015 p
   13016 g
   13017 s/^[^!]*!//
   13018 :repl
   13019 t repl
   13020 s/'"$ac_delim"'$//
   13021 t delim
   13022 :nl
   13023 h
   13024 s/\(.\{148\}\).*/\1/
   13025 t more1
   13026 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13027 p
   13028 n
   13029 b repl
   13030 :more1
   13031 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13032 p
   13033 g
   13034 s/.\{148\}//
   13035 t nl
   13036 :delim
   13037 h
   13038 s/\(.\{148\}\).*/\1/
   13039 t more2
   13040 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13041 p
   13042 b
   13043 :more2
   13044 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13045 p
   13046 g
   13047 s/.\{148\}//
   13048 t delim
   13049 ' <conf$$subs.awk | sed '
   13050 /^[^""]/{
   13051   N
   13052   s/\n//
   13053 }
   13054 ' >>$CONFIG_STATUS || ac_write_fail=1
   13055 rm -f conf$$subs.awk
   13056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13057 _ACAWK
   13058 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   13059   for (key in S) S_is_set[key] = 1
   13060   FS = ""
   13061 
   13062 }
   13063 {
   13064   line = $ 0
   13065   nfields = split(line, field, "@")
   13066   substed = 0
   13067   len = length(field[1])
   13068   for (i = 2; i < nfields; i++) {
   13069     key = field[i]
   13070     keylen = length(key)
   13071     if (S_is_set[key]) {
   13072       value = S[key]
   13073       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13074       len += length(value) + length(field[++i])
   13075       substed = 1
   13076     } else
   13077       len += 1 + keylen
   13078   }
   13079 
   13080   print line
   13081 }
   13082 
   13083 _ACAWK
   13084 _ACEOF
   13085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13086 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13087   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13088 else
   13089   cat
   13090 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   13091   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   13092 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   13093    { (exit 1); exit 1; }; }
   13094 _ACEOF
   13095 
   13096 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   13097 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   13098 # trailing colons and then remove the whole line if VPATH becomes empty
   13099 # (actually we leave an empty line to preserve line numbers).
   13100 if test "x$srcdir" = x.; then
   13101   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   13102 s/:*\$(srcdir):*/:/
   13103 s/:*\${srcdir}:*/:/
   13104 s/:*@srcdir@:*/:/
   13105 s/^\([^=]*=[	 ]*\):*/\1/
   13106 s/:*$//
   13107 s/^[^=]*=[	 ]*$//
   13108 }'
   13109 fi
   13110 
   13111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13112 fi # test -n "$CONFIG_FILES"
   13113 
   13114 # Set up the scripts for CONFIG_HEADERS section.
   13115 # No need to generate them if there are no CONFIG_HEADERS.
   13116 # This happens for instance with `./config.status Makefile'.
   13117 if test -n "$CONFIG_HEADERS"; then
   13118 cat >"$tmp/defines.awk" <<\_ACAWK ||
   13119 BEGIN {
   13120 _ACEOF
   13121 
   13122 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13123 # here-document in config.status, that substitutes the proper values into
   13124 # config.h.in to produce config.h.
   13125 
   13126 # Create a delimiter string that does not exist in confdefs.h, to ease
   13127 # handling of long lines.
   13128 ac_delim='%!_!# '
   13129 for ac_last_try in false false :; do
   13130   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   13131   if test -z "$ac_t"; then
   13132     break
   13133   elif $ac_last_try; then
   13134     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   13135 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   13136    { (exit 1); exit 1; }; }
   13137   else
   13138     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13139   fi
   13140 done
   13141 
   13142 # For the awk script, D is an array of macro values keyed by name,
   13143 # likewise P contains macro parameters if any.  Preserve backslash
   13144 # newline sequences.
   13145 
   13146 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13147 sed -n '
   13148 s/.\{148\}/&'"$ac_delim"'/g
   13149 t rset
   13150 :rset
   13151 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13152 t def
   13153 d
   13154 :def
   13155 s/\\$//
   13156 t bsnl
   13157 s/["\\]/\\&/g
   13158 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13159 D["\1"]=" \3"/p
   13160 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13161 d
   13162 :bsnl
   13163 s/["\\]/\\&/g
   13164 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13165 D["\1"]=" \3\\\\\\n"\\/p
   13166 t cont
   13167 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13168 t cont
   13169 d
   13170 :cont
   13171 n
   13172 s/.\{148\}/&'"$ac_delim"'/g
   13173 t clear
   13174 :clear
   13175 s/\\$//
   13176 t bsnlc
   13177 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13178 d
   13179 :bsnlc
   13180 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13181 b cont
   13182 ' <confdefs.h | sed '
   13183 s/'"$ac_delim"'/"\\\
   13184 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13185 
   13186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13187   for (key in D) D_is_set[key] = 1
   13188   FS = ""
   13189 }
   13190 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13191   line = \$ 0
   13192   split(line, arg, " ")
   13193   if (arg[1] == "#") {
   13194     defundef = arg[2]
   13195     mac1 = arg[3]
   13196   } else {
   13197     defundef = substr(arg[1], 2)
   13198     mac1 = arg[2]
   13199   }
   13200   split(mac1, mac2, "(") #)
   13201   macro = mac2[1]
   13202   prefix = substr(line, 1, index(line, defundef) - 1)
   13203   if (D_is_set[macro]) {
   13204     # Preserve the white space surrounding the "#".
   13205     print prefix "define", macro P[macro] D[macro]
   13206     next
   13207   } else {
   13208     # Replace #undef with comments.  This is necessary, for example,
   13209     # in the case of _POSIX_SOURCE, which is predefined and required
   13210     # on some systems where configure will not decide to define it.
   13211     if (defundef == "undef") {
   13212       print "/*", prefix defundef, macro, "*/"
   13213       next
   13214     }
   13215   }
   13216 }
   13217 { print }
   13218 _ACAWK
   13219 _ACEOF
   13220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13221   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   13222 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   13223    { (exit 1); exit 1; }; }
   13224 fi # test -n "$CONFIG_HEADERS"
   13225 
   13226 
   13227 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13228 shift
   13229 for ac_tag
   13230 do
   13231   case $ac_tag in
   13232   :[FHLC]) ac_mode=$ac_tag; continue;;
   13233   esac
   13234   case $ac_mode$ac_tag in
   13235   :[FHL]*:*);;
   13236   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   13237 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   13238    { (exit 1); exit 1; }; };;
   13239   :[FH]-) ac_tag=-:-;;
   13240   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13241   esac
   13242   ac_save_IFS=$IFS
   13243   IFS=:
   13244   set x $ac_tag
   13245   IFS=$ac_save_IFS
   13246   shift
   13247   ac_file=$1
   13248   shift
   13249 
   13250   case $ac_mode in
   13251   :L) ac_source=$1;;
   13252   :[FH])
   13253     ac_file_inputs=
   13254     for ac_f
   13255     do
   13256       case $ac_f in
   13257       -) ac_f="$tmp/stdin";;
   13258       *) # Look for the file first in the build tree, then in the source tree
   13259 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13260 	 # because $ac_f cannot contain `:'.
   13261 	 test -f "$ac_f" ||
   13262 	   case $ac_f in
   13263 	   [\\/$]*) false;;
   13264 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13265 	   esac ||
   13266 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   13267 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   13268    { (exit 1); exit 1; }; };;
   13269       esac
   13270       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13271       ac_file_inputs="$ac_file_inputs '$ac_f'"
   13272     done
   13273 
   13274     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13275     # use $as_me), people would be surprised to read:
   13276     #    /* config.h.  Generated by config.status.  */
   13277     configure_input='Generated from '`
   13278 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13279 	`' by configure.'
   13280     if test x"$ac_file" != x-; then
   13281       configure_input="$ac_file.  $configure_input"
   13282       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   13283 $as_echo "$as_me: creating $ac_file" >&6;}
   13284     fi
   13285     # Neutralize special characters interpreted by sed in replacement strings.
   13286     case $configure_input in #(
   13287     *\&* | *\|* | *\\* )
   13288        ac_sed_conf_input=`$as_echo "$configure_input" |
   13289        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13290     *) ac_sed_conf_input=$configure_input;;
   13291     esac
   13292 
   13293     case $ac_tag in
   13294     *:-:* | *:-) cat >"$tmp/stdin" \
   13295       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13296 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13297    { (exit 1); exit 1; }; } ;;
   13298     esac
   13299     ;;
   13300   esac
   13301 
   13302   ac_dir=`$as_dirname -- "$ac_file" ||
   13303 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13304 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13305 	 X"$ac_file" : 'X\(//\)$' \| \
   13306 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13307 $as_echo X"$ac_file" |
   13308     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13309 	    s//\1/
   13310 	    q
   13311 	  }
   13312 	  /^X\(\/\/\)[^/].*/{
   13313 	    s//\1/
   13314 	    q
   13315 	  }
   13316 	  /^X\(\/\/\)$/{
   13317 	    s//\1/
   13318 	    q
   13319 	  }
   13320 	  /^X\(\/\).*/{
   13321 	    s//\1/
   13322 	    q
   13323 	  }
   13324 	  s/.*/./; q'`
   13325   { as_dir="$ac_dir"
   13326   case $as_dir in #(
   13327   -*) as_dir=./$as_dir;;
   13328   esac
   13329   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   13330     as_dirs=
   13331     while :; do
   13332       case $as_dir in #(
   13333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13334       *) as_qdir=$as_dir;;
   13335       esac
   13336       as_dirs="'$as_qdir' $as_dirs"
   13337       as_dir=`$as_dirname -- "$as_dir" ||
   13338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13340 	 X"$as_dir" : 'X\(//\)$' \| \
   13341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13342 $as_echo X"$as_dir" |
   13343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13344 	    s//\1/
   13345 	    q
   13346 	  }
   13347 	  /^X\(\/\/\)[^/].*/{
   13348 	    s//\1/
   13349 	    q
   13350 	  }
   13351 	  /^X\(\/\/\)$/{
   13352 	    s//\1/
   13353 	    q
   13354 	  }
   13355 	  /^X\(\/\).*/{
   13356 	    s//\1/
   13357 	    q
   13358 	  }
   13359 	  s/.*/./; q'`
   13360       test -d "$as_dir" && break
   13361     done
   13362     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13363   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   13364 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   13365    { (exit 1); exit 1; }; }; }
   13366   ac_builddir=.
   13367 
   13368 case "$ac_dir" in
   13369 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13370 *)
   13371   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13372   # A ".." for each directory in $ac_dir_suffix.
   13373   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13374   case $ac_top_builddir_sub in
   13375   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13376   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13377   esac ;;
   13378 esac
   13379 ac_abs_top_builddir=$ac_pwd
   13380 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13381 # for backward compatibility:
   13382 ac_top_builddir=$ac_top_build_prefix
   13383 
   13384 case $srcdir in
   13385   .)  # We are building in place.
   13386     ac_srcdir=.
   13387     ac_top_srcdir=$ac_top_builddir_sub
   13388     ac_abs_top_srcdir=$ac_pwd ;;
   13389   [\\/]* | ?:[\\/]* )  # Absolute name.
   13390     ac_srcdir=$srcdir$ac_dir_suffix;
   13391     ac_top_srcdir=$srcdir
   13392     ac_abs_top_srcdir=$srcdir ;;
   13393   *) # Relative name.
   13394     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13395     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13396     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13397 esac
   13398 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13399 
   13400 
   13401   case $ac_mode in
   13402   :F)
   13403   #
   13404   # CONFIG_FILE
   13405   #
   13406 
   13407   case $INSTALL in
   13408   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13409   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13410   esac
   13411   ac_MKDIR_P=$MKDIR_P
   13412   case $MKDIR_P in
   13413   [\\/$]* | ?:[\\/]* ) ;;
   13414   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13415   esac
   13416 _ACEOF
   13417 
   13418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13419 # If the template does not know about datarootdir, expand it.
   13420 # FIXME: This hack should be removed a few years after 2.60.
   13421 ac_datarootdir_hack=; ac_datarootdir_seen=
   13422 
   13423 ac_sed_dataroot='
   13424 /datarootdir/ {
   13425   p
   13426   q
   13427 }
   13428 /@datadir@/p
   13429 /@docdir@/p
   13430 /@infodir@/p
   13431 /@localedir@/p
   13432 /@mandir@/p
   13433 '
   13434 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13435 *datarootdir*) ac_datarootdir_seen=yes;;
   13436 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13437   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13438 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13439 _ACEOF
   13440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13441   ac_datarootdir_hack='
   13442   s&@datadir@&$datadir&g
   13443   s&@docdir@&$docdir&g
   13444   s&@infodir@&$infodir&g
   13445   s&@localedir@&$localedir&g
   13446   s&@mandir@&$mandir&g
   13447     s&\\\${datarootdir}&$datarootdir&g' ;;
   13448 esac
   13449 _ACEOF
   13450 
   13451 # Neutralize VPATH when `$srcdir' = `.'.
   13452 # Shell code in configure.ac might set extrasub.
   13453 # FIXME: do we really want to maintain this feature?
   13454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13455 ac_sed_extra="$ac_vpsub
   13456 $extrasub
   13457 _ACEOF
   13458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13459 :t
   13460 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13461 s|@configure_input@|$ac_sed_conf_input|;t t
   13462 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13463 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13464 s&@srcdir@&$ac_srcdir&;t t
   13465 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13466 s&@top_srcdir@&$ac_top_srcdir&;t t
   13467 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13468 s&@builddir@&$ac_builddir&;t t
   13469 s&@abs_builddir@&$ac_abs_builddir&;t t
   13470 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13471 s&@INSTALL@&$ac_INSTALL&;t t
   13472 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13473 $ac_datarootdir_hack
   13474 "
   13475 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   13476   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13477 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13478    { (exit 1); exit 1; }; }
   13479 
   13480 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13481   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   13482   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   13483   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13484 which seems to be undefined.  Please make sure it is defined." >&5
   13485 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13486 which seems to be undefined.  Please make sure it is defined." >&2;}
   13487 
   13488   rm -f "$tmp/stdin"
   13489   case $ac_file in
   13490   -) cat "$tmp/out" && rm -f "$tmp/out";;
   13491   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   13492   esac \
   13493   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13494 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13495    { (exit 1); exit 1; }; }
   13496  ;;
   13497   :H)
   13498   #
   13499   # CONFIG_HEADER
   13500   #
   13501   if test x"$ac_file" != x-; then
   13502     {
   13503       $as_echo "/* $configure_input  */" \
   13504       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   13505     } >"$tmp/config.h" \
   13506       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13507 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13508    { (exit 1); exit 1; }; }
   13509     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   13510       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   13511 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13512     else
   13513       rm -f "$ac_file"
   13514       mv "$tmp/config.h" "$ac_file" \
   13515 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   13516 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   13517    { (exit 1); exit 1; }; }
   13518     fi
   13519   else
   13520     $as_echo "/* $configure_input  */" \
   13521       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   13522       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   13523 $as_echo "$as_me: error: could not create -" >&2;}
   13524    { (exit 1); exit 1; }; }
   13525   fi
   13526 # Compute "$ac_file"'s index in $config_headers.
   13527 _am_arg="$ac_file"
   13528 _am_stamp_count=1
   13529 for _am_header in $config_headers :; do
   13530   case $_am_header in
   13531     $_am_arg | $_am_arg:* )
   13532       break ;;
   13533     * )
   13534       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13535   esac
   13536 done
   13537 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13538 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13539 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13540 	 X"$_am_arg" : 'X\(//\)$' \| \
   13541 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13542 $as_echo X"$_am_arg" |
   13543     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13544 	    s//\1/
   13545 	    q
   13546 	  }
   13547 	  /^X\(\/\/\)[^/].*/{
   13548 	    s//\1/
   13549 	    q
   13550 	  }
   13551 	  /^X\(\/\/\)$/{
   13552 	    s//\1/
   13553 	    q
   13554 	  }
   13555 	  /^X\(\/\).*/{
   13556 	    s//\1/
   13557 	    q
   13558 	  }
   13559 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13560  ;;
   13561 
   13562   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   13563 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13564  ;;
   13565   esac
   13566 
   13567 
   13568   case $ac_file$ac_mode in
   13569     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13570   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   13571   # are listed without --file.  Let's play safe and only enable the eval
   13572   # if we detect the quoting.
   13573   case $CONFIG_FILES in
   13574   *\'*) eval set x "$CONFIG_FILES" ;;
   13575   *)   set x $CONFIG_FILES ;;
   13576   esac
   13577   shift
   13578   for mf
   13579   do
   13580     # Strip MF so we end up with the name of the file.
   13581     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13582     # Check whether this is an Automake generated Makefile or not.
   13583     # We used to match only the files named `Makefile.in', but
   13584     # some people rename them; so instead we look at the file content.
   13585     # Grep'ing the first line is not enough: some people post-process
   13586     # each Makefile.in and add a new line on top of each file to say so.
   13587     # Grep'ing the whole file is not good either: AIX grep has a line
   13588     # limit of 2048, but all sed's we know have understand at least 4000.
   13589     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13590       dirpart=`$as_dirname -- "$mf" ||
   13591 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13592 	 X"$mf" : 'X\(//\)[^/]' \| \
   13593 	 X"$mf" : 'X\(//\)$' \| \
   13594 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13595 $as_echo X"$mf" |
   13596     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13597 	    s//\1/
   13598 	    q
   13599 	  }
   13600 	  /^X\(\/\/\)[^/].*/{
   13601 	    s//\1/
   13602 	    q
   13603 	  }
   13604 	  /^X\(\/\/\)$/{
   13605 	    s//\1/
   13606 	    q
   13607 	  }
   13608 	  /^X\(\/\).*/{
   13609 	    s//\1/
   13610 	    q
   13611 	  }
   13612 	  s/.*/./; q'`
   13613     else
   13614       continue
   13615     fi
   13616     # Extract the definition of DEPDIR, am__include, and am__quote
   13617     # from the Makefile without running `make'.
   13618     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13619     test -z "$DEPDIR" && continue
   13620     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13621     test -z "am__include" && continue
   13622     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13623     # When using ansi2knr, U may be empty or an underscore; expand it
   13624     U=`sed -n 's/^U = //p' < "$mf"`
   13625     # Find all dependency output files, they are included files with
   13626     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13627     # simplest approach to changing $(DEPDIR) to its actual value in the
   13628     # expansion.
   13629     for file in `sed -n "
   13630       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13631 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13632       # Make sure the directory exists.
   13633       test -f "$dirpart/$file" && continue
   13634       fdir=`$as_dirname -- "$file" ||
   13635 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13636 	 X"$file" : 'X\(//\)[^/]' \| \
   13637 	 X"$file" : 'X\(//\)$' \| \
   13638 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13639 $as_echo X"$file" |
   13640     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13641 	    s//\1/
   13642 	    q
   13643 	  }
   13644 	  /^X\(\/\/\)[^/].*/{
   13645 	    s//\1/
   13646 	    q
   13647 	  }
   13648 	  /^X\(\/\/\)$/{
   13649 	    s//\1/
   13650 	    q
   13651 	  }
   13652 	  /^X\(\/\).*/{
   13653 	    s//\1/
   13654 	    q
   13655 	  }
   13656 	  s/.*/./; q'`
   13657       { as_dir=$dirpart/$fdir
   13658   case $as_dir in #(
   13659   -*) as_dir=./$as_dir;;
   13660   esac
   13661   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   13662     as_dirs=
   13663     while :; do
   13664       case $as_dir in #(
   13665       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13666       *) as_qdir=$as_dir;;
   13667       esac
   13668       as_dirs="'$as_qdir' $as_dirs"
   13669       as_dir=`$as_dirname -- "$as_dir" ||
   13670 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13671 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13672 	 X"$as_dir" : 'X\(//\)$' \| \
   13673 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13674 $as_echo X"$as_dir" |
   13675     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13676 	    s//\1/
   13677 	    q
   13678 	  }
   13679 	  /^X\(\/\/\)[^/].*/{
   13680 	    s//\1/
   13681 	    q
   13682 	  }
   13683 	  /^X\(\/\/\)$/{
   13684 	    s//\1/
   13685 	    q
   13686 	  }
   13687 	  /^X\(\/\).*/{
   13688 	    s//\1/
   13689 	    q
   13690 	  }
   13691 	  s/.*/./; q'`
   13692       test -d "$as_dir" && break
   13693     done
   13694     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13695   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   13696 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   13697    { (exit 1); exit 1; }; }; }
   13698       # echo "creating $dirpart/$file"
   13699       echo '# dummy' > "$dirpart/$file"
   13700     done
   13701   done
   13702 }
   13703  ;;
   13704     "libtool":C)
   13705 
   13706     # See if we are running on zsh, and set the options which allow our
   13707     # commands through without removal of \ escapes.
   13708     if test -n "${ZSH_VERSION+set}" ; then
   13709       setopt NO_GLOB_SUBST
   13710     fi
   13711 
   13712     cfgfile="${ofile}T"
   13713     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13714     $RM "$cfgfile"
   13715 
   13716     cat <<_LT_EOF >> "$cfgfile"
   13717 #! $SHELL
   13718 
   13719 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13720 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13721 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13722 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13723 #
   13724 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13725 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   13726 #   Written by Gordon Matzigkeit, 1996
   13727 #
   13728 #   This file is part of GNU Libtool.
   13729 #
   13730 # GNU Libtool is free software; you can redistribute it and/or
   13731 # modify it under the terms of the GNU General Public License as
   13732 # published by the Free Software Foundation; either version 2 of
   13733 # the License, or (at your option) any later version.
   13734 #
   13735 # As a special exception to the GNU General Public License,
   13736 # if you distribute this file as part of a program or library that
   13737 # is built using GNU Libtool, you may include this file under the
   13738 # same distribution terms that you use for the rest of that program.
   13739 #
   13740 # GNU Libtool is distributed in the hope that it will be useful,
   13741 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13742 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13743 # GNU General Public License for more details.
   13744 #
   13745 # You should have received a copy of the GNU General Public License
   13746 # along with GNU Libtool; see the file COPYING.  If not, a copy
   13747 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   13748 # obtained by writing to the Free Software Foundation, Inc.,
   13749 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   13750 
   13751 
   13752 # The names of the tagged configurations supported by this script.
   13753 available_tags=""
   13754 
   13755 # ### BEGIN LIBTOOL CONFIG
   13756 
   13757 # Which release of libtool.m4 was used?
   13758 macro_version=$macro_version
   13759 macro_revision=$macro_revision
   13760 
   13761 # Whether or not to build shared libraries.
   13762 build_libtool_libs=$enable_shared
   13763 
   13764 # Whether or not to build static libraries.
   13765 build_old_libs=$enable_static
   13766 
   13767 # What type of objects to build.
   13768 pic_mode=$pic_mode
   13769 
   13770 # Whether or not to optimize for fast installation.
   13771 fast_install=$enable_fast_install
   13772 
   13773 # The host system.
   13774 host_alias=$host_alias
   13775 host=$host
   13776 host_os=$host_os
   13777 
   13778 # The build system.
   13779 build_alias=$build_alias
   13780 build=$build
   13781 build_os=$build_os
   13782 
   13783 # A sed program that does not truncate output.
   13784 SED=$lt_SED
   13785 
   13786 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13787 Xsed="\$SED -e 1s/^X//"
   13788 
   13789 # A grep program that handles long lines.
   13790 GREP=$lt_GREP
   13791 
   13792 # An ERE matcher.
   13793 EGREP=$lt_EGREP
   13794 
   13795 # A literal string matcher.
   13796 FGREP=$lt_FGREP
   13797 
   13798 # A BSD- or MS-compatible name lister.
   13799 NM=$lt_NM
   13800 
   13801 # Whether we need soft or hard links.
   13802 LN_S=$lt_LN_S
   13803 
   13804 # What is the maximum length of a command?
   13805 max_cmd_len=$max_cmd_len
   13806 
   13807 # Object file suffix (normally "o").
   13808 objext=$ac_objext
   13809 
   13810 # Executable file suffix (normally "").
   13811 exeext=$exeext
   13812 
   13813 # whether the shell understands "unset".
   13814 lt_unset=$lt_unset
   13815 
   13816 # turn spaces into newlines.
   13817 SP2NL=$lt_lt_SP2NL
   13818 
   13819 # turn newlines into spaces.
   13820 NL2SP=$lt_lt_NL2SP
   13821 
   13822 # How to create reloadable object files.
   13823 reload_flag=$lt_reload_flag
   13824 reload_cmds=$lt_reload_cmds
   13825 
   13826 # An object symbol dumper.
   13827 OBJDUMP=$lt_OBJDUMP
   13828 
   13829 # Method to check whether dependent libraries are shared objects.
   13830 deplibs_check_method=$lt_deplibs_check_method
   13831 
   13832 # Command to use when deplibs_check_method == "file_magic".
   13833 file_magic_cmd=$lt_file_magic_cmd
   13834 
   13835 # The archiver.
   13836 AR=$lt_AR
   13837 AR_FLAGS=$lt_AR_FLAGS
   13838 
   13839 # A symbol stripping program.
   13840 STRIP=$lt_STRIP
   13841 
   13842 # Commands used to install an old-style archive.
   13843 RANLIB=$lt_RANLIB
   13844 old_postinstall_cmds=$lt_old_postinstall_cmds
   13845 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13846 
   13847 # A C compiler.
   13848 LTCC=$lt_CC
   13849 
   13850 # LTCC compiler flags.
   13851 LTCFLAGS=$lt_CFLAGS
   13852 
   13853 # Take the output of nm and produce a listing of raw symbols and C names.
   13854 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13855 
   13856 # Transform the output of nm in a proper C declaration.
   13857 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13858 
   13859 # Transform the output of nm in a C name address pair.
   13860 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13861 
   13862 # Transform the output of nm in a C name address pair when lib prefix is needed.
   13863 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   13864 
   13865 # The name of the directory that contains temporary libtool files.
   13866 objdir=$objdir
   13867 
   13868 # Shell to use when invoking shell scripts.
   13869 SHELL=$lt_SHELL
   13870 
   13871 # An echo program that does not interpret backslashes.
   13872 ECHO=$lt_ECHO
   13873 
   13874 # Used to examine libraries when file_magic_cmd begins with "file".
   13875 MAGIC_CMD=$MAGIC_CMD
   13876 
   13877 # Must we lock files when doing compilation?
   13878 need_locks=$lt_need_locks
   13879 
   13880 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   13881 DSYMUTIL=$lt_DSYMUTIL
   13882 
   13883 # Tool to change global to local symbols on Mac OS X.
   13884 NMEDIT=$lt_NMEDIT
   13885 
   13886 # Tool to manipulate fat objects and archives on Mac OS X.
   13887 LIPO=$lt_LIPO
   13888 
   13889 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   13890 OTOOL=$lt_OTOOL
   13891 
   13892 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   13893 OTOOL64=$lt_OTOOL64
   13894 
   13895 # Old archive suffix (normally "a").
   13896 libext=$libext
   13897 
   13898 # Shared library suffix (normally ".so").
   13899 shrext_cmds=$lt_shrext_cmds
   13900 
   13901 # The commands to extract the exported symbol list from a shared archive.
   13902 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13903 
   13904 # Variables whose values should be saved in libtool wrapper scripts and
   13905 # restored at link time.
   13906 variables_saved_for_relink=$lt_variables_saved_for_relink
   13907 
   13908 # Do we need the "lib" prefix for modules?
   13909 need_lib_prefix=$need_lib_prefix
   13910 
   13911 # Do we need a version for libraries?
   13912 need_version=$need_version
   13913 
   13914 # Library versioning type.
   13915 version_type=$version_type
   13916 
   13917 # Shared library runtime path variable.
   13918 runpath_var=$runpath_var
   13919 
   13920 # Shared library path variable.
   13921 shlibpath_var=$shlibpath_var
   13922 
   13923 # Is shlibpath searched before the hard-coded library search path?
   13924 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13925 
   13926 # Format of library name prefix.
   13927 libname_spec=$lt_libname_spec
   13928 
   13929 # List of archive names.  First name is the real one, the rest are links.
   13930 # The last name is the one that the linker finds with -lNAME
   13931 library_names_spec=$lt_library_names_spec
   13932 
   13933 # The coded name of the library, if different from the real name.
   13934 soname_spec=$lt_soname_spec
   13935 
   13936 # Command to use after installation of a shared archive.
   13937 postinstall_cmds=$lt_postinstall_cmds
   13938 
   13939 # Command to use after uninstallation of a shared archive.
   13940 postuninstall_cmds=$lt_postuninstall_cmds
   13941 
   13942 # Commands used to finish a libtool library installation in a directory.
   13943 finish_cmds=$lt_finish_cmds
   13944 
   13945 # As "finish_cmds", except a single script fragment to be evaled but
   13946 # not shown.
   13947 finish_eval=$lt_finish_eval
   13948 
   13949 # Whether we should hardcode library paths into libraries.
   13950 hardcode_into_libs=$hardcode_into_libs
   13951 
   13952 # Compile-time system search path for libraries.
   13953 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13954 
   13955 # Run-time system search path for libraries.
   13956 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13957 
   13958 # Whether dlopen is supported.
   13959 dlopen_support=$enable_dlopen
   13960 
   13961 # Whether dlopen of programs is supported.
   13962 dlopen_self=$enable_dlopen_self
   13963 
   13964 # Whether dlopen of statically linked programs is supported.
   13965 dlopen_self_static=$enable_dlopen_self_static
   13966 
   13967 # Commands to strip libraries.
   13968 old_striplib=$lt_old_striplib
   13969 striplib=$lt_striplib
   13970 
   13971 
   13972 # The linker used to build libraries.
   13973 LD=$lt_LD
   13974 
   13975 # Commands used to build an old-style archive.
   13976 old_archive_cmds=$lt_old_archive_cmds
   13977 
   13978 # A language specific compiler.
   13979 CC=$lt_compiler
   13980 
   13981 # Is the compiler the GNU compiler?
   13982 with_gcc=$GCC
   13983 
   13984 # Compiler flag to turn off builtin functions.
   13985 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   13986 
   13987 # How to pass a linker flag through the compiler.
   13988 wl=$lt_lt_prog_compiler_wl
   13989 
   13990 # Additional compiler flags for building library objects.
   13991 pic_flag=$lt_lt_prog_compiler_pic
   13992 
   13993 # Compiler flag to prevent dynamic linking.
   13994 link_static_flag=$lt_lt_prog_compiler_static
   13995 
   13996 # Does compiler simultaneously support -c and -o options?
   13997 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   13998 
   13999 # Whether or not to add -lc for building shared libraries.
   14000 build_libtool_need_lc=$archive_cmds_need_lc
   14001 
   14002 # Whether or not to disallow shared libs when runtime libs are static.
   14003 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   14004 
   14005 # Compiler flag to allow reflexive dlopens.
   14006 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   14007 
   14008 # Compiler flag to generate shared objects directly from archives.
   14009 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   14010 
   14011 # Whether the compiler copes with passing no objects directly.
   14012 compiler_needs_object=$lt_compiler_needs_object
   14013 
   14014 # Create an old-style archive from a shared archive.
   14015 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   14016 
   14017 # Create a temporary old-style archive to link instead of a shared archive.
   14018 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   14019 
   14020 # Commands used to build a shared archive.
   14021 archive_cmds=$lt_archive_cmds
   14022 archive_expsym_cmds=$lt_archive_expsym_cmds
   14023 
   14024 # Commands used to build a loadable module if different from building
   14025 # a shared archive.
   14026 module_cmds=$lt_module_cmds
   14027 module_expsym_cmds=$lt_module_expsym_cmds
   14028 
   14029 # Whether we are building with GNU ld or not.
   14030 with_gnu_ld=$lt_with_gnu_ld
   14031 
   14032 # Flag that allows shared libraries with undefined symbols to be built.
   14033 allow_undefined_flag=$lt_allow_undefined_flag
   14034 
   14035 # Flag that enforces no undefined symbols.
   14036 no_undefined_flag=$lt_no_undefined_flag
   14037 
   14038 # Flag to hardcode \$libdir into a binary during linking.
   14039 # This must work even if \$libdir does not exist
   14040 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   14041 
   14042 # If ld is used when linking, flag to hardcode \$libdir into a binary
   14043 # during linking.  This must work even if \$libdir does not exist.
   14044 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   14045 
   14046 # Whether we need a single "-rpath" flag with a separated argument.
   14047 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   14048 
   14049 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14050 # DIR into the resulting binary.
   14051 hardcode_direct=$hardcode_direct
   14052 
   14053 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14054 # DIR into the resulting binary and the resulting library dependency is
   14055 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   14056 # library is relocated.
   14057 hardcode_direct_absolute=$hardcode_direct_absolute
   14058 
   14059 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   14060 # into the resulting binary.
   14061 hardcode_minus_L=$hardcode_minus_L
   14062 
   14063 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   14064 # into the resulting binary.
   14065 hardcode_shlibpath_var=$hardcode_shlibpath_var
   14066 
   14067 # Set to "yes" if building a shared library automatically hardcodes DIR
   14068 # into the library and all subsequent libraries and executables linked
   14069 # against it.
   14070 hardcode_automatic=$hardcode_automatic
   14071 
   14072 # Set to yes if linker adds runtime paths of dependent libraries
   14073 # to runtime path list.
   14074 inherit_rpath=$inherit_rpath
   14075 
   14076 # Whether libtool must link a program against all its dependency libraries.
   14077 link_all_deplibs=$link_all_deplibs
   14078 
   14079 # Fix the shell variable \$srcfile for the compiler.
   14080 fix_srcfile_path=$lt_fix_srcfile_path
   14081 
   14082 # Set to "yes" if exported symbols are required.
   14083 always_export_symbols=$always_export_symbols
   14084 
   14085 # The commands to list exported symbols.
   14086 export_symbols_cmds=$lt_export_symbols_cmds
   14087 
   14088 # Symbols that should not be listed in the preloaded symbols.
   14089 exclude_expsyms=$lt_exclude_expsyms
   14090 
   14091 # Symbols that must always be exported.
   14092 include_expsyms=$lt_include_expsyms
   14093 
   14094 # Commands necessary for linking programs (against libraries) with templates.
   14095 prelink_cmds=$lt_prelink_cmds
   14096 
   14097 # Specify filename containing input files.
   14098 file_list_spec=$lt_file_list_spec
   14099 
   14100 # How to hardcode a shared library path into an executable.
   14101 hardcode_action=$hardcode_action
   14102 
   14103 # ### END LIBTOOL CONFIG
   14104 
   14105 _LT_EOF
   14106 
   14107   case $host_os in
   14108   aix3*)
   14109     cat <<\_LT_EOF >> "$cfgfile"
   14110 # AIX sometimes has problems with the GCC collect2 program.  For some
   14111 # reason, if we set the COLLECT_NAMES environment variable, the problems
   14112 # vanish in a puff of smoke.
   14113 if test "X${COLLECT_NAMES+set}" != Xset; then
   14114   COLLECT_NAMES=
   14115   export COLLECT_NAMES
   14116 fi
   14117 _LT_EOF
   14118     ;;
   14119   esac
   14120 
   14121 
   14122 ltmain="$ac_aux_dir/ltmain.sh"
   14123 
   14124 
   14125   # We use sed instead of cat because bash on DJGPP gets confused if
   14126   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   14127   # text mode, it properly converts lines to CR/LF.  This bash problem
   14128   # is reportedly fixed, but why not run on old versions too?
   14129   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   14130     || (rm -f "$cfgfile"; exit 1)
   14131 
   14132   case $xsi_shell in
   14133   yes)
   14134     cat << \_LT_EOF >> "$cfgfile"
   14135 
   14136 # func_dirname file append nondir_replacement
   14137 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14138 # otherwise set result to NONDIR_REPLACEMENT.
   14139 func_dirname ()
   14140 {
   14141   case ${1} in
   14142     */*) func_dirname_result="${1%/*}${2}" ;;
   14143     *  ) func_dirname_result="${3}" ;;
   14144   esac
   14145 }
   14146 
   14147 # func_basename file
   14148 func_basename ()
   14149 {
   14150   func_basename_result="${1##*/}"
   14151 }
   14152 
   14153 # func_dirname_and_basename file append nondir_replacement
   14154 # perform func_basename and func_dirname in a single function
   14155 # call:
   14156 #   dirname:  Compute the dirname of FILE.  If nonempty,
   14157 #             add APPEND to the result, otherwise set result
   14158 #             to NONDIR_REPLACEMENT.
   14159 #             value returned in "$func_dirname_result"
   14160 #   basename: Compute filename of FILE.
   14161 #             value retuned in "$func_basename_result"
   14162 # Implementation must be kept synchronized with func_dirname
   14163 # and func_basename. For efficiency, we do not delegate to
   14164 # those functions but instead duplicate the functionality here.
   14165 func_dirname_and_basename ()
   14166 {
   14167   case ${1} in
   14168     */*) func_dirname_result="${1%/*}${2}" ;;
   14169     *  ) func_dirname_result="${3}" ;;
   14170   esac
   14171   func_basename_result="${1##*/}"
   14172 }
   14173 
   14174 # func_stripname prefix suffix name
   14175 # strip PREFIX and SUFFIX off of NAME.
   14176 # PREFIX and SUFFIX must not contain globbing or regex special
   14177 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14178 # dot (in which case that matches only a dot).
   14179 func_stripname ()
   14180 {
   14181   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   14182   # positional parameters, so assign one to ordinary parameter first.
   14183   func_stripname_result=${3}
   14184   func_stripname_result=${func_stripname_result#"${1}"}
   14185   func_stripname_result=${func_stripname_result%"${2}"}
   14186 }
   14187 
   14188 # func_opt_split
   14189 func_opt_split ()
   14190 {
   14191   func_opt_split_opt=${1%%=*}
   14192   func_opt_split_arg=${1#*=}
   14193 }
   14194 
   14195 # func_lo2o object
   14196 func_lo2o ()
   14197 {
   14198   case ${1} in
   14199     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   14200     *)    func_lo2o_result=${1} ;;
   14201   esac
   14202 }
   14203 
   14204 # func_xform libobj-or-source
   14205 func_xform ()
   14206 {
   14207   func_xform_result=${1%.*}.lo
   14208 }
   14209 
   14210 # func_arith arithmetic-term...
   14211 func_arith ()
   14212 {
   14213   func_arith_result=$(( $* ))
   14214 }
   14215 
   14216 # func_len string
   14217 # STRING may not start with a hyphen.
   14218 func_len ()
   14219 {
   14220   func_len_result=${#1}
   14221 }
   14222 
   14223 _LT_EOF
   14224     ;;
   14225   *) # Bourne compatible functions.
   14226     cat << \_LT_EOF >> "$cfgfile"
   14227 
   14228 # func_dirname file append nondir_replacement
   14229 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14230 # otherwise set result to NONDIR_REPLACEMENT.
   14231 func_dirname ()
   14232 {
   14233   # Extract subdirectory from the argument.
   14234   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   14235   if test "X$func_dirname_result" = "X${1}"; then
   14236     func_dirname_result="${3}"
   14237   else
   14238     func_dirname_result="$func_dirname_result${2}"
   14239   fi
   14240 }
   14241 
   14242 # func_basename file
   14243 func_basename ()
   14244 {
   14245   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   14246 }
   14247 
   14248 
   14249 # func_stripname prefix suffix name
   14250 # strip PREFIX and SUFFIX off of NAME.
   14251 # PREFIX and SUFFIX must not contain globbing or regex special
   14252 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14253 # dot (in which case that matches only a dot).
   14254 # func_strip_suffix prefix name
   14255 func_stripname ()
   14256 {
   14257   case ${2} in
   14258     .*) func_stripname_result=`$ECHO "X${3}" \
   14259            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   14260     *)  func_stripname_result=`$ECHO "X${3}" \
   14261            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   14262   esac
   14263 }
   14264 
   14265 # sed scripts:
   14266 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   14267 my_sed_long_arg='1s/^-[^=]*=//'
   14268 
   14269 # func_opt_split
   14270 func_opt_split ()
   14271 {
   14272   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   14273   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   14274 }
   14275 
   14276 # func_lo2o object
   14277 func_lo2o ()
   14278 {
   14279   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   14280 }
   14281 
   14282 # func_xform libobj-or-source
   14283 func_xform ()
   14284 {
   14285   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   14286 }
   14287 
   14288 # func_arith arithmetic-term...
   14289 func_arith ()
   14290 {
   14291   func_arith_result=`expr "$@"`
   14292 }
   14293 
   14294 # func_len string
   14295 # STRING may not start with a hyphen.
   14296 func_len ()
   14297 {
   14298   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   14299 }
   14300 
   14301 _LT_EOF
   14302 esac
   14303 
   14304 case $lt_shell_append in
   14305   yes)
   14306     cat << \_LT_EOF >> "$cfgfile"
   14307 
   14308 # func_append var value
   14309 # Append VALUE to the end of shell variable VAR.
   14310 func_append ()
   14311 {
   14312   eval "$1+=\$2"
   14313 }
   14314 _LT_EOF
   14315     ;;
   14316   *)
   14317     cat << \_LT_EOF >> "$cfgfile"
   14318 
   14319 # func_append var value
   14320 # Append VALUE to the end of shell variable VAR.
   14321 func_append ()
   14322 {
   14323   eval "$1=\$$1\$2"
   14324 }
   14325 
   14326 _LT_EOF
   14327     ;;
   14328   esac
   14329 
   14330 
   14331   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   14332     || (rm -f "$cfgfile"; exit 1)
   14333 
   14334   mv -f "$cfgfile" "$ofile" ||
   14335     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   14336   chmod +x "$ofile"
   14337 
   14338  ;;
   14339 
   14340   esac
   14341 done # for ac_tag
   14342 
   14343 
   14344 { (exit 0); exit 0; }
   14345 _ACEOF
   14346 chmod +x $CONFIG_STATUS
   14347 ac_clean_files=$ac_clean_files_save
   14348 
   14349 test $ac_write_fail = 0 ||
   14350   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   14351 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   14352    { (exit 1); exit 1; }; }
   14353 
   14354 
   14355 # configure is writing to config.log, and then calls config.status.
   14356 # config.status does its own redirection, appending to config.log.
   14357 # Unfortunately, on DOS this fails, as config.log is still kept open
   14358 # by configure, so config.status won't be able to write to it; its
   14359 # output is simply discarded.  So we exec the FD to /dev/null,
   14360 # effectively closing config.log, so it can be properly (re)opened and
   14361 # appended to by config.status.  When coming back to configure, we
   14362 # need to make the FD available again.
   14363 if test "$no_create" != yes; then
   14364   ac_cs_success=:
   14365   ac_config_status_args=
   14366   test "$silent" = yes &&
   14367     ac_config_status_args="$ac_config_status_args --quiet"
   14368   exec 5>/dev/null
   14369   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14370   exec 5>>config.log
   14371   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14372   # would make configure fail if this is the last instruction.
   14373   $ac_cs_success || { (exit 1); exit 1; }
   14374 fi
   14375 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   14376   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   14377 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14378 fi
   14379 
   14380