Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.1.2.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-chips 1.2.2.
      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='xf86-video-chips'
    747 PACKAGE_TARNAME='xf86-video-chips'
    748 PACKAGE_VERSION='1.2.2'
    749 PACKAGE_STRING='xf86-video-chips 1.2.2'
    750 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    751 
    752 ac_unique_file="Makefile.am"
    753 # Factoring default headers for most tests.
    754 ac_includes_default="\
    755 #include <stdio.h>
    756 #ifdef HAVE_SYS_TYPES_H
    757 # include <sys/types.h>
    758 #endif
    759 #ifdef HAVE_SYS_STAT_H
    760 # include <sys/stat.h>
    761 #endif
    762 #ifdef STDC_HEADERS
    763 # include <stdlib.h>
    764 # include <stddef.h>
    765 #else
    766 # ifdef HAVE_STDLIB_H
    767 #  include <stdlib.h>
    768 # endif
    769 #endif
    770 #ifdef HAVE_STRING_H
    771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    772 #  include <memory.h>
    773 # endif
    774 # include <string.h>
    775 #endif
    776 #ifdef HAVE_STRINGS_H
    777 # include <strings.h>
    778 #endif
    779 #ifdef HAVE_INTTYPES_H
    780 # include <inttypes.h>
    781 #endif
    782 #ifdef HAVE_STDINT_H
    783 # include <stdint.h>
    784 #endif
    785 #ifdef HAVE_UNISTD_H
    786 # include <unistd.h>
    787 #endif"
    788 
    789 ac_subst_vars='am__EXEEXT_FALSE
    790 am__EXEEXT_TRUE
    791 LTLIBOBJS
    792 LIBOBJS
    793 MAKE_HTML
    794 MAKE_PDF
    795 MAKE_PS
    796 MAKE_TEXT
    797 BUILD_PDFDOC_FALSE
    798 BUILD_PDFDOC_TRUE
    799 BUILD_LINUXDOC_FALSE
    800 BUILD_LINUXDOC_TRUE
    801 PS2PDF
    802 LINUXDOC
    803 ADMIN_MAN_DIR
    804 DRIVER_MAN_DIR
    805 MISC_MAN_DIR
    806 FILE_MAN_DIR
    807 LIB_MAN_DIR
    808 APP_MAN_DIR
    809 ADMIN_MAN_SUFFIX
    810 DRIVER_MAN_SUFFIX
    811 MISC_MAN_SUFFIX
    812 FILE_MAN_SUFFIX
    813 LIB_MAN_SUFFIX
    814 APP_MAN_SUFFIX
    815 DRIVER_NAME
    816 moduledir
    817 BUILD_UTILS_FALSE
    818 BUILD_UTILS_TRUE
    819 XSERVER_LIBPCIACCESS_FALSE
    820 XSERVER_LIBPCIACCESS_TRUE
    821 PCIACCESS_LIBS
    822 PCIACCESS_CFLAGS
    823 XORG_LIBS
    824 XORG_CFLAGS
    825 PKG_CONFIG
    826 CPP
    827 OTOOL64
    828 OTOOL
    829 LIPO
    830 NMEDIT
    831 DSYMUTIL
    832 lt_ECHO
    833 RANLIB
    834 AR
    835 OBJDUMP
    836 LN_S
    837 NM
    838 ac_ct_DUMPBIN
    839 DUMPBIN
    840 LD
    841 FGREP
    842 EGREP
    843 GREP
    844 SED
    845 am__fastdepCC_FALSE
    846 am__fastdepCC_TRUE
    847 CCDEPMODE
    848 AMDEPBACKSLASH
    849 AMDEP_FALSE
    850 AMDEP_TRUE
    851 am__quote
    852 am__include
    853 DEPDIR
    854 OBJEXT
    855 EXEEXT
    856 ac_ct_CC
    857 CPPFLAGS
    858 LDFLAGS
    859 CFLAGS
    860 CC
    861 host_os
    862 host_vendor
    863 host_cpu
    864 host
    865 build_os
    866 build_vendor
    867 build_cpu
    868 build
    869 LIBTOOL
    870 MAINT
    871 MAINTAINER_MODE_FALSE
    872 MAINTAINER_MODE_TRUE
    873 am__untar
    874 am__tar
    875 AMTAR
    876 am__leading_dot
    877 SET_MAKE
    878 AWK
    879 mkdir_p
    880 MKDIR_P
    881 INSTALL_STRIP_PROGRAM
    882 STRIP
    883 install_sh
    884 MAKEINFO
    885 AUTOHEADER
    886 AUTOMAKE
    887 AUTOCONF
    888 ACLOCAL
    889 VERSION
    890 PACKAGE
    891 CYGPATH_W
    892 am__isrc
    893 INSTALL_DATA
    894 INSTALL_SCRIPT
    895 INSTALL_PROGRAM
    896 target_alias
    897 host_alias
    898 build_alias
    899 LIBS
    900 ECHO_T
    901 ECHO_N
    902 ECHO_C
    903 DEFS
    904 mandir
    905 localedir
    906 libdir
    907 psdir
    908 pdfdir
    909 dvidir
    910 htmldir
    911 infodir
    912 docdir
    913 oldincludedir
    914 includedir
    915 localstatedir
    916 sharedstatedir
    917 sysconfdir
    918 datadir
    919 datarootdir
    920 libexecdir
    921 sbindir
    922 bindir
    923 program_transform_name
    924 prefix
    925 exec_prefix
    926 PACKAGE_BUGREPORT
    927 PACKAGE_STRING
    928 PACKAGE_VERSION
    929 PACKAGE_TARNAME
    930 PACKAGE_NAME
    931 PATH_SEPARATOR
    932 SHELL'
    933 ac_subst_files=''
    934 ac_user_opts='
    935 enable_option_checking
    936 enable_maintainer_mode
    937 enable_static
    938 enable_shared
    939 with_pic
    940 enable_fast_install
    941 enable_dependency_tracking
    942 with_gnu_ld
    943 enable_libtool_lock
    944 with_xorg_module_dir
    945 with_release_version
    946 '
    947       ac_precious_vars='build_alias
    948 host_alias
    949 target_alias
    950 CC
    951 CFLAGS
    952 LDFLAGS
    953 LIBS
    954 CPPFLAGS
    955 CPP
    956 PKG_CONFIG
    957 XORG_CFLAGS
    958 XORG_LIBS
    959 PCIACCESS_CFLAGS
    960 PCIACCESS_LIBS'
    961 
    962 
    963 # Initialize some variables set by options.
    964 ac_init_help=
    965 ac_init_version=false
    966 ac_unrecognized_opts=
    967 ac_unrecognized_sep=
    968 # The variables have the same names as the options, with
    969 # dashes changed to underlines.
    970 cache_file=/dev/null
    971 exec_prefix=NONE
    972 no_create=
    973 no_recursion=
    974 prefix=NONE
    975 program_prefix=NONE
    976 program_suffix=NONE
    977 program_transform_name=s,x,x,
    978 silent=
    979 site=
    980 srcdir=
    981 verbose=
    982 x_includes=NONE
    983 x_libraries=NONE
    984 
    985 # Installation directory options.
    986 # These are left unexpanded so users can "make install exec_prefix=/foo"
    987 # and all the variables that are supposed to be based on exec_prefix
    988 # by default will actually change.
    989 # Use braces instead of parens because sh, perl, etc. also accept them.
    990 # (The list follows the same order as the GNU Coding Standards.)
    991 bindir='${exec_prefix}/bin'
    992 sbindir='${exec_prefix}/sbin'
    993 libexecdir='${exec_prefix}/libexec'
    994 datarootdir='${prefix}/share'
    995 datadir='${datarootdir}'
    996 sysconfdir='${prefix}/etc'
    997 sharedstatedir='${prefix}/com'
    998 localstatedir='${prefix}/var'
    999 includedir='${prefix}/include'
   1000 oldincludedir='/usr/include'
   1001 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1002 infodir='${datarootdir}/info'
   1003 htmldir='${docdir}'
   1004 dvidir='${docdir}'
   1005 pdfdir='${docdir}'
   1006 psdir='${docdir}'
   1007 libdir='${exec_prefix}/lib'
   1008 localedir='${datarootdir}/locale'
   1009 mandir='${datarootdir}/man'
   1010 
   1011 ac_prev=
   1012 ac_dashdash=
   1013 for ac_option
   1014 do
   1015   # If the previous option needs an argument, assign it.
   1016   if test -n "$ac_prev"; then
   1017     eval $ac_prev=\$ac_option
   1018     ac_prev=
   1019     continue
   1020   fi
   1021 
   1022   case $ac_option in
   1023   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1024   *)	ac_optarg=yes ;;
   1025   esac
   1026 
   1027   # Accept the important Cygnus configure options, so we can diagnose typos.
   1028 
   1029   case $ac_dashdash$ac_option in
   1030   --)
   1031     ac_dashdash=yes ;;
   1032 
   1033   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1034     ac_prev=bindir ;;
   1035   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1036     bindir=$ac_optarg ;;
   1037 
   1038   -build | --build | --buil | --bui | --bu)
   1039     ac_prev=build_alias ;;
   1040   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1041     build_alias=$ac_optarg ;;
   1042 
   1043   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1044   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1045     ac_prev=cache_file ;;
   1046   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1047   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1048     cache_file=$ac_optarg ;;
   1049 
   1050   --config-cache | -C)
   1051     cache_file=config.cache ;;
   1052 
   1053   -datadir | --datadir | --datadi | --datad)
   1054     ac_prev=datadir ;;
   1055   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1056     datadir=$ac_optarg ;;
   1057 
   1058   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1059   | --dataroo | --dataro | --datar)
   1060     ac_prev=datarootdir ;;
   1061   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1062   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1063     datarootdir=$ac_optarg ;;
   1064 
   1065   -disable-* | --disable-*)
   1066     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1067     # Reject names that are not valid shell variable names.
   1068     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1069       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1070    { (exit 1); exit 1; }; }
   1071     ac_useropt_orig=$ac_useropt
   1072     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1073     case $ac_user_opts in
   1074       *"
   1075 "enable_$ac_useropt"
   1076 "*) ;;
   1077       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1078 	 ac_unrecognized_sep=', ';;
   1079     esac
   1080     eval enable_$ac_useropt=no ;;
   1081 
   1082   -docdir | --docdir | --docdi | --doc | --do)
   1083     ac_prev=docdir ;;
   1084   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1085     docdir=$ac_optarg ;;
   1086 
   1087   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1088     ac_prev=dvidir ;;
   1089   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1090     dvidir=$ac_optarg ;;
   1091 
   1092   -enable-* | --enable-*)
   1093     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1094     # Reject names that are not valid shell variable names.
   1095     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1096       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1097    { (exit 1); exit 1; }; }
   1098     ac_useropt_orig=$ac_useropt
   1099     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1100     case $ac_user_opts in
   1101       *"
   1102 "enable_$ac_useropt"
   1103 "*) ;;
   1104       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1105 	 ac_unrecognized_sep=', ';;
   1106     esac
   1107     eval enable_$ac_useropt=\$ac_optarg ;;
   1108 
   1109   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1110   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1111   | --exec | --exe | --ex)
   1112     ac_prev=exec_prefix ;;
   1113   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1114   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1115   | --exec=* | --exe=* | --ex=*)
   1116     exec_prefix=$ac_optarg ;;
   1117 
   1118   -gas | --gas | --ga | --g)
   1119     # Obsolete; use --with-gas.
   1120     with_gas=yes ;;
   1121 
   1122   -help | --help | --hel | --he | -h)
   1123     ac_init_help=long ;;
   1124   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1125     ac_init_help=recursive ;;
   1126   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1127     ac_init_help=short ;;
   1128 
   1129   -host | --host | --hos | --ho)
   1130     ac_prev=host_alias ;;
   1131   -host=* | --host=* | --hos=* | --ho=*)
   1132     host_alias=$ac_optarg ;;
   1133 
   1134   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1135     ac_prev=htmldir ;;
   1136   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1137   | --ht=*)
   1138     htmldir=$ac_optarg ;;
   1139 
   1140   -includedir | --includedir | --includedi | --included | --include \
   1141   | --includ | --inclu | --incl | --inc)
   1142     ac_prev=includedir ;;
   1143   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1144   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1145     includedir=$ac_optarg ;;
   1146 
   1147   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1148     ac_prev=infodir ;;
   1149   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1150     infodir=$ac_optarg ;;
   1151 
   1152   -libdir | --libdir | --libdi | --libd)
   1153     ac_prev=libdir ;;
   1154   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1155     libdir=$ac_optarg ;;
   1156 
   1157   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1158   | --libexe | --libex | --libe)
   1159     ac_prev=libexecdir ;;
   1160   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1161   | --libexe=* | --libex=* | --libe=*)
   1162     libexecdir=$ac_optarg ;;
   1163 
   1164   -localedir | --localedir | --localedi | --localed | --locale)
   1165     ac_prev=localedir ;;
   1166   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1167     localedir=$ac_optarg ;;
   1168 
   1169   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1170   | --localstate | --localstat | --localsta | --localst | --locals)
   1171     ac_prev=localstatedir ;;
   1172   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1173   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1174     localstatedir=$ac_optarg ;;
   1175 
   1176   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1177     ac_prev=mandir ;;
   1178   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1179     mandir=$ac_optarg ;;
   1180 
   1181   -nfp | --nfp | --nf)
   1182     # Obsolete; use --without-fp.
   1183     with_fp=no ;;
   1184 
   1185   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1186   | --no-cr | --no-c | -n)
   1187     no_create=yes ;;
   1188 
   1189   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1190   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1191     no_recursion=yes ;;
   1192 
   1193   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1194   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1195   | --oldin | --oldi | --old | --ol | --o)
   1196     ac_prev=oldincludedir ;;
   1197   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1198   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1199   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1200     oldincludedir=$ac_optarg ;;
   1201 
   1202   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1203     ac_prev=prefix ;;
   1204   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1205     prefix=$ac_optarg ;;
   1206 
   1207   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1208   | --program-pre | --program-pr | --program-p)
   1209     ac_prev=program_prefix ;;
   1210   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1211   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1212     program_prefix=$ac_optarg ;;
   1213 
   1214   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1215   | --program-suf | --program-su | --program-s)
   1216     ac_prev=program_suffix ;;
   1217   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1218   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1219     program_suffix=$ac_optarg ;;
   1220 
   1221   -program-transform-name | --program-transform-name \
   1222   | --program-transform-nam | --program-transform-na \
   1223   | --program-transform-n | --program-transform- \
   1224   | --program-transform | --program-transfor \
   1225   | --program-transfo | --program-transf \
   1226   | --program-trans | --program-tran \
   1227   | --progr-tra | --program-tr | --program-t)
   1228     ac_prev=program_transform_name ;;
   1229   -program-transform-name=* | --program-transform-name=* \
   1230   | --program-transform-nam=* | --program-transform-na=* \
   1231   | --program-transform-n=* | --program-transform-=* \
   1232   | --program-transform=* | --program-transfor=* \
   1233   | --program-transfo=* | --program-transf=* \
   1234   | --program-trans=* | --program-tran=* \
   1235   | --progr-tra=* | --program-tr=* | --program-t=*)
   1236     program_transform_name=$ac_optarg ;;
   1237 
   1238   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1239     ac_prev=pdfdir ;;
   1240   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1241     pdfdir=$ac_optarg ;;
   1242 
   1243   -psdir | --psdir | --psdi | --psd | --ps)
   1244     ac_prev=psdir ;;
   1245   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1246     psdir=$ac_optarg ;;
   1247 
   1248   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1249   | -silent | --silent | --silen | --sile | --sil)
   1250     silent=yes ;;
   1251 
   1252   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1253     ac_prev=sbindir ;;
   1254   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1255   | --sbi=* | --sb=*)
   1256     sbindir=$ac_optarg ;;
   1257 
   1258   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1259   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1260   | --sharedst | --shareds | --shared | --share | --shar \
   1261   | --sha | --sh)
   1262     ac_prev=sharedstatedir ;;
   1263   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1264   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1265   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1266   | --sha=* | --sh=*)
   1267     sharedstatedir=$ac_optarg ;;
   1268 
   1269   -site | --site | --sit)
   1270     ac_prev=site ;;
   1271   -site=* | --site=* | --sit=*)
   1272     site=$ac_optarg ;;
   1273 
   1274   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1275     ac_prev=srcdir ;;
   1276   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1277     srcdir=$ac_optarg ;;
   1278 
   1279   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1280   | --syscon | --sysco | --sysc | --sys | --sy)
   1281     ac_prev=sysconfdir ;;
   1282   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1283   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1284     sysconfdir=$ac_optarg ;;
   1285 
   1286   -target | --target | --targe | --targ | --tar | --ta | --t)
   1287     ac_prev=target_alias ;;
   1288   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1289     target_alias=$ac_optarg ;;
   1290 
   1291   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1292     verbose=yes ;;
   1293 
   1294   -version | --version | --versio | --versi | --vers | -V)
   1295     ac_init_version=: ;;
   1296 
   1297   -with-* | --with-*)
   1298     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1299     # Reject names that are not valid shell variable names.
   1300     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1301       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1302    { (exit 1); exit 1; }; }
   1303     ac_useropt_orig=$ac_useropt
   1304     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1305     case $ac_user_opts in
   1306       *"
   1307 "with_$ac_useropt"
   1308 "*) ;;
   1309       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1310 	 ac_unrecognized_sep=', ';;
   1311     esac
   1312     eval with_$ac_useropt=\$ac_optarg ;;
   1313 
   1314   -without-* | --without-*)
   1315     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1316     # Reject names that are not valid shell variable names.
   1317     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1318       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1319    { (exit 1); exit 1; }; }
   1320     ac_useropt_orig=$ac_useropt
   1321     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1322     case $ac_user_opts in
   1323       *"
   1324 "with_$ac_useropt"
   1325 "*) ;;
   1326       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1327 	 ac_unrecognized_sep=', ';;
   1328     esac
   1329     eval with_$ac_useropt=no ;;
   1330 
   1331   --x)
   1332     # Obsolete; use --with-x.
   1333     with_x=yes ;;
   1334 
   1335   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1336   | --x-incl | --x-inc | --x-in | --x-i)
   1337     ac_prev=x_includes ;;
   1338   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1339   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1340     x_includes=$ac_optarg ;;
   1341 
   1342   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1343   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1344     ac_prev=x_libraries ;;
   1345   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1346   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1347     x_libraries=$ac_optarg ;;
   1348 
   1349   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1350 Try \`$0 --help' for more information." >&2
   1351    { (exit 1); exit 1; }; }
   1352     ;;
   1353 
   1354   *=*)
   1355     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1356     # Reject names that are not valid shell variable names.
   1357     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1358       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1359    { (exit 1); exit 1; }; }
   1360     eval $ac_envvar=\$ac_optarg
   1361     export $ac_envvar ;;
   1362 
   1363   *)
   1364     # FIXME: should be removed in autoconf 3.0.
   1365     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1366     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1367       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1368     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1369     ;;
   1370 
   1371   esac
   1372 done
   1373 
   1374 if test -n "$ac_prev"; then
   1375   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1376   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1377    { (exit 1); exit 1; }; }
   1378 fi
   1379 
   1380 if test -n "$ac_unrecognized_opts"; then
   1381   case $enable_option_checking in
   1382     no) ;;
   1383     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1384    { (exit 1); exit 1; }; } ;;
   1385     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1386   esac
   1387 fi
   1388 
   1389 # Check all directory arguments for consistency.
   1390 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1391 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1392 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1393 		libdir localedir mandir
   1394 do
   1395   eval ac_val=\$$ac_var
   1396   # Remove trailing slashes.
   1397   case $ac_val in
   1398     */ )
   1399       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1400       eval $ac_var=\$ac_val;;
   1401   esac
   1402   # Be sure to have absolute directory names.
   1403   case $ac_val in
   1404     [\\/$]* | ?:[\\/]* )  continue;;
   1405     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1406   esac
   1407   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1408    { (exit 1); exit 1; }; }
   1409 done
   1410 
   1411 # There might be people who depend on the old broken behavior: `$host'
   1412 # used to hold the argument of --host etc.
   1413 # FIXME: To remove some day.
   1414 build=$build_alias
   1415 host=$host_alias
   1416 target=$target_alias
   1417 
   1418 # FIXME: To remove some day.
   1419 if test "x$host_alias" != x; then
   1420   if test "x$build_alias" = x; then
   1421     cross_compiling=maybe
   1422     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1423     If a cross compiler is detected then cross compile mode will be used." >&2
   1424   elif test "x$build_alias" != "x$host_alias"; then
   1425     cross_compiling=yes
   1426   fi
   1427 fi
   1428 
   1429 ac_tool_prefix=
   1430 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1431 
   1432 test "$silent" = yes && exec 6>/dev/null
   1433 
   1434 
   1435 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1436 ac_ls_di=`ls -di .` &&
   1437 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1438   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1439    { (exit 1); exit 1; }; }
   1440 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1441   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1442    { (exit 1); exit 1; }; }
   1443 
   1444 
   1445 # Find the source files, if location was not specified.
   1446 if test -z "$srcdir"; then
   1447   ac_srcdir_defaulted=yes
   1448   # Try the directory containing this script, then the parent directory.
   1449   ac_confdir=`$as_dirname -- "$as_myself" ||
   1450 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1451 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1452 	 X"$as_myself" : 'X\(//\)$' \| \
   1453 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1454 $as_echo X"$as_myself" |
   1455     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1456 	    s//\1/
   1457 	    q
   1458 	  }
   1459 	  /^X\(\/\/\)[^/].*/{
   1460 	    s//\1/
   1461 	    q
   1462 	  }
   1463 	  /^X\(\/\/\)$/{
   1464 	    s//\1/
   1465 	    q
   1466 	  }
   1467 	  /^X\(\/\).*/{
   1468 	    s//\1/
   1469 	    q
   1470 	  }
   1471 	  s/.*/./; q'`
   1472   srcdir=$ac_confdir
   1473   if test ! -r "$srcdir/$ac_unique_file"; then
   1474     srcdir=..
   1475   fi
   1476 else
   1477   ac_srcdir_defaulted=no
   1478 fi
   1479 if test ! -r "$srcdir/$ac_unique_file"; then
   1480   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1481   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1482    { (exit 1); exit 1; }; }
   1483 fi
   1484 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1485 ac_abs_confdir=`(
   1486 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1487    { (exit 1); exit 1; }; }
   1488 	pwd)`
   1489 # When building in place, set srcdir=.
   1490 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1491   srcdir=.
   1492 fi
   1493 # Remove unnecessary trailing slashes from srcdir.
   1494 # Double slashes in file names in object file debugging info
   1495 # mess up M-x gdb in Emacs.
   1496 case $srcdir in
   1497 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1498 esac
   1499 for ac_var in $ac_precious_vars; do
   1500   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1501   eval ac_env_${ac_var}_value=\$${ac_var}
   1502   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1503   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1504 done
   1505 
   1506 #
   1507 # Report the --help message.
   1508 #
   1509 if test "$ac_init_help" = "long"; then
   1510   # Omit some internal or obsolete options to make the list less imposing.
   1511   # This message is too long to be a string in the A/UX 3.1 sh.
   1512   cat <<_ACEOF
   1513 \`configure' configures xf86-video-chips 1.2.2 to adapt to many kinds of systems.
   1514 
   1515 Usage: $0 [OPTION]... [VAR=VALUE]...
   1516 
   1517 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1518 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1519 
   1520 Defaults for the options are specified in brackets.
   1521 
   1522 Configuration:
   1523   -h, --help              display this help and exit
   1524       --help=short        display options specific to this package
   1525       --help=recursive    display the short help of all the included packages
   1526   -V, --version           display version information and exit
   1527   -q, --quiet, --silent   do not print \`checking...' messages
   1528       --cache-file=FILE   cache test results in FILE [disabled]
   1529   -C, --config-cache      alias for \`--cache-file=config.cache'
   1530   -n, --no-create         do not create output files
   1531       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1532 
   1533 Installation directories:
   1534   --prefix=PREFIX         install architecture-independent files in PREFIX
   1535                           [$ac_default_prefix]
   1536   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1537                           [PREFIX]
   1538 
   1539 By default, \`make install' will install all the files in
   1540 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1541 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1542 for instance \`--prefix=\$HOME'.
   1543 
   1544 For better control, use the options below.
   1545 
   1546 Fine tuning of the installation directories:
   1547   --bindir=DIR            user executables [EPREFIX/bin]
   1548   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1549   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1550   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1551   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1552   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1553   --libdir=DIR            object code libraries [EPREFIX/lib]
   1554   --includedir=DIR        C header files [PREFIX/include]
   1555   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1556   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1557   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1558   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1559   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1560   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1561   --docdir=DIR            documentation root
   1562                           [DATAROOTDIR/doc/xf86-video-chips]
   1563   --htmldir=DIR           html documentation [DOCDIR]
   1564   --dvidir=DIR            dvi documentation [DOCDIR]
   1565   --pdfdir=DIR            pdf documentation [DOCDIR]
   1566   --psdir=DIR             ps documentation [DOCDIR]
   1567 _ACEOF
   1568 
   1569   cat <<\_ACEOF
   1570 
   1571 Program names:
   1572   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1573   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1574   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1575 
   1576 System types:
   1577   --build=BUILD     configure for building on BUILD [guessed]
   1578   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1579 _ACEOF
   1580 fi
   1581 
   1582 if test -n "$ac_init_help"; then
   1583   case $ac_init_help in
   1584      short | recursive ) echo "Configuration of xf86-video-chips 1.2.2:";;
   1585    esac
   1586   cat <<\_ACEOF
   1587 
   1588 Optional Features:
   1589   --disable-option-checking  ignore unrecognized --enable/--with options
   1590   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1591   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1592   --enable-maintainer-mode  enable make rules and dependencies not useful
   1593 			  (and sometimes confusing) to the casual installer
   1594   --enable-static[=PKGS]  build static libraries [default=no]
   1595   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1596   --enable-fast-install[=PKGS]
   1597                           optimize for fast installation [default=yes]
   1598   --disable-dependency-tracking  speeds up one-time build
   1599   --enable-dependency-tracking   do not reject slow dependency extractors
   1600   --disable-libtool-lock  avoid locking (might break parallel builds)
   1601 
   1602 Optional Packages:
   1603   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1604   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1605   --with-pic              try to use only PIC/non-PIC objects [default=use
   1606                           both]
   1607   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1608   --with-xorg-module-dir=DIR
   1609                           Default xorg module directory
   1610                           [default=$libdir/xorg/modules]
   1611   --with-release-version=STRING
   1612                           Use release version string in package name
   1613 
   1614 Some influential environment variables:
   1615   CC          C compiler command
   1616   CFLAGS      C compiler flags
   1617   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1618               nonstandard directory <lib dir>
   1619   LIBS        libraries to pass to the linker, e.g. -l<library>
   1620   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1621               you have headers in a nonstandard directory <include dir>
   1622   CPP         C preprocessor
   1623   PKG_CONFIG  path to pkg-config utility
   1624   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1625   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1626   PCIACCESS_CFLAGS
   1627               C compiler flags for PCIACCESS, overriding pkg-config
   1628   PCIACCESS_LIBS
   1629               linker flags for PCIACCESS, overriding pkg-config
   1630 
   1631 Use these variables to override the choices made by `configure' or to help
   1632 it to find libraries and programs with nonstandard names/locations.
   1633 
   1634 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1635 _ACEOF
   1636 ac_status=$?
   1637 fi
   1638 
   1639 if test "$ac_init_help" = "recursive"; then
   1640   # If there are subdirs, report their specific --help.
   1641   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1642     test -d "$ac_dir" ||
   1643       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1644       continue
   1645     ac_builddir=.
   1646 
   1647 case "$ac_dir" in
   1648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1649 *)
   1650   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1651   # A ".." for each directory in $ac_dir_suffix.
   1652   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1653   case $ac_top_builddir_sub in
   1654   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1655   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1656   esac ;;
   1657 esac
   1658 ac_abs_top_builddir=$ac_pwd
   1659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1660 # for backward compatibility:
   1661 ac_top_builddir=$ac_top_build_prefix
   1662 
   1663 case $srcdir in
   1664   .)  # We are building in place.
   1665     ac_srcdir=.
   1666     ac_top_srcdir=$ac_top_builddir_sub
   1667     ac_abs_top_srcdir=$ac_pwd ;;
   1668   [\\/]* | ?:[\\/]* )  # Absolute name.
   1669     ac_srcdir=$srcdir$ac_dir_suffix;
   1670     ac_top_srcdir=$srcdir
   1671     ac_abs_top_srcdir=$srcdir ;;
   1672   *) # Relative name.
   1673     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1674     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1675     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1676 esac
   1677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1678 
   1679     cd "$ac_dir" || { ac_status=$?; continue; }
   1680     # Check for guested configure.
   1681     if test -f "$ac_srcdir/configure.gnu"; then
   1682       echo &&
   1683       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1684     elif test -f "$ac_srcdir/configure"; then
   1685       echo &&
   1686       $SHELL "$ac_srcdir/configure" --help=recursive
   1687     else
   1688       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1689     fi || ac_status=$?
   1690     cd "$ac_pwd" || { ac_status=$?; break; }
   1691   done
   1692 fi
   1693 
   1694 test -n "$ac_init_help" && exit $ac_status
   1695 if $ac_init_version; then
   1696   cat <<\_ACEOF
   1697 xf86-video-chips configure 1.2.2
   1698 generated by GNU Autoconf 2.63
   1699 
   1700 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1701 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1702 This configure script is free software; the Free Software Foundation
   1703 gives unlimited permission to copy, distribute and modify it.
   1704 _ACEOF
   1705   exit
   1706 fi
   1707 cat >config.log <<_ACEOF
   1708 This file contains any messages produced by compilers while
   1709 running configure, to aid debugging if configure makes a mistake.
   1710 
   1711 It was created by xf86-video-chips $as_me 1.2.2, which was
   1712 generated by GNU Autoconf 2.63.  Invocation command line was
   1713 
   1714   $ $0 $@
   1715 
   1716 _ACEOF
   1717 exec 5>>config.log
   1718 {
   1719 cat <<_ASUNAME
   1720 ## --------- ##
   1721 ## Platform. ##
   1722 ## --------- ##
   1723 
   1724 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1725 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1726 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1727 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1728 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1729 
   1730 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1731 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1732 
   1733 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1734 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1735 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1736 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1737 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1738 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1739 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1740 
   1741 _ASUNAME
   1742 
   1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1744 for as_dir in $PATH
   1745 do
   1746   IFS=$as_save_IFS
   1747   test -z "$as_dir" && as_dir=.
   1748   $as_echo "PATH: $as_dir"
   1749 done
   1750 IFS=$as_save_IFS
   1751 
   1752 } >&5
   1753 
   1754 cat >&5 <<_ACEOF
   1755 
   1756 
   1757 ## ----------- ##
   1758 ## Core tests. ##
   1759 ## ----------- ##
   1760 
   1761 _ACEOF
   1762 
   1763 
   1764 # Keep a trace of the command line.
   1765 # Strip out --no-create and --no-recursion so they do not pile up.
   1766 # Strip out --silent because we don't want to record it for future runs.
   1767 # Also quote any args containing shell meta-characters.
   1768 # Make two passes to allow for proper duplicate-argument suppression.
   1769 ac_configure_args=
   1770 ac_configure_args0=
   1771 ac_configure_args1=
   1772 ac_must_keep_next=false
   1773 for ac_pass in 1 2
   1774 do
   1775   for ac_arg
   1776   do
   1777     case $ac_arg in
   1778     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1779     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1780     | -silent | --silent | --silen | --sile | --sil)
   1781       continue ;;
   1782     *\'*)
   1783       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1784     esac
   1785     case $ac_pass in
   1786     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1787     2)
   1788       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1789       if test $ac_must_keep_next = true; then
   1790 	ac_must_keep_next=false # Got value, back to normal.
   1791       else
   1792 	case $ac_arg in
   1793 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1794 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1795 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1796 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1797 	    case "$ac_configure_args0 " in
   1798 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1799 	    esac
   1800 	    ;;
   1801 	  -* ) ac_must_keep_next=true ;;
   1802 	esac
   1803       fi
   1804       ac_configure_args="$ac_configure_args '$ac_arg'"
   1805       ;;
   1806     esac
   1807   done
   1808 done
   1809 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1810 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1811 
   1812 # When interrupted or exit'd, cleanup temporary files, and complete
   1813 # config.log.  We remove comments because anyway the quotes in there
   1814 # would cause problems or look ugly.
   1815 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1816 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1817 trap 'exit_status=$?
   1818   # Save into config.log some information that might help in debugging.
   1819   {
   1820     echo
   1821 
   1822     cat <<\_ASBOX
   1823 ## ---------------- ##
   1824 ## Cache variables. ##
   1825 ## ---------------- ##
   1826 _ASBOX
   1827     echo
   1828     # The following way of writing the cache mishandles newlines in values,
   1829 (
   1830   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1831     eval ac_val=\$$ac_var
   1832     case $ac_val in #(
   1833     *${as_nl}*)
   1834       case $ac_var in #(
   1835       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1836 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1837       esac
   1838       case $ac_var in #(
   1839       _ | IFS | as_nl) ;; #(
   1840       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1841       *) $as_unset $ac_var ;;
   1842       esac ;;
   1843     esac
   1844   done
   1845   (set) 2>&1 |
   1846     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1847     *${as_nl}ac_space=\ *)
   1848       sed -n \
   1849 	"s/'\''/'\''\\\\'\'''\''/g;
   1850 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1851       ;; #(
   1852     *)
   1853       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1854       ;;
   1855     esac |
   1856     sort
   1857 )
   1858     echo
   1859 
   1860     cat <<\_ASBOX
   1861 ## ----------------- ##
   1862 ## Output variables. ##
   1863 ## ----------------- ##
   1864 _ASBOX
   1865     echo
   1866     for ac_var in $ac_subst_vars
   1867     do
   1868       eval ac_val=\$$ac_var
   1869       case $ac_val in
   1870       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1871       esac
   1872       $as_echo "$ac_var='\''$ac_val'\''"
   1873     done | sort
   1874     echo
   1875 
   1876     if test -n "$ac_subst_files"; then
   1877       cat <<\_ASBOX
   1878 ## ------------------- ##
   1879 ## File substitutions. ##
   1880 ## ------------------- ##
   1881 _ASBOX
   1882       echo
   1883       for ac_var in $ac_subst_files
   1884       do
   1885 	eval ac_val=\$$ac_var
   1886 	case $ac_val in
   1887 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1888 	esac
   1889 	$as_echo "$ac_var='\''$ac_val'\''"
   1890       done | sort
   1891       echo
   1892     fi
   1893 
   1894     if test -s confdefs.h; then
   1895       cat <<\_ASBOX
   1896 ## ----------- ##
   1897 ## confdefs.h. ##
   1898 ## ----------- ##
   1899 _ASBOX
   1900       echo
   1901       cat confdefs.h
   1902       echo
   1903     fi
   1904     test "$ac_signal" != 0 &&
   1905       $as_echo "$as_me: caught signal $ac_signal"
   1906     $as_echo "$as_me: exit $exit_status"
   1907   } >&5
   1908   rm -f core *.core core.conftest.* &&
   1909     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1910     exit $exit_status
   1911 ' 0
   1912 for ac_signal in 1 2 13 15; do
   1913   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1914 done
   1915 ac_signal=0
   1916 
   1917 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1918 rm -f -r conftest* confdefs.h
   1919 
   1920 # Predefined preprocessor variables.
   1921 
   1922 cat >>confdefs.h <<_ACEOF
   1923 #define PACKAGE_NAME "$PACKAGE_NAME"
   1924 _ACEOF
   1925 
   1926 
   1927 cat >>confdefs.h <<_ACEOF
   1928 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1929 _ACEOF
   1930 
   1931 
   1932 cat >>confdefs.h <<_ACEOF
   1933 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1934 _ACEOF
   1935 
   1936 
   1937 cat >>confdefs.h <<_ACEOF
   1938 #define PACKAGE_STRING "$PACKAGE_STRING"
   1939 _ACEOF
   1940 
   1941 
   1942 cat >>confdefs.h <<_ACEOF
   1943 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1944 _ACEOF
   1945 
   1946 
   1947 # Let the site file select an alternate cache file if it wants to.
   1948 # Prefer an explicitly selected file to automatically selected ones.
   1949 ac_site_file1=NONE
   1950 ac_site_file2=NONE
   1951 if test -n "$CONFIG_SITE"; then
   1952   ac_site_file1=$CONFIG_SITE
   1953 elif test "x$prefix" != xNONE; then
   1954   ac_site_file1=$prefix/share/config.site
   1955   ac_site_file2=$prefix/etc/config.site
   1956 else
   1957   ac_site_file1=$ac_default_prefix/share/config.site
   1958   ac_site_file2=$ac_default_prefix/etc/config.site
   1959 fi
   1960 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1961 do
   1962   test "x$ac_site_file" = xNONE && continue
   1963   if test -r "$ac_site_file"; then
   1964     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1965 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1966     sed 's/^/| /' "$ac_site_file" >&5
   1967     . "$ac_site_file"
   1968   fi
   1969 done
   1970 
   1971 if test -r "$cache_file"; then
   1972   # Some versions of bash will fail to source /dev/null (special
   1973   # files actually), so we avoid doing that.
   1974   if test -f "$cache_file"; then
   1975     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1976 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1977     case $cache_file in
   1978       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1979       *)                      . "./$cache_file";;
   1980     esac
   1981   fi
   1982 else
   1983   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1984 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1985   >$cache_file
   1986 fi
   1987 
   1988 # Check that the precious variables saved in the cache have kept the same
   1989 # value.
   1990 ac_cache_corrupted=false
   1991 for ac_var in $ac_precious_vars; do
   1992   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1993   eval ac_new_set=\$ac_env_${ac_var}_set
   1994   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1995   eval ac_new_val=\$ac_env_${ac_var}_value
   1996   case $ac_old_set,$ac_new_set in
   1997     set,)
   1998       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1999 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2000       ac_cache_corrupted=: ;;
   2001     ,set)
   2002       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2003 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2004       ac_cache_corrupted=: ;;
   2005     ,);;
   2006     *)
   2007       if test "x$ac_old_val" != "x$ac_new_val"; then
   2008 	# differences in whitespace do not lead to failure.
   2009 	ac_old_val_w=`echo x $ac_old_val`
   2010 	ac_new_val_w=`echo x $ac_new_val`
   2011 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2012 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2013 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2014 	  ac_cache_corrupted=:
   2015 	else
   2016 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2017 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2018 	  eval $ac_var=\$ac_old_val
   2019 	fi
   2020 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2021 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2022 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2023 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2024       fi;;
   2025   esac
   2026   # Pass precious variables to config.status.
   2027   if test "$ac_new_set" = set; then
   2028     case $ac_new_val in
   2029     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2030     *) ac_arg=$ac_var=$ac_new_val ;;
   2031     esac
   2032     case " $ac_configure_args " in
   2033       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2034       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2035     esac
   2036   fi
   2037 done
   2038 if $ac_cache_corrupted; then
   2039   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2041   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2042 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2043   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2044 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2045    { (exit 1); exit 1; }; }
   2046 fi
   2047 
   2048 
   2049 
   2050 
   2051 
   2052 
   2053 
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 ac_ext=c
   2073 ac_cpp='$CPP $CPPFLAGS'
   2074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2077 
   2078 
   2079 
   2080 
   2081 ac_config_headers="$ac_config_headers config.h"
   2082 
   2083 ac_aux_dir=
   2084 for ac_dir in . "$srcdir"/.; do
   2085   if test -f "$ac_dir/install-sh"; then
   2086     ac_aux_dir=$ac_dir
   2087     ac_install_sh="$ac_aux_dir/install-sh -c"
   2088     break
   2089   elif test -f "$ac_dir/install.sh"; then
   2090     ac_aux_dir=$ac_dir
   2091     ac_install_sh="$ac_aux_dir/install.sh -c"
   2092     break
   2093   elif test -f "$ac_dir/shtool"; then
   2094     ac_aux_dir=$ac_dir
   2095     ac_install_sh="$ac_aux_dir/shtool install -c"
   2096     break
   2097   fi
   2098 done
   2099 if test -z "$ac_aux_dir"; then
   2100   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2101 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2102    { (exit 1); exit 1; }; }
   2103 fi
   2104 
   2105 # These three variables are undocumented and unsupported,
   2106 # and are intended to be withdrawn in a future Autoconf release.
   2107 # They can cause serious problems if a builder's source tree is in a directory
   2108 # whose full name contains unusual characters.
   2109 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2110 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2111 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2112 
   2113 
   2114 
   2115 am__api_version='1.11'
   2116 
   2117 # Find a good install program.  We prefer a C program (faster),
   2118 # so one script is as good as another.  But avoid the broken or
   2119 # incompatible versions:
   2120 # SysV /etc/install, /usr/sbin/install
   2121 # SunOS /usr/etc/install
   2122 # IRIX /sbin/install
   2123 # AIX /bin/install
   2124 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2125 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2126 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2127 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2128 # OS/2's system install, which has a completely different semantic
   2129 # ./install, which can be erroneously created by make from ./install.sh.
   2130 # Reject install programs that cannot install multiple files.
   2131 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2132 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2133 if test -z "$INSTALL"; then
   2134 if test "${ac_cv_path_install+set}" = set; then
   2135   $as_echo_n "(cached) " >&6
   2136 else
   2137   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2138 for as_dir in $PATH
   2139 do
   2140   IFS=$as_save_IFS
   2141   test -z "$as_dir" && as_dir=.
   2142   # Account for people who put trailing slashes in PATH elements.
   2143 case $as_dir/ in
   2144   ./ | .// | /cC/* | \
   2145   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2146   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2147   /usr/ucb/* ) ;;
   2148   *)
   2149     # OSF1 and SCO ODT 3.0 have their own names for install.
   2150     # Don't use installbsd from OSF since it installs stuff as root
   2151     # by default.
   2152     for ac_prog in ginstall scoinst install; do
   2153       for ac_exec_ext in '' $ac_executable_extensions; do
   2154 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2155 	  if test $ac_prog = install &&
   2156 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2157 	    # AIX install.  It has an incompatible calling convention.
   2158 	    :
   2159 	  elif test $ac_prog = install &&
   2160 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2161 	    # program-specific install script used by HP pwplus--don't use.
   2162 	    :
   2163 	  else
   2164 	    rm -rf conftest.one conftest.two conftest.dir
   2165 	    echo one > conftest.one
   2166 	    echo two > conftest.two
   2167 	    mkdir conftest.dir
   2168 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2169 	      test -s conftest.one && test -s conftest.two &&
   2170 	      test -s conftest.dir/conftest.one &&
   2171 	      test -s conftest.dir/conftest.two
   2172 	    then
   2173 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2174 	      break 3
   2175 	    fi
   2176 	  fi
   2177 	fi
   2178       done
   2179     done
   2180     ;;
   2181 esac
   2182 
   2183 done
   2184 IFS=$as_save_IFS
   2185 
   2186 rm -rf conftest.one conftest.two conftest.dir
   2187 
   2188 fi
   2189   if test "${ac_cv_path_install+set}" = set; then
   2190     INSTALL=$ac_cv_path_install
   2191   else
   2192     # As a last resort, use the slow shell script.  Don't cache a
   2193     # value for INSTALL within a source directory, because that will
   2194     # break other packages using the cache if that directory is
   2195     # removed, or if the value is a relative name.
   2196     INSTALL=$ac_install_sh
   2197   fi
   2198 fi
   2199 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2200 $as_echo "$INSTALL" >&6; }
   2201 
   2202 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2203 # It thinks the first close brace ends the variable substitution.
   2204 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2205 
   2206 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2207 
   2208 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2209 
   2210 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2211 $as_echo_n "checking whether build environment is sane... " >&6; }
   2212 # Just in case
   2213 sleep 1
   2214 echo timestamp > conftest.file
   2215 # Reject unsafe characters in $srcdir or the absolute working directory
   2216 # name.  Accept space and tab only in the latter.
   2217 am_lf='
   2218 '
   2219 case `pwd` in
   2220   *[\\\"\#\$\&\'\`$am_lf]*)
   2221     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2222 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2223    { (exit 1); exit 1; }; };;
   2224 esac
   2225 case $srcdir in
   2226   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2227     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2228 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2229    { (exit 1); exit 1; }; };;
   2230 esac
   2231 
   2232 # Do `set' in a subshell so we don't clobber the current shell's
   2233 # arguments.  Must try -L first in case configure is actually a
   2234 # symlink; some systems play weird games with the mod time of symlinks
   2235 # (eg FreeBSD returns the mod time of the symlink's containing
   2236 # directory).
   2237 if (
   2238    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2239    if test "$*" = "X"; then
   2240       # -L didn't work.
   2241       set X `ls -t "$srcdir/configure" conftest.file`
   2242    fi
   2243    rm -f conftest.file
   2244    if test "$*" != "X $srcdir/configure conftest.file" \
   2245       && test "$*" != "X conftest.file $srcdir/configure"; then
   2246 
   2247       # If neither matched, then we have a broken ls.  This can happen
   2248       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2249       # broken ls alias from the environment.  This has actually
   2250       # happened.  Such a system could not be considered "sane".
   2251       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2252 alias in your environment" >&5
   2253 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2254 alias in your environment" >&2;}
   2255    { (exit 1); exit 1; }; }
   2256    fi
   2257 
   2258    test "$2" = conftest.file
   2259    )
   2260 then
   2261    # Ok.
   2262    :
   2263 else
   2264    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2265 Check your system clock" >&5
   2266 $as_echo "$as_me: error: newly created file is older than distributed files!
   2267 Check your system clock" >&2;}
   2268    { (exit 1); exit 1; }; }
   2269 fi
   2270 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2271 $as_echo "yes" >&6; }
   2272 test "$program_prefix" != NONE &&
   2273   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2274 # Use a double $ so make ignores it.
   2275 test "$program_suffix" != NONE &&
   2276   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2277 # Double any \ or $.
   2278 # By default was `s,x,x', remove it if useless.
   2279 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2280 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2281 
   2282 # expand $ac_aux_dir to an absolute path
   2283 am_aux_dir=`cd $ac_aux_dir && pwd`
   2284 
   2285 if test x"${MISSING+set}" != xset; then
   2286   case $am_aux_dir in
   2287   *\ * | *\	*)
   2288     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2289   *)
   2290     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2291   esac
   2292 fi
   2293 # Use eval to expand $SHELL
   2294 if eval "$MISSING --run true"; then
   2295   am_missing_run="$MISSING --run "
   2296 else
   2297   am_missing_run=
   2298   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2299 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2300 fi
   2301 
   2302 if test x"${install_sh}" != xset; then
   2303   case $am_aux_dir in
   2304   *\ * | *\	*)
   2305     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2306   *)
   2307     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2308   esac
   2309 fi
   2310 
   2311 # Installed binaries are usually stripped using `strip' when the user
   2312 # run `make install-strip'.  However `strip' might not be the right
   2313 # tool to use in cross-compilation environments, therefore Automake
   2314 # will honor the `STRIP' environment variable to overrule this program.
   2315 if test "$cross_compiling" != no; then
   2316   if test -n "$ac_tool_prefix"; then
   2317   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2318 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2319 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2320 $as_echo_n "checking for $ac_word... " >&6; }
   2321 if test "${ac_cv_prog_STRIP+set}" = set; then
   2322   $as_echo_n "(cached) " >&6
   2323 else
   2324   if test -n "$STRIP"; then
   2325   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2326 else
   2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2328 for as_dir in $PATH
   2329 do
   2330   IFS=$as_save_IFS
   2331   test -z "$as_dir" && as_dir=.
   2332   for ac_exec_ext in '' $ac_executable_extensions; do
   2333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2334     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2335     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2336     break 2
   2337   fi
   2338 done
   2339 done
   2340 IFS=$as_save_IFS
   2341 
   2342 fi
   2343 fi
   2344 STRIP=$ac_cv_prog_STRIP
   2345 if test -n "$STRIP"; then
   2346   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2347 $as_echo "$STRIP" >&6; }
   2348 else
   2349   { $as_echo "$as_me:$LINENO: result: no" >&5
   2350 $as_echo "no" >&6; }
   2351 fi
   2352 
   2353 
   2354 fi
   2355 if test -z "$ac_cv_prog_STRIP"; then
   2356   ac_ct_STRIP=$STRIP
   2357   # Extract the first word of "strip", so it can be a program name with args.
   2358 set dummy strip; ac_word=$2
   2359 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2360 $as_echo_n "checking for $ac_word... " >&6; }
   2361 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2362   $as_echo_n "(cached) " >&6
   2363 else
   2364   if test -n "$ac_ct_STRIP"; then
   2365   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2366 else
   2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2368 for as_dir in $PATH
   2369 do
   2370   IFS=$as_save_IFS
   2371   test -z "$as_dir" && as_dir=.
   2372   for ac_exec_ext in '' $ac_executable_extensions; do
   2373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2374     ac_cv_prog_ac_ct_STRIP="strip"
   2375     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2376     break 2
   2377   fi
   2378 done
   2379 done
   2380 IFS=$as_save_IFS
   2381 
   2382 fi
   2383 fi
   2384 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2385 if test -n "$ac_ct_STRIP"; then
   2386   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2387 $as_echo "$ac_ct_STRIP" >&6; }
   2388 else
   2389   { $as_echo "$as_me:$LINENO: result: no" >&5
   2390 $as_echo "no" >&6; }
   2391 fi
   2392 
   2393   if test "x$ac_ct_STRIP" = x; then
   2394     STRIP=":"
   2395   else
   2396     case $cross_compiling:$ac_tool_warned in
   2397 yes:)
   2398 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2400 ac_tool_warned=yes ;;
   2401 esac
   2402     STRIP=$ac_ct_STRIP
   2403   fi
   2404 else
   2405   STRIP="$ac_cv_prog_STRIP"
   2406 fi
   2407 
   2408 fi
   2409 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2410 
   2411 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2412 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2413 if test -z "$MKDIR_P"; then
   2414   if test "${ac_cv_path_mkdir+set}" = set; then
   2415   $as_echo_n "(cached) " >&6
   2416 else
   2417   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2418 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2419 do
   2420   IFS=$as_save_IFS
   2421   test -z "$as_dir" && as_dir=.
   2422   for ac_prog in mkdir gmkdir; do
   2423 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2424 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2425 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2426 	     'mkdir (GNU coreutils) '* | \
   2427 	     'mkdir (coreutils) '* | \
   2428 	     'mkdir (fileutils) '4.1*)
   2429 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2430 	       break 3;;
   2431 	   esac
   2432 	 done
   2433        done
   2434 done
   2435 IFS=$as_save_IFS
   2436 
   2437 fi
   2438 
   2439   if test "${ac_cv_path_mkdir+set}" = set; then
   2440     MKDIR_P="$ac_cv_path_mkdir -p"
   2441   else
   2442     # As a last resort, use the slow shell script.  Don't cache a
   2443     # value for MKDIR_P within a source directory, because that will
   2444     # break other packages using the cache if that directory is
   2445     # removed, or if the value is a relative name.
   2446     test -d ./--version && rmdir ./--version
   2447     MKDIR_P="$ac_install_sh -d"
   2448   fi
   2449 fi
   2450 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2451 $as_echo "$MKDIR_P" >&6; }
   2452 
   2453 mkdir_p="$MKDIR_P"
   2454 case $mkdir_p in
   2455   [\\/$]* | ?:[\\/]*) ;;
   2456   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2457 esac
   2458 
   2459 for ac_prog in gawk mawk nawk awk
   2460 do
   2461   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2462 set dummy $ac_prog; ac_word=$2
   2463 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2464 $as_echo_n "checking for $ac_word... " >&6; }
   2465 if test "${ac_cv_prog_AWK+set}" = set; then
   2466   $as_echo_n "(cached) " >&6
   2467 else
   2468   if test -n "$AWK"; then
   2469   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2470 else
   2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2472 for as_dir in $PATH
   2473 do
   2474   IFS=$as_save_IFS
   2475   test -z "$as_dir" && as_dir=.
   2476   for ac_exec_ext in '' $ac_executable_extensions; do
   2477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2478     ac_cv_prog_AWK="$ac_prog"
   2479     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2480     break 2
   2481   fi
   2482 done
   2483 done
   2484 IFS=$as_save_IFS
   2485 
   2486 fi
   2487 fi
   2488 AWK=$ac_cv_prog_AWK
   2489 if test -n "$AWK"; then
   2490   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2491 $as_echo "$AWK" >&6; }
   2492 else
   2493   { $as_echo "$as_me:$LINENO: result: no" >&5
   2494 $as_echo "no" >&6; }
   2495 fi
   2496 
   2497 
   2498   test -n "$AWK" && break
   2499 done
   2500 
   2501 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2502 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2503 set x ${MAKE-make}
   2504 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2505 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2506   $as_echo_n "(cached) " >&6
   2507 else
   2508   cat >conftest.make <<\_ACEOF
   2509 SHELL = /bin/sh
   2510 all:
   2511 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2512 _ACEOF
   2513 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2514 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2515   *@@@%%%=?*=@@@%%%*)
   2516     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2517   *)
   2518     eval ac_cv_prog_make_${ac_make}_set=no;;
   2519 esac
   2520 rm -f conftest.make
   2521 fi
   2522 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2523   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2524 $as_echo "yes" >&6; }
   2525   SET_MAKE=
   2526 else
   2527   { $as_echo "$as_me:$LINENO: result: no" >&5
   2528 $as_echo "no" >&6; }
   2529   SET_MAKE="MAKE=${MAKE-make}"
   2530 fi
   2531 
   2532 rm -rf .tst 2>/dev/null
   2533 mkdir .tst 2>/dev/null
   2534 if test -d .tst; then
   2535   am__leading_dot=.
   2536 else
   2537   am__leading_dot=_
   2538 fi
   2539 rmdir .tst 2>/dev/null
   2540 
   2541 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2542   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2543   # is not polluted with repeated "-I."
   2544   am__isrc=' -I$(srcdir)'
   2545   # test to see if srcdir already configured
   2546   if test -f $srcdir/config.status; then
   2547     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2548 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2549    { (exit 1); exit 1; }; }
   2550   fi
   2551 fi
   2552 
   2553 # test whether we have cygpath
   2554 if test -z "$CYGPATH_W"; then
   2555   if (cygpath --version) >/dev/null 2>/dev/null; then
   2556     CYGPATH_W='cygpath -w'
   2557   else
   2558     CYGPATH_W=echo
   2559   fi
   2560 fi
   2561 
   2562 
   2563 # Define the identity of the package.
   2564  PACKAGE='xf86-video-chips'
   2565  VERSION='1.2.2'
   2566 
   2567 
   2568 cat >>confdefs.h <<_ACEOF
   2569 #define PACKAGE "$PACKAGE"
   2570 _ACEOF
   2571 
   2572 
   2573 cat >>confdefs.h <<_ACEOF
   2574 #define VERSION "$VERSION"
   2575 _ACEOF
   2576 
   2577 # Some tools Automake needs.
   2578 
   2579 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2580 
   2581 
   2582 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2583 
   2584 
   2585 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2586 
   2587 
   2588 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2589 
   2590 
   2591 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2592 
   2593 # We need awk for the "check" target.  The system "awk" is bad on
   2594 # some platforms.
   2595 # Always define AMTAR for backward compatibility.
   2596 
   2597 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2598 
   2599 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2600 
   2601 
   2602 
   2603 
   2604 
   2605 
   2606 
   2607 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2608 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2609     # Check whether --enable-maintainer-mode was given.
   2610 if test "${enable_maintainer_mode+set}" = set; then
   2611   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2612 else
   2613   USE_MAINTAINER_MODE=no
   2614 fi
   2615 
   2616   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2617 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2618    if test $USE_MAINTAINER_MODE = yes; then
   2619   MAINTAINER_MODE_TRUE=
   2620   MAINTAINER_MODE_FALSE='#'
   2621 else
   2622   MAINTAINER_MODE_TRUE='#'
   2623   MAINTAINER_MODE_FALSE=
   2624 fi
   2625 
   2626   MAINT=$MAINTAINER_MODE_TRUE
   2627 
   2628 
   2629 
   2630 # Checks for programs.
   2631 # Check whether --enable-static was given.
   2632 if test "${enable_static+set}" = set; then
   2633   enableval=$enable_static; p=${PACKAGE-default}
   2634     case $enableval in
   2635     yes) enable_static=yes ;;
   2636     no) enable_static=no ;;
   2637     *)
   2638      enable_static=no
   2639       # Look at the argument we got.  We use all the common list separators.
   2640       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2641       for pkg in $enableval; do
   2642 	IFS="$lt_save_ifs"
   2643 	if test "X$pkg" = "X$p"; then
   2644 	  enable_static=yes
   2645 	fi
   2646       done
   2647       IFS="$lt_save_ifs"
   2648       ;;
   2649     esac
   2650 else
   2651   enable_static=no
   2652 fi
   2653 
   2654 
   2655 
   2656 
   2657 
   2658 
   2659 
   2660 
   2661 
   2662 case `pwd` in
   2663   *\ * | *\	*)
   2664     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2665 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2666 esac
   2667 
   2668 
   2669 
   2670 macro_version='2.2.6'
   2671 macro_revision='1.3012'
   2672 
   2673 
   2674 
   2675 
   2676 
   2677 
   2678 
   2679 
   2680 
   2681 
   2682 
   2683 
   2684 
   2685 ltmain="$ac_aux_dir/ltmain.sh"
   2686 
   2687 # Make sure we can run config.sub.
   2688 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2689   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2690 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2691    { (exit 1); exit 1; }; }
   2692 
   2693 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2694 $as_echo_n "checking build system type... " >&6; }
   2695 if test "${ac_cv_build+set}" = set; then
   2696   $as_echo_n "(cached) " >&6
   2697 else
   2698   ac_build_alias=$build_alias
   2699 test "x$ac_build_alias" = x &&
   2700   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2701 test "x$ac_build_alias" = x &&
   2702   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2703 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2704    { (exit 1); exit 1; }; }
   2705 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2706   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2707 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2708    { (exit 1); exit 1; }; }
   2709 
   2710 fi
   2711 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2712 $as_echo "$ac_cv_build" >&6; }
   2713 case $ac_cv_build in
   2714 *-*-*) ;;
   2715 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2716 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2717    { (exit 1); exit 1; }; };;
   2718 esac
   2719 build=$ac_cv_build
   2720 ac_save_IFS=$IFS; IFS='-'
   2721 set x $ac_cv_build
   2722 shift
   2723 build_cpu=$1
   2724 build_vendor=$2
   2725 shift; shift
   2726 # Remember, the first character of IFS is used to create $*,
   2727 # except with old shells:
   2728 build_os=$*
   2729 IFS=$ac_save_IFS
   2730 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2731 
   2732 
   2733 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2734 $as_echo_n "checking host system type... " >&6; }
   2735 if test "${ac_cv_host+set}" = set; then
   2736   $as_echo_n "(cached) " >&6
   2737 else
   2738   if test "x$host_alias" = x; then
   2739   ac_cv_host=$ac_cv_build
   2740 else
   2741   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2742     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2743 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2744    { (exit 1); exit 1; }; }
   2745 fi
   2746 
   2747 fi
   2748 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2749 $as_echo "$ac_cv_host" >&6; }
   2750 case $ac_cv_host in
   2751 *-*-*) ;;
   2752 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2753 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2754    { (exit 1); exit 1; }; };;
   2755 esac
   2756 host=$ac_cv_host
   2757 ac_save_IFS=$IFS; IFS='-'
   2758 set x $ac_cv_host
   2759 shift
   2760 host_cpu=$1
   2761 host_vendor=$2
   2762 shift; shift
   2763 # Remember, the first character of IFS is used to create $*,
   2764 # except with old shells:
   2765 host_os=$*
   2766 IFS=$ac_save_IFS
   2767 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2768 
   2769 
   2770 DEPDIR="${am__leading_dot}deps"
   2771 
   2772 ac_config_commands="$ac_config_commands depfiles"
   2773 
   2774 
   2775 am_make=${MAKE-make}
   2776 cat > confinc << 'END'
   2777 am__doit:
   2778 	@echo this is the am__doit target
   2779 .PHONY: am__doit
   2780 END
   2781 # If we don't find an include directive, just comment out the code.
   2782 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2783 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2784 am__include="#"
   2785 am__quote=
   2786 _am_result=none
   2787 # First try GNU make style include.
   2788 echo "include confinc" > confmf
   2789 # Ignore all kinds of additional output from `make'.
   2790 case `$am_make -s -f confmf 2> /dev/null` in #(
   2791 *the\ am__doit\ target*)
   2792   am__include=include
   2793   am__quote=
   2794   _am_result=GNU
   2795   ;;
   2796 esac
   2797 # Now try BSD make style include.
   2798 if test "$am__include" = "#"; then
   2799    echo '.include "confinc"' > confmf
   2800    case `$am_make -s -f confmf 2> /dev/null` in #(
   2801    *the\ am__doit\ target*)
   2802      am__include=.include
   2803      am__quote="\""
   2804      _am_result=BSD
   2805      ;;
   2806    esac
   2807 fi
   2808 
   2809 
   2810 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2811 $as_echo "$_am_result" >&6; }
   2812 rm -f confinc confmf
   2813 
   2814 # Check whether --enable-dependency-tracking was given.
   2815 if test "${enable_dependency_tracking+set}" = set; then
   2816   enableval=$enable_dependency_tracking;
   2817 fi
   2818 
   2819 if test "x$enable_dependency_tracking" != xno; then
   2820   am_depcomp="$ac_aux_dir/depcomp"
   2821   AMDEPBACKSLASH='\'
   2822 fi
   2823  if test "x$enable_dependency_tracking" != xno; then
   2824   AMDEP_TRUE=
   2825   AMDEP_FALSE='#'
   2826 else
   2827   AMDEP_TRUE='#'
   2828   AMDEP_FALSE=
   2829 fi
   2830 
   2831 
   2832 ac_ext=c
   2833 ac_cpp='$CPP $CPPFLAGS'
   2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2837 if test -n "$ac_tool_prefix"; then
   2838   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2839 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2840 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2841 $as_echo_n "checking for $ac_word... " >&6; }
   2842 if test "${ac_cv_prog_CC+set}" = set; then
   2843   $as_echo_n "(cached) " >&6
   2844 else
   2845   if test -n "$CC"; then
   2846   ac_cv_prog_CC="$CC" # Let the user override the test.
   2847 else
   2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2849 for as_dir in $PATH
   2850 do
   2851   IFS=$as_save_IFS
   2852   test -z "$as_dir" && as_dir=.
   2853   for ac_exec_ext in '' $ac_executable_extensions; do
   2854   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2855     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2856     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2857     break 2
   2858   fi
   2859 done
   2860 done
   2861 IFS=$as_save_IFS
   2862 
   2863 fi
   2864 fi
   2865 CC=$ac_cv_prog_CC
   2866 if test -n "$CC"; then
   2867   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2868 $as_echo "$CC" >&6; }
   2869 else
   2870   { $as_echo "$as_me:$LINENO: result: no" >&5
   2871 $as_echo "no" >&6; }
   2872 fi
   2873 
   2874 
   2875 fi
   2876 if test -z "$ac_cv_prog_CC"; then
   2877   ac_ct_CC=$CC
   2878   # Extract the first word of "gcc", so it can be a program name with args.
   2879 set dummy gcc; ac_word=$2
   2880 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2881 $as_echo_n "checking for $ac_word... " >&6; }
   2882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2883   $as_echo_n "(cached) " >&6
   2884 else
   2885   if test -n "$ac_ct_CC"; then
   2886   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2887 else
   2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2889 for as_dir in $PATH
   2890 do
   2891   IFS=$as_save_IFS
   2892   test -z "$as_dir" && as_dir=.
   2893   for ac_exec_ext in '' $ac_executable_extensions; do
   2894   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2895     ac_cv_prog_ac_ct_CC="gcc"
   2896     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2897     break 2
   2898   fi
   2899 done
   2900 done
   2901 IFS=$as_save_IFS
   2902 
   2903 fi
   2904 fi
   2905 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2906 if test -n "$ac_ct_CC"; then
   2907   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2908 $as_echo "$ac_ct_CC" >&6; }
   2909 else
   2910   { $as_echo "$as_me:$LINENO: result: no" >&5
   2911 $as_echo "no" >&6; }
   2912 fi
   2913 
   2914   if test "x$ac_ct_CC" = x; then
   2915     CC=""
   2916   else
   2917     case $cross_compiling:$ac_tool_warned in
   2918 yes:)
   2919 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2921 ac_tool_warned=yes ;;
   2922 esac
   2923     CC=$ac_ct_CC
   2924   fi
   2925 else
   2926   CC="$ac_cv_prog_CC"
   2927 fi
   2928 
   2929 if test -z "$CC"; then
   2930           if test -n "$ac_tool_prefix"; then
   2931     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2932 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2933 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2934 $as_echo_n "checking for $ac_word... " >&6; }
   2935 if test "${ac_cv_prog_CC+set}" = set; then
   2936   $as_echo_n "(cached) " >&6
   2937 else
   2938   if test -n "$CC"; then
   2939   ac_cv_prog_CC="$CC" # Let the user override the test.
   2940 else
   2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2942 for as_dir in $PATH
   2943 do
   2944   IFS=$as_save_IFS
   2945   test -z "$as_dir" && as_dir=.
   2946   for ac_exec_ext in '' $ac_executable_extensions; do
   2947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2948     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2949     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2950     break 2
   2951   fi
   2952 done
   2953 done
   2954 IFS=$as_save_IFS
   2955 
   2956 fi
   2957 fi
   2958 CC=$ac_cv_prog_CC
   2959 if test -n "$CC"; then
   2960   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2961 $as_echo "$CC" >&6; }
   2962 else
   2963   { $as_echo "$as_me:$LINENO: result: no" >&5
   2964 $as_echo "no" >&6; }
   2965 fi
   2966 
   2967 
   2968   fi
   2969 fi
   2970 if test -z "$CC"; then
   2971   # Extract the first word of "cc", so it can be a program name with args.
   2972 set dummy cc; ac_word=$2
   2973 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2974 $as_echo_n "checking for $ac_word... " >&6; }
   2975 if test "${ac_cv_prog_CC+set}" = set; then
   2976   $as_echo_n "(cached) " >&6
   2977 else
   2978   if test -n "$CC"; then
   2979   ac_cv_prog_CC="$CC" # Let the user override the test.
   2980 else
   2981   ac_prog_rejected=no
   2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2983 for as_dir in $PATH
   2984 do
   2985   IFS=$as_save_IFS
   2986   test -z "$as_dir" && as_dir=.
   2987   for ac_exec_ext in '' $ac_executable_extensions; do
   2988   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2989     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2990        ac_prog_rejected=yes
   2991        continue
   2992      fi
   2993     ac_cv_prog_CC="cc"
   2994     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2995     break 2
   2996   fi
   2997 done
   2998 done
   2999 IFS=$as_save_IFS
   3000 
   3001 if test $ac_prog_rejected = yes; then
   3002   # We found a bogon in the path, so make sure we never use it.
   3003   set dummy $ac_cv_prog_CC
   3004   shift
   3005   if test $# != 0; then
   3006     # We chose a different compiler from the bogus one.
   3007     # However, it has the same basename, so the bogon will be chosen
   3008     # first if we set CC to just the basename; use the full file name.
   3009     shift
   3010     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3011   fi
   3012 fi
   3013 fi
   3014 fi
   3015 CC=$ac_cv_prog_CC
   3016 if test -n "$CC"; then
   3017   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3018 $as_echo "$CC" >&6; }
   3019 else
   3020   { $as_echo "$as_me:$LINENO: result: no" >&5
   3021 $as_echo "no" >&6; }
   3022 fi
   3023 
   3024 
   3025 fi
   3026 if test -z "$CC"; then
   3027   if test -n "$ac_tool_prefix"; then
   3028   for ac_prog in cl.exe
   3029   do
   3030     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3032 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3033 $as_echo_n "checking for $ac_word... " >&6; }
   3034 if test "${ac_cv_prog_CC+set}" = set; then
   3035   $as_echo_n "(cached) " >&6
   3036 else
   3037   if test -n "$CC"; then
   3038   ac_cv_prog_CC="$CC" # Let the user override the test.
   3039 else
   3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3041 for as_dir in $PATH
   3042 do
   3043   IFS=$as_save_IFS
   3044   test -z "$as_dir" && as_dir=.
   3045   for ac_exec_ext in '' $ac_executable_extensions; do
   3046   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3047     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3048     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3049     break 2
   3050   fi
   3051 done
   3052 done
   3053 IFS=$as_save_IFS
   3054 
   3055 fi
   3056 fi
   3057 CC=$ac_cv_prog_CC
   3058 if test -n "$CC"; then
   3059   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3060 $as_echo "$CC" >&6; }
   3061 else
   3062   { $as_echo "$as_me:$LINENO: result: no" >&5
   3063 $as_echo "no" >&6; }
   3064 fi
   3065 
   3066 
   3067     test -n "$CC" && break
   3068   done
   3069 fi
   3070 if test -z "$CC"; then
   3071   ac_ct_CC=$CC
   3072   for ac_prog in cl.exe
   3073 do
   3074   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3075 set dummy $ac_prog; ac_word=$2
   3076 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3077 $as_echo_n "checking for $ac_word... " >&6; }
   3078 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3079   $as_echo_n "(cached) " >&6
   3080 else
   3081   if test -n "$ac_ct_CC"; then
   3082   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3083 else
   3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3085 for as_dir in $PATH
   3086 do
   3087   IFS=$as_save_IFS
   3088   test -z "$as_dir" && as_dir=.
   3089   for ac_exec_ext in '' $ac_executable_extensions; do
   3090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3091     ac_cv_prog_ac_ct_CC="$ac_prog"
   3092     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3093     break 2
   3094   fi
   3095 done
   3096 done
   3097 IFS=$as_save_IFS
   3098 
   3099 fi
   3100 fi
   3101 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3102 if test -n "$ac_ct_CC"; then
   3103   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3104 $as_echo "$ac_ct_CC" >&6; }
   3105 else
   3106   { $as_echo "$as_me:$LINENO: result: no" >&5
   3107 $as_echo "no" >&6; }
   3108 fi
   3109 
   3110 
   3111   test -n "$ac_ct_CC" && break
   3112 done
   3113 
   3114   if test "x$ac_ct_CC" = x; then
   3115     CC=""
   3116   else
   3117     case $cross_compiling:$ac_tool_warned in
   3118 yes:)
   3119 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3121 ac_tool_warned=yes ;;
   3122 esac
   3123     CC=$ac_ct_CC
   3124   fi
   3125 fi
   3126 
   3127 fi
   3128 
   3129 
   3130 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3132 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3133 See \`config.log' for more details." >&5
   3134 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3135 See \`config.log' for more details." >&2;}
   3136    { (exit 1); exit 1; }; }; }
   3137 
   3138 # Provide some information about the compiler.
   3139 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3140 set X $ac_compile
   3141 ac_compiler=$2
   3142 { (ac_try="$ac_compiler --version >&5"
   3143 case "(($ac_try" in
   3144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3145   *) ac_try_echo=$ac_try;;
   3146 esac
   3147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3148 $as_echo "$ac_try_echo") >&5
   3149   (eval "$ac_compiler --version >&5") 2>&5
   3150   ac_status=$?
   3151   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3152   (exit $ac_status); }
   3153 { (ac_try="$ac_compiler -v >&5"
   3154 case "(($ac_try" in
   3155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3156   *) ac_try_echo=$ac_try;;
   3157 esac
   3158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3159 $as_echo "$ac_try_echo") >&5
   3160   (eval "$ac_compiler -v >&5") 2>&5
   3161   ac_status=$?
   3162   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3163   (exit $ac_status); }
   3164 { (ac_try="$ac_compiler -V >&5"
   3165 case "(($ac_try" in
   3166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3167   *) ac_try_echo=$ac_try;;
   3168 esac
   3169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3170 $as_echo "$ac_try_echo") >&5
   3171   (eval "$ac_compiler -V >&5") 2>&5
   3172   ac_status=$?
   3173   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3174   (exit $ac_status); }
   3175 
   3176 cat >conftest.$ac_ext <<_ACEOF
   3177 /* confdefs.h.  */
   3178 _ACEOF
   3179 cat confdefs.h >>conftest.$ac_ext
   3180 cat >>conftest.$ac_ext <<_ACEOF
   3181 /* end confdefs.h.  */
   3182 
   3183 int
   3184 main ()
   3185 {
   3186 
   3187   ;
   3188   return 0;
   3189 }
   3190 _ACEOF
   3191 ac_clean_files_save=$ac_clean_files
   3192 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3193 # Try to create an executable without -o first, disregard a.out.
   3194 # It will help us diagnose broken compilers, and finding out an intuition
   3195 # of exeext.
   3196 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3197 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3198 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3199 
   3200 # The possible output files:
   3201 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3202 
   3203 ac_rmfiles=
   3204 for ac_file in $ac_files
   3205 do
   3206   case $ac_file in
   3207     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3208     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3209   esac
   3210 done
   3211 rm -f $ac_rmfiles
   3212 
   3213 if { (ac_try="$ac_link_default"
   3214 case "(($ac_try" in
   3215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3216   *) ac_try_echo=$ac_try;;
   3217 esac
   3218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3219 $as_echo "$ac_try_echo") >&5
   3220   (eval "$ac_link_default") 2>&5
   3221   ac_status=$?
   3222   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3223   (exit $ac_status); }; then
   3224   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3225 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3226 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3227 # so that the user can short-circuit this test for compilers unknown to
   3228 # Autoconf.
   3229 for ac_file in $ac_files ''
   3230 do
   3231   test -f "$ac_file" || continue
   3232   case $ac_file in
   3233     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3234 	;;
   3235     [ab].out )
   3236 	# We found the default executable, but exeext='' is most
   3237 	# certainly right.
   3238 	break;;
   3239     *.* )
   3240         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3241 	then :; else
   3242 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3243 	fi
   3244 	# We set ac_cv_exeext here because the later test for it is not
   3245 	# safe: cross compilers may not add the suffix if given an `-o'
   3246 	# argument, so we may need to know it at that point already.
   3247 	# Even if this section looks crufty: it has the advantage of
   3248 	# actually working.
   3249 	break;;
   3250     * )
   3251 	break;;
   3252   esac
   3253 done
   3254 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3255 
   3256 else
   3257   ac_file=''
   3258 fi
   3259 
   3260 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3261 $as_echo "$ac_file" >&6; }
   3262 if test -z "$ac_file"; then
   3263   $as_echo "$as_me: failed program was:" >&5
   3264 sed 's/^/| /' conftest.$ac_ext >&5
   3265 
   3266 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3268 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3269 See \`config.log' for more details." >&5
   3270 $as_echo "$as_me: error: C compiler cannot create executables
   3271 See \`config.log' for more details." >&2;}
   3272    { (exit 77); exit 77; }; }; }
   3273 fi
   3274 
   3275 ac_exeext=$ac_cv_exeext
   3276 
   3277 # Check that the compiler produces executables we can run.  If not, either
   3278 # the compiler is broken, or we cross compile.
   3279 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3280 $as_echo_n "checking whether the C compiler works... " >&6; }
   3281 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3282 # If not cross compiling, check that we can run a simple program.
   3283 if test "$cross_compiling" != yes; then
   3284   if { ac_try='./$ac_file'
   3285   { (case "(($ac_try" in
   3286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3287   *) ac_try_echo=$ac_try;;
   3288 esac
   3289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3290 $as_echo "$ac_try_echo") >&5
   3291   (eval "$ac_try") 2>&5
   3292   ac_status=$?
   3293   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3294   (exit $ac_status); }; }; then
   3295     cross_compiling=no
   3296   else
   3297     if test "$cross_compiling" = maybe; then
   3298 	cross_compiling=yes
   3299     else
   3300 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3302 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3303 If you meant to cross compile, use \`--host'.
   3304 See \`config.log' for more details." >&5
   3305 $as_echo "$as_me: error: cannot run C compiled programs.
   3306 If you meant to cross compile, use \`--host'.
   3307 See \`config.log' for more details." >&2;}
   3308    { (exit 1); exit 1; }; }; }
   3309     fi
   3310   fi
   3311 fi
   3312 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3313 $as_echo "yes" >&6; }
   3314 
   3315 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3316 ac_clean_files=$ac_clean_files_save
   3317 # Check that the compiler produces executables we can run.  If not, either
   3318 # the compiler is broken, or we cross compile.
   3319 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3320 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3321 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3322 $as_echo "$cross_compiling" >&6; }
   3323 
   3324 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3325 $as_echo_n "checking for suffix of executables... " >&6; }
   3326 if { (ac_try="$ac_link"
   3327 case "(($ac_try" in
   3328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3329   *) ac_try_echo=$ac_try;;
   3330 esac
   3331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3332 $as_echo "$ac_try_echo") >&5
   3333   (eval "$ac_link") 2>&5
   3334   ac_status=$?
   3335   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3336   (exit $ac_status); }; then
   3337   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3338 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3339 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3340 # `rm'.
   3341 for ac_file in conftest.exe conftest conftest.*; do
   3342   test -f "$ac_file" || continue
   3343   case $ac_file in
   3344     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3345     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3346 	  break;;
   3347     * ) break;;
   3348   esac
   3349 done
   3350 else
   3351   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3353 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3354 See \`config.log' for more details." >&5
   3355 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3356 See \`config.log' for more details." >&2;}
   3357    { (exit 1); exit 1; }; }; }
   3358 fi
   3359 
   3360 rm -f conftest$ac_cv_exeext
   3361 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3362 $as_echo "$ac_cv_exeext" >&6; }
   3363 
   3364 rm -f conftest.$ac_ext
   3365 EXEEXT=$ac_cv_exeext
   3366 ac_exeext=$EXEEXT
   3367 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3368 $as_echo_n "checking for suffix of object files... " >&6; }
   3369 if test "${ac_cv_objext+set}" = set; then
   3370   $as_echo_n "(cached) " >&6
   3371 else
   3372   cat >conftest.$ac_ext <<_ACEOF
   3373 /* confdefs.h.  */
   3374 _ACEOF
   3375 cat confdefs.h >>conftest.$ac_ext
   3376 cat >>conftest.$ac_ext <<_ACEOF
   3377 /* end confdefs.h.  */
   3378 
   3379 int
   3380 main ()
   3381 {
   3382 
   3383   ;
   3384   return 0;
   3385 }
   3386 _ACEOF
   3387 rm -f conftest.o conftest.obj
   3388 if { (ac_try="$ac_compile"
   3389 case "(($ac_try" in
   3390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3391   *) ac_try_echo=$ac_try;;
   3392 esac
   3393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3394 $as_echo "$ac_try_echo") >&5
   3395   (eval "$ac_compile") 2>&5
   3396   ac_status=$?
   3397   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3398   (exit $ac_status); }; then
   3399   for ac_file in conftest.o conftest.obj conftest.*; do
   3400   test -f "$ac_file" || continue;
   3401   case $ac_file in
   3402     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3403     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3404        break;;
   3405   esac
   3406 done
   3407 else
   3408   $as_echo "$as_me: failed program was:" >&5
   3409 sed 's/^/| /' conftest.$ac_ext >&5
   3410 
   3411 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3413 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3414 See \`config.log' for more details." >&5
   3415 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3416 See \`config.log' for more details." >&2;}
   3417    { (exit 1); exit 1; }; }; }
   3418 fi
   3419 
   3420 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3421 fi
   3422 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3423 $as_echo "$ac_cv_objext" >&6; }
   3424 OBJEXT=$ac_cv_objext
   3425 ac_objext=$OBJEXT
   3426 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3427 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3428 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3429   $as_echo_n "(cached) " >&6
   3430 else
   3431   cat >conftest.$ac_ext <<_ACEOF
   3432 /* confdefs.h.  */
   3433 _ACEOF
   3434 cat confdefs.h >>conftest.$ac_ext
   3435 cat >>conftest.$ac_ext <<_ACEOF
   3436 /* end confdefs.h.  */
   3437 
   3438 int
   3439 main ()
   3440 {
   3441 #ifndef __GNUC__
   3442        choke me
   3443 #endif
   3444 
   3445   ;
   3446   return 0;
   3447 }
   3448 _ACEOF
   3449 rm -f conftest.$ac_objext
   3450 if { (ac_try="$ac_compile"
   3451 case "(($ac_try" in
   3452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3453   *) ac_try_echo=$ac_try;;
   3454 esac
   3455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3456 $as_echo "$ac_try_echo") >&5
   3457   (eval "$ac_compile") 2>conftest.er1
   3458   ac_status=$?
   3459   grep -v '^ *+' conftest.er1 >conftest.err
   3460   rm -f conftest.er1
   3461   cat conftest.err >&5
   3462   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3463   (exit $ac_status); } && {
   3464 	 test -z "$ac_c_werror_flag" ||
   3465 	 test ! -s conftest.err
   3466        } && test -s conftest.$ac_objext; then
   3467   ac_compiler_gnu=yes
   3468 else
   3469   $as_echo "$as_me: failed program was:" >&5
   3470 sed 's/^/| /' conftest.$ac_ext >&5
   3471 
   3472 	ac_compiler_gnu=no
   3473 fi
   3474 
   3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3476 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3477 
   3478 fi
   3479 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3480 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3481 if test $ac_compiler_gnu = yes; then
   3482   GCC=yes
   3483 else
   3484   GCC=
   3485 fi
   3486 ac_test_CFLAGS=${CFLAGS+set}
   3487 ac_save_CFLAGS=$CFLAGS
   3488 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3489 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3490 if test "${ac_cv_prog_cc_g+set}" = set; then
   3491   $as_echo_n "(cached) " >&6
   3492 else
   3493   ac_save_c_werror_flag=$ac_c_werror_flag
   3494    ac_c_werror_flag=yes
   3495    ac_cv_prog_cc_g=no
   3496    CFLAGS="-g"
   3497    cat >conftest.$ac_ext <<_ACEOF
   3498 /* confdefs.h.  */
   3499 _ACEOF
   3500 cat confdefs.h >>conftest.$ac_ext
   3501 cat >>conftest.$ac_ext <<_ACEOF
   3502 /* end confdefs.h.  */
   3503 
   3504 int
   3505 main ()
   3506 {
   3507 
   3508   ;
   3509   return 0;
   3510 }
   3511 _ACEOF
   3512 rm -f conftest.$ac_objext
   3513 if { (ac_try="$ac_compile"
   3514 case "(($ac_try" in
   3515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3516   *) ac_try_echo=$ac_try;;
   3517 esac
   3518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3519 $as_echo "$ac_try_echo") >&5
   3520   (eval "$ac_compile") 2>conftest.er1
   3521   ac_status=$?
   3522   grep -v '^ *+' conftest.er1 >conftest.err
   3523   rm -f conftest.er1
   3524   cat conftest.err >&5
   3525   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3526   (exit $ac_status); } && {
   3527 	 test -z "$ac_c_werror_flag" ||
   3528 	 test ! -s conftest.err
   3529        } && test -s conftest.$ac_objext; then
   3530   ac_cv_prog_cc_g=yes
   3531 else
   3532   $as_echo "$as_me: failed program was:" >&5
   3533 sed 's/^/| /' conftest.$ac_ext >&5
   3534 
   3535 	CFLAGS=""
   3536       cat >conftest.$ac_ext <<_ACEOF
   3537 /* confdefs.h.  */
   3538 _ACEOF
   3539 cat confdefs.h >>conftest.$ac_ext
   3540 cat >>conftest.$ac_ext <<_ACEOF
   3541 /* end confdefs.h.  */
   3542 
   3543 int
   3544 main ()
   3545 {
   3546 
   3547   ;
   3548   return 0;
   3549 }
   3550 _ACEOF
   3551 rm -f conftest.$ac_objext
   3552 if { (ac_try="$ac_compile"
   3553 case "(($ac_try" in
   3554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3555   *) ac_try_echo=$ac_try;;
   3556 esac
   3557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3558 $as_echo "$ac_try_echo") >&5
   3559   (eval "$ac_compile") 2>conftest.er1
   3560   ac_status=$?
   3561   grep -v '^ *+' conftest.er1 >conftest.err
   3562   rm -f conftest.er1
   3563   cat conftest.err >&5
   3564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3565   (exit $ac_status); } && {
   3566 	 test -z "$ac_c_werror_flag" ||
   3567 	 test ! -s conftest.err
   3568        } && test -s conftest.$ac_objext; then
   3569   :
   3570 else
   3571   $as_echo "$as_me: failed program was:" >&5
   3572 sed 's/^/| /' conftest.$ac_ext >&5
   3573 
   3574 	ac_c_werror_flag=$ac_save_c_werror_flag
   3575 	 CFLAGS="-g"
   3576 	 cat >conftest.$ac_ext <<_ACEOF
   3577 /* confdefs.h.  */
   3578 _ACEOF
   3579 cat confdefs.h >>conftest.$ac_ext
   3580 cat >>conftest.$ac_ext <<_ACEOF
   3581 /* end confdefs.h.  */
   3582 
   3583 int
   3584 main ()
   3585 {
   3586 
   3587   ;
   3588   return 0;
   3589 }
   3590 _ACEOF
   3591 rm -f conftest.$ac_objext
   3592 if { (ac_try="$ac_compile"
   3593 case "(($ac_try" in
   3594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3595   *) ac_try_echo=$ac_try;;
   3596 esac
   3597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3598 $as_echo "$ac_try_echo") >&5
   3599   (eval "$ac_compile") 2>conftest.er1
   3600   ac_status=$?
   3601   grep -v '^ *+' conftest.er1 >conftest.err
   3602   rm -f conftest.er1
   3603   cat conftest.err >&5
   3604   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3605   (exit $ac_status); } && {
   3606 	 test -z "$ac_c_werror_flag" ||
   3607 	 test ! -s conftest.err
   3608        } && test -s conftest.$ac_objext; then
   3609   ac_cv_prog_cc_g=yes
   3610 else
   3611   $as_echo "$as_me: failed program was:" >&5
   3612 sed 's/^/| /' conftest.$ac_ext >&5
   3613 
   3614 
   3615 fi
   3616 
   3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3618 fi
   3619 
   3620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3621 fi
   3622 
   3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3624    ac_c_werror_flag=$ac_save_c_werror_flag
   3625 fi
   3626 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3627 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3628 if test "$ac_test_CFLAGS" = set; then
   3629   CFLAGS=$ac_save_CFLAGS
   3630 elif test $ac_cv_prog_cc_g = yes; then
   3631   if test "$GCC" = yes; then
   3632     CFLAGS="-g -O2"
   3633   else
   3634     CFLAGS="-g"
   3635   fi
   3636 else
   3637   if test "$GCC" = yes; then
   3638     CFLAGS="-O2"
   3639   else
   3640     CFLAGS=
   3641   fi
   3642 fi
   3643 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3644 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3645 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3646   $as_echo_n "(cached) " >&6
   3647 else
   3648   ac_cv_prog_cc_c89=no
   3649 ac_save_CC=$CC
   3650 cat >conftest.$ac_ext <<_ACEOF
   3651 /* confdefs.h.  */
   3652 _ACEOF
   3653 cat confdefs.h >>conftest.$ac_ext
   3654 cat >>conftest.$ac_ext <<_ACEOF
   3655 /* end confdefs.h.  */
   3656 #include <stdarg.h>
   3657 #include <stdio.h>
   3658 #include <sys/types.h>
   3659 #include <sys/stat.h>
   3660 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3661 struct buf { int x; };
   3662 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3663 static char *e (p, i)
   3664      char **p;
   3665      int i;
   3666 {
   3667   return p[i];
   3668 }
   3669 static char *f (char * (*g) (char **, int), char **p, ...)
   3670 {
   3671   char *s;
   3672   va_list v;
   3673   va_start (v,p);
   3674   s = g (p, va_arg (v,int));
   3675   va_end (v);
   3676   return s;
   3677 }
   3678 
   3679 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3680    function prototypes and stuff, but not '\xHH' hex character constants.
   3681    These don't provoke an error unfortunately, instead are silently treated
   3682    as 'x'.  The following induces an error, until -std is added to get
   3683    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3684    array size at least.  It's necessary to write '\x00'==0 to get something
   3685    that's true only with -std.  */
   3686 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3687 
   3688 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3689    inside strings and character constants.  */
   3690 #define FOO(x) 'x'
   3691 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3692 
   3693 int test (int i, double x);
   3694 struct s1 {int (*f) (int a);};
   3695 struct s2 {int (*f) (double a);};
   3696 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3697 int argc;
   3698 char **argv;
   3699 int
   3700 main ()
   3701 {
   3702 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3703   ;
   3704   return 0;
   3705 }
   3706 _ACEOF
   3707 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3708 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3709 do
   3710   CC="$ac_save_CC $ac_arg"
   3711   rm -f conftest.$ac_objext
   3712 if { (ac_try="$ac_compile"
   3713 case "(($ac_try" in
   3714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3715   *) ac_try_echo=$ac_try;;
   3716 esac
   3717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3718 $as_echo "$ac_try_echo") >&5
   3719   (eval "$ac_compile") 2>conftest.er1
   3720   ac_status=$?
   3721   grep -v '^ *+' conftest.er1 >conftest.err
   3722   rm -f conftest.er1
   3723   cat conftest.err >&5
   3724   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3725   (exit $ac_status); } && {
   3726 	 test -z "$ac_c_werror_flag" ||
   3727 	 test ! -s conftest.err
   3728        } && test -s conftest.$ac_objext; then
   3729   ac_cv_prog_cc_c89=$ac_arg
   3730 else
   3731   $as_echo "$as_me: failed program was:" >&5
   3732 sed 's/^/| /' conftest.$ac_ext >&5
   3733 
   3734 
   3735 fi
   3736 
   3737 rm -f core conftest.err conftest.$ac_objext
   3738   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3739 done
   3740 rm -f conftest.$ac_ext
   3741 CC=$ac_save_CC
   3742 
   3743 fi
   3744 # AC_CACHE_VAL
   3745 case "x$ac_cv_prog_cc_c89" in
   3746   x)
   3747     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3748 $as_echo "none needed" >&6; } ;;
   3749   xno)
   3750     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3751 $as_echo "unsupported" >&6; } ;;
   3752   *)
   3753     CC="$CC $ac_cv_prog_cc_c89"
   3754     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3755 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3756 esac
   3757 
   3758 
   3759 ac_ext=c
   3760 ac_cpp='$CPP $CPPFLAGS'
   3761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3764 
   3765 depcc="$CC"   am_compiler_list=
   3766 
   3767 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3768 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3769 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3770   $as_echo_n "(cached) " >&6
   3771 else
   3772   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3773   # We make a subdir and do the tests there.  Otherwise we can end up
   3774   # making bogus files that we don't know about and never remove.  For
   3775   # instance it was reported that on HP-UX the gcc test will end up
   3776   # making a dummy file named `D' -- because `-MD' means `put the output
   3777   # in D'.
   3778   mkdir conftest.dir
   3779   # Copy depcomp to subdir because otherwise we won't find it if we're
   3780   # using a relative directory.
   3781   cp "$am_depcomp" conftest.dir
   3782   cd conftest.dir
   3783   # We will build objects and dependencies in a subdirectory because
   3784   # it helps to detect inapplicable dependency modes.  For instance
   3785   # both Tru64's cc and ICC support -MD to output dependencies as a
   3786   # side effect of compilation, but ICC will put the dependencies in
   3787   # the current directory while Tru64 will put them in the object
   3788   # directory.
   3789   mkdir sub
   3790 
   3791   am_cv_CC_dependencies_compiler_type=none
   3792   if test "$am_compiler_list" = ""; then
   3793      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3794   fi
   3795   am__universal=false
   3796   case " $depcc " in #(
   3797      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3798      esac
   3799 
   3800   for depmode in $am_compiler_list; do
   3801     # Setup a source with many dependencies, because some compilers
   3802     # like to wrap large dependency lists on column 80 (with \), and
   3803     # we should not choose a depcomp mode which is confused by this.
   3804     #
   3805     # We need to recreate these files for each test, as the compiler may
   3806     # overwrite some of them when testing with obscure command lines.
   3807     # This happens at least with the AIX C compiler.
   3808     : > sub/conftest.c
   3809     for i in 1 2 3 4 5 6; do
   3810       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3811       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3812       # Solaris 8's {/usr,}/bin/sh.
   3813       touch sub/conftst$i.h
   3814     done
   3815     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3816 
   3817     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3818     # mode.  It turns out that the SunPro C++ compiler does not properly
   3819     # handle `-M -o', and we need to detect this.  Also, some Intel
   3820     # versions had trouble with output in subdirs
   3821     am__obj=sub/conftest.${OBJEXT-o}
   3822     am__minus_obj="-o $am__obj"
   3823     case $depmode in
   3824     gcc)
   3825       # This depmode causes a compiler race in universal mode.
   3826       test "$am__universal" = false || continue
   3827       ;;
   3828     nosideeffect)
   3829       # after this tag, mechanisms are not by side-effect, so they'll
   3830       # only be used when explicitly requested
   3831       if test "x$enable_dependency_tracking" = xyes; then
   3832 	continue
   3833       else
   3834 	break
   3835       fi
   3836       ;;
   3837     msvisualcpp | msvcmsys)
   3838       # This compiler won't grok `-c -o', but also, the minuso test has
   3839       # not run yet.  These depmodes are late enough in the game, and
   3840       # so weak that their functioning should not be impacted.
   3841       am__obj=conftest.${OBJEXT-o}
   3842       am__minus_obj=
   3843       ;;
   3844     none) break ;;
   3845     esac
   3846     if depmode=$depmode \
   3847        source=sub/conftest.c object=$am__obj \
   3848        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3849        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3850          >/dev/null 2>conftest.err &&
   3851        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3852        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3853        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3854        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3855       # icc doesn't choke on unknown options, it will just issue warnings
   3856       # or remarks (even with -Werror).  So we grep stderr for any message
   3857       # that says an option was ignored or not supported.
   3858       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3859       #   icc: Command line warning: ignoring option '-M'; no argument required
   3860       # The diagnosis changed in icc 8.0:
   3861       #   icc: Command line remark: option '-MP' not supported
   3862       if (grep 'ignoring option' conftest.err ||
   3863           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3864         am_cv_CC_dependencies_compiler_type=$depmode
   3865         break
   3866       fi
   3867     fi
   3868   done
   3869 
   3870   cd ..
   3871   rm -rf conftest.dir
   3872 else
   3873   am_cv_CC_dependencies_compiler_type=none
   3874 fi
   3875 
   3876 fi
   3877 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3878 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3879 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3880 
   3881  if
   3882   test "x$enable_dependency_tracking" != xno \
   3883   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3884   am__fastdepCC_TRUE=
   3885   am__fastdepCC_FALSE='#'
   3886 else
   3887   am__fastdepCC_TRUE='#'
   3888   am__fastdepCC_FALSE=
   3889 fi
   3890 
   3891 
   3892 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3893 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3894 if test "${ac_cv_path_SED+set}" = set; then
   3895   $as_echo_n "(cached) " >&6
   3896 else
   3897             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3898      for ac_i in 1 2 3 4 5 6 7; do
   3899        ac_script="$ac_script$as_nl$ac_script"
   3900      done
   3901      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3902      $as_unset ac_script || ac_script=
   3903      if test -z "$SED"; then
   3904   ac_path_SED_found=false
   3905   # Loop through the user's path and test for each of PROGNAME-LIST
   3906   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3907 for as_dir in $PATH
   3908 do
   3909   IFS=$as_save_IFS
   3910   test -z "$as_dir" && as_dir=.
   3911   for ac_prog in sed gsed; do
   3912     for ac_exec_ext in '' $ac_executable_extensions; do
   3913       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3914       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3915 # Check for GNU ac_path_SED and select it if it is found.
   3916   # Check for GNU $ac_path_SED
   3917 case `"$ac_path_SED" --version 2>&1` in
   3918 *GNU*)
   3919   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3920 *)
   3921   ac_count=0
   3922   $as_echo_n 0123456789 >"conftest.in"
   3923   while :
   3924   do
   3925     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3926     mv "conftest.tmp" "conftest.in"
   3927     cp "conftest.in" "conftest.nl"
   3928     $as_echo '' >> "conftest.nl"
   3929     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3930     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3931     ac_count=`expr $ac_count + 1`
   3932     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3933       # Best one so far, save it but keep looking for a better one
   3934       ac_cv_path_SED="$ac_path_SED"
   3935       ac_path_SED_max=$ac_count
   3936     fi
   3937     # 10*(2^10) chars as input seems more than enough
   3938     test $ac_count -gt 10 && break
   3939   done
   3940   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3941 esac
   3942 
   3943       $ac_path_SED_found && break 3
   3944     done
   3945   done
   3946 done
   3947 IFS=$as_save_IFS
   3948   if test -z "$ac_cv_path_SED"; then
   3949     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   3950 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   3951    { (exit 1); exit 1; }; }
   3952   fi
   3953 else
   3954   ac_cv_path_SED=$SED
   3955 fi
   3956 
   3957 fi
   3958 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   3959 $as_echo "$ac_cv_path_SED" >&6; }
   3960  SED="$ac_cv_path_SED"
   3961   rm -f conftest.sed
   3962 
   3963 test -z "$SED" && SED=sed
   3964 Xsed="$SED -e 1s/^X//"
   3965 
   3966 
   3967 
   3968 
   3969 
   3970 
   3971 
   3972 
   3973 
   3974 
   3975 
   3976 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3977 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3978 if test "${ac_cv_path_GREP+set}" = set; then
   3979   $as_echo_n "(cached) " >&6
   3980 else
   3981   if test -z "$GREP"; then
   3982   ac_path_GREP_found=false
   3983   # Loop through the user's path and test for each of PROGNAME-LIST
   3984   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3985 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3986 do
   3987   IFS=$as_save_IFS
   3988   test -z "$as_dir" && as_dir=.
   3989   for ac_prog in grep ggrep; do
   3990     for ac_exec_ext in '' $ac_executable_extensions; do
   3991       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3992       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3993 # Check for GNU ac_path_GREP and select it if it is found.
   3994   # Check for GNU $ac_path_GREP
   3995 case `"$ac_path_GREP" --version 2>&1` in
   3996 *GNU*)
   3997   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3998 *)
   3999   ac_count=0
   4000   $as_echo_n 0123456789 >"conftest.in"
   4001   while :
   4002   do
   4003     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4004     mv "conftest.tmp" "conftest.in"
   4005     cp "conftest.in" "conftest.nl"
   4006     $as_echo 'GREP' >> "conftest.nl"
   4007     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4008     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4009     ac_count=`expr $ac_count + 1`
   4010     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4011       # Best one so far, save it but keep looking for a better one
   4012       ac_cv_path_GREP="$ac_path_GREP"
   4013       ac_path_GREP_max=$ac_count
   4014     fi
   4015     # 10*(2^10) chars as input seems more than enough
   4016     test $ac_count -gt 10 && break
   4017   done
   4018   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4019 esac
   4020 
   4021       $ac_path_GREP_found && break 3
   4022     done
   4023   done
   4024 done
   4025 IFS=$as_save_IFS
   4026   if test -z "$ac_cv_path_GREP"; then
   4027     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4028 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4029    { (exit 1); exit 1; }; }
   4030   fi
   4031 else
   4032   ac_cv_path_GREP=$GREP
   4033 fi
   4034 
   4035 fi
   4036 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4037 $as_echo "$ac_cv_path_GREP" >&6; }
   4038  GREP="$ac_cv_path_GREP"
   4039 
   4040 
   4041 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4042 $as_echo_n "checking for egrep... " >&6; }
   4043 if test "${ac_cv_path_EGREP+set}" = set; then
   4044   $as_echo_n "(cached) " >&6
   4045 else
   4046   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4047    then ac_cv_path_EGREP="$GREP -E"
   4048    else
   4049      if test -z "$EGREP"; then
   4050   ac_path_EGREP_found=false
   4051   # Loop through the user's path and test for each of PROGNAME-LIST
   4052   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4053 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4054 do
   4055   IFS=$as_save_IFS
   4056   test -z "$as_dir" && as_dir=.
   4057   for ac_prog in egrep; do
   4058     for ac_exec_ext in '' $ac_executable_extensions; do
   4059       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4060       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4061 # Check for GNU ac_path_EGREP and select it if it is found.
   4062   # Check for GNU $ac_path_EGREP
   4063 case `"$ac_path_EGREP" --version 2>&1` in
   4064 *GNU*)
   4065   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4066 *)
   4067   ac_count=0
   4068   $as_echo_n 0123456789 >"conftest.in"
   4069   while :
   4070   do
   4071     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4072     mv "conftest.tmp" "conftest.in"
   4073     cp "conftest.in" "conftest.nl"
   4074     $as_echo 'EGREP' >> "conftest.nl"
   4075     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4076     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4077     ac_count=`expr $ac_count + 1`
   4078     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4079       # Best one so far, save it but keep looking for a better one
   4080       ac_cv_path_EGREP="$ac_path_EGREP"
   4081       ac_path_EGREP_max=$ac_count
   4082     fi
   4083     # 10*(2^10) chars as input seems more than enough
   4084     test $ac_count -gt 10 && break
   4085   done
   4086   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4087 esac
   4088 
   4089       $ac_path_EGREP_found && break 3
   4090     done
   4091   done
   4092 done
   4093 IFS=$as_save_IFS
   4094   if test -z "$ac_cv_path_EGREP"; then
   4095     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4096 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4097    { (exit 1); exit 1; }; }
   4098   fi
   4099 else
   4100   ac_cv_path_EGREP=$EGREP
   4101 fi
   4102 
   4103    fi
   4104 fi
   4105 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4106 $as_echo "$ac_cv_path_EGREP" >&6; }
   4107  EGREP="$ac_cv_path_EGREP"
   4108 
   4109 
   4110 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   4111 $as_echo_n "checking for fgrep... " >&6; }
   4112 if test "${ac_cv_path_FGREP+set}" = set; then
   4113   $as_echo_n "(cached) " >&6
   4114 else
   4115   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4116    then ac_cv_path_FGREP="$GREP -F"
   4117    else
   4118      if test -z "$FGREP"; then
   4119   ac_path_FGREP_found=false
   4120   # Loop through the user's path and test for each of PROGNAME-LIST
   4121   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4122 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4123 do
   4124   IFS=$as_save_IFS
   4125   test -z "$as_dir" && as_dir=.
   4126   for ac_prog in fgrep; do
   4127     for ac_exec_ext in '' $ac_executable_extensions; do
   4128       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4129       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4130 # Check for GNU ac_path_FGREP and select it if it is found.
   4131   # Check for GNU $ac_path_FGREP
   4132 case `"$ac_path_FGREP" --version 2>&1` in
   4133 *GNU*)
   4134   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4135 *)
   4136   ac_count=0
   4137   $as_echo_n 0123456789 >"conftest.in"
   4138   while :
   4139   do
   4140     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4141     mv "conftest.tmp" "conftest.in"
   4142     cp "conftest.in" "conftest.nl"
   4143     $as_echo 'FGREP' >> "conftest.nl"
   4144     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4145     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4146     ac_count=`expr $ac_count + 1`
   4147     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4148       # Best one so far, save it but keep looking for a better one
   4149       ac_cv_path_FGREP="$ac_path_FGREP"
   4150       ac_path_FGREP_max=$ac_count
   4151     fi
   4152     # 10*(2^10) chars as input seems more than enough
   4153     test $ac_count -gt 10 && break
   4154   done
   4155   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4156 esac
   4157 
   4158       $ac_path_FGREP_found && break 3
   4159     done
   4160   done
   4161 done
   4162 IFS=$as_save_IFS
   4163   if test -z "$ac_cv_path_FGREP"; then
   4164     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4165 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4166    { (exit 1); exit 1; }; }
   4167   fi
   4168 else
   4169   ac_cv_path_FGREP=$FGREP
   4170 fi
   4171 
   4172    fi
   4173 fi
   4174 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   4175 $as_echo "$ac_cv_path_FGREP" >&6; }
   4176  FGREP="$ac_cv_path_FGREP"
   4177 
   4178 
   4179 test -z "$GREP" && GREP=grep
   4180 
   4181 
   4182 
   4183 
   4184 
   4185 
   4186 
   4187 
   4188 
   4189 
   4190 
   4191 
   4192 
   4193 
   4194 
   4195 
   4196 
   4197 
   4198 
   4199 # Check whether --with-gnu-ld was given.
   4200 if test "${with_gnu_ld+set}" = set; then
   4201   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4202 else
   4203   with_gnu_ld=no
   4204 fi
   4205 
   4206 ac_prog=ld
   4207 if test "$GCC" = yes; then
   4208   # Check if gcc -print-prog-name=ld gives a path.
   4209   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4210 $as_echo_n "checking for ld used by $CC... " >&6; }
   4211   case $host in
   4212   *-*-mingw*)
   4213     # gcc leaves a trailing carriage return which upsets mingw
   4214     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4215   *)
   4216     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4217   esac
   4218   case $ac_prog in
   4219     # Accept absolute paths.
   4220     [\\/]* | ?:[\\/]*)
   4221       re_direlt='/[^/][^/]*/\.\./'
   4222       # Canonicalize the pathname of ld
   4223       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4224       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4225 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4226       done
   4227       test -z "$LD" && LD="$ac_prog"
   4228       ;;
   4229   "")
   4230     # If it fails, then pretend we aren't using GCC.
   4231     ac_prog=ld
   4232     ;;
   4233   *)
   4234     # If it is relative, then search for the first ld in PATH.
   4235     with_gnu_ld=unknown
   4236     ;;
   4237   esac
   4238 elif test "$with_gnu_ld" = yes; then
   4239   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4240 $as_echo_n "checking for GNU ld... " >&6; }
   4241 else
   4242   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4243 $as_echo_n "checking for non-GNU ld... " >&6; }
   4244 fi
   4245 if test "${lt_cv_path_LD+set}" = set; then
   4246   $as_echo_n "(cached) " >&6
   4247 else
   4248   if test -z "$LD"; then
   4249   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4250   for ac_dir in $PATH; do
   4251     IFS="$lt_save_ifs"
   4252     test -z "$ac_dir" && ac_dir=.
   4253     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4254       lt_cv_path_LD="$ac_dir/$ac_prog"
   4255       # Check to see if the program is GNU ld.  I'd rather use --version,
   4256       # but apparently some variants of GNU ld only accept -v.
   4257       # Break only if it was the GNU/non-GNU ld that we prefer.
   4258       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4259       *GNU* | *'with BFD'*)
   4260 	test "$with_gnu_ld" != no && break
   4261 	;;
   4262       *)
   4263 	test "$with_gnu_ld" != yes && break
   4264 	;;
   4265       esac
   4266     fi
   4267   done
   4268   IFS="$lt_save_ifs"
   4269 else
   4270   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4271 fi
   4272 fi
   4273 
   4274 LD="$lt_cv_path_LD"
   4275 if test -n "$LD"; then
   4276   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4277 $as_echo "$LD" >&6; }
   4278 else
   4279   { $as_echo "$as_me:$LINENO: result: no" >&5
   4280 $as_echo "no" >&6; }
   4281 fi
   4282 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4283 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4284    { (exit 1); exit 1; }; }
   4285 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4286 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4287 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4288   $as_echo_n "(cached) " >&6
   4289 else
   4290   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4291 case `$LD -v 2>&1 </dev/null` in
   4292 *GNU* | *'with BFD'*)
   4293   lt_cv_prog_gnu_ld=yes
   4294   ;;
   4295 *)
   4296   lt_cv_prog_gnu_ld=no
   4297   ;;
   4298 esac
   4299 fi
   4300 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4301 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4302 with_gnu_ld=$lt_cv_prog_gnu_ld
   4303 
   4304 
   4305 
   4306 
   4307 
   4308 
   4309 
   4310 
   4311 
   4312 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   4313 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4314 if test "${lt_cv_path_NM+set}" = set; then
   4315   $as_echo_n "(cached) " >&6
   4316 else
   4317   if test -n "$NM"; then
   4318   # Let the user override the test.
   4319   lt_cv_path_NM="$NM"
   4320 else
   4321   lt_nm_to_check="${ac_tool_prefix}nm"
   4322   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4323     lt_nm_to_check="$lt_nm_to_check nm"
   4324   fi
   4325   for lt_tmp_nm in $lt_nm_to_check; do
   4326     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4327     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4328       IFS="$lt_save_ifs"
   4329       test -z "$ac_dir" && ac_dir=.
   4330       tmp_nm="$ac_dir/$lt_tmp_nm"
   4331       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4332 	# Check to see if the nm accepts a BSD-compat flag.
   4333 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4334 	#   nm: unknown option "B" ignored
   4335 	# Tru64's nm complains that /dev/null is an invalid object file
   4336 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4337 	*/dev/null* | *'Invalid file or object type'*)
   4338 	  lt_cv_path_NM="$tmp_nm -B"
   4339 	  break
   4340 	  ;;
   4341 	*)
   4342 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4343 	  */dev/null*)
   4344 	    lt_cv_path_NM="$tmp_nm -p"
   4345 	    break
   4346 	    ;;
   4347 	  *)
   4348 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4349 	    continue # so that we can try to find one that supports BSD flags
   4350 	    ;;
   4351 	  esac
   4352 	  ;;
   4353 	esac
   4354       fi
   4355     done
   4356     IFS="$lt_save_ifs"
   4357   done
   4358   : ${lt_cv_path_NM=no}
   4359 fi
   4360 fi
   4361 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4362 $as_echo "$lt_cv_path_NM" >&6; }
   4363 if test "$lt_cv_path_NM" != "no"; then
   4364   NM="$lt_cv_path_NM"
   4365 else
   4366   # Didn't find any BSD compatible name lister, look for dumpbin.
   4367   if test -n "$ac_tool_prefix"; then
   4368   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4369   do
   4370     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4371 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4372 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4373 $as_echo_n "checking for $ac_word... " >&6; }
   4374 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   4375   $as_echo_n "(cached) " >&6
   4376 else
   4377   if test -n "$DUMPBIN"; then
   4378   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4379 else
   4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4381 for as_dir in $PATH
   4382 do
   4383   IFS=$as_save_IFS
   4384   test -z "$as_dir" && as_dir=.
   4385   for ac_exec_ext in '' $ac_executable_extensions; do
   4386   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4387     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4388     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4389     break 2
   4390   fi
   4391 done
   4392 done
   4393 IFS=$as_save_IFS
   4394 
   4395 fi
   4396 fi
   4397 DUMPBIN=$ac_cv_prog_DUMPBIN
   4398 if test -n "$DUMPBIN"; then
   4399   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   4400 $as_echo "$DUMPBIN" >&6; }
   4401 else
   4402   { $as_echo "$as_me:$LINENO: result: no" >&5
   4403 $as_echo "no" >&6; }
   4404 fi
   4405 
   4406 
   4407     test -n "$DUMPBIN" && break
   4408   done
   4409 fi
   4410 if test -z "$DUMPBIN"; then
   4411   ac_ct_DUMPBIN=$DUMPBIN
   4412   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4413 do
   4414   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4415 set dummy $ac_prog; ac_word=$2
   4416 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4417 $as_echo_n "checking for $ac_word... " >&6; }
   4418 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   4419   $as_echo_n "(cached) " >&6
   4420 else
   4421   if test -n "$ac_ct_DUMPBIN"; then
   4422   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4423 else
   4424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4425 for as_dir in $PATH
   4426 do
   4427   IFS=$as_save_IFS
   4428   test -z "$as_dir" && as_dir=.
   4429   for ac_exec_ext in '' $ac_executable_extensions; do
   4430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4431     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4432     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4433     break 2
   4434   fi
   4435 done
   4436 done
   4437 IFS=$as_save_IFS
   4438 
   4439 fi
   4440 fi
   4441 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4442 if test -n "$ac_ct_DUMPBIN"; then
   4443   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   4444 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4445 else
   4446   { $as_echo "$as_me:$LINENO: result: no" >&5
   4447 $as_echo "no" >&6; }
   4448 fi
   4449 
   4450 
   4451   test -n "$ac_ct_DUMPBIN" && break
   4452 done
   4453 
   4454   if test "x$ac_ct_DUMPBIN" = x; then
   4455     DUMPBIN=":"
   4456   else
   4457     case $cross_compiling:$ac_tool_warned in
   4458 yes:)
   4459 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4461 ac_tool_warned=yes ;;
   4462 esac
   4463     DUMPBIN=$ac_ct_DUMPBIN
   4464   fi
   4465 fi
   4466 
   4467 
   4468   if test "$DUMPBIN" != ":"; then
   4469     NM="$DUMPBIN"
   4470   fi
   4471 fi
   4472 test -z "$NM" && NM=nm
   4473 
   4474 
   4475 
   4476 
   4477 
   4478 
   4479 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   4480 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4481 if test "${lt_cv_nm_interface+set}" = set; then
   4482   $as_echo_n "(cached) " >&6
   4483 else
   4484   lt_cv_nm_interface="BSD nm"
   4485   echo "int some_variable = 0;" > conftest.$ac_ext
   4486   (eval echo "\"\$as_me:4486: $ac_compile\"" >&5)
   4487   (eval "$ac_compile" 2>conftest.err)
   4488   cat conftest.err >&5
   4489   (eval echo "\"\$as_me:4489: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4490   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4491   cat conftest.err >&5
   4492   (eval echo "\"\$as_me:4492: output\"" >&5)
   4493   cat conftest.out >&5
   4494   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4495     lt_cv_nm_interface="MS dumpbin"
   4496   fi
   4497   rm -f conftest*
   4498 fi
   4499 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   4500 $as_echo "$lt_cv_nm_interface" >&6; }
   4501 
   4502 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4503 $as_echo_n "checking whether ln -s works... " >&6; }
   4504 LN_S=$as_ln_s
   4505 if test "$LN_S" = "ln -s"; then
   4506   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4507 $as_echo "yes" >&6; }
   4508 else
   4509   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4510 $as_echo "no, using $LN_S" >&6; }
   4511 fi
   4512 
   4513 # find the maximum length of command line arguments
   4514 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   4515 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4516 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   4517   $as_echo_n "(cached) " >&6
   4518 else
   4519     i=0
   4520   teststring="ABCD"
   4521 
   4522   case $build_os in
   4523   msdosdjgpp*)
   4524     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4525     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4526     # during glob expansion).  Even if it were fixed, the result of this
   4527     # check would be larger than it should be.
   4528     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4529     ;;
   4530 
   4531   gnu*)
   4532     # Under GNU Hurd, this test is not required because there is
   4533     # no limit to the length of command line arguments.
   4534     # Libtool will interpret -1 as no limit whatsoever
   4535     lt_cv_sys_max_cmd_len=-1;
   4536     ;;
   4537 
   4538   cygwin* | mingw* | cegcc*)
   4539     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4540     # about 5 minutes as the teststring grows exponentially.
   4541     # Worse, since 9x/ME are not pre-emptively multitasking,
   4542     # you end up with a "frozen" computer, even though with patience
   4543     # the test eventually succeeds (with a max line length of 256k).
   4544     # Instead, let's just punt: use the minimum linelength reported by
   4545     # all of the supported platforms: 8192 (on NT/2K/XP).
   4546     lt_cv_sys_max_cmd_len=8192;
   4547     ;;
   4548 
   4549   amigaos*)
   4550     # On AmigaOS with pdksh, this test takes hours, literally.
   4551     # So we just punt and use a minimum line length of 8192.
   4552     lt_cv_sys_max_cmd_len=8192;
   4553     ;;
   4554 
   4555   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4556     # This has been around since 386BSD, at least.  Likely further.
   4557     if test -x /sbin/sysctl; then
   4558       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4559     elif test -x /usr/sbin/sysctl; then
   4560       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4561     else
   4562       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4563     fi
   4564     # And add a safety zone
   4565     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4566     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4567     ;;
   4568 
   4569   interix*)
   4570     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4571     lt_cv_sys_max_cmd_len=196608
   4572     ;;
   4573 
   4574   osf*)
   4575     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4576     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4577     # nice to cause kernel panics so lets avoid the loop below.
   4578     # First set a reasonable default.
   4579     lt_cv_sys_max_cmd_len=16384
   4580     #
   4581     if test -x /sbin/sysconfig; then
   4582       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4583         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4584       esac
   4585     fi
   4586     ;;
   4587   sco3.2v5*)
   4588     lt_cv_sys_max_cmd_len=102400
   4589     ;;
   4590   sysv5* | sco5v6* | sysv4.2uw2*)
   4591     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4592     if test -n "$kargmax"; then
   4593       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4594     else
   4595       lt_cv_sys_max_cmd_len=32768
   4596     fi
   4597     ;;
   4598   *)
   4599     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4600     if test -n "$lt_cv_sys_max_cmd_len"; then
   4601       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4602       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4603     else
   4604       # Make teststring a little bigger before we do anything with it.
   4605       # a 1K string should be a reasonable start.
   4606       for i in 1 2 3 4 5 6 7 8 ; do
   4607         teststring=$teststring$teststring
   4608       done
   4609       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4610       # If test is not a shell built-in, we'll probably end up computing a
   4611       # maximum length that is only half of the actual maximum length, but
   4612       # we can't tell.
   4613       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   4614 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   4615 	      test $i != 17 # 1/2 MB should be enough
   4616       do
   4617         i=`expr $i + 1`
   4618         teststring=$teststring$teststring
   4619       done
   4620       # Only check the string length outside the loop.
   4621       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4622       teststring=
   4623       # Add a significant safety factor because C++ compilers can tack on
   4624       # massive amounts of additional arguments before passing them to the
   4625       # linker.  It appears as though 1/2 is a usable value.
   4626       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4627     fi
   4628     ;;
   4629   esac
   4630 
   4631 fi
   4632 
   4633 if test -n $lt_cv_sys_max_cmd_len ; then
   4634   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   4635 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4636 else
   4637   { $as_echo "$as_me:$LINENO: result: none" >&5
   4638 $as_echo "none" >&6; }
   4639 fi
   4640 max_cmd_len=$lt_cv_sys_max_cmd_len
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 : ${CP="cp -f"}
   4648 : ${MV="mv -f"}
   4649 : ${RM="rm -f"}
   4650 
   4651 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   4652 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4653 # Try some XSI features
   4654 xsi_shell=no
   4655 ( _lt_dummy="a/b/c"
   4656   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   4657       = c,a/b,, \
   4658     && eval 'test $(( 1 + 1 )) -eq 2 \
   4659     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4660   && xsi_shell=yes
   4661 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   4662 $as_echo "$xsi_shell" >&6; }
   4663 
   4664 
   4665 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   4666 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4667 lt_shell_append=no
   4668 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4669     >/dev/null 2>&1 \
   4670   && lt_shell_append=yes
   4671 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   4672 $as_echo "$lt_shell_append" >&6; }
   4673 
   4674 
   4675 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4676   lt_unset=unset
   4677 else
   4678   lt_unset=false
   4679 fi
   4680 
   4681 
   4682 
   4683 
   4684 
   4685 # test EBCDIC or ASCII
   4686 case `echo X|tr X '\101'` in
   4687  A) # ASCII based system
   4688     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4689   lt_SP2NL='tr \040 \012'
   4690   lt_NL2SP='tr \015\012 \040\040'
   4691   ;;
   4692  *) # EBCDIC based system
   4693   lt_SP2NL='tr \100 \n'
   4694   lt_NL2SP='tr \r\n \100\100'
   4695   ;;
   4696 esac
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 
   4706 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4707 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4708 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4709   $as_echo_n "(cached) " >&6
   4710 else
   4711   lt_cv_ld_reload_flag='-r'
   4712 fi
   4713 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4714 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4715 reload_flag=$lt_cv_ld_reload_flag
   4716 case $reload_flag in
   4717 "" | " "*) ;;
   4718 *) reload_flag=" $reload_flag" ;;
   4719 esac
   4720 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4721 case $host_os in
   4722   darwin*)
   4723     if test "$GCC" = yes; then
   4724       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4725     else
   4726       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4727     fi
   4728     ;;
   4729 esac
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 if test -n "$ac_tool_prefix"; then
   4740   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4741 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4742 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4743 $as_echo_n "checking for $ac_word... " >&6; }
   4744 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   4745   $as_echo_n "(cached) " >&6
   4746 else
   4747   if test -n "$OBJDUMP"; then
   4748   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4749 else
   4750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4751 for as_dir in $PATH
   4752 do
   4753   IFS=$as_save_IFS
   4754   test -z "$as_dir" && as_dir=.
   4755   for ac_exec_ext in '' $ac_executable_extensions; do
   4756   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4757     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4758     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4759     break 2
   4760   fi
   4761 done
   4762 done
   4763 IFS=$as_save_IFS
   4764 
   4765 fi
   4766 fi
   4767 OBJDUMP=$ac_cv_prog_OBJDUMP
   4768 if test -n "$OBJDUMP"; then
   4769   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   4770 $as_echo "$OBJDUMP" >&6; }
   4771 else
   4772   { $as_echo "$as_me:$LINENO: result: no" >&5
   4773 $as_echo "no" >&6; }
   4774 fi
   4775 
   4776 
   4777 fi
   4778 if test -z "$ac_cv_prog_OBJDUMP"; then
   4779   ac_ct_OBJDUMP=$OBJDUMP
   4780   # Extract the first word of "objdump", so it can be a program name with args.
   4781 set dummy objdump; ac_word=$2
   4782 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4783 $as_echo_n "checking for $ac_word... " >&6; }
   4784 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   4785   $as_echo_n "(cached) " >&6
   4786 else
   4787   if test -n "$ac_ct_OBJDUMP"; then
   4788   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4789 else
   4790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4791 for as_dir in $PATH
   4792 do
   4793   IFS=$as_save_IFS
   4794   test -z "$as_dir" && as_dir=.
   4795   for ac_exec_ext in '' $ac_executable_extensions; do
   4796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4797     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4798     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4799     break 2
   4800   fi
   4801 done
   4802 done
   4803 IFS=$as_save_IFS
   4804 
   4805 fi
   4806 fi
   4807 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4808 if test -n "$ac_ct_OBJDUMP"; then
   4809   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   4810 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4811 else
   4812   { $as_echo "$as_me:$LINENO: result: no" >&5
   4813 $as_echo "no" >&6; }
   4814 fi
   4815 
   4816   if test "x$ac_ct_OBJDUMP" = x; then
   4817     OBJDUMP="false"
   4818   else
   4819     case $cross_compiling:$ac_tool_warned in
   4820 yes:)
   4821 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4823 ac_tool_warned=yes ;;
   4824 esac
   4825     OBJDUMP=$ac_ct_OBJDUMP
   4826   fi
   4827 else
   4828   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4829 fi
   4830 
   4831 test -z "$OBJDUMP" && OBJDUMP=objdump
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4842 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4843 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4844   $as_echo_n "(cached) " >&6
   4845 else
   4846   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4847 lt_cv_file_magic_test_file=
   4848 lt_cv_deplibs_check_method='unknown'
   4849 # Need to set the preceding variable on all platforms that support
   4850 # interlibrary dependencies.
   4851 # 'none' -- dependencies not supported.
   4852 # `unknown' -- same as none, but documents that we really don't know.
   4853 # 'pass_all' -- all dependencies passed with no checks.
   4854 # 'test_compile' -- check by making test program.
   4855 # 'file_magic [[regex]]' -- check by looking for files in library path
   4856 # which responds to the $file_magic_cmd with a given extended regex.
   4857 # If you have `file' or equivalent on your system and you're not sure
   4858 # whether `pass_all' will *always* work, you probably want this one.
   4859 
   4860 case $host_os in
   4861 aix[4-9]*)
   4862   lt_cv_deplibs_check_method=pass_all
   4863   ;;
   4864 
   4865 beos*)
   4866   lt_cv_deplibs_check_method=pass_all
   4867   ;;
   4868 
   4869 bsdi[45]*)
   4870   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4871   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4872   lt_cv_file_magic_test_file=/shlib/libc.so
   4873   ;;
   4874 
   4875 cygwin*)
   4876   # func_win32_libid is a shell function defined in ltmain.sh
   4877   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4878   lt_cv_file_magic_cmd='func_win32_libid'
   4879   ;;
   4880 
   4881 mingw* | pw32*)
   4882   # Base MSYS/MinGW do not provide the 'file' command needed by
   4883   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4884   # unless we find 'file', for example because we are cross-compiling.
   4885   if ( file / ) >/dev/null 2>&1; then
   4886     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4887     lt_cv_file_magic_cmd='func_win32_libid'
   4888   else
   4889     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4890     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4891   fi
   4892   ;;
   4893 
   4894 cegcc)
   4895   # use the weaker test based on 'objdump'. See mingw*.
   4896   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4897   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4898   ;;
   4899 
   4900 darwin* | rhapsody*)
   4901   lt_cv_deplibs_check_method=pass_all
   4902   ;;
   4903 
   4904 freebsd* | dragonfly*)
   4905   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4906     case $host_cpu in
   4907     i*86 )
   4908       # Not sure whether the presence of OpenBSD here was a mistake.
   4909       # Let's accept both of them until this is cleared up.
   4910       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4911       lt_cv_file_magic_cmd=/usr/bin/file
   4912       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4913       ;;
   4914     esac
   4915   else
   4916     lt_cv_deplibs_check_method=pass_all
   4917   fi
   4918   ;;
   4919 
   4920 gnu*)
   4921   lt_cv_deplibs_check_method=pass_all
   4922   ;;
   4923 
   4924 hpux10.20* | hpux11*)
   4925   lt_cv_file_magic_cmd=/usr/bin/file
   4926   case $host_cpu in
   4927   ia64*)
   4928     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4929     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4930     ;;
   4931   hppa*64*)
   4932     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]'
   4933     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4934     ;;
   4935   *)
   4936     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4937     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4938     ;;
   4939   esac
   4940   ;;
   4941 
   4942 interix[3-9]*)
   4943   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4944   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4945   ;;
   4946 
   4947 irix5* | irix6* | nonstopux*)
   4948   case $LD in
   4949   *-32|*"-32 ") libmagic=32-bit;;
   4950   *-n32|*"-n32 ") libmagic=N32;;
   4951   *-64|*"-64 ") libmagic=64-bit;;
   4952   *) libmagic=never-match;;
   4953   esac
   4954   lt_cv_deplibs_check_method=pass_all
   4955   ;;
   4956 
   4957 # This must be Linux ELF.
   4958 linux* | k*bsd*-gnu)
   4959   lt_cv_deplibs_check_method=pass_all
   4960   ;;
   4961 
   4962 netbsd*)
   4963   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4964     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4965   else
   4966     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4967   fi
   4968   ;;
   4969 
   4970 newos6*)
   4971   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4972   lt_cv_file_magic_cmd=/usr/bin/file
   4973   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4974   ;;
   4975 
   4976 *nto* | *qnx*)
   4977   lt_cv_deplibs_check_method=pass_all
   4978   ;;
   4979 
   4980 openbsd*)
   4981   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4982     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4983   else
   4984     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4985   fi
   4986   ;;
   4987 
   4988 osf3* | osf4* | osf5*)
   4989   lt_cv_deplibs_check_method=pass_all
   4990   ;;
   4991 
   4992 rdos*)
   4993   lt_cv_deplibs_check_method=pass_all
   4994   ;;
   4995 
   4996 solaris*)
   4997   lt_cv_deplibs_check_method=pass_all
   4998   ;;
   4999 
   5000 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5001   lt_cv_deplibs_check_method=pass_all
   5002   ;;
   5003 
   5004 sysv4 | sysv4.3*)
   5005   case $host_vendor in
   5006   motorola)
   5007     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]'
   5008     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5009     ;;
   5010   ncr)
   5011     lt_cv_deplibs_check_method=pass_all
   5012     ;;
   5013   sequent)
   5014     lt_cv_file_magic_cmd='/bin/file'
   5015     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5016     ;;
   5017   sni)
   5018     lt_cv_file_magic_cmd='/bin/file'
   5019     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5020     lt_cv_file_magic_test_file=/lib/libc.so
   5021     ;;
   5022   siemens)
   5023     lt_cv_deplibs_check_method=pass_all
   5024     ;;
   5025   pc)
   5026     lt_cv_deplibs_check_method=pass_all
   5027     ;;
   5028   esac
   5029   ;;
   5030 
   5031 tpf*)
   5032   lt_cv_deplibs_check_method=pass_all
   5033   ;;
   5034 esac
   5035 
   5036 fi
   5037 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   5038 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5039 file_magic_cmd=$lt_cv_file_magic_cmd
   5040 deplibs_check_method=$lt_cv_deplibs_check_method
   5041 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 if test -n "$ac_tool_prefix"; then
   5055   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5056 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5057 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5058 $as_echo_n "checking for $ac_word... " >&6; }
   5059 if test "${ac_cv_prog_AR+set}" = set; then
   5060   $as_echo_n "(cached) " >&6
   5061 else
   5062   if test -n "$AR"; then
   5063   ac_cv_prog_AR="$AR" # Let the user override the test.
   5064 else
   5065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5066 for as_dir in $PATH
   5067 do
   5068   IFS=$as_save_IFS
   5069   test -z "$as_dir" && as_dir=.
   5070   for ac_exec_ext in '' $ac_executable_extensions; do
   5071   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5072     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5073     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5074     break 2
   5075   fi
   5076 done
   5077 done
   5078 IFS=$as_save_IFS
   5079 
   5080 fi
   5081 fi
   5082 AR=$ac_cv_prog_AR
   5083 if test -n "$AR"; then
   5084   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   5085 $as_echo "$AR" >&6; }
   5086 else
   5087   { $as_echo "$as_me:$LINENO: result: no" >&5
   5088 $as_echo "no" >&6; }
   5089 fi
   5090 
   5091 
   5092 fi
   5093 if test -z "$ac_cv_prog_AR"; then
   5094   ac_ct_AR=$AR
   5095   # Extract the first word of "ar", so it can be a program name with args.
   5096 set dummy ar; ac_word=$2
   5097 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5098 $as_echo_n "checking for $ac_word... " >&6; }
   5099 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5100   $as_echo_n "(cached) " >&6
   5101 else
   5102   if test -n "$ac_ct_AR"; then
   5103   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5104 else
   5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5106 for as_dir in $PATH
   5107 do
   5108   IFS=$as_save_IFS
   5109   test -z "$as_dir" && as_dir=.
   5110   for ac_exec_ext in '' $ac_executable_extensions; do
   5111   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5112     ac_cv_prog_ac_ct_AR="ar"
   5113     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5114     break 2
   5115   fi
   5116 done
   5117 done
   5118 IFS=$as_save_IFS
   5119 
   5120 fi
   5121 fi
   5122 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5123 if test -n "$ac_ct_AR"; then
   5124   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5125 $as_echo "$ac_ct_AR" >&6; }
   5126 else
   5127   { $as_echo "$as_me:$LINENO: result: no" >&5
   5128 $as_echo "no" >&6; }
   5129 fi
   5130 
   5131   if test "x$ac_ct_AR" = x; then
   5132     AR="false"
   5133   else
   5134     case $cross_compiling:$ac_tool_warned in
   5135 yes:)
   5136 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5138 ac_tool_warned=yes ;;
   5139 esac
   5140     AR=$ac_ct_AR
   5141   fi
   5142 else
   5143   AR="$ac_cv_prog_AR"
   5144 fi
   5145 
   5146 test -z "$AR" && AR=ar
   5147 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 if test -n "$ac_tool_prefix"; then
   5160   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5161 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5162 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5163 $as_echo_n "checking for $ac_word... " >&6; }
   5164 if test "${ac_cv_prog_STRIP+set}" = set; then
   5165   $as_echo_n "(cached) " >&6
   5166 else
   5167   if test -n "$STRIP"; then
   5168   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5169 else
   5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5171 for as_dir in $PATH
   5172 do
   5173   IFS=$as_save_IFS
   5174   test -z "$as_dir" && as_dir=.
   5175   for ac_exec_ext in '' $ac_executable_extensions; do
   5176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5177     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5178     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5179     break 2
   5180   fi
   5181 done
   5182 done
   5183 IFS=$as_save_IFS
   5184 
   5185 fi
   5186 fi
   5187 STRIP=$ac_cv_prog_STRIP
   5188 if test -n "$STRIP"; then
   5189   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   5190 $as_echo "$STRIP" >&6; }
   5191 else
   5192   { $as_echo "$as_me:$LINENO: result: no" >&5
   5193 $as_echo "no" >&6; }
   5194 fi
   5195 
   5196 
   5197 fi
   5198 if test -z "$ac_cv_prog_STRIP"; then
   5199   ac_ct_STRIP=$STRIP
   5200   # Extract the first word of "strip", so it can be a program name with args.
   5201 set dummy strip; ac_word=$2
   5202 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5203 $as_echo_n "checking for $ac_word... " >&6; }
   5204 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   5205   $as_echo_n "(cached) " >&6
   5206 else
   5207   if test -n "$ac_ct_STRIP"; then
   5208   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5209 else
   5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5211 for as_dir in $PATH
   5212 do
   5213   IFS=$as_save_IFS
   5214   test -z "$as_dir" && as_dir=.
   5215   for ac_exec_ext in '' $ac_executable_extensions; do
   5216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5217     ac_cv_prog_ac_ct_STRIP="strip"
   5218     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5219     break 2
   5220   fi
   5221 done
   5222 done
   5223 IFS=$as_save_IFS
   5224 
   5225 fi
   5226 fi
   5227 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5228 if test -n "$ac_ct_STRIP"; then
   5229   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   5230 $as_echo "$ac_ct_STRIP" >&6; }
   5231 else
   5232   { $as_echo "$as_me:$LINENO: result: no" >&5
   5233 $as_echo "no" >&6; }
   5234 fi
   5235 
   5236   if test "x$ac_ct_STRIP" = x; then
   5237     STRIP=":"
   5238   else
   5239     case $cross_compiling:$ac_tool_warned in
   5240 yes:)
   5241 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5243 ac_tool_warned=yes ;;
   5244 esac
   5245     STRIP=$ac_ct_STRIP
   5246   fi
   5247 else
   5248   STRIP="$ac_cv_prog_STRIP"
   5249 fi
   5250 
   5251 test -z "$STRIP" && STRIP=:
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 if test -n "$ac_tool_prefix"; then
   5259   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5260 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5261 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5262 $as_echo_n "checking for $ac_word... " >&6; }
   5263 if test "${ac_cv_prog_RANLIB+set}" = set; then
   5264   $as_echo_n "(cached) " >&6
   5265 else
   5266   if test -n "$RANLIB"; then
   5267   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5268 else
   5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5270 for as_dir in $PATH
   5271 do
   5272   IFS=$as_save_IFS
   5273   test -z "$as_dir" && as_dir=.
   5274   for ac_exec_ext in '' $ac_executable_extensions; do
   5275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5276     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5277     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5278     break 2
   5279   fi
   5280 done
   5281 done
   5282 IFS=$as_save_IFS
   5283 
   5284 fi
   5285 fi
   5286 RANLIB=$ac_cv_prog_RANLIB
   5287 if test -n "$RANLIB"; then
   5288   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   5289 $as_echo "$RANLIB" >&6; }
   5290 else
   5291   { $as_echo "$as_me:$LINENO: result: no" >&5
   5292 $as_echo "no" >&6; }
   5293 fi
   5294 
   5295 
   5296 fi
   5297 if test -z "$ac_cv_prog_RANLIB"; then
   5298   ac_ct_RANLIB=$RANLIB
   5299   # Extract the first word of "ranlib", so it can be a program name with args.
   5300 set dummy ranlib; ac_word=$2
   5301 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5302 $as_echo_n "checking for $ac_word... " >&6; }
   5303 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   5304   $as_echo_n "(cached) " >&6
   5305 else
   5306   if test -n "$ac_ct_RANLIB"; then
   5307   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5308 else
   5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5310 for as_dir in $PATH
   5311 do
   5312   IFS=$as_save_IFS
   5313   test -z "$as_dir" && as_dir=.
   5314   for ac_exec_ext in '' $ac_executable_extensions; do
   5315   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5316     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5317     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5318     break 2
   5319   fi
   5320 done
   5321 done
   5322 IFS=$as_save_IFS
   5323 
   5324 fi
   5325 fi
   5326 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5327 if test -n "$ac_ct_RANLIB"; then
   5328   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   5329 $as_echo "$ac_ct_RANLIB" >&6; }
   5330 else
   5331   { $as_echo "$as_me:$LINENO: result: no" >&5
   5332 $as_echo "no" >&6; }
   5333 fi
   5334 
   5335   if test "x$ac_ct_RANLIB" = x; then
   5336     RANLIB=":"
   5337   else
   5338     case $cross_compiling:$ac_tool_warned in
   5339 yes:)
   5340 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5342 ac_tool_warned=yes ;;
   5343 esac
   5344     RANLIB=$ac_ct_RANLIB
   5345   fi
   5346 else
   5347   RANLIB="$ac_cv_prog_RANLIB"
   5348 fi
   5349 
   5350 test -z "$RANLIB" && RANLIB=:
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 # Determine commands to create old-style static archives.
   5358 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5359 old_postinstall_cmds='chmod 644 $oldlib'
   5360 old_postuninstall_cmds=
   5361 
   5362 if test -n "$RANLIB"; then
   5363   case $host_os in
   5364   openbsd*)
   5365     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5366     ;;
   5367   *)
   5368     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5369     ;;
   5370   esac
   5371   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5372 fi
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 # If no C compiler was specified, use CC.
   5408 LTCC=${LTCC-"$CC"}
   5409 
   5410 # If no C compiler flags were specified, use CFLAGS.
   5411 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5412 
   5413 # Allow CC to be a program name with arguments.
   5414 compiler=$CC
   5415 
   5416 
   5417 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5418 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   5419 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5420 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   5421   $as_echo_n "(cached) " >&6
   5422 else
   5423 
   5424 # These are sane defaults that work on at least a few old systems.
   5425 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5426 
   5427 # Character class describing NM global symbol codes.
   5428 symcode='[BCDEGRST]'
   5429 
   5430 # Regexp to match symbols that can be accessed directly from C.
   5431 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5432 
   5433 # Define system-specific variables.
   5434 case $host_os in
   5435 aix*)
   5436   symcode='[BCDT]'
   5437   ;;
   5438 cygwin* | mingw* | pw32* | cegcc*)
   5439   symcode='[ABCDGISTW]'
   5440   ;;
   5441 hpux*)
   5442   if test "$host_cpu" = ia64; then
   5443     symcode='[ABCDEGRST]'
   5444   fi
   5445   ;;
   5446 irix* | nonstopux*)
   5447   symcode='[BCDEGRST]'
   5448   ;;
   5449 osf*)
   5450   symcode='[BCDEGQRST]'
   5451   ;;
   5452 solaris*)
   5453   symcode='[BDRT]'
   5454   ;;
   5455 sco3.2v5*)
   5456   symcode='[DT]'
   5457   ;;
   5458 sysv4.2uw2*)
   5459   symcode='[DT]'
   5460   ;;
   5461 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5462   symcode='[ABDT]'
   5463   ;;
   5464 sysv4)
   5465   symcode='[DFNSTU]'
   5466   ;;
   5467 esac
   5468 
   5469 # If we're using GNU nm, then use its standard symbol codes.
   5470 case `$NM -V 2>&1` in
   5471 *GNU* | *'with BFD'*)
   5472   symcode='[ABCDGIRSTW]' ;;
   5473 esac
   5474 
   5475 # Transform an extracted symbol line into a proper C declaration.
   5476 # Some systems (esp. on ia64) link data and code symbols differently,
   5477 # so use this general approach.
   5478 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5479 
   5480 # Transform an extracted symbol line into symbol name and symbol address
   5481 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5482 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'"
   5483 
   5484 # Handle CRLF in mingw tool chain
   5485 opt_cr=
   5486 case $build_os in
   5487 mingw*)
   5488   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5489   ;;
   5490 esac
   5491 
   5492 # Try without a prefix underscore, then with it.
   5493 for ac_symprfx in "" "_"; do
   5494 
   5495   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5496   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5497 
   5498   # Write the raw and C identifiers.
   5499   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5500     # Fake it for dumpbin and say T for any non-static function
   5501     # and D for any global variable.
   5502     # Also find C++ and __fastcall symbols from MSVC++,
   5503     # which start with @ or ?.
   5504     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5505 "     {last_section=section; section=\$ 3};"\
   5506 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5507 "     \$ 0!~/External *\|/{next};"\
   5508 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5509 "     {if(hide[section]) next};"\
   5510 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5511 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5512 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5513 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5514 "     ' prfx=^$ac_symprfx"
   5515   else
   5516     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5517   fi
   5518 
   5519   # Check to see that the pipe works correctly.
   5520   pipe_works=no
   5521 
   5522   rm -f conftest*
   5523   cat > conftest.$ac_ext <<_LT_EOF
   5524 #ifdef __cplusplus
   5525 extern "C" {
   5526 #endif
   5527 char nm_test_var;
   5528 void nm_test_func(void);
   5529 void nm_test_func(void){}
   5530 #ifdef __cplusplus
   5531 }
   5532 #endif
   5533 int main(){nm_test_var='a';nm_test_func();return(0);}
   5534 _LT_EOF
   5535 
   5536   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5537   (eval $ac_compile) 2>&5
   5538   ac_status=$?
   5539   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5540   (exit $ac_status); }; then
   5541     # Now try to grab the symbols.
   5542     nlist=conftest.nm
   5543     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   5544   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5545   ac_status=$?
   5546   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5547   (exit $ac_status); } && test -s "$nlist"; then
   5548       # Try sorting and uniquifying the output.
   5549       if sort "$nlist" | uniq > "$nlist"T; then
   5550 	mv -f "$nlist"T "$nlist"
   5551       else
   5552 	rm -f "$nlist"T
   5553       fi
   5554 
   5555       # Make sure that we snagged all the symbols we need.
   5556       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5557 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5558 	  cat <<_LT_EOF > conftest.$ac_ext
   5559 #ifdef __cplusplus
   5560 extern "C" {
   5561 #endif
   5562 
   5563 _LT_EOF
   5564 	  # Now generate the symbol file.
   5565 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5566 
   5567 	  cat <<_LT_EOF >> conftest.$ac_ext
   5568 
   5569 /* The mapping between symbol names and symbols.  */
   5570 const struct {
   5571   const char *name;
   5572   void       *address;
   5573 }
   5574 lt__PROGRAM__LTX_preloaded_symbols[] =
   5575 {
   5576   { "@PROGRAM@", (void *) 0 },
   5577 _LT_EOF
   5578 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5579 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5580   {0, (void *) 0}
   5581 };
   5582 
   5583 /* This works around a problem in FreeBSD linker */
   5584 #ifdef FREEBSD_WORKAROUND
   5585 static const void *lt_preloaded_setup() {
   5586   return lt__PROGRAM__LTX_preloaded_symbols;
   5587 }
   5588 #endif
   5589 
   5590 #ifdef __cplusplus
   5591 }
   5592 #endif
   5593 _LT_EOF
   5594 	  # Now try linking the two files.
   5595 	  mv conftest.$ac_objext conftstm.$ac_objext
   5596 	  lt_save_LIBS="$LIBS"
   5597 	  lt_save_CFLAGS="$CFLAGS"
   5598 	  LIBS="conftstm.$ac_objext"
   5599 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5600 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5601   (eval $ac_link) 2>&5
   5602   ac_status=$?
   5603   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5604   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   5605 	    pipe_works=yes
   5606 	  fi
   5607 	  LIBS="$lt_save_LIBS"
   5608 	  CFLAGS="$lt_save_CFLAGS"
   5609 	else
   5610 	  echo "cannot find nm_test_func in $nlist" >&5
   5611 	fi
   5612       else
   5613 	echo "cannot find nm_test_var in $nlist" >&5
   5614       fi
   5615     else
   5616       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5617     fi
   5618   else
   5619     echo "$progname: failed program was:" >&5
   5620     cat conftest.$ac_ext >&5
   5621   fi
   5622   rm -rf conftest* conftst*
   5623 
   5624   # Do not use the global_symbol_pipe unless it works.
   5625   if test "$pipe_works" = yes; then
   5626     break
   5627   else
   5628     lt_cv_sys_global_symbol_pipe=
   5629   fi
   5630 done
   5631 
   5632 fi
   5633 
   5634 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5635   lt_cv_sys_global_symbol_to_cdecl=
   5636 fi
   5637 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5638   { $as_echo "$as_me:$LINENO: result: failed" >&5
   5639 $as_echo "failed" >&6; }
   5640 else
   5641   { $as_echo "$as_me:$LINENO: result: ok" >&5
   5642 $as_echo "ok" >&6; }
   5643 fi
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 # Check whether --enable-libtool-lock was given.
   5668 if test "${enable_libtool_lock+set}" = set; then
   5669   enableval=$enable_libtool_lock;
   5670 fi
   5671 
   5672 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   5673 
   5674 # Some flags need to be propagated to the compiler or linker for good
   5675 # libtool support.
   5676 case $host in
   5677 ia64-*-hpux*)
   5678   # Find out which ABI we are using.
   5679   echo 'int i;' > conftest.$ac_ext
   5680   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5681   (eval $ac_compile) 2>&5
   5682   ac_status=$?
   5683   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5684   (exit $ac_status); }; then
   5685     case `/usr/bin/file conftest.$ac_objext` in
   5686       *ELF-32*)
   5687 	HPUX_IA64_MODE="32"
   5688 	;;
   5689       *ELF-64*)
   5690 	HPUX_IA64_MODE="64"
   5691 	;;
   5692     esac
   5693   fi
   5694   rm -rf conftest*
   5695   ;;
   5696 *-*-irix6*)
   5697   # Find out which ABI we are using.
   5698   echo '#line 5698 "configure"' > conftest.$ac_ext
   5699   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5700   (eval $ac_compile) 2>&5
   5701   ac_status=$?
   5702   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5703   (exit $ac_status); }; then
   5704     if test "$lt_cv_prog_gnu_ld" = yes; then
   5705       case `/usr/bin/file conftest.$ac_objext` in
   5706 	*32-bit*)
   5707 	  LD="${LD-ld} -melf32bsmip"
   5708 	  ;;
   5709 	*N32*)
   5710 	  LD="${LD-ld} -melf32bmipn32"
   5711 	  ;;
   5712 	*64-bit*)
   5713 	  LD="${LD-ld} -melf64bmip"
   5714 	;;
   5715       esac
   5716     else
   5717       case `/usr/bin/file conftest.$ac_objext` in
   5718 	*32-bit*)
   5719 	  LD="${LD-ld} -32"
   5720 	  ;;
   5721 	*N32*)
   5722 	  LD="${LD-ld} -n32"
   5723 	  ;;
   5724 	*64-bit*)
   5725 	  LD="${LD-ld} -64"
   5726 	  ;;
   5727       esac
   5728     fi
   5729   fi
   5730   rm -rf conftest*
   5731   ;;
   5732 
   5733 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   5734 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   5735   # Find out which ABI we are using.
   5736   echo 'int i;' > conftest.$ac_ext
   5737   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5738   (eval $ac_compile) 2>&5
   5739   ac_status=$?
   5740   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5741   (exit $ac_status); }; then
   5742     case `/usr/bin/file conftest.o` in
   5743       *32-bit*)
   5744 	case $host in
   5745 	  x86_64-*kfreebsd*-gnu)
   5746 	    LD="${LD-ld} -m elf_i386_fbsd"
   5747 	    ;;
   5748 	  x86_64-*linux*)
   5749 	    LD="${LD-ld} -m elf_i386"
   5750 	    ;;
   5751 	  ppc64-*linux*|powerpc64-*linux*)
   5752 	    LD="${LD-ld} -m elf32ppclinux"
   5753 	    ;;
   5754 	  s390x-*linux*)
   5755 	    LD="${LD-ld} -m elf_s390"
   5756 	    ;;
   5757 	  sparc64-*linux*)
   5758 	    LD="${LD-ld} -m elf32_sparc"
   5759 	    ;;
   5760 	esac
   5761 	;;
   5762       *64-bit*)
   5763 	case $host in
   5764 	  x86_64-*kfreebsd*-gnu)
   5765 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   5766 	    ;;
   5767 	  x86_64-*linux*)
   5768 	    LD="${LD-ld} -m elf_x86_64"
   5769 	    ;;
   5770 	  ppc*-*linux*|powerpc*-*linux*)
   5771 	    LD="${LD-ld} -m elf64ppc"
   5772 	    ;;
   5773 	  s390*-*linux*|s390*-*tpf*)
   5774 	    LD="${LD-ld} -m elf64_s390"
   5775 	    ;;
   5776 	  sparc*-*linux*)
   5777 	    LD="${LD-ld} -m elf64_sparc"
   5778 	    ;;
   5779 	esac
   5780 	;;
   5781     esac
   5782   fi
   5783   rm -rf conftest*
   5784   ;;
   5785 
   5786 *-*-sco3.2v5*)
   5787   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   5788   SAVE_CFLAGS="$CFLAGS"
   5789   CFLAGS="$CFLAGS -belf"
   5790   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   5791 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   5792 if test "${lt_cv_cc_needs_belf+set}" = set; then
   5793   $as_echo_n "(cached) " >&6
   5794 else
   5795   ac_ext=c
   5796 ac_cpp='$CPP $CPPFLAGS'
   5797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5800 
   5801      cat >conftest.$ac_ext <<_ACEOF
   5802 /* confdefs.h.  */
   5803 _ACEOF
   5804 cat confdefs.h >>conftest.$ac_ext
   5805 cat >>conftest.$ac_ext <<_ACEOF
   5806 /* end confdefs.h.  */
   5807 
   5808 int
   5809 main ()
   5810 {
   5811 
   5812   ;
   5813   return 0;
   5814 }
   5815 _ACEOF
   5816 rm -f conftest.$ac_objext conftest$ac_exeext
   5817 if { (ac_try="$ac_link"
   5818 case "(($ac_try" in
   5819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5820   *) ac_try_echo=$ac_try;;
   5821 esac
   5822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5823 $as_echo "$ac_try_echo") >&5
   5824   (eval "$ac_link") 2>conftest.er1
   5825   ac_status=$?
   5826   grep -v '^ *+' conftest.er1 >conftest.err
   5827   rm -f conftest.er1
   5828   cat conftest.err >&5
   5829   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5830   (exit $ac_status); } && {
   5831 	 test -z "$ac_c_werror_flag" ||
   5832 	 test ! -s conftest.err
   5833        } && test -s conftest$ac_exeext && {
   5834 	 test "$cross_compiling" = yes ||
   5835 	 $as_test_x conftest$ac_exeext
   5836        }; then
   5837   lt_cv_cc_needs_belf=yes
   5838 else
   5839   $as_echo "$as_me: failed program was:" >&5
   5840 sed 's/^/| /' conftest.$ac_ext >&5
   5841 
   5842 	lt_cv_cc_needs_belf=no
   5843 fi
   5844 
   5845 rm -rf conftest.dSYM
   5846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5847       conftest$ac_exeext conftest.$ac_ext
   5848      ac_ext=c
   5849 ac_cpp='$CPP $CPPFLAGS'
   5850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5853 
   5854 fi
   5855 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   5856 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   5857   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   5858     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   5859     CFLAGS="$SAVE_CFLAGS"
   5860   fi
   5861   ;;
   5862 sparc*-*solaris*)
   5863   # Find out which ABI we are using.
   5864   echo 'int i;' > conftest.$ac_ext
   5865   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5866   (eval $ac_compile) 2>&5
   5867   ac_status=$?
   5868   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5869   (exit $ac_status); }; then
   5870     case `/usr/bin/file conftest.o` in
   5871     *64-bit*)
   5872       case $lt_cv_prog_gnu_ld in
   5873       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   5874       *)
   5875 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   5876 	  LD="${LD-ld} -64"
   5877 	fi
   5878 	;;
   5879       esac
   5880       ;;
   5881     esac
   5882   fi
   5883   rm -rf conftest*
   5884   ;;
   5885 esac
   5886 
   5887 need_locks="$enable_libtool_lock"
   5888 
   5889 
   5890   case $host_os in
   5891     rhapsody* | darwin*)
   5892     if test -n "$ac_tool_prefix"; then
   5893   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   5894 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   5895 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5896 $as_echo_n "checking for $ac_word... " >&6; }
   5897 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   5898   $as_echo_n "(cached) " >&6
   5899 else
   5900   if test -n "$DSYMUTIL"; then
   5901   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   5902 else
   5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5904 for as_dir in $PATH
   5905 do
   5906   IFS=$as_save_IFS
   5907   test -z "$as_dir" && as_dir=.
   5908   for ac_exec_ext in '' $ac_executable_extensions; do
   5909   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5910     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   5911     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5912     break 2
   5913   fi
   5914 done
   5915 done
   5916 IFS=$as_save_IFS
   5917 
   5918 fi
   5919 fi
   5920 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   5921 if test -n "$DSYMUTIL"; then
   5922   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   5923 $as_echo "$DSYMUTIL" >&6; }
   5924 else
   5925   { $as_echo "$as_me:$LINENO: result: no" >&5
   5926 $as_echo "no" >&6; }
   5927 fi
   5928 
   5929 
   5930 fi
   5931 if test -z "$ac_cv_prog_DSYMUTIL"; then
   5932   ac_ct_DSYMUTIL=$DSYMUTIL
   5933   # Extract the first word of "dsymutil", so it can be a program name with args.
   5934 set dummy dsymutil; ac_word=$2
   5935 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5936 $as_echo_n "checking for $ac_word... " >&6; }
   5937 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   5938   $as_echo_n "(cached) " >&6
   5939 else
   5940   if test -n "$ac_ct_DSYMUTIL"; then
   5941   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   5942 else
   5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5944 for as_dir in $PATH
   5945 do
   5946   IFS=$as_save_IFS
   5947   test -z "$as_dir" && as_dir=.
   5948   for ac_exec_ext in '' $ac_executable_extensions; do
   5949   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5950     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   5951     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5952     break 2
   5953   fi
   5954 done
   5955 done
   5956 IFS=$as_save_IFS
   5957 
   5958 fi
   5959 fi
   5960 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   5961 if test -n "$ac_ct_DSYMUTIL"; then
   5962   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   5963 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   5964 else
   5965   { $as_echo "$as_me:$LINENO: result: no" >&5
   5966 $as_echo "no" >&6; }
   5967 fi
   5968 
   5969   if test "x$ac_ct_DSYMUTIL" = x; then
   5970     DSYMUTIL=":"
   5971   else
   5972     case $cross_compiling:$ac_tool_warned in
   5973 yes:)
   5974 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5976 ac_tool_warned=yes ;;
   5977 esac
   5978     DSYMUTIL=$ac_ct_DSYMUTIL
   5979   fi
   5980 else
   5981   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   5982 fi
   5983 
   5984     if test -n "$ac_tool_prefix"; then
   5985   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   5986 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   5987 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5988 $as_echo_n "checking for $ac_word... " >&6; }
   5989 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   5990   $as_echo_n "(cached) " >&6
   5991 else
   5992   if test -n "$NMEDIT"; then
   5993   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   5994 else
   5995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5996 for as_dir in $PATH
   5997 do
   5998   IFS=$as_save_IFS
   5999   test -z "$as_dir" && as_dir=.
   6000   for ac_exec_ext in '' $ac_executable_extensions; do
   6001   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6002     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6003     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6004     break 2
   6005   fi
   6006 done
   6007 done
   6008 IFS=$as_save_IFS
   6009 
   6010 fi
   6011 fi
   6012 NMEDIT=$ac_cv_prog_NMEDIT
   6013 if test -n "$NMEDIT"; then
   6014   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   6015 $as_echo "$NMEDIT" >&6; }
   6016 else
   6017   { $as_echo "$as_me:$LINENO: result: no" >&5
   6018 $as_echo "no" >&6; }
   6019 fi
   6020 
   6021 
   6022 fi
   6023 if test -z "$ac_cv_prog_NMEDIT"; then
   6024   ac_ct_NMEDIT=$NMEDIT
   6025   # Extract the first word of "nmedit", so it can be a program name with args.
   6026 set dummy nmedit; ac_word=$2
   6027 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6028 $as_echo_n "checking for $ac_word... " >&6; }
   6029 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   6030   $as_echo_n "(cached) " >&6
   6031 else
   6032   if test -n "$ac_ct_NMEDIT"; then
   6033   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6034 else
   6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6036 for as_dir in $PATH
   6037 do
   6038   IFS=$as_save_IFS
   6039   test -z "$as_dir" && as_dir=.
   6040   for ac_exec_ext in '' $ac_executable_extensions; do
   6041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6042     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6043     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6044     break 2
   6045   fi
   6046 done
   6047 done
   6048 IFS=$as_save_IFS
   6049 
   6050 fi
   6051 fi
   6052 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6053 if test -n "$ac_ct_NMEDIT"; then
   6054   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   6055 $as_echo "$ac_ct_NMEDIT" >&6; }
   6056 else
   6057   { $as_echo "$as_me:$LINENO: result: no" >&5
   6058 $as_echo "no" >&6; }
   6059 fi
   6060 
   6061   if test "x$ac_ct_NMEDIT" = x; then
   6062     NMEDIT=":"
   6063   else
   6064     case $cross_compiling:$ac_tool_warned in
   6065 yes:)
   6066 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6068 ac_tool_warned=yes ;;
   6069 esac
   6070     NMEDIT=$ac_ct_NMEDIT
   6071   fi
   6072 else
   6073   NMEDIT="$ac_cv_prog_NMEDIT"
   6074 fi
   6075 
   6076     if test -n "$ac_tool_prefix"; then
   6077   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6078 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6080 $as_echo_n "checking for $ac_word... " >&6; }
   6081 if test "${ac_cv_prog_LIPO+set}" = set; then
   6082   $as_echo_n "(cached) " >&6
   6083 else
   6084   if test -n "$LIPO"; then
   6085   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6086 else
   6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6088 for as_dir in $PATH
   6089 do
   6090   IFS=$as_save_IFS
   6091   test -z "$as_dir" && as_dir=.
   6092   for ac_exec_ext in '' $ac_executable_extensions; do
   6093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6094     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6095     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6096     break 2
   6097   fi
   6098 done
   6099 done
   6100 IFS=$as_save_IFS
   6101 
   6102 fi
   6103 fi
   6104 LIPO=$ac_cv_prog_LIPO
   6105 if test -n "$LIPO"; then
   6106   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   6107 $as_echo "$LIPO" >&6; }
   6108 else
   6109   { $as_echo "$as_me:$LINENO: result: no" >&5
   6110 $as_echo "no" >&6; }
   6111 fi
   6112 
   6113 
   6114 fi
   6115 if test -z "$ac_cv_prog_LIPO"; then
   6116   ac_ct_LIPO=$LIPO
   6117   # Extract the first word of "lipo", so it can be a program name with args.
   6118 set dummy lipo; ac_word=$2
   6119 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6120 $as_echo_n "checking for $ac_word... " >&6; }
   6121 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   6122   $as_echo_n "(cached) " >&6
   6123 else
   6124   if test -n "$ac_ct_LIPO"; then
   6125   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6126 else
   6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6128 for as_dir in $PATH
   6129 do
   6130   IFS=$as_save_IFS
   6131   test -z "$as_dir" && as_dir=.
   6132   for ac_exec_ext in '' $ac_executable_extensions; do
   6133   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6134     ac_cv_prog_ac_ct_LIPO="lipo"
   6135     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6136     break 2
   6137   fi
   6138 done
   6139 done
   6140 IFS=$as_save_IFS
   6141 
   6142 fi
   6143 fi
   6144 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6145 if test -n "$ac_ct_LIPO"; then
   6146   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   6147 $as_echo "$ac_ct_LIPO" >&6; }
   6148 else
   6149   { $as_echo "$as_me:$LINENO: result: no" >&5
   6150 $as_echo "no" >&6; }
   6151 fi
   6152 
   6153   if test "x$ac_ct_LIPO" = x; then
   6154     LIPO=":"
   6155   else
   6156     case $cross_compiling:$ac_tool_warned in
   6157 yes:)
   6158 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6160 ac_tool_warned=yes ;;
   6161 esac
   6162     LIPO=$ac_ct_LIPO
   6163   fi
   6164 else
   6165   LIPO="$ac_cv_prog_LIPO"
   6166 fi
   6167 
   6168     if test -n "$ac_tool_prefix"; then
   6169   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6170 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6172 $as_echo_n "checking for $ac_word... " >&6; }
   6173 if test "${ac_cv_prog_OTOOL+set}" = set; then
   6174   $as_echo_n "(cached) " >&6
   6175 else
   6176   if test -n "$OTOOL"; then
   6177   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6178 else
   6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6180 for as_dir in $PATH
   6181 do
   6182   IFS=$as_save_IFS
   6183   test -z "$as_dir" && as_dir=.
   6184   for ac_exec_ext in '' $ac_executable_extensions; do
   6185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6186     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6187     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6188     break 2
   6189   fi
   6190 done
   6191 done
   6192 IFS=$as_save_IFS
   6193 
   6194 fi
   6195 fi
   6196 OTOOL=$ac_cv_prog_OTOOL
   6197 if test -n "$OTOOL"; then
   6198   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   6199 $as_echo "$OTOOL" >&6; }
   6200 else
   6201   { $as_echo "$as_me:$LINENO: result: no" >&5
   6202 $as_echo "no" >&6; }
   6203 fi
   6204 
   6205 
   6206 fi
   6207 if test -z "$ac_cv_prog_OTOOL"; then
   6208   ac_ct_OTOOL=$OTOOL
   6209   # Extract the first word of "otool", so it can be a program name with args.
   6210 set dummy otool; ac_word=$2
   6211 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6212 $as_echo_n "checking for $ac_word... " >&6; }
   6213 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   6214   $as_echo_n "(cached) " >&6
   6215 else
   6216   if test -n "$ac_ct_OTOOL"; then
   6217   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6218 else
   6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6220 for as_dir in $PATH
   6221 do
   6222   IFS=$as_save_IFS
   6223   test -z "$as_dir" && as_dir=.
   6224   for ac_exec_ext in '' $ac_executable_extensions; do
   6225   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6226     ac_cv_prog_ac_ct_OTOOL="otool"
   6227     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6228     break 2
   6229   fi
   6230 done
   6231 done
   6232 IFS=$as_save_IFS
   6233 
   6234 fi
   6235 fi
   6236 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6237 if test -n "$ac_ct_OTOOL"; then
   6238   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   6239 $as_echo "$ac_ct_OTOOL" >&6; }
   6240 else
   6241   { $as_echo "$as_me:$LINENO: result: no" >&5
   6242 $as_echo "no" >&6; }
   6243 fi
   6244 
   6245   if test "x$ac_ct_OTOOL" = x; then
   6246     OTOOL=":"
   6247   else
   6248     case $cross_compiling:$ac_tool_warned in
   6249 yes:)
   6250 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6252 ac_tool_warned=yes ;;
   6253 esac
   6254     OTOOL=$ac_ct_OTOOL
   6255   fi
   6256 else
   6257   OTOOL="$ac_cv_prog_OTOOL"
   6258 fi
   6259 
   6260     if test -n "$ac_tool_prefix"; then
   6261   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6262 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6263 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6264 $as_echo_n "checking for $ac_word... " >&6; }
   6265 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   6266   $as_echo_n "(cached) " >&6
   6267 else
   6268   if test -n "$OTOOL64"; then
   6269   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6270 else
   6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6272 for as_dir in $PATH
   6273 do
   6274   IFS=$as_save_IFS
   6275   test -z "$as_dir" && as_dir=.
   6276   for ac_exec_ext in '' $ac_executable_extensions; do
   6277   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6278     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6279     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6280     break 2
   6281   fi
   6282 done
   6283 done
   6284 IFS=$as_save_IFS
   6285 
   6286 fi
   6287 fi
   6288 OTOOL64=$ac_cv_prog_OTOOL64
   6289 if test -n "$OTOOL64"; then
   6290   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   6291 $as_echo "$OTOOL64" >&6; }
   6292 else
   6293   { $as_echo "$as_me:$LINENO: result: no" >&5
   6294 $as_echo "no" >&6; }
   6295 fi
   6296 
   6297 
   6298 fi
   6299 if test -z "$ac_cv_prog_OTOOL64"; then
   6300   ac_ct_OTOOL64=$OTOOL64
   6301   # Extract the first word of "otool64", so it can be a program name with args.
   6302 set dummy otool64; ac_word=$2
   6303 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6304 $as_echo_n "checking for $ac_word... " >&6; }
   6305 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   6306   $as_echo_n "(cached) " >&6
   6307 else
   6308   if test -n "$ac_ct_OTOOL64"; then
   6309   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6310 else
   6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6312 for as_dir in $PATH
   6313 do
   6314   IFS=$as_save_IFS
   6315   test -z "$as_dir" && as_dir=.
   6316   for ac_exec_ext in '' $ac_executable_extensions; do
   6317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6318     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6319     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6320     break 2
   6321   fi
   6322 done
   6323 done
   6324 IFS=$as_save_IFS
   6325 
   6326 fi
   6327 fi
   6328 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6329 if test -n "$ac_ct_OTOOL64"; then
   6330   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   6331 $as_echo "$ac_ct_OTOOL64" >&6; }
   6332 else
   6333   { $as_echo "$as_me:$LINENO: result: no" >&5
   6334 $as_echo "no" >&6; }
   6335 fi
   6336 
   6337   if test "x$ac_ct_OTOOL64" = x; then
   6338     OTOOL64=":"
   6339   else
   6340     case $cross_compiling:$ac_tool_warned in
   6341 yes:)
   6342 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6344 ac_tool_warned=yes ;;
   6345 esac
   6346     OTOOL64=$ac_ct_OTOOL64
   6347   fi
   6348 else
   6349   OTOOL64="$ac_cv_prog_OTOOL64"
   6350 fi
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   6379 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6380 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   6381   $as_echo_n "(cached) " >&6
   6382 else
   6383   lt_cv_apple_cc_single_mod=no
   6384       if test -z "${LT_MULTI_MODULE}"; then
   6385 	# By default we will add the -single_module flag. You can override
   6386 	# by either setting the environment variable LT_MULTI_MODULE
   6387 	# non-empty at configure time, or by adding -multi_module to the
   6388 	# link flags.
   6389 	rm -rf libconftest.dylib*
   6390 	echo "int foo(void){return 1;}" > conftest.c
   6391 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6392 -dynamiclib -Wl,-single_module conftest.c" >&5
   6393 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6394 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6395         _lt_result=$?
   6396 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6397 	  lt_cv_apple_cc_single_mod=yes
   6398 	else
   6399 	  cat conftest.err >&5
   6400 	fi
   6401 	rm -rf libconftest.dylib*
   6402 	rm -f conftest.*
   6403       fi
   6404 fi
   6405 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   6406 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6407     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   6408 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6409 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   6410   $as_echo_n "(cached) " >&6
   6411 else
   6412   lt_cv_ld_exported_symbols_list=no
   6413       save_LDFLAGS=$LDFLAGS
   6414       echo "_main" > conftest.sym
   6415       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6416       cat >conftest.$ac_ext <<_ACEOF
   6417 /* confdefs.h.  */
   6418 _ACEOF
   6419 cat confdefs.h >>conftest.$ac_ext
   6420 cat >>conftest.$ac_ext <<_ACEOF
   6421 /* end confdefs.h.  */
   6422 
   6423 int
   6424 main ()
   6425 {
   6426 
   6427   ;
   6428   return 0;
   6429 }
   6430 _ACEOF
   6431 rm -f conftest.$ac_objext conftest$ac_exeext
   6432 if { (ac_try="$ac_link"
   6433 case "(($ac_try" in
   6434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6435   *) ac_try_echo=$ac_try;;
   6436 esac
   6437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6438 $as_echo "$ac_try_echo") >&5
   6439   (eval "$ac_link") 2>conftest.er1
   6440   ac_status=$?
   6441   grep -v '^ *+' conftest.er1 >conftest.err
   6442   rm -f conftest.er1
   6443   cat conftest.err >&5
   6444   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6445   (exit $ac_status); } && {
   6446 	 test -z "$ac_c_werror_flag" ||
   6447 	 test ! -s conftest.err
   6448        } && test -s conftest$ac_exeext && {
   6449 	 test "$cross_compiling" = yes ||
   6450 	 $as_test_x conftest$ac_exeext
   6451        }; then
   6452   lt_cv_ld_exported_symbols_list=yes
   6453 else
   6454   $as_echo "$as_me: failed program was:" >&5
   6455 sed 's/^/| /' conftest.$ac_ext >&5
   6456 
   6457 	lt_cv_ld_exported_symbols_list=no
   6458 fi
   6459 
   6460 rm -rf conftest.dSYM
   6461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6462       conftest$ac_exeext conftest.$ac_ext
   6463 	LDFLAGS="$save_LDFLAGS"
   6464 
   6465 fi
   6466 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   6467 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6468     case $host_os in
   6469     rhapsody* | darwin1.[012])
   6470       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6471     darwin1.*)
   6472       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6473     darwin*) # darwin 5.x on
   6474       # if running on 10.5 or later, the deployment target defaults
   6475       # to the OS version, if on x86, and 10.4, the deployment
   6476       # target defaults to 10.4. Don't you love it?
   6477       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6478 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6479 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6480 	10.[012]*)
   6481 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6482 	10.*)
   6483 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6484       esac
   6485     ;;
   6486   esac
   6487     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6488       _lt_dar_single_mod='$single_module'
   6489     fi
   6490     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6491       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6492     else
   6493       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6494     fi
   6495     if test "$DSYMUTIL" != ":"; then
   6496       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6497     else
   6498       _lt_dsymutil=
   6499     fi
   6500     ;;
   6501   esac
   6502 
   6503 ac_ext=c
   6504 ac_cpp='$CPP $CPPFLAGS'
   6505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6508 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   6509 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6510 # On Suns, sometimes $CPP names a directory.
   6511 if test -n "$CPP" && test -d "$CPP"; then
   6512   CPP=
   6513 fi
   6514 if test -z "$CPP"; then
   6515   if test "${ac_cv_prog_CPP+set}" = set; then
   6516   $as_echo_n "(cached) " >&6
   6517 else
   6518       # Double quotes because CPP needs to be expanded
   6519     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6520     do
   6521       ac_preproc_ok=false
   6522 for ac_c_preproc_warn_flag in '' yes
   6523 do
   6524   # Use a header file that comes with gcc, so configuring glibc
   6525   # with a fresh cross-compiler works.
   6526   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6527   # <limits.h> exists even on freestanding compilers.
   6528   # On the NeXT, cc -E runs the code through the compiler's parser,
   6529   # not just through cpp. "Syntax error" is here to catch this case.
   6530   cat >conftest.$ac_ext <<_ACEOF
   6531 /* confdefs.h.  */
   6532 _ACEOF
   6533 cat confdefs.h >>conftest.$ac_ext
   6534 cat >>conftest.$ac_ext <<_ACEOF
   6535 /* end confdefs.h.  */
   6536 #ifdef __STDC__
   6537 # include <limits.h>
   6538 #else
   6539 # include <assert.h>
   6540 #endif
   6541 		     Syntax error
   6542 _ACEOF
   6543 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6544 case "(($ac_try" in
   6545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6546   *) ac_try_echo=$ac_try;;
   6547 esac
   6548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6549 $as_echo "$ac_try_echo") >&5
   6550   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6551   ac_status=$?
   6552   grep -v '^ *+' conftest.er1 >conftest.err
   6553   rm -f conftest.er1
   6554   cat conftest.err >&5
   6555   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6556   (exit $ac_status); } >/dev/null && {
   6557 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6558 	 test ! -s conftest.err
   6559        }; then
   6560   :
   6561 else
   6562   $as_echo "$as_me: failed program was:" >&5
   6563 sed 's/^/| /' conftest.$ac_ext >&5
   6564 
   6565   # Broken: fails on valid input.
   6566 continue
   6567 fi
   6568 
   6569 rm -f conftest.err conftest.$ac_ext
   6570 
   6571   # OK, works on sane cases.  Now check whether nonexistent headers
   6572   # can be detected and how.
   6573   cat >conftest.$ac_ext <<_ACEOF
   6574 /* confdefs.h.  */
   6575 _ACEOF
   6576 cat confdefs.h >>conftest.$ac_ext
   6577 cat >>conftest.$ac_ext <<_ACEOF
   6578 /* end confdefs.h.  */
   6579 #include <ac_nonexistent.h>
   6580 _ACEOF
   6581 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6582 case "(($ac_try" in
   6583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6584   *) ac_try_echo=$ac_try;;
   6585 esac
   6586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6587 $as_echo "$ac_try_echo") >&5
   6588   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6589   ac_status=$?
   6590   grep -v '^ *+' conftest.er1 >conftest.err
   6591   rm -f conftest.er1
   6592   cat conftest.err >&5
   6593   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6594   (exit $ac_status); } >/dev/null && {
   6595 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6596 	 test ! -s conftest.err
   6597        }; then
   6598   # Broken: success on invalid input.
   6599 continue
   6600 else
   6601   $as_echo "$as_me: failed program was:" >&5
   6602 sed 's/^/| /' conftest.$ac_ext >&5
   6603 
   6604   # Passes both tests.
   6605 ac_preproc_ok=:
   6606 break
   6607 fi
   6608 
   6609 rm -f conftest.err conftest.$ac_ext
   6610 
   6611 done
   6612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6613 rm -f conftest.err conftest.$ac_ext
   6614 if $ac_preproc_ok; then
   6615   break
   6616 fi
   6617 
   6618     done
   6619     ac_cv_prog_CPP=$CPP
   6620 
   6621 fi
   6622   CPP=$ac_cv_prog_CPP
   6623 else
   6624   ac_cv_prog_CPP=$CPP
   6625 fi
   6626 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   6627 $as_echo "$CPP" >&6; }
   6628 ac_preproc_ok=false
   6629 for ac_c_preproc_warn_flag in '' yes
   6630 do
   6631   # Use a header file that comes with gcc, so configuring glibc
   6632   # with a fresh cross-compiler works.
   6633   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6634   # <limits.h> exists even on freestanding compilers.
   6635   # On the NeXT, cc -E runs the code through the compiler's parser,
   6636   # not just through cpp. "Syntax error" is here to catch this case.
   6637   cat >conftest.$ac_ext <<_ACEOF
   6638 /* confdefs.h.  */
   6639 _ACEOF
   6640 cat confdefs.h >>conftest.$ac_ext
   6641 cat >>conftest.$ac_ext <<_ACEOF
   6642 /* end confdefs.h.  */
   6643 #ifdef __STDC__
   6644 # include <limits.h>
   6645 #else
   6646 # include <assert.h>
   6647 #endif
   6648 		     Syntax error
   6649 _ACEOF
   6650 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6651 case "(($ac_try" in
   6652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6653   *) ac_try_echo=$ac_try;;
   6654 esac
   6655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6656 $as_echo "$ac_try_echo") >&5
   6657   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6658   ac_status=$?
   6659   grep -v '^ *+' conftest.er1 >conftest.err
   6660   rm -f conftest.er1
   6661   cat conftest.err >&5
   6662   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6663   (exit $ac_status); } >/dev/null && {
   6664 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6665 	 test ! -s conftest.err
   6666        }; then
   6667   :
   6668 else
   6669   $as_echo "$as_me: failed program was:" >&5
   6670 sed 's/^/| /' conftest.$ac_ext >&5
   6671 
   6672   # Broken: fails on valid input.
   6673 continue
   6674 fi
   6675 
   6676 rm -f conftest.err conftest.$ac_ext
   6677 
   6678   # OK, works on sane cases.  Now check whether nonexistent headers
   6679   # can be detected and how.
   6680   cat >conftest.$ac_ext <<_ACEOF
   6681 /* confdefs.h.  */
   6682 _ACEOF
   6683 cat confdefs.h >>conftest.$ac_ext
   6684 cat >>conftest.$ac_ext <<_ACEOF
   6685 /* end confdefs.h.  */
   6686 #include <ac_nonexistent.h>
   6687 _ACEOF
   6688 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6689 case "(($ac_try" in
   6690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6691   *) ac_try_echo=$ac_try;;
   6692 esac
   6693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6694 $as_echo "$ac_try_echo") >&5
   6695   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6696   ac_status=$?
   6697   grep -v '^ *+' conftest.er1 >conftest.err
   6698   rm -f conftest.er1
   6699   cat conftest.err >&5
   6700   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6701   (exit $ac_status); } >/dev/null && {
   6702 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6703 	 test ! -s conftest.err
   6704        }; then
   6705   # Broken: success on invalid input.
   6706 continue
   6707 else
   6708   $as_echo "$as_me: failed program was:" >&5
   6709 sed 's/^/| /' conftest.$ac_ext >&5
   6710 
   6711   # Passes both tests.
   6712 ac_preproc_ok=:
   6713 break
   6714 fi
   6715 
   6716 rm -f conftest.err conftest.$ac_ext
   6717 
   6718 done
   6719 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6720 rm -f conftest.err conftest.$ac_ext
   6721 if $ac_preproc_ok; then
   6722   :
   6723 else
   6724   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6726 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   6727 See \`config.log' for more details." >&5
   6728 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   6729 See \`config.log' for more details." >&2;}
   6730    { (exit 1); exit 1; }; }; }
   6731 fi
   6732 
   6733 ac_ext=c
   6734 ac_cpp='$CPP $CPPFLAGS'
   6735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6738 
   6739 
   6740 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   6741 $as_echo_n "checking for ANSI C header files... " >&6; }
   6742 if test "${ac_cv_header_stdc+set}" = set; then
   6743   $as_echo_n "(cached) " >&6
   6744 else
   6745   cat >conftest.$ac_ext <<_ACEOF
   6746 /* confdefs.h.  */
   6747 _ACEOF
   6748 cat confdefs.h >>conftest.$ac_ext
   6749 cat >>conftest.$ac_ext <<_ACEOF
   6750 /* end confdefs.h.  */
   6751 #include <stdlib.h>
   6752 #include <stdarg.h>
   6753 #include <string.h>
   6754 #include <float.h>
   6755 
   6756 int
   6757 main ()
   6758 {
   6759 
   6760   ;
   6761   return 0;
   6762 }
   6763 _ACEOF
   6764 rm -f conftest.$ac_objext
   6765 if { (ac_try="$ac_compile"
   6766 case "(($ac_try" in
   6767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6768   *) ac_try_echo=$ac_try;;
   6769 esac
   6770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6771 $as_echo "$ac_try_echo") >&5
   6772   (eval "$ac_compile") 2>conftest.er1
   6773   ac_status=$?
   6774   grep -v '^ *+' conftest.er1 >conftest.err
   6775   rm -f conftest.er1
   6776   cat conftest.err >&5
   6777   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6778   (exit $ac_status); } && {
   6779 	 test -z "$ac_c_werror_flag" ||
   6780 	 test ! -s conftest.err
   6781        } && test -s conftest.$ac_objext; then
   6782   ac_cv_header_stdc=yes
   6783 else
   6784   $as_echo "$as_me: failed program was:" >&5
   6785 sed 's/^/| /' conftest.$ac_ext >&5
   6786 
   6787 	ac_cv_header_stdc=no
   6788 fi
   6789 
   6790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6791 
   6792 if test $ac_cv_header_stdc = yes; then
   6793   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6794   cat >conftest.$ac_ext <<_ACEOF
   6795 /* confdefs.h.  */
   6796 _ACEOF
   6797 cat confdefs.h >>conftest.$ac_ext
   6798 cat >>conftest.$ac_ext <<_ACEOF
   6799 /* end confdefs.h.  */
   6800 #include <string.h>
   6801 
   6802 _ACEOF
   6803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6804   $EGREP "memchr" >/dev/null 2>&1; then
   6805   :
   6806 else
   6807   ac_cv_header_stdc=no
   6808 fi
   6809 rm -f conftest*
   6810 
   6811 fi
   6812 
   6813 if test $ac_cv_header_stdc = yes; then
   6814   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6815   cat >conftest.$ac_ext <<_ACEOF
   6816 /* confdefs.h.  */
   6817 _ACEOF
   6818 cat confdefs.h >>conftest.$ac_ext
   6819 cat >>conftest.$ac_ext <<_ACEOF
   6820 /* end confdefs.h.  */
   6821 #include <stdlib.h>
   6822 
   6823 _ACEOF
   6824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6825   $EGREP "free" >/dev/null 2>&1; then
   6826   :
   6827 else
   6828   ac_cv_header_stdc=no
   6829 fi
   6830 rm -f conftest*
   6831 
   6832 fi
   6833 
   6834 if test $ac_cv_header_stdc = yes; then
   6835   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6836   if test "$cross_compiling" = yes; then
   6837   :
   6838 else
   6839   cat >conftest.$ac_ext <<_ACEOF
   6840 /* confdefs.h.  */
   6841 _ACEOF
   6842 cat confdefs.h >>conftest.$ac_ext
   6843 cat >>conftest.$ac_ext <<_ACEOF
   6844 /* end confdefs.h.  */
   6845 #include <ctype.h>
   6846 #include <stdlib.h>
   6847 #if ((' ' & 0x0FF) == 0x020)
   6848 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6849 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6850 #else
   6851 # define ISLOWER(c) \
   6852 		   (('a' <= (c) && (c) <= 'i') \
   6853 		     || ('j' <= (c) && (c) <= 'r') \
   6854 		     || ('s' <= (c) && (c) <= 'z'))
   6855 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6856 #endif
   6857 
   6858 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6859 int
   6860 main ()
   6861 {
   6862   int i;
   6863   for (i = 0; i < 256; i++)
   6864     if (XOR (islower (i), ISLOWER (i))
   6865 	|| toupper (i) != TOUPPER (i))
   6866       return 2;
   6867   return 0;
   6868 }
   6869 _ACEOF
   6870 rm -f conftest$ac_exeext
   6871 if { (ac_try="$ac_link"
   6872 case "(($ac_try" in
   6873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6874   *) ac_try_echo=$ac_try;;
   6875 esac
   6876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6877 $as_echo "$ac_try_echo") >&5
   6878   (eval "$ac_link") 2>&5
   6879   ac_status=$?
   6880   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6881   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   6882   { (case "(($ac_try" in
   6883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6884   *) ac_try_echo=$ac_try;;
   6885 esac
   6886 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6887 $as_echo "$ac_try_echo") >&5
   6888   (eval "$ac_try") 2>&5
   6889   ac_status=$?
   6890   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6891   (exit $ac_status); }; }; then
   6892   :
   6893 else
   6894   $as_echo "$as_me: program exited with status $ac_status" >&5
   6895 $as_echo "$as_me: failed program was:" >&5
   6896 sed 's/^/| /' conftest.$ac_ext >&5
   6897 
   6898 ( exit $ac_status )
   6899 ac_cv_header_stdc=no
   6900 fi
   6901 rm -rf conftest.dSYM
   6902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   6903 fi
   6904 
   6905 
   6906 fi
   6907 fi
   6908 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   6909 $as_echo "$ac_cv_header_stdc" >&6; }
   6910 if test $ac_cv_header_stdc = yes; then
   6911 
   6912 cat >>confdefs.h <<\_ACEOF
   6913 #define STDC_HEADERS 1
   6914 _ACEOF
   6915 
   6916 fi
   6917 
   6918 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6929 		  inttypes.h stdint.h unistd.h
   6930 do
   6931 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6932 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6933 $as_echo_n "checking for $ac_header... " >&6; }
   6934 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6935   $as_echo_n "(cached) " >&6
   6936 else
   6937   cat >conftest.$ac_ext <<_ACEOF
   6938 /* confdefs.h.  */
   6939 _ACEOF
   6940 cat confdefs.h >>conftest.$ac_ext
   6941 cat >>conftest.$ac_ext <<_ACEOF
   6942 /* end confdefs.h.  */
   6943 $ac_includes_default
   6944 
   6945 #include <$ac_header>
   6946 _ACEOF
   6947 rm -f conftest.$ac_objext
   6948 if { (ac_try="$ac_compile"
   6949 case "(($ac_try" in
   6950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6951   *) ac_try_echo=$ac_try;;
   6952 esac
   6953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6954 $as_echo "$ac_try_echo") >&5
   6955   (eval "$ac_compile") 2>conftest.er1
   6956   ac_status=$?
   6957   grep -v '^ *+' conftest.er1 >conftest.err
   6958   rm -f conftest.er1
   6959   cat conftest.err >&5
   6960   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6961   (exit $ac_status); } && {
   6962 	 test -z "$ac_c_werror_flag" ||
   6963 	 test ! -s conftest.err
   6964        } && test -s conftest.$ac_objext; then
   6965   eval "$as_ac_Header=yes"
   6966 else
   6967   $as_echo "$as_me: failed program was:" >&5
   6968 sed 's/^/| /' conftest.$ac_ext >&5
   6969 
   6970 	eval "$as_ac_Header=no"
   6971 fi
   6972 
   6973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6974 fi
   6975 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6976 		 $as_echo "$as_val"'`
   6977 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6978 $as_echo "$ac_res" >&6; }
   6979 as_val=`eval 'as_val=${'$as_ac_Header'}
   6980 		 $as_echo "$as_val"'`
   6981    if test "x$as_val" = x""yes; then
   6982   cat >>confdefs.h <<_ACEOF
   6983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6984 _ACEOF
   6985 
   6986 fi
   6987 
   6988 done
   6989 
   6990 
   6991 
   6992 for ac_header in dlfcn.h
   6993 do
   6994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6995 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6996 $as_echo_n "checking for $ac_header... " >&6; }
   6997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6998   $as_echo_n "(cached) " >&6
   6999 else
   7000   cat >conftest.$ac_ext <<_ACEOF
   7001 /* confdefs.h.  */
   7002 _ACEOF
   7003 cat confdefs.h >>conftest.$ac_ext
   7004 cat >>conftest.$ac_ext <<_ACEOF
   7005 /* end confdefs.h.  */
   7006 $ac_includes_default
   7007 
   7008 #include <$ac_header>
   7009 _ACEOF
   7010 rm -f conftest.$ac_objext
   7011 if { (ac_try="$ac_compile"
   7012 case "(($ac_try" in
   7013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7014   *) ac_try_echo=$ac_try;;
   7015 esac
   7016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7017 $as_echo "$ac_try_echo") >&5
   7018   (eval "$ac_compile") 2>conftest.er1
   7019   ac_status=$?
   7020   grep -v '^ *+' conftest.er1 >conftest.err
   7021   rm -f conftest.er1
   7022   cat conftest.err >&5
   7023   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7024   (exit $ac_status); } && {
   7025 	 test -z "$ac_c_werror_flag" ||
   7026 	 test ! -s conftest.err
   7027        } && test -s conftest.$ac_objext; then
   7028   eval "$as_ac_Header=yes"
   7029 else
   7030   $as_echo "$as_me: failed program was:" >&5
   7031 sed 's/^/| /' conftest.$ac_ext >&5
   7032 
   7033 	eval "$as_ac_Header=no"
   7034 fi
   7035 
   7036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7037 fi
   7038 ac_res=`eval 'as_val=${'$as_ac_Header'}
   7039 		 $as_echo "$as_val"'`
   7040 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   7041 $as_echo "$ac_res" >&6; }
   7042 as_val=`eval 'as_val=${'$as_ac_Header'}
   7043 		 $as_echo "$as_val"'`
   7044    if test "x$as_val" = x""yes; then
   7045   cat >>confdefs.h <<_ACEOF
   7046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7047 _ACEOF
   7048 
   7049 fi
   7050 
   7051 done
   7052 
   7053 
   7054 
   7055 # Set options
   7056 
   7057 
   7058 
   7059         enable_dlopen=no
   7060 
   7061 
   7062   enable_win32_dll=no
   7063 
   7064 
   7065             # Check whether --enable-shared was given.
   7066 if test "${enable_shared+set}" = set; then
   7067   enableval=$enable_shared; p=${PACKAGE-default}
   7068     case $enableval in
   7069     yes) enable_shared=yes ;;
   7070     no) enable_shared=no ;;
   7071     *)
   7072       enable_shared=no
   7073       # Look at the argument we got.  We use all the common list separators.
   7074       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7075       for pkg in $enableval; do
   7076 	IFS="$lt_save_ifs"
   7077 	if test "X$pkg" = "X$p"; then
   7078 	  enable_shared=yes
   7079 	fi
   7080       done
   7081       IFS="$lt_save_ifs"
   7082       ;;
   7083     esac
   7084 else
   7085   enable_shared=yes
   7086 fi
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 # Check whether --with-pic was given.
   7099 if test "${with_pic+set}" = set; then
   7100   withval=$with_pic; pic_mode="$withval"
   7101 else
   7102   pic_mode=default
   7103 fi
   7104 
   7105 
   7106 test -z "$pic_mode" && pic_mode=default
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114   # Check whether --enable-fast-install was given.
   7115 if test "${enable_fast_install+set}" = set; then
   7116   enableval=$enable_fast_install; p=${PACKAGE-default}
   7117     case $enableval in
   7118     yes) enable_fast_install=yes ;;
   7119     no) enable_fast_install=no ;;
   7120     *)
   7121       enable_fast_install=no
   7122       # Look at the argument we got.  We use all the common list separators.
   7123       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7124       for pkg in $enableval; do
   7125 	IFS="$lt_save_ifs"
   7126 	if test "X$pkg" = "X$p"; then
   7127 	  enable_fast_install=yes
   7128 	fi
   7129       done
   7130       IFS="$lt_save_ifs"
   7131       ;;
   7132     esac
   7133 else
   7134   enable_fast_install=yes
   7135 fi
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 # This can be used to rebuild libtool when needed
   7148 LIBTOOL_DEPS="$ltmain"
   7149 
   7150 # Always use our own libtool.
   7151 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 test -z "$LN_S" && LN_S="ln -s"
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 if test -n "${ZSH_VERSION+set}" ; then
   7193    setopt NO_GLOB_SUBST
   7194 fi
   7195 
   7196 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   7197 $as_echo_n "checking for objdir... " >&6; }
   7198 if test "${lt_cv_objdir+set}" = set; then
   7199   $as_echo_n "(cached) " >&6
   7200 else
   7201   rm -f .libs 2>/dev/null
   7202 mkdir .libs 2>/dev/null
   7203 if test -d .libs; then
   7204   lt_cv_objdir=.libs
   7205 else
   7206   # MS-DOS does not allow filenames that begin with a dot.
   7207   lt_cv_objdir=_libs
   7208 fi
   7209 rmdir .libs 2>/dev/null
   7210 fi
   7211 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7212 $as_echo "$lt_cv_objdir" >&6; }
   7213 objdir=$lt_cv_objdir
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 cat >>confdefs.h <<_ACEOF
   7220 #define LT_OBJDIR "$lt_cv_objdir/"
   7221 _ACEOF
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 case $host_os in
   7240 aix3*)
   7241   # AIX sometimes has problems with the GCC collect2 program.  For some
   7242   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7243   # vanish in a puff of smoke.
   7244   if test "X${COLLECT_NAMES+set}" != Xset; then
   7245     COLLECT_NAMES=
   7246     export COLLECT_NAMES
   7247   fi
   7248   ;;
   7249 esac
   7250 
   7251 # Sed substitution that helps us do robust quoting.  It backslashifies
   7252 # metacharacters that are still active within double-quoted strings.
   7253 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7254 
   7255 # Same as above, but do not quote variable references.
   7256 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7257 
   7258 # Sed substitution to delay expansion of an escaped shell variable in a
   7259 # double_quote_subst'ed string.
   7260 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7261 
   7262 # Sed substitution to delay expansion of an escaped single quote.
   7263 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7264 
   7265 # Sed substitution to avoid accidental globbing in evaled expressions
   7266 no_glob_subst='s/\*/\\\*/g'
   7267 
   7268 # Global variables:
   7269 ofile=libtool
   7270 can_build_shared=yes
   7271 
   7272 # All known linkers require a `.a' archive for static linking (except MSVC,
   7273 # which needs '.lib').
   7274 libext=a
   7275 
   7276 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7277 
   7278 old_CC="$CC"
   7279 old_CFLAGS="$CFLAGS"
   7280 
   7281 # Set sane defaults for various variables
   7282 test -z "$CC" && CC=cc
   7283 test -z "$LTCC" && LTCC=$CC
   7284 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7285 test -z "$LD" && LD=ld
   7286 test -z "$ac_objext" && ac_objext=o
   7287 
   7288 for cc_temp in $compiler""; do
   7289   case $cc_temp in
   7290     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7291     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7292     \-*) ;;
   7293     *) break;;
   7294   esac
   7295 done
   7296 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7297 
   7298 
   7299 # Only perform the check for file, if the check method requires it
   7300 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7301 case $deplibs_check_method in
   7302 file_magic*)
   7303   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7304     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7305 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7306 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7307   $as_echo_n "(cached) " >&6
   7308 else
   7309   case $MAGIC_CMD in
   7310 [\\/*] |  ?:[\\/]*)
   7311   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7312   ;;
   7313 *)
   7314   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7315   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7316   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7317   for ac_dir in $ac_dummy; do
   7318     IFS="$lt_save_ifs"
   7319     test -z "$ac_dir" && ac_dir=.
   7320     if test -f $ac_dir/${ac_tool_prefix}file; then
   7321       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7322       if test -n "$file_magic_test_file"; then
   7323 	case $deplibs_check_method in
   7324 	"file_magic "*)
   7325 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7326 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7327 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7328 	    $EGREP "$file_magic_regex" > /dev/null; then
   7329 	    :
   7330 	  else
   7331 	    cat <<_LT_EOF 1>&2
   7332 
   7333 *** Warning: the command libtool uses to detect shared libraries,
   7334 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7335 *** The result is that libtool may fail to recognize shared libraries
   7336 *** as such.  This will affect the creation of libtool libraries that
   7337 *** depend on shared libraries, but programs linked with such libtool
   7338 *** libraries will work regardless of this problem.  Nevertheless, you
   7339 *** may want to report the problem to your system manager and/or to
   7340 *** bug-libtool@gnu.org
   7341 
   7342 _LT_EOF
   7343 	  fi ;;
   7344 	esac
   7345       fi
   7346       break
   7347     fi
   7348   done
   7349   IFS="$lt_save_ifs"
   7350   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7351   ;;
   7352 esac
   7353 fi
   7354 
   7355 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7356 if test -n "$MAGIC_CMD"; then
   7357   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7358 $as_echo "$MAGIC_CMD" >&6; }
   7359 else
   7360   { $as_echo "$as_me:$LINENO: result: no" >&5
   7361 $as_echo "no" >&6; }
   7362 fi
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7369   if test -n "$ac_tool_prefix"; then
   7370     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7371 $as_echo_n "checking for file... " >&6; }
   7372 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7373   $as_echo_n "(cached) " >&6
   7374 else
   7375   case $MAGIC_CMD in
   7376 [\\/*] |  ?:[\\/]*)
   7377   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7378   ;;
   7379 *)
   7380   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7381   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7382   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7383   for ac_dir in $ac_dummy; do
   7384     IFS="$lt_save_ifs"
   7385     test -z "$ac_dir" && ac_dir=.
   7386     if test -f $ac_dir/file; then
   7387       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7388       if test -n "$file_magic_test_file"; then
   7389 	case $deplibs_check_method in
   7390 	"file_magic "*)
   7391 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7392 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7393 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7394 	    $EGREP "$file_magic_regex" > /dev/null; then
   7395 	    :
   7396 	  else
   7397 	    cat <<_LT_EOF 1>&2
   7398 
   7399 *** Warning: the command libtool uses to detect shared libraries,
   7400 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7401 *** The result is that libtool may fail to recognize shared libraries
   7402 *** as such.  This will affect the creation of libtool libraries that
   7403 *** depend on shared libraries, but programs linked with such libtool
   7404 *** libraries will work regardless of this problem.  Nevertheless, you
   7405 *** may want to report the problem to your system manager and/or to
   7406 *** bug-libtool@gnu.org
   7407 
   7408 _LT_EOF
   7409 	  fi ;;
   7410 	esac
   7411       fi
   7412       break
   7413     fi
   7414   done
   7415   IFS="$lt_save_ifs"
   7416   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7417   ;;
   7418 esac
   7419 fi
   7420 
   7421 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7422 if test -n "$MAGIC_CMD"; then
   7423   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7424 $as_echo "$MAGIC_CMD" >&6; }
   7425 else
   7426   { $as_echo "$as_me:$LINENO: result: no" >&5
   7427 $as_echo "no" >&6; }
   7428 fi
   7429 
   7430 
   7431   else
   7432     MAGIC_CMD=:
   7433   fi
   7434 fi
   7435 
   7436   fi
   7437   ;;
   7438 esac
   7439 
   7440 # Use C for the default configuration in the libtool script
   7441 
   7442 lt_save_CC="$CC"
   7443 ac_ext=c
   7444 ac_cpp='$CPP $CPPFLAGS'
   7445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7448 
   7449 
   7450 # Source file extension for C test sources.
   7451 ac_ext=c
   7452 
   7453 # Object file extension for compiled C test sources.
   7454 objext=o
   7455 objext=$objext
   7456 
   7457 # Code to be used in simple compile tests
   7458 lt_simple_compile_test_code="int some_variable = 0;"
   7459 
   7460 # Code to be used in simple link tests
   7461 lt_simple_link_test_code='int main(){return(0);}'
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 # If no C compiler was specified, use CC.
   7470 LTCC=${LTCC-"$CC"}
   7471 
   7472 # If no C compiler flags were specified, use CFLAGS.
   7473 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7474 
   7475 # Allow CC to be a program name with arguments.
   7476 compiler=$CC
   7477 
   7478 # Save the default compiler, since it gets overwritten when the other
   7479 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7480 compiler_DEFAULT=$CC
   7481 
   7482 # save warnings/boilerplate of simple test code
   7483 ac_outfile=conftest.$ac_objext
   7484 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7485 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7486 _lt_compiler_boilerplate=`cat conftest.err`
   7487 $RM conftest*
   7488 
   7489 ac_outfile=conftest.$ac_objext
   7490 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7491 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7492 _lt_linker_boilerplate=`cat conftest.err`
   7493 $RM -r conftest*
   7494 
   7495 
   7496 if test -n "$compiler"; then
   7497 
   7498 lt_prog_compiler_no_builtin_flag=
   7499 
   7500 if test "$GCC" = yes; then
   7501   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7502 
   7503   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7504 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7505 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7506   $as_echo_n "(cached) " >&6
   7507 else
   7508   lt_cv_prog_compiler_rtti_exceptions=no
   7509    ac_outfile=conftest.$ac_objext
   7510    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7511    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7512    # Insert the option either (1) after the last *FLAGS variable, or
   7513    # (2) before a word containing "conftest.", or (3) at the end.
   7514    # Note that $ac_compile itself does not contain backslashes and begins
   7515    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7516    # The option is referenced via a variable to avoid confusing sed.
   7517    lt_compile=`echo "$ac_compile" | $SED \
   7518    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7519    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7520    -e 's:$: $lt_compiler_flag:'`
   7521    (eval echo "\"\$as_me:7521: $lt_compile\"" >&5)
   7522    (eval "$lt_compile" 2>conftest.err)
   7523    ac_status=$?
   7524    cat conftest.err >&5
   7525    echo "$as_me:7525: \$? = $ac_status" >&5
   7526    if (exit $ac_status) && test -s "$ac_outfile"; then
   7527      # The compiler can only warn and ignore the option if not recognized
   7528      # So say no if there are warnings other than the usual output.
   7529      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7530      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7531      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7532        lt_cv_prog_compiler_rtti_exceptions=yes
   7533      fi
   7534    fi
   7535    $RM conftest*
   7536 
   7537 fi
   7538 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7539 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7540 
   7541 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7542     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7543 else
   7544     :
   7545 fi
   7546 
   7547 fi
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554   lt_prog_compiler_wl=
   7555 lt_prog_compiler_pic=
   7556 lt_prog_compiler_static=
   7557 
   7558 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7559 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7560 
   7561   if test "$GCC" = yes; then
   7562     lt_prog_compiler_wl='-Wl,'
   7563     lt_prog_compiler_static='-static'
   7564 
   7565     case $host_os in
   7566       aix*)
   7567       # All AIX code is PIC.
   7568       if test "$host_cpu" = ia64; then
   7569 	# AIX 5 now supports IA64 processor
   7570 	lt_prog_compiler_static='-Bstatic'
   7571       fi
   7572       ;;
   7573 
   7574     amigaos*)
   7575       case $host_cpu in
   7576       powerpc)
   7577             # see comment about AmigaOS4 .so support
   7578             lt_prog_compiler_pic='-fPIC'
   7579         ;;
   7580       m68k)
   7581             # FIXME: we need at least 68020 code to build shared libraries, but
   7582             # adding the `-m68020' flag to GCC prevents building anything better,
   7583             # like `-m68040'.
   7584             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7585         ;;
   7586       esac
   7587       ;;
   7588 
   7589     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7590       # PIC is the default for these OSes.
   7591       ;;
   7592 
   7593     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7594       # This hack is so that the source file can tell whether it is being
   7595       # built for inclusion in a dll (and should export symbols for example).
   7596       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7597       # (--disable-auto-import) libraries
   7598       lt_prog_compiler_pic='-DDLL_EXPORT'
   7599       ;;
   7600 
   7601     darwin* | rhapsody*)
   7602       # PIC is the default on this platform
   7603       # Common symbols not allowed in MH_DYLIB files
   7604       lt_prog_compiler_pic='-fno-common'
   7605       ;;
   7606 
   7607     hpux*)
   7608       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7609       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7610       # sets the default TLS model and affects inlining.
   7611       case $host_cpu in
   7612       hppa*64*)
   7613 	# +Z the default
   7614 	;;
   7615       *)
   7616 	lt_prog_compiler_pic='-fPIC'
   7617 	;;
   7618       esac
   7619       ;;
   7620 
   7621     interix[3-9]*)
   7622       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7623       # Instead, we relocate shared libraries at runtime.
   7624       ;;
   7625 
   7626     msdosdjgpp*)
   7627       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7628       # on systems that don't support them.
   7629       lt_prog_compiler_can_build_shared=no
   7630       enable_shared=no
   7631       ;;
   7632 
   7633     *nto* | *qnx*)
   7634       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7635       # it will coredump.
   7636       lt_prog_compiler_pic='-fPIC -shared'
   7637       ;;
   7638 
   7639     sysv4*MP*)
   7640       if test -d /usr/nec; then
   7641 	lt_prog_compiler_pic=-Kconform_pic
   7642       fi
   7643       ;;
   7644 
   7645     *)
   7646       lt_prog_compiler_pic='-fPIC'
   7647       ;;
   7648     esac
   7649   else
   7650     # PORTME Check for flag to pass linker flags through the system compiler.
   7651     case $host_os in
   7652     aix*)
   7653       lt_prog_compiler_wl='-Wl,'
   7654       if test "$host_cpu" = ia64; then
   7655 	# AIX 5 now supports IA64 processor
   7656 	lt_prog_compiler_static='-Bstatic'
   7657       else
   7658 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7659       fi
   7660       ;;
   7661 
   7662     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7663       # This hack is so that the source file can tell whether it is being
   7664       # built for inclusion in a dll (and should export symbols for example).
   7665       lt_prog_compiler_pic='-DDLL_EXPORT'
   7666       ;;
   7667 
   7668     hpux9* | hpux10* | hpux11*)
   7669       lt_prog_compiler_wl='-Wl,'
   7670       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7671       # not for PA HP-UX.
   7672       case $host_cpu in
   7673       hppa*64*|ia64*)
   7674 	# +Z the default
   7675 	;;
   7676       *)
   7677 	lt_prog_compiler_pic='+Z'
   7678 	;;
   7679       esac
   7680       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7681       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7682       ;;
   7683 
   7684     irix5* | irix6* | nonstopux*)
   7685       lt_prog_compiler_wl='-Wl,'
   7686       # PIC (with -KPIC) is the default.
   7687       lt_prog_compiler_static='-non_shared'
   7688       ;;
   7689 
   7690     linux* | k*bsd*-gnu)
   7691       case $cc_basename in
   7692       # old Intel for x86_64 which still supported -KPIC.
   7693       ecc*)
   7694 	lt_prog_compiler_wl='-Wl,'
   7695 	lt_prog_compiler_pic='-KPIC'
   7696 	lt_prog_compiler_static='-static'
   7697         ;;
   7698       # icc used to be incompatible with GCC.
   7699       # ICC 10 doesn't accept -KPIC any more.
   7700       icc* | ifort*)
   7701 	lt_prog_compiler_wl='-Wl,'
   7702 	lt_prog_compiler_pic='-fPIC'
   7703 	lt_prog_compiler_static='-static'
   7704         ;;
   7705       # Lahey Fortran 8.1.
   7706       lf95*)
   7707 	lt_prog_compiler_wl='-Wl,'
   7708 	lt_prog_compiler_pic='--shared'
   7709 	lt_prog_compiler_static='--static'
   7710 	;;
   7711       pgcc* | pgf77* | pgf90* | pgf95*)
   7712         # Portland Group compilers (*not* the Pentium gcc compiler,
   7713 	# which looks to be a dead project)
   7714 	lt_prog_compiler_wl='-Wl,'
   7715 	lt_prog_compiler_pic='-fpic'
   7716 	lt_prog_compiler_static='-Bstatic'
   7717         ;;
   7718       ccc*)
   7719         lt_prog_compiler_wl='-Wl,'
   7720         # All Alpha code is PIC.
   7721         lt_prog_compiler_static='-non_shared'
   7722         ;;
   7723       xl*)
   7724 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7725 	lt_prog_compiler_wl='-Wl,'
   7726 	lt_prog_compiler_pic='-qpic'
   7727 	lt_prog_compiler_static='-qstaticlink'
   7728 	;;
   7729       *)
   7730 	case `$CC -V 2>&1 | sed 5q` in
   7731 	*Sun\ C*)
   7732 	  # Sun C 5.9
   7733 	  lt_prog_compiler_pic='-KPIC'
   7734 	  lt_prog_compiler_static='-Bstatic'
   7735 	  lt_prog_compiler_wl='-Wl,'
   7736 	  ;;
   7737 	*Sun\ F*)
   7738 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7739 	  lt_prog_compiler_pic='-KPIC'
   7740 	  lt_prog_compiler_static='-Bstatic'
   7741 	  lt_prog_compiler_wl=''
   7742 	  ;;
   7743 	esac
   7744 	;;
   7745       esac
   7746       ;;
   7747 
   7748     newsos6)
   7749       lt_prog_compiler_pic='-KPIC'
   7750       lt_prog_compiler_static='-Bstatic'
   7751       ;;
   7752 
   7753     *nto* | *qnx*)
   7754       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7755       # it will coredump.
   7756       lt_prog_compiler_pic='-fPIC -shared'
   7757       ;;
   7758 
   7759     osf3* | osf4* | osf5*)
   7760       lt_prog_compiler_wl='-Wl,'
   7761       # All OSF/1 code is PIC.
   7762       lt_prog_compiler_static='-non_shared'
   7763       ;;
   7764 
   7765     rdos*)
   7766       lt_prog_compiler_static='-non_shared'
   7767       ;;
   7768 
   7769     solaris*)
   7770       lt_prog_compiler_pic='-KPIC'
   7771       lt_prog_compiler_static='-Bstatic'
   7772       case $cc_basename in
   7773       f77* | f90* | f95*)
   7774 	lt_prog_compiler_wl='-Qoption ld ';;
   7775       *)
   7776 	lt_prog_compiler_wl='-Wl,';;
   7777       esac
   7778       ;;
   7779 
   7780     sunos4*)
   7781       lt_prog_compiler_wl='-Qoption ld '
   7782       lt_prog_compiler_pic='-PIC'
   7783       lt_prog_compiler_static='-Bstatic'
   7784       ;;
   7785 
   7786     sysv4 | sysv4.2uw2* | sysv4.3*)
   7787       lt_prog_compiler_wl='-Wl,'
   7788       lt_prog_compiler_pic='-KPIC'
   7789       lt_prog_compiler_static='-Bstatic'
   7790       ;;
   7791 
   7792     sysv4*MP*)
   7793       if test -d /usr/nec ;then
   7794 	lt_prog_compiler_pic='-Kconform_pic'
   7795 	lt_prog_compiler_static='-Bstatic'
   7796       fi
   7797       ;;
   7798 
   7799     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7800       lt_prog_compiler_wl='-Wl,'
   7801       lt_prog_compiler_pic='-KPIC'
   7802       lt_prog_compiler_static='-Bstatic'
   7803       ;;
   7804 
   7805     unicos*)
   7806       lt_prog_compiler_wl='-Wl,'
   7807       lt_prog_compiler_can_build_shared=no
   7808       ;;
   7809 
   7810     uts4*)
   7811       lt_prog_compiler_pic='-pic'
   7812       lt_prog_compiler_static='-Bstatic'
   7813       ;;
   7814 
   7815     *)
   7816       lt_prog_compiler_can_build_shared=no
   7817       ;;
   7818     esac
   7819   fi
   7820 
   7821 case $host_os in
   7822   # For platforms which do not support PIC, -DPIC is meaningless:
   7823   *djgpp*)
   7824     lt_prog_compiler_pic=
   7825     ;;
   7826   *)
   7827     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7828     ;;
   7829 esac
   7830 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7831 $as_echo "$lt_prog_compiler_pic" >&6; }
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 #
   7839 # Check to make sure the PIC flag actually works.
   7840 #
   7841 if test -n "$lt_prog_compiler_pic"; then
   7842   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7843 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7844 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7845   $as_echo_n "(cached) " >&6
   7846 else
   7847   lt_cv_prog_compiler_pic_works=no
   7848    ac_outfile=conftest.$ac_objext
   7849    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7850    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7851    # Insert the option either (1) after the last *FLAGS variable, or
   7852    # (2) before a word containing "conftest.", or (3) at the end.
   7853    # Note that $ac_compile itself does not contain backslashes and begins
   7854    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7855    # The option is referenced via a variable to avoid confusing sed.
   7856    lt_compile=`echo "$ac_compile" | $SED \
   7857    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7858    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7859    -e 's:$: $lt_compiler_flag:'`
   7860    (eval echo "\"\$as_me:7860: $lt_compile\"" >&5)
   7861    (eval "$lt_compile" 2>conftest.err)
   7862    ac_status=$?
   7863    cat conftest.err >&5
   7864    echo "$as_me:7864: \$? = $ac_status" >&5
   7865    if (exit $ac_status) && test -s "$ac_outfile"; then
   7866      # The compiler can only warn and ignore the option if not recognized
   7867      # So say no if there are warnings other than the usual output.
   7868      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7869      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7870      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7871        lt_cv_prog_compiler_pic_works=yes
   7872      fi
   7873    fi
   7874    $RM conftest*
   7875 
   7876 fi
   7877 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7878 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7879 
   7880 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7881     case $lt_prog_compiler_pic in
   7882      "" | " "*) ;;
   7883      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7884      esac
   7885 else
   7886     lt_prog_compiler_pic=
   7887      lt_prog_compiler_can_build_shared=no
   7888 fi
   7889 
   7890 fi
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 #
   7898 # Check to make sure the static flag actually works.
   7899 #
   7900 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7901 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7902 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7903 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7904   $as_echo_n "(cached) " >&6
   7905 else
   7906   lt_cv_prog_compiler_static_works=no
   7907    save_LDFLAGS="$LDFLAGS"
   7908    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7909    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7910    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7911      # The linker can only warn and ignore the option if not recognized
   7912      # So say no if there are warnings
   7913      if test -s conftest.err; then
   7914        # Append any errors to the config.log.
   7915        cat conftest.err 1>&5
   7916        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7917        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7918        if diff conftest.exp conftest.er2 >/dev/null; then
   7919          lt_cv_prog_compiler_static_works=yes
   7920        fi
   7921      else
   7922        lt_cv_prog_compiler_static_works=yes
   7923      fi
   7924    fi
   7925    $RM -r conftest*
   7926    LDFLAGS="$save_LDFLAGS"
   7927 
   7928 fi
   7929 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7930 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7931 
   7932 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7933     :
   7934 else
   7935     lt_prog_compiler_static=
   7936 fi
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7945 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7946 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7947   $as_echo_n "(cached) " >&6
   7948 else
   7949   lt_cv_prog_compiler_c_o=no
   7950    $RM -r conftest 2>/dev/null
   7951    mkdir conftest
   7952    cd conftest
   7953    mkdir out
   7954    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7955 
   7956    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7957    # Insert the option either (1) after the last *FLAGS variable, or
   7958    # (2) before a word containing "conftest.", or (3) at the end.
   7959    # Note that $ac_compile itself does not contain backslashes and begins
   7960    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7961    lt_compile=`echo "$ac_compile" | $SED \
   7962    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7963    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7964    -e 's:$: $lt_compiler_flag:'`
   7965    (eval echo "\"\$as_me:7965: $lt_compile\"" >&5)
   7966    (eval "$lt_compile" 2>out/conftest.err)
   7967    ac_status=$?
   7968    cat out/conftest.err >&5
   7969    echo "$as_me:7969: \$? = $ac_status" >&5
   7970    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7971    then
   7972      # The compiler can only warn and ignore the option if not recognized
   7973      # So say no if there are warnings
   7974      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7975      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7976      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7977        lt_cv_prog_compiler_c_o=yes
   7978      fi
   7979    fi
   7980    chmod u+w . 2>&5
   7981    $RM conftest*
   7982    # SGI C++ compiler will create directory out/ii_files/ for
   7983    # template instantiation
   7984    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7985    $RM out/* && rmdir out
   7986    cd ..
   7987    $RM -r conftest
   7988    $RM conftest*
   7989 
   7990 fi
   7991 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7992 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8000 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8001 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8002   $as_echo_n "(cached) " >&6
   8003 else
   8004   lt_cv_prog_compiler_c_o=no
   8005    $RM -r conftest 2>/dev/null
   8006    mkdir conftest
   8007    cd conftest
   8008    mkdir out
   8009    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8010 
   8011    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8012    # Insert the option either (1) after the last *FLAGS variable, or
   8013    # (2) before a word containing "conftest.", or (3) at the end.
   8014    # Note that $ac_compile itself does not contain backslashes and begins
   8015    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8016    lt_compile=`echo "$ac_compile" | $SED \
   8017    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8018    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8019    -e 's:$: $lt_compiler_flag:'`
   8020    (eval echo "\"\$as_me:8020: $lt_compile\"" >&5)
   8021    (eval "$lt_compile" 2>out/conftest.err)
   8022    ac_status=$?
   8023    cat out/conftest.err >&5
   8024    echo "$as_me:8024: \$? = $ac_status" >&5
   8025    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8026    then
   8027      # The compiler can only warn and ignore the option if not recognized
   8028      # So say no if there are warnings
   8029      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8030      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8031      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8032        lt_cv_prog_compiler_c_o=yes
   8033      fi
   8034    fi
   8035    chmod u+w . 2>&5
   8036    $RM conftest*
   8037    # SGI C++ compiler will create directory out/ii_files/ for
   8038    # template instantiation
   8039    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8040    $RM out/* && rmdir out
   8041    cd ..
   8042    $RM -r conftest
   8043    $RM conftest*
   8044 
   8045 fi
   8046 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8047 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8048 
   8049 
   8050 
   8051 
   8052 hard_links="nottested"
   8053 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8054   # do not overwrite the value of need_locks provided by the user
   8055   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8056 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8057   hard_links=yes
   8058   $RM conftest*
   8059   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8060   touch conftest.a
   8061   ln conftest.a conftest.b 2>&5 || hard_links=no
   8062   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8063   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8064 $as_echo "$hard_links" >&6; }
   8065   if test "$hard_links" = no; then
   8066     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8067 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8068     need_locks=warn
   8069   fi
   8070 else
   8071   need_locks=no
   8072 fi
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8080 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8081 
   8082   runpath_var=
   8083   allow_undefined_flag=
   8084   always_export_symbols=no
   8085   archive_cmds=
   8086   archive_expsym_cmds=
   8087   compiler_needs_object=no
   8088   enable_shared_with_static_runtimes=no
   8089   export_dynamic_flag_spec=
   8090   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8091   hardcode_automatic=no
   8092   hardcode_direct=no
   8093   hardcode_direct_absolute=no
   8094   hardcode_libdir_flag_spec=
   8095   hardcode_libdir_flag_spec_ld=
   8096   hardcode_libdir_separator=
   8097   hardcode_minus_L=no
   8098   hardcode_shlibpath_var=unsupported
   8099   inherit_rpath=no
   8100   link_all_deplibs=unknown
   8101   module_cmds=
   8102   module_expsym_cmds=
   8103   old_archive_from_new_cmds=
   8104   old_archive_from_expsyms_cmds=
   8105   thread_safe_flag_spec=
   8106   whole_archive_flag_spec=
   8107   # include_expsyms should be a list of space-separated symbols to be *always*
   8108   # included in the symbol list
   8109   include_expsyms=
   8110   # exclude_expsyms can be an extended regexp of symbols to exclude
   8111   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8112   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8113   # as well as any symbol that contains `d'.
   8114   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8115   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8116   # platforms (ab)use it in PIC code, but their linkers get confused if
   8117   # the symbol is explicitly referenced.  Since portable code cannot
   8118   # rely on this symbol name, it's probably fine to never include it in
   8119   # preloaded symbol tables.
   8120   # Exclude shared library initialization/finalization symbols.
   8121   extract_expsyms_cmds=
   8122 
   8123   case $host_os in
   8124   cygwin* | mingw* | pw32* | cegcc*)
   8125     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8126     # When not using gcc, we currently assume that we are using
   8127     # Microsoft Visual C++.
   8128     if test "$GCC" != yes; then
   8129       with_gnu_ld=no
   8130     fi
   8131     ;;
   8132   interix*)
   8133     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8134     with_gnu_ld=yes
   8135     ;;
   8136   openbsd*)
   8137     with_gnu_ld=no
   8138     ;;
   8139   esac
   8140 
   8141   ld_shlibs=yes
   8142   if test "$with_gnu_ld" = yes; then
   8143     # If archive_cmds runs LD, not CC, wlarc should be empty
   8144     wlarc='${wl}'
   8145 
   8146     # Set some defaults for GNU ld with shared library support. These
   8147     # are reset later if shared libraries are not supported. Putting them
   8148     # here allows them to be overridden if necessary.
   8149     runpath_var=LD_RUN_PATH
   8150     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8151     export_dynamic_flag_spec='${wl}--export-dynamic'
   8152     # ancient GNU ld didn't support --whole-archive et. al.
   8153     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8154       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8155     else
   8156       whole_archive_flag_spec=
   8157     fi
   8158     supports_anon_versioning=no
   8159     case `$LD -v 2>&1` in
   8160       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8161       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8162       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8163       *\ 2.11.*) ;; # other 2.11 versions
   8164       *) supports_anon_versioning=yes ;;
   8165     esac
   8166 
   8167     # See if GNU ld supports shared libraries.
   8168     case $host_os in
   8169     aix[3-9]*)
   8170       # On AIX/PPC, the GNU linker is very broken
   8171       if test "$host_cpu" != ia64; then
   8172 	ld_shlibs=no
   8173 	cat <<_LT_EOF 1>&2
   8174 
   8175 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8176 *** to be unable to reliably create shared libraries on AIX.
   8177 *** Therefore, libtool is disabling shared libraries support.  If you
   8178 *** really care for shared libraries, you may want to modify your PATH
   8179 *** so that a non-GNU linker is found, and then restart.
   8180 
   8181 _LT_EOF
   8182       fi
   8183       ;;
   8184 
   8185     amigaos*)
   8186       case $host_cpu in
   8187       powerpc)
   8188             # see comment about AmigaOS4 .so support
   8189             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8190             archive_expsym_cmds=''
   8191         ;;
   8192       m68k)
   8193             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)'
   8194             hardcode_libdir_flag_spec='-L$libdir'
   8195             hardcode_minus_L=yes
   8196         ;;
   8197       esac
   8198       ;;
   8199 
   8200     beos*)
   8201       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8202 	allow_undefined_flag=unsupported
   8203 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8204 	# support --undefined.  This deserves some investigation.  FIXME
   8205 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8206       else
   8207 	ld_shlibs=no
   8208       fi
   8209       ;;
   8210 
   8211     cygwin* | mingw* | pw32* | cegcc*)
   8212       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8213       # as there is no search path for DLLs.
   8214       hardcode_libdir_flag_spec='-L$libdir'
   8215       allow_undefined_flag=unsupported
   8216       always_export_symbols=no
   8217       enable_shared_with_static_runtimes=yes
   8218       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8219 
   8220       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8221         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8222 	# If the export-symbols file already is a .def file (1st line
   8223 	# is EXPORTS), use it as is; otherwise, prepend...
   8224 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8225 	  cp $export_symbols $output_objdir/$soname.def;
   8226 	else
   8227 	  echo EXPORTS > $output_objdir/$soname.def;
   8228 	  cat $export_symbols >> $output_objdir/$soname.def;
   8229 	fi~
   8230 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8231       else
   8232 	ld_shlibs=no
   8233       fi
   8234       ;;
   8235 
   8236     interix[3-9]*)
   8237       hardcode_direct=no
   8238       hardcode_shlibpath_var=no
   8239       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8240       export_dynamic_flag_spec='${wl}-E'
   8241       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8242       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8243       # default) and relocated if they conflict, which is a slow very memory
   8244       # consuming and fragmenting process.  To avoid this, we pick a random,
   8245       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8246       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8247       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8248       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'
   8249       ;;
   8250 
   8251     gnu* | linux* | tpf* | k*bsd*-gnu)
   8252       tmp_diet=no
   8253       if test "$host_os" = linux-dietlibc; then
   8254 	case $cc_basename in
   8255 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8256 	esac
   8257       fi
   8258       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8259 	 && test "$tmp_diet" = no
   8260       then
   8261 	tmp_addflag=
   8262 	tmp_sharedflag='-shared'
   8263 	case $cc_basename,$host_cpu in
   8264         pgcc*)				# Portland Group C compiler
   8265 	  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'
   8266 	  tmp_addflag=' $pic_flag'
   8267 	  ;;
   8268 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8269 	  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'
   8270 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8271 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8272 	  tmp_addflag=' -i_dynamic' ;;
   8273 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8274 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8275 	ifc* | ifort*)			# Intel Fortran compiler
   8276 	  tmp_addflag=' -nofor_main' ;;
   8277 	lf95*)				# Lahey Fortran 8.1
   8278 	  whole_archive_flag_spec=
   8279 	  tmp_sharedflag='--shared' ;;
   8280 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8281 	  tmp_sharedflag='-qmkshrobj'
   8282 	  tmp_addflag= ;;
   8283 	esac
   8284 	case `$CC -V 2>&1 | sed 5q` in
   8285 	*Sun\ C*)			# Sun C 5.9
   8286 	  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'
   8287 	  compiler_needs_object=yes
   8288 	  tmp_sharedflag='-G' ;;
   8289 	*Sun\ F*)			# Sun Fortran 8.3
   8290 	  tmp_sharedflag='-G' ;;
   8291 	esac
   8292 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8293 
   8294         if test "x$supports_anon_versioning" = xyes; then
   8295           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8296 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8297 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8298 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8299         fi
   8300 
   8301 	case $cc_basename in
   8302 	xlf*)
   8303 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8304 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8305 	  hardcode_libdir_flag_spec=
   8306 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8307 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8308 	  if test "x$supports_anon_versioning" = xyes; then
   8309 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8310 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8311 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8312 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8313 	  fi
   8314 	  ;;
   8315 	esac
   8316       else
   8317         ld_shlibs=no
   8318       fi
   8319       ;;
   8320 
   8321     netbsd*)
   8322       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8323 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8324 	wlarc=
   8325       else
   8326 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8327 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8328       fi
   8329       ;;
   8330 
   8331     solaris*)
   8332       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8333 	ld_shlibs=no
   8334 	cat <<_LT_EOF 1>&2
   8335 
   8336 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8337 *** create shared libraries on Solaris systems.  Therefore, libtool
   8338 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8339 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8340 *** your PATH or compiler configuration so that the native linker is
   8341 *** used, and then restart.
   8342 
   8343 _LT_EOF
   8344       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8345 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8346 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8347       else
   8348 	ld_shlibs=no
   8349       fi
   8350       ;;
   8351 
   8352     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8353       case `$LD -v 2>&1` in
   8354         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8355 	ld_shlibs=no
   8356 	cat <<_LT_EOF 1>&2
   8357 
   8358 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8359 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8360 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8361 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8362 *** your PATH or compiler configuration so that the native linker is
   8363 *** used, and then restart.
   8364 
   8365 _LT_EOF
   8366 	;;
   8367 	*)
   8368 	  # For security reasons, it is highly recommended that you always
   8369 	  # use absolute paths for naming shared libraries, and exclude the
   8370 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8371 	  # requires that you compile everything twice, which is a pain.
   8372 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8373 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8374 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8375 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8376 	  else
   8377 	    ld_shlibs=no
   8378 	  fi
   8379 	;;
   8380       esac
   8381       ;;
   8382 
   8383     sunos4*)
   8384       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8385       wlarc=
   8386       hardcode_direct=yes
   8387       hardcode_shlibpath_var=no
   8388       ;;
   8389 
   8390     *)
   8391       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8392 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8393 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8394       else
   8395 	ld_shlibs=no
   8396       fi
   8397       ;;
   8398     esac
   8399 
   8400     if test "$ld_shlibs" = no; then
   8401       runpath_var=
   8402       hardcode_libdir_flag_spec=
   8403       export_dynamic_flag_spec=
   8404       whole_archive_flag_spec=
   8405     fi
   8406   else
   8407     # PORTME fill in a description of your system's linker (not GNU ld)
   8408     case $host_os in
   8409     aix3*)
   8410       allow_undefined_flag=unsupported
   8411       always_export_symbols=yes
   8412       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'
   8413       # Note: this linker hardcodes the directories in LIBPATH if there
   8414       # are no directories specified by -L.
   8415       hardcode_minus_L=yes
   8416       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8417 	# Neither direct hardcoding nor static linking is supported with a
   8418 	# broken collect2.
   8419 	hardcode_direct=unsupported
   8420       fi
   8421       ;;
   8422 
   8423     aix[4-9]*)
   8424       if test "$host_cpu" = ia64; then
   8425 	# On IA64, the linker does run time linking by default, so we don't
   8426 	# have to do anything special.
   8427 	aix_use_runtimelinking=no
   8428 	exp_sym_flag='-Bexport'
   8429 	no_entry_flag=""
   8430       else
   8431 	# If we're using GNU nm, then we don't want the "-C" option.
   8432 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8433 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8434 	  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'
   8435 	else
   8436 	  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'
   8437 	fi
   8438 	aix_use_runtimelinking=no
   8439 
   8440 	# Test if we are trying to use run time linking or normal
   8441 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8442 	# need to do runtime linking.
   8443 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8444 	  for ld_flag in $LDFLAGS; do
   8445 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8446 	    aix_use_runtimelinking=yes
   8447 	    break
   8448 	  fi
   8449 	  done
   8450 	  ;;
   8451 	esac
   8452 
   8453 	exp_sym_flag='-bexport'
   8454 	no_entry_flag='-bnoentry'
   8455       fi
   8456 
   8457       # When large executables or shared objects are built, AIX ld can
   8458       # have problems creating the table of contents.  If linking a library
   8459       # or program results in "error TOC overflow" add -mminimal-toc to
   8460       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8461       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8462 
   8463       archive_cmds=''
   8464       hardcode_direct=yes
   8465       hardcode_direct_absolute=yes
   8466       hardcode_libdir_separator=':'
   8467       link_all_deplibs=yes
   8468       file_list_spec='${wl}-f,'
   8469 
   8470       if test "$GCC" = yes; then
   8471 	case $host_os in aix4.[012]|aix4.[012].*)
   8472 	# We only want to do this on AIX 4.2 and lower, the check
   8473 	# below for broken collect2 doesn't work under 4.3+
   8474 	  collect2name=`${CC} -print-prog-name=collect2`
   8475 	  if test -f "$collect2name" &&
   8476 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8477 	  then
   8478 	  # We have reworked collect2
   8479 	  :
   8480 	  else
   8481 	  # We have old collect2
   8482 	  hardcode_direct=unsupported
   8483 	  # It fails to find uninstalled libraries when the uninstalled
   8484 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8485 	  # to unsupported forces relinking
   8486 	  hardcode_minus_L=yes
   8487 	  hardcode_libdir_flag_spec='-L$libdir'
   8488 	  hardcode_libdir_separator=
   8489 	  fi
   8490 	  ;;
   8491 	esac
   8492 	shared_flag='-shared'
   8493 	if test "$aix_use_runtimelinking" = yes; then
   8494 	  shared_flag="$shared_flag "'${wl}-G'
   8495 	fi
   8496       else
   8497 	# not using gcc
   8498 	if test "$host_cpu" = ia64; then
   8499 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8500 	# chokes on -Wl,-G. The following line is correct:
   8501 	  shared_flag='-G'
   8502 	else
   8503 	  if test "$aix_use_runtimelinking" = yes; then
   8504 	    shared_flag='${wl}-G'
   8505 	  else
   8506 	    shared_flag='${wl}-bM:SRE'
   8507 	  fi
   8508 	fi
   8509       fi
   8510 
   8511       export_dynamic_flag_spec='${wl}-bexpall'
   8512       # It seems that -bexpall does not export symbols beginning with
   8513       # underscore (_), so it is better to generate a list of symbols to export.
   8514       always_export_symbols=yes
   8515       if test "$aix_use_runtimelinking" = yes; then
   8516 	# Warning - without using the other runtime loading flags (-brtl),
   8517 	# -berok will link without error, but may produce a broken library.
   8518 	allow_undefined_flag='-berok'
   8519         # Determine the default libpath from the value encoded in an
   8520         # empty executable.
   8521         cat >conftest.$ac_ext <<_ACEOF
   8522 /* confdefs.h.  */
   8523 _ACEOF
   8524 cat confdefs.h >>conftest.$ac_ext
   8525 cat >>conftest.$ac_ext <<_ACEOF
   8526 /* end confdefs.h.  */
   8527 
   8528 int
   8529 main ()
   8530 {
   8531 
   8532   ;
   8533   return 0;
   8534 }
   8535 _ACEOF
   8536 rm -f conftest.$ac_objext conftest$ac_exeext
   8537 if { (ac_try="$ac_link"
   8538 case "(($ac_try" in
   8539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8540   *) ac_try_echo=$ac_try;;
   8541 esac
   8542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8543 $as_echo "$ac_try_echo") >&5
   8544   (eval "$ac_link") 2>conftest.er1
   8545   ac_status=$?
   8546   grep -v '^ *+' conftest.er1 >conftest.err
   8547   rm -f conftest.er1
   8548   cat conftest.err >&5
   8549   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8550   (exit $ac_status); } && {
   8551 	 test -z "$ac_c_werror_flag" ||
   8552 	 test ! -s conftest.err
   8553        } && test -s conftest$ac_exeext && {
   8554 	 test "$cross_compiling" = yes ||
   8555 	 $as_test_x conftest$ac_exeext
   8556        }; then
   8557 
   8558 lt_aix_libpath_sed='
   8559     /Import File Strings/,/^$/ {
   8560 	/^0/ {
   8561 	    s/^0  *\(.*\)$/\1/
   8562 	    p
   8563 	}
   8564     }'
   8565 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8566 # Check for a 64-bit object if we didn't find anything.
   8567 if test -z "$aix_libpath"; then
   8568   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8569 fi
   8570 else
   8571   $as_echo "$as_me: failed program was:" >&5
   8572 sed 's/^/| /' conftest.$ac_ext >&5
   8573 
   8574 
   8575 fi
   8576 
   8577 rm -rf conftest.dSYM
   8578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8579       conftest$ac_exeext conftest.$ac_ext
   8580 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8581 
   8582         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8583         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"
   8584       else
   8585 	if test "$host_cpu" = ia64; then
   8586 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8587 	  allow_undefined_flag="-z nodefs"
   8588 	  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"
   8589 	else
   8590 	 # Determine the default libpath from the value encoded in an
   8591 	 # empty executable.
   8592 	 cat >conftest.$ac_ext <<_ACEOF
   8593 /* confdefs.h.  */
   8594 _ACEOF
   8595 cat confdefs.h >>conftest.$ac_ext
   8596 cat >>conftest.$ac_ext <<_ACEOF
   8597 /* end confdefs.h.  */
   8598 
   8599 int
   8600 main ()
   8601 {
   8602 
   8603   ;
   8604   return 0;
   8605 }
   8606 _ACEOF
   8607 rm -f conftest.$ac_objext conftest$ac_exeext
   8608 if { (ac_try="$ac_link"
   8609 case "(($ac_try" in
   8610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8611   *) ac_try_echo=$ac_try;;
   8612 esac
   8613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8614 $as_echo "$ac_try_echo") >&5
   8615   (eval "$ac_link") 2>conftest.er1
   8616   ac_status=$?
   8617   grep -v '^ *+' conftest.er1 >conftest.err
   8618   rm -f conftest.er1
   8619   cat conftest.err >&5
   8620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8621   (exit $ac_status); } && {
   8622 	 test -z "$ac_c_werror_flag" ||
   8623 	 test ! -s conftest.err
   8624        } && test -s conftest$ac_exeext && {
   8625 	 test "$cross_compiling" = yes ||
   8626 	 $as_test_x conftest$ac_exeext
   8627        }; then
   8628 
   8629 lt_aix_libpath_sed='
   8630     /Import File Strings/,/^$/ {
   8631 	/^0/ {
   8632 	    s/^0  *\(.*\)$/\1/
   8633 	    p
   8634 	}
   8635     }'
   8636 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8637 # Check for a 64-bit object if we didn't find anything.
   8638 if test -z "$aix_libpath"; then
   8639   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8640 fi
   8641 else
   8642   $as_echo "$as_me: failed program was:" >&5
   8643 sed 's/^/| /' conftest.$ac_ext >&5
   8644 
   8645 
   8646 fi
   8647 
   8648 rm -rf conftest.dSYM
   8649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8650       conftest$ac_exeext conftest.$ac_ext
   8651 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8652 
   8653 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8654 	  # Warning - without using the other run time loading flags,
   8655 	  # -berok will link without error, but may produce a broken library.
   8656 	  no_undefined_flag=' ${wl}-bernotok'
   8657 	  allow_undefined_flag=' ${wl}-berok'
   8658 	  # Exported symbols can be pulled into shared objects from archives
   8659 	  whole_archive_flag_spec='$convenience'
   8660 	  archive_cmds_need_lc=yes
   8661 	  # This is similar to how AIX traditionally builds its shared libraries.
   8662 	  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'
   8663 	fi
   8664       fi
   8665       ;;
   8666 
   8667     amigaos*)
   8668       case $host_cpu in
   8669       powerpc)
   8670             # see comment about AmigaOS4 .so support
   8671             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8672             archive_expsym_cmds=''
   8673         ;;
   8674       m68k)
   8675             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)'
   8676             hardcode_libdir_flag_spec='-L$libdir'
   8677             hardcode_minus_L=yes
   8678         ;;
   8679       esac
   8680       ;;
   8681 
   8682     bsdi[45]*)
   8683       export_dynamic_flag_spec=-rdynamic
   8684       ;;
   8685 
   8686     cygwin* | mingw* | pw32* | cegcc*)
   8687       # When not using gcc, we currently assume that we are using
   8688       # Microsoft Visual C++.
   8689       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8690       # no search path for DLLs.
   8691       hardcode_libdir_flag_spec=' '
   8692       allow_undefined_flag=unsupported
   8693       # Tell ltmain to make .lib files, not .a files.
   8694       libext=lib
   8695       # Tell ltmain to make .dll files, not .so files.
   8696       shrext_cmds=".dll"
   8697       # FIXME: Setting linknames here is a bad hack.
   8698       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8699       # The linker will automatically build a .lib file if we build a DLL.
   8700       old_archive_from_new_cmds='true'
   8701       # FIXME: Should let the user specify the lib program.
   8702       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8703       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8704       enable_shared_with_static_runtimes=yes
   8705       ;;
   8706 
   8707     darwin* | rhapsody*)
   8708 
   8709 
   8710   archive_cmds_need_lc=no
   8711   hardcode_direct=no
   8712   hardcode_automatic=yes
   8713   hardcode_shlibpath_var=unsupported
   8714   whole_archive_flag_spec=''
   8715   link_all_deplibs=yes
   8716   allow_undefined_flag="$_lt_dar_allow_undefined"
   8717   case $cc_basename in
   8718      ifort*) _lt_dar_can_shared=yes ;;
   8719      *) _lt_dar_can_shared=$GCC ;;
   8720   esac
   8721   if test "$_lt_dar_can_shared" = "yes"; then
   8722     output_verbose_link_cmd=echo
   8723     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8724     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8725     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}"
   8726     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}"
   8727 
   8728   else
   8729   ld_shlibs=no
   8730   fi
   8731 
   8732       ;;
   8733 
   8734     dgux*)
   8735       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8736       hardcode_libdir_flag_spec='-L$libdir'
   8737       hardcode_shlibpath_var=no
   8738       ;;
   8739 
   8740     freebsd1*)
   8741       ld_shlibs=no
   8742       ;;
   8743 
   8744     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8745     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8746     # does not break anything, and helps significantly (at the cost of a little
   8747     # extra space).
   8748     freebsd2.2*)
   8749       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8750       hardcode_libdir_flag_spec='-R$libdir'
   8751       hardcode_direct=yes
   8752       hardcode_shlibpath_var=no
   8753       ;;
   8754 
   8755     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8756     freebsd2*)
   8757       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8758       hardcode_direct=yes
   8759       hardcode_minus_L=yes
   8760       hardcode_shlibpath_var=no
   8761       ;;
   8762 
   8763     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8764     freebsd* | dragonfly*)
   8765       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8766       hardcode_libdir_flag_spec='-R$libdir'
   8767       hardcode_direct=yes
   8768       hardcode_shlibpath_var=no
   8769       ;;
   8770 
   8771     hpux9*)
   8772       if test "$GCC" = yes; then
   8773 	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'
   8774       else
   8775 	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'
   8776       fi
   8777       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8778       hardcode_libdir_separator=:
   8779       hardcode_direct=yes
   8780 
   8781       # hardcode_minus_L: Not really in the search PATH,
   8782       # but as the default location of the library.
   8783       hardcode_minus_L=yes
   8784       export_dynamic_flag_spec='${wl}-E'
   8785       ;;
   8786 
   8787     hpux10*)
   8788       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8789 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8790       else
   8791 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8792       fi
   8793       if test "$with_gnu_ld" = no; then
   8794 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8795 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8796 	hardcode_libdir_separator=:
   8797 	hardcode_direct=yes
   8798 	hardcode_direct_absolute=yes
   8799 	export_dynamic_flag_spec='${wl}-E'
   8800 	# hardcode_minus_L: Not really in the search PATH,
   8801 	# but as the default location of the library.
   8802 	hardcode_minus_L=yes
   8803       fi
   8804       ;;
   8805 
   8806     hpux11*)
   8807       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8808 	case $host_cpu in
   8809 	hppa*64*)
   8810 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8811 	  ;;
   8812 	ia64*)
   8813 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8814 	  ;;
   8815 	*)
   8816 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8817 	  ;;
   8818 	esac
   8819       else
   8820 	case $host_cpu in
   8821 	hppa*64*)
   8822 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8823 	  ;;
   8824 	ia64*)
   8825 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8826 	  ;;
   8827 	*)
   8828 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8829 	  ;;
   8830 	esac
   8831       fi
   8832       if test "$with_gnu_ld" = no; then
   8833 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8834 	hardcode_libdir_separator=:
   8835 
   8836 	case $host_cpu in
   8837 	hppa*64*|ia64*)
   8838 	  hardcode_direct=no
   8839 	  hardcode_shlibpath_var=no
   8840 	  ;;
   8841 	*)
   8842 	  hardcode_direct=yes
   8843 	  hardcode_direct_absolute=yes
   8844 	  export_dynamic_flag_spec='${wl}-E'
   8845 
   8846 	  # hardcode_minus_L: Not really in the search PATH,
   8847 	  # but as the default location of the library.
   8848 	  hardcode_minus_L=yes
   8849 	  ;;
   8850 	esac
   8851       fi
   8852       ;;
   8853 
   8854     irix5* | irix6* | nonstopux*)
   8855       if test "$GCC" = yes; then
   8856 	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'
   8857 	# Try to use the -exported_symbol ld option, if it does not
   8858 	# work, assume that -exports_file does not work either and
   8859 	# implicitly export all symbols.
   8860         save_LDFLAGS="$LDFLAGS"
   8861         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8862         cat >conftest.$ac_ext <<_ACEOF
   8863 int foo(void) {}
   8864 _ACEOF
   8865 rm -f conftest.$ac_objext conftest$ac_exeext
   8866 if { (ac_try="$ac_link"
   8867 case "(($ac_try" in
   8868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8869   *) ac_try_echo=$ac_try;;
   8870 esac
   8871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8872 $as_echo "$ac_try_echo") >&5
   8873   (eval "$ac_link") 2>conftest.er1
   8874   ac_status=$?
   8875   grep -v '^ *+' conftest.er1 >conftest.err
   8876   rm -f conftest.er1
   8877   cat conftest.err >&5
   8878   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8879   (exit $ac_status); } && {
   8880 	 test -z "$ac_c_werror_flag" ||
   8881 	 test ! -s conftest.err
   8882        } && test -s conftest$ac_exeext && {
   8883 	 test "$cross_compiling" = yes ||
   8884 	 $as_test_x conftest$ac_exeext
   8885        }; then
   8886   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'
   8887 
   8888 else
   8889   $as_echo "$as_me: failed program was:" >&5
   8890 sed 's/^/| /' conftest.$ac_ext >&5
   8891 
   8892 
   8893 fi
   8894 
   8895 rm -rf conftest.dSYM
   8896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8897       conftest$ac_exeext conftest.$ac_ext
   8898         LDFLAGS="$save_LDFLAGS"
   8899       else
   8900 	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'
   8901 	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'
   8902       fi
   8903       archive_cmds_need_lc='no'
   8904       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8905       hardcode_libdir_separator=:
   8906       inherit_rpath=yes
   8907       link_all_deplibs=yes
   8908       ;;
   8909 
   8910     netbsd*)
   8911       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8912 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8913       else
   8914 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8915       fi
   8916       hardcode_libdir_flag_spec='-R$libdir'
   8917       hardcode_direct=yes
   8918       hardcode_shlibpath_var=no
   8919       ;;
   8920 
   8921     newsos6)
   8922       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8923       hardcode_direct=yes
   8924       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8925       hardcode_libdir_separator=:
   8926       hardcode_shlibpath_var=no
   8927       ;;
   8928 
   8929     *nto* | *qnx*)
   8930       ;;
   8931 
   8932     openbsd*)
   8933       if test -f /usr/libexec/ld.so; then
   8934 	hardcode_direct=yes
   8935 	hardcode_shlibpath_var=no
   8936 	hardcode_direct_absolute=yes
   8937 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8938 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8939 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8940 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8941 	  export_dynamic_flag_spec='${wl}-E'
   8942 	else
   8943 	  case $host_os in
   8944 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8945 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8946 	     hardcode_libdir_flag_spec='-R$libdir'
   8947 	     ;;
   8948 	   *)
   8949 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8950 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8951 	     ;;
   8952 	  esac
   8953 	fi
   8954       else
   8955 	ld_shlibs=no
   8956       fi
   8957       ;;
   8958 
   8959     os2*)
   8960       hardcode_libdir_flag_spec='-L$libdir'
   8961       hardcode_minus_L=yes
   8962       allow_undefined_flag=unsupported
   8963       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'
   8964       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8965       ;;
   8966 
   8967     osf3*)
   8968       if test "$GCC" = yes; then
   8969 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8970 	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'
   8971       else
   8972 	allow_undefined_flag=' -expect_unresolved \*'
   8973 	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'
   8974       fi
   8975       archive_cmds_need_lc='no'
   8976       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8977       hardcode_libdir_separator=:
   8978       ;;
   8979 
   8980     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8981       if test "$GCC" = yes; then
   8982 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8983 	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'
   8984 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8985       else
   8986 	allow_undefined_flag=' -expect_unresolved \*'
   8987 	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'
   8988 	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~
   8989 	$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'
   8990 
   8991 	# Both c and cxx compiler support -rpath directly
   8992 	hardcode_libdir_flag_spec='-rpath $libdir'
   8993       fi
   8994       archive_cmds_need_lc='no'
   8995       hardcode_libdir_separator=:
   8996       ;;
   8997 
   8998     solaris*)
   8999       no_undefined_flag=' -z defs'
   9000       if test "$GCC" = yes; then
   9001 	wlarc='${wl}'
   9002 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9003 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9004 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9005       else
   9006 	case `$CC -V 2>&1` in
   9007 	*"Compilers 5.0"*)
   9008 	  wlarc=''
   9009 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9010 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9011 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9012 	  ;;
   9013 	*)
   9014 	  wlarc='${wl}'
   9015 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9016 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9017 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9018 	  ;;
   9019 	esac
   9020       fi
   9021       hardcode_libdir_flag_spec='-R$libdir'
   9022       hardcode_shlibpath_var=no
   9023       case $host_os in
   9024       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9025       *)
   9026 	# The compiler driver will combine and reorder linker options,
   9027 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9028 	# but is careful enough not to reorder.
   9029 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9030 	if test "$GCC" = yes; then
   9031 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9032 	else
   9033 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9034 	fi
   9035 	;;
   9036       esac
   9037       link_all_deplibs=yes
   9038       ;;
   9039 
   9040     sunos4*)
   9041       if test "x$host_vendor" = xsequent; then
   9042 	# Use $CC to link under sequent, because it throws in some extra .o
   9043 	# files that make .init and .fini sections work.
   9044 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9045       else
   9046 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9047       fi
   9048       hardcode_libdir_flag_spec='-L$libdir'
   9049       hardcode_direct=yes
   9050       hardcode_minus_L=yes
   9051       hardcode_shlibpath_var=no
   9052       ;;
   9053 
   9054     sysv4)
   9055       case $host_vendor in
   9056 	sni)
   9057 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9058 	  hardcode_direct=yes # is this really true???
   9059 	;;
   9060 	siemens)
   9061 	  ## LD is ld it makes a PLAMLIB
   9062 	  ## CC just makes a GrossModule.
   9063 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9064 	  reload_cmds='$CC -r -o $output$reload_objs'
   9065 	  hardcode_direct=no
   9066         ;;
   9067 	motorola)
   9068 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9069 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9070 	;;
   9071       esac
   9072       runpath_var='LD_RUN_PATH'
   9073       hardcode_shlibpath_var=no
   9074       ;;
   9075 
   9076     sysv4.3*)
   9077       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9078       hardcode_shlibpath_var=no
   9079       export_dynamic_flag_spec='-Bexport'
   9080       ;;
   9081 
   9082     sysv4*MP*)
   9083       if test -d /usr/nec; then
   9084 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9085 	hardcode_shlibpath_var=no
   9086 	runpath_var=LD_RUN_PATH
   9087 	hardcode_runpath_var=yes
   9088 	ld_shlibs=yes
   9089       fi
   9090       ;;
   9091 
   9092     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9093       no_undefined_flag='${wl}-z,text'
   9094       archive_cmds_need_lc=no
   9095       hardcode_shlibpath_var=no
   9096       runpath_var='LD_RUN_PATH'
   9097 
   9098       if test "$GCC" = yes; then
   9099 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9100 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9101       else
   9102 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9103 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9104       fi
   9105       ;;
   9106 
   9107     sysv5* | sco3.2v5* | sco5v6*)
   9108       # Note: We can NOT use -z defs as we might desire, because we do not
   9109       # link with -lc, and that would cause any symbols used from libc to
   9110       # always be unresolved, which means just about no library would
   9111       # ever link correctly.  If we're not using GNU ld we use -z text
   9112       # though, which does catch some bad symbols but isn't as heavy-handed
   9113       # as -z defs.
   9114       no_undefined_flag='${wl}-z,text'
   9115       allow_undefined_flag='${wl}-z,nodefs'
   9116       archive_cmds_need_lc=no
   9117       hardcode_shlibpath_var=no
   9118       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9119       hardcode_libdir_separator=':'
   9120       link_all_deplibs=yes
   9121       export_dynamic_flag_spec='${wl}-Bexport'
   9122       runpath_var='LD_RUN_PATH'
   9123 
   9124       if test "$GCC" = yes; then
   9125 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9126 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9127       else
   9128 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9129 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9130       fi
   9131       ;;
   9132 
   9133     uts4*)
   9134       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9135       hardcode_libdir_flag_spec='-L$libdir'
   9136       hardcode_shlibpath_var=no
   9137       ;;
   9138 
   9139     *)
   9140       ld_shlibs=no
   9141       ;;
   9142     esac
   9143 
   9144     if test x$host_vendor = xsni; then
   9145       case $host in
   9146       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9147 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9148 	;;
   9149       esac
   9150     fi
   9151   fi
   9152 
   9153 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9154 $as_echo "$ld_shlibs" >&6; }
   9155 test "$ld_shlibs" = no && can_build_shared=no
   9156 
   9157 with_gnu_ld=$with_gnu_ld
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 #
   9174 # Do we need to explicitly link libc?
   9175 #
   9176 case "x$archive_cmds_need_lc" in
   9177 x|xyes)
   9178   # Assume -lc should be added
   9179   archive_cmds_need_lc=yes
   9180 
   9181   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9182     case $archive_cmds in
   9183     *'~'*)
   9184       # FIXME: we may have to deal with multi-command sequences.
   9185       ;;
   9186     '$CC '*)
   9187       # Test whether the compiler implicitly links with -lc since on some
   9188       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9189       # to ld, don't add -lc before -lgcc.
   9190       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9191 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9192       $RM conftest*
   9193       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9194 
   9195       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9196   (eval $ac_compile) 2>&5
   9197   ac_status=$?
   9198   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9199   (exit $ac_status); } 2>conftest.err; then
   9200         soname=conftest
   9201         lib=conftest
   9202         libobjs=conftest.$ac_objext
   9203         deplibs=
   9204         wl=$lt_prog_compiler_wl
   9205 	pic_flag=$lt_prog_compiler_pic
   9206         compiler_flags=-v
   9207         linker_flags=-v
   9208         verstring=
   9209         output_objdir=.
   9210         libname=conftest
   9211         lt_save_allow_undefined_flag=$allow_undefined_flag
   9212         allow_undefined_flag=
   9213         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9214   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9215   ac_status=$?
   9216   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9217   (exit $ac_status); }
   9218         then
   9219 	  archive_cmds_need_lc=no
   9220         else
   9221 	  archive_cmds_need_lc=yes
   9222         fi
   9223         allow_undefined_flag=$lt_save_allow_undefined_flag
   9224       else
   9225         cat conftest.err 1>&5
   9226       fi
   9227       $RM conftest*
   9228       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9229 $as_echo "$archive_cmds_need_lc" >&6; }
   9230       ;;
   9231     esac
   9232   fi
   9233   ;;
   9234 esac
   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 
   9391 
   9392   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9393 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9394 
   9395 if test "$GCC" = yes; then
   9396   case $host_os in
   9397     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9398     *) lt_awk_arg="/^libraries:/" ;;
   9399   esac
   9400   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9401   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9402     # if the path contains ";" then we assume it to be the separator
   9403     # otherwise default to the standard path separator (i.e. ":") - it is
   9404     # assumed that no part of a normal pathname contains ";" but that should
   9405     # okay in the real world where ";" in dirpaths is itself problematic.
   9406     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9407   else
   9408     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9409   fi
   9410   # Ok, now we have the path, separated by spaces, we can step through it
   9411   # and add multilib dir if necessary.
   9412   lt_tmp_lt_search_path_spec=
   9413   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9414   for lt_sys_path in $lt_search_path_spec; do
   9415     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9416       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9417     else
   9418       test -d "$lt_sys_path" && \
   9419 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9420     fi
   9421   done
   9422   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9423 BEGIN {RS=" "; FS="/|\n";} {
   9424   lt_foo="";
   9425   lt_count=0;
   9426   for (lt_i = NF; lt_i > 0; lt_i--) {
   9427     if ($lt_i != "" && $lt_i != ".") {
   9428       if ($lt_i == "..") {
   9429         lt_count++;
   9430       } else {
   9431         if (lt_count == 0) {
   9432           lt_foo="/" $lt_i lt_foo;
   9433         } else {
   9434           lt_count--;
   9435         }
   9436       }
   9437     }
   9438   }
   9439   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9440   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9441 }'`
   9442   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9443 else
   9444   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9445 fi
   9446 library_names_spec=
   9447 libname_spec='lib$name'
   9448 soname_spec=
   9449 shrext_cmds=".so"
   9450 postinstall_cmds=
   9451 postuninstall_cmds=
   9452 finish_cmds=
   9453 finish_eval=
   9454 shlibpath_var=
   9455 shlibpath_overrides_runpath=unknown
   9456 version_type=none
   9457 dynamic_linker="$host_os ld.so"
   9458 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9459 need_lib_prefix=unknown
   9460 hardcode_into_libs=no
   9461 
   9462 # when you set need_version to no, make sure it does not cause -set_version
   9463 # flags to be left without arguments
   9464 need_version=unknown
   9465 
   9466 case $host_os in
   9467 aix3*)
   9468   version_type=linux
   9469   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9470   shlibpath_var=LIBPATH
   9471 
   9472   # AIX 3 has no versioning support, so we append a major version to the name.
   9473   soname_spec='${libname}${release}${shared_ext}$major'
   9474   ;;
   9475 
   9476 aix[4-9]*)
   9477   version_type=linux
   9478   need_lib_prefix=no
   9479   need_version=no
   9480   hardcode_into_libs=yes
   9481   if test "$host_cpu" = ia64; then
   9482     # AIX 5 supports IA64
   9483     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9484     shlibpath_var=LD_LIBRARY_PATH
   9485   else
   9486     # With GCC up to 2.95.x, collect2 would create an import file
   9487     # for dependence libraries.  The import file would start with
   9488     # the line `#! .'.  This would cause the generated library to
   9489     # depend on `.', always an invalid library.  This was fixed in
   9490     # development snapshots of GCC prior to 3.0.
   9491     case $host_os in
   9492       aix4 | aix4.[01] | aix4.[01].*)
   9493       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9494 	   echo ' yes '
   9495 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9496 	:
   9497       else
   9498 	can_build_shared=no
   9499       fi
   9500       ;;
   9501     esac
   9502     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9503     # soname into executable. Probably we can add versioning support to
   9504     # collect2, so additional links can be useful in future.
   9505     if test "$aix_use_runtimelinking" = yes; then
   9506       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9507       # instead of lib<name>.a to let people know that these are not
   9508       # typical AIX shared libraries.
   9509       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9510     else
   9511       # We preserve .a as extension for shared libraries through AIX4.2
   9512       # and later when we are not doing run time linking.
   9513       library_names_spec='${libname}${release}.a $libname.a'
   9514       soname_spec='${libname}${release}${shared_ext}$major'
   9515     fi
   9516     shlibpath_var=LIBPATH
   9517   fi
   9518   ;;
   9519 
   9520 amigaos*)
   9521   case $host_cpu in
   9522   powerpc)
   9523     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9524     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9525     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9526     ;;
   9527   m68k)
   9528     library_names_spec='$libname.ixlibrary $libname.a'
   9529     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9530     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'
   9531     ;;
   9532   esac
   9533   ;;
   9534 
   9535 beos*)
   9536   library_names_spec='${libname}${shared_ext}'
   9537   dynamic_linker="$host_os ld.so"
   9538   shlibpath_var=LIBRARY_PATH
   9539   ;;
   9540 
   9541 bsdi[45]*)
   9542   version_type=linux
   9543   need_version=no
   9544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9545   soname_spec='${libname}${release}${shared_ext}$major'
   9546   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9547   shlibpath_var=LD_LIBRARY_PATH
   9548   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9549   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9550   # the default ld.so.conf also contains /usr/contrib/lib and
   9551   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9552   # libtool to hard-code these into programs
   9553   ;;
   9554 
   9555 cygwin* | mingw* | pw32* | cegcc*)
   9556   version_type=windows
   9557   shrext_cmds=".dll"
   9558   need_version=no
   9559   need_lib_prefix=no
   9560 
   9561   case $GCC,$host_os in
   9562   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9563     library_names_spec='$libname.dll.a'
   9564     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9565     postinstall_cmds='base_file=`basename \${file}`~
   9566       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9567       dldir=$destdir/`dirname \$dlpath`~
   9568       test -d \$dldir || mkdir -p \$dldir~
   9569       $install_prog $dir/$dlname \$dldir/$dlname~
   9570       chmod a+x \$dldir/$dlname~
   9571       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9572         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9573       fi'
   9574     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9575       dlpath=$dir/\$dldll~
   9576        $RM \$dlpath'
   9577     shlibpath_overrides_runpath=yes
   9578 
   9579     case $host_os in
   9580     cygwin*)
   9581       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9582       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9583       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9584       ;;
   9585     mingw* | cegcc*)
   9586       # MinGW DLLs use traditional 'lib' prefix
   9587       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9588       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9589       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9590         # It is most probably a Windows format PATH printed by
   9591         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9592         # path with ; separators, and with drive letters. We can handle the
   9593         # drive letters (cygwin fileutils understands them), so leave them,
   9594         # especially as we might pass files found there to a mingw objdump,
   9595         # which wouldn't understand a cygwinified path. Ahh.
   9596         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9597       else
   9598         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9599       fi
   9600       ;;
   9601     pw32*)
   9602       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9603       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9604       ;;
   9605     esac
   9606     ;;
   9607 
   9608   *)
   9609     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9610     ;;
   9611   esac
   9612   dynamic_linker='Win32 ld.exe'
   9613   # FIXME: first we should search . and the directory the executable is in
   9614   shlibpath_var=PATH
   9615   ;;
   9616 
   9617 darwin* | rhapsody*)
   9618   dynamic_linker="$host_os dyld"
   9619   version_type=darwin
   9620   need_lib_prefix=no
   9621   need_version=no
   9622   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9623   soname_spec='${libname}${release}${major}$shared_ext'
   9624   shlibpath_overrides_runpath=yes
   9625   shlibpath_var=DYLD_LIBRARY_PATH
   9626   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9627 
   9628   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9629   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9630   ;;
   9631 
   9632 dgux*)
   9633   version_type=linux
   9634   need_lib_prefix=no
   9635   need_version=no
   9636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9637   soname_spec='${libname}${release}${shared_ext}$major'
   9638   shlibpath_var=LD_LIBRARY_PATH
   9639   ;;
   9640 
   9641 freebsd1*)
   9642   dynamic_linker=no
   9643   ;;
   9644 
   9645 freebsd* | dragonfly*)
   9646   # DragonFly does not have aout.  When/if they implement a new
   9647   # versioning mechanism, adjust this.
   9648   if test -x /usr/bin/objformat; then
   9649     objformat=`/usr/bin/objformat`
   9650   else
   9651     case $host_os in
   9652     freebsd[123]*) objformat=aout ;;
   9653     *) objformat=elf ;;
   9654     esac
   9655   fi
   9656   version_type=freebsd-$objformat
   9657   case $version_type in
   9658     freebsd-elf*)
   9659       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9660       need_version=no
   9661       need_lib_prefix=no
   9662       ;;
   9663     freebsd-*)
   9664       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9665       need_version=yes
   9666       ;;
   9667   esac
   9668   shlibpath_var=LD_LIBRARY_PATH
   9669   case $host_os in
   9670   freebsd2*)
   9671     shlibpath_overrides_runpath=yes
   9672     ;;
   9673   freebsd3.[01]* | freebsdelf3.[01]*)
   9674     shlibpath_overrides_runpath=yes
   9675     hardcode_into_libs=yes
   9676     ;;
   9677   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9678   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9679     shlibpath_overrides_runpath=no
   9680     hardcode_into_libs=yes
   9681     ;;
   9682   *) # from 4.6 on, and DragonFly
   9683     shlibpath_overrides_runpath=yes
   9684     hardcode_into_libs=yes
   9685     ;;
   9686   esac
   9687   ;;
   9688 
   9689 gnu*)
   9690   version_type=linux
   9691   need_lib_prefix=no
   9692   need_version=no
   9693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9694   soname_spec='${libname}${release}${shared_ext}$major'
   9695   shlibpath_var=LD_LIBRARY_PATH
   9696   hardcode_into_libs=yes
   9697   ;;
   9698 
   9699 hpux9* | hpux10* | hpux11*)
   9700   # Give a soname corresponding to the major version so that dld.sl refuses to
   9701   # link against other versions.
   9702   version_type=sunos
   9703   need_lib_prefix=no
   9704   need_version=no
   9705   case $host_cpu in
   9706   ia64*)
   9707     shrext_cmds='.so'
   9708     hardcode_into_libs=yes
   9709     dynamic_linker="$host_os dld.so"
   9710     shlibpath_var=LD_LIBRARY_PATH
   9711     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9712     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9713     soname_spec='${libname}${release}${shared_ext}$major'
   9714     if test "X$HPUX_IA64_MODE" = X32; then
   9715       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9716     else
   9717       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9718     fi
   9719     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9720     ;;
   9721   hppa*64*)
   9722     shrext_cmds='.sl'
   9723     hardcode_into_libs=yes
   9724     dynamic_linker="$host_os dld.sl"
   9725     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9726     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9727     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9728     soname_spec='${libname}${release}${shared_ext}$major'
   9729     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9730     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9731     ;;
   9732   *)
   9733     shrext_cmds='.sl'
   9734     dynamic_linker="$host_os dld.sl"
   9735     shlibpath_var=SHLIB_PATH
   9736     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9737     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9738     soname_spec='${libname}${release}${shared_ext}$major'
   9739     ;;
   9740   esac
   9741   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9742   postinstall_cmds='chmod 555 $lib'
   9743   ;;
   9744 
   9745 interix[3-9]*)
   9746   version_type=linux
   9747   need_lib_prefix=no
   9748   need_version=no
   9749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9750   soname_spec='${libname}${release}${shared_ext}$major'
   9751   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9752   shlibpath_var=LD_LIBRARY_PATH
   9753   shlibpath_overrides_runpath=no
   9754   hardcode_into_libs=yes
   9755   ;;
   9756 
   9757 irix5* | irix6* | nonstopux*)
   9758   case $host_os in
   9759     nonstopux*) version_type=nonstopux ;;
   9760     *)
   9761 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9762 		version_type=linux
   9763 	else
   9764 		version_type=irix
   9765 	fi ;;
   9766   esac
   9767   need_lib_prefix=no
   9768   need_version=no
   9769   soname_spec='${libname}${release}${shared_ext}$major'
   9770   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9771   case $host_os in
   9772   irix5* | nonstopux*)
   9773     libsuff= shlibsuff=
   9774     ;;
   9775   *)
   9776     case $LD in # libtool.m4 will add one of these switches to LD
   9777     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9778       libsuff= shlibsuff= libmagic=32-bit;;
   9779     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9780       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9781     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9782       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9783     *) libsuff= shlibsuff= libmagic=never-match;;
   9784     esac
   9785     ;;
   9786   esac
   9787   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9788   shlibpath_overrides_runpath=no
   9789   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9790   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9791   hardcode_into_libs=yes
   9792   ;;
   9793 
   9794 # No shared lib support for Linux oldld, aout, or coff.
   9795 linux*oldld* | linux*aout* | linux*coff*)
   9796   dynamic_linker=no
   9797   ;;
   9798 
   9799 # This must be Linux ELF.
   9800 linux* | k*bsd*-gnu)
   9801   version_type=linux
   9802   need_lib_prefix=no
   9803   need_version=no
   9804   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9805   soname_spec='${libname}${release}${shared_ext}$major'
   9806   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9807   shlibpath_var=LD_LIBRARY_PATH
   9808   shlibpath_overrides_runpath=no
   9809   # Some binutils ld are patched to set DT_RUNPATH
   9810   save_LDFLAGS=$LDFLAGS
   9811   save_libdir=$libdir
   9812   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9813        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9814   cat >conftest.$ac_ext <<_ACEOF
   9815 /* confdefs.h.  */
   9816 _ACEOF
   9817 cat confdefs.h >>conftest.$ac_ext
   9818 cat >>conftest.$ac_ext <<_ACEOF
   9819 /* end confdefs.h.  */
   9820 
   9821 int
   9822 main ()
   9823 {
   9824 
   9825   ;
   9826   return 0;
   9827 }
   9828 _ACEOF
   9829 rm -f conftest.$ac_objext conftest$ac_exeext
   9830 if { (ac_try="$ac_link"
   9831 case "(($ac_try" in
   9832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9833   *) ac_try_echo=$ac_try;;
   9834 esac
   9835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9836 $as_echo "$ac_try_echo") >&5
   9837   (eval "$ac_link") 2>conftest.er1
   9838   ac_status=$?
   9839   grep -v '^ *+' conftest.er1 >conftest.err
   9840   rm -f conftest.er1
   9841   cat conftest.err >&5
   9842   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9843   (exit $ac_status); } && {
   9844 	 test -z "$ac_c_werror_flag" ||
   9845 	 test ! -s conftest.err
   9846        } && test -s conftest$ac_exeext && {
   9847 	 test "$cross_compiling" = yes ||
   9848 	 $as_test_x conftest$ac_exeext
   9849        }; then
   9850   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   9851   shlibpath_overrides_runpath=yes
   9852 fi
   9853 
   9854 else
   9855   $as_echo "$as_me: failed program was:" >&5
   9856 sed 's/^/| /' conftest.$ac_ext >&5
   9857 
   9858 
   9859 fi
   9860 
   9861 rm -rf conftest.dSYM
   9862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9863       conftest$ac_exeext conftest.$ac_ext
   9864   LDFLAGS=$save_LDFLAGS
   9865   libdir=$save_libdir
   9866 
   9867   # This implies no fast_install, which is unacceptable.
   9868   # Some rework will be needed to allow for fast_install
   9869   # before this can be enabled.
   9870   hardcode_into_libs=yes
   9871 
   9872   # Add ABI-specific directories to the system library path.
   9873   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   9874 
   9875   # Append ld.so.conf contents to the search path
   9876   if test -f /etc/ld.so.conf; then
   9877     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' ' '`
   9878     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9879   fi
   9880 
   9881   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9882   # powerpc, because MkLinux only supported shared libraries with the
   9883   # GNU dynamic linker.  Since this was broken with cross compilers,
   9884   # most powerpc-linux boxes support dynamic linking these days and
   9885   # people can always --disable-shared, the test was removed, and we
   9886   # assume the GNU/Linux dynamic linker is in use.
   9887   dynamic_linker='GNU/Linux ld.so'
   9888   ;;
   9889 
   9890 netbsd*)
   9891   version_type=sunos
   9892   need_lib_prefix=no
   9893   need_version=no
   9894   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9895     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9896     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9897     dynamic_linker='NetBSD (a.out) ld.so'
   9898   else
   9899     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9900     soname_spec='${libname}${release}${shared_ext}$major'
   9901     dynamic_linker='NetBSD ld.elf_so'
   9902   fi
   9903   shlibpath_var=LD_LIBRARY_PATH
   9904   shlibpath_overrides_runpath=yes
   9905   hardcode_into_libs=yes
   9906   ;;
   9907 
   9908 newsos6)
   9909   version_type=linux
   9910   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9911   shlibpath_var=LD_LIBRARY_PATH
   9912   shlibpath_overrides_runpath=yes
   9913   ;;
   9914 
   9915 *nto* | *qnx*)
   9916   version_type=qnx
   9917   need_lib_prefix=no
   9918   need_version=no
   9919   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9920   soname_spec='${libname}${release}${shared_ext}$major'
   9921   shlibpath_var=LD_LIBRARY_PATH
   9922   shlibpath_overrides_runpath=no
   9923   hardcode_into_libs=yes
   9924   dynamic_linker='ldqnx.so'
   9925   ;;
   9926 
   9927 openbsd*)
   9928   version_type=sunos
   9929   sys_lib_dlsearch_path_spec="/usr/lib"
   9930   need_lib_prefix=no
   9931   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9932   case $host_os in
   9933     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9934     *)				need_version=no  ;;
   9935   esac
   9936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9937   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9938   shlibpath_var=LD_LIBRARY_PATH
   9939   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9940     case $host_os in
   9941       openbsd2.[89] | openbsd2.[89].*)
   9942 	shlibpath_overrides_runpath=no
   9943 	;;
   9944       *)
   9945 	shlibpath_overrides_runpath=yes
   9946 	;;
   9947       esac
   9948   else
   9949     shlibpath_overrides_runpath=yes
   9950   fi
   9951   ;;
   9952 
   9953 os2*)
   9954   libname_spec='$name'
   9955   shrext_cmds=".dll"
   9956   need_lib_prefix=no
   9957   library_names_spec='$libname${shared_ext} $libname.a'
   9958   dynamic_linker='OS/2 ld.exe'
   9959   shlibpath_var=LIBPATH
   9960   ;;
   9961 
   9962 osf3* | osf4* | osf5*)
   9963   version_type=osf
   9964   need_lib_prefix=no
   9965   need_version=no
   9966   soname_spec='${libname}${release}${shared_ext}$major'
   9967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9968   shlibpath_var=LD_LIBRARY_PATH
   9969   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9970   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9971   ;;
   9972 
   9973 rdos*)
   9974   dynamic_linker=no
   9975   ;;
   9976 
   9977 solaris*)
   9978   version_type=linux
   9979   need_lib_prefix=no
   9980   need_version=no
   9981   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9982   soname_spec='${libname}${release}${shared_ext}$major'
   9983   shlibpath_var=LD_LIBRARY_PATH
   9984   shlibpath_overrides_runpath=yes
   9985   hardcode_into_libs=yes
   9986   # ldd complains unless libraries are executable
   9987   postinstall_cmds='chmod +x $lib'
   9988   ;;
   9989 
   9990 sunos4*)
   9991   version_type=sunos
   9992   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9993   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9994   shlibpath_var=LD_LIBRARY_PATH
   9995   shlibpath_overrides_runpath=yes
   9996   if test "$with_gnu_ld" = yes; then
   9997     need_lib_prefix=no
   9998   fi
   9999   need_version=yes
   10000   ;;
   10001 
   10002 sysv4 | sysv4.3*)
   10003   version_type=linux
   10004   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10005   soname_spec='${libname}${release}${shared_ext}$major'
   10006   shlibpath_var=LD_LIBRARY_PATH
   10007   case $host_vendor in
   10008     sni)
   10009       shlibpath_overrides_runpath=no
   10010       need_lib_prefix=no
   10011       runpath_var=LD_RUN_PATH
   10012       ;;
   10013     siemens)
   10014       need_lib_prefix=no
   10015       ;;
   10016     motorola)
   10017       need_lib_prefix=no
   10018       need_version=no
   10019       shlibpath_overrides_runpath=no
   10020       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10021       ;;
   10022   esac
   10023   ;;
   10024 
   10025 sysv4*MP*)
   10026   if test -d /usr/nec ;then
   10027     version_type=linux
   10028     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10029     soname_spec='$libname${shared_ext}.$major'
   10030     shlibpath_var=LD_LIBRARY_PATH
   10031   fi
   10032   ;;
   10033 
   10034 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10035   version_type=freebsd-elf
   10036   need_lib_prefix=no
   10037   need_version=no
   10038   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10039   soname_spec='${libname}${release}${shared_ext}$major'
   10040   shlibpath_var=LD_LIBRARY_PATH
   10041   shlibpath_overrides_runpath=yes
   10042   hardcode_into_libs=yes
   10043   if test "$with_gnu_ld" = yes; then
   10044     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10045   else
   10046     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10047     case $host_os in
   10048       sco3.2v5*)
   10049         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10050 	;;
   10051     esac
   10052   fi
   10053   sys_lib_dlsearch_path_spec='/usr/lib'
   10054   ;;
   10055 
   10056 tpf*)
   10057   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10058   version_type=linux
   10059   need_lib_prefix=no
   10060   need_version=no
   10061   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10062   shlibpath_var=LD_LIBRARY_PATH
   10063   shlibpath_overrides_runpath=no
   10064   hardcode_into_libs=yes
   10065   ;;
   10066 
   10067 uts4*)
   10068   version_type=linux
   10069   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10070   soname_spec='${libname}${release}${shared_ext}$major'
   10071   shlibpath_var=LD_LIBRARY_PATH
   10072   ;;
   10073 
   10074 *)
   10075   dynamic_linker=no
   10076   ;;
   10077 esac
   10078 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10079 $as_echo "$dynamic_linker" >&6; }
   10080 test "$dynamic_linker" = no && can_build_shared=no
   10081 
   10082 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10083 if test "$GCC" = yes; then
   10084   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10085 fi
   10086 
   10087 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10088   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10089 fi
   10090 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10091   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10092 fi
   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 
   10179 
   10180   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10181 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10182 hardcode_action=
   10183 if test -n "$hardcode_libdir_flag_spec" ||
   10184    test -n "$runpath_var" ||
   10185    test "X$hardcode_automatic" = "Xyes" ; then
   10186 
   10187   # We can hardcode non-existent directories.
   10188   if test "$hardcode_direct" != no &&
   10189      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10190      # have to relink, otherwise we might link with an installed library
   10191      # when we should be linking with a yet-to-be-installed one
   10192      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10193      test "$hardcode_minus_L" != no; then
   10194     # Linking always hardcodes the temporary library directory.
   10195     hardcode_action=relink
   10196   else
   10197     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10198     hardcode_action=immediate
   10199   fi
   10200 else
   10201   # We cannot hardcode anything, or else we can only hardcode existing
   10202   # directories.
   10203   hardcode_action=unsupported
   10204 fi
   10205 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10206 $as_echo "$hardcode_action" >&6; }
   10207 
   10208 if test "$hardcode_action" = relink ||
   10209    test "$inherit_rpath" = yes; then
   10210   # Fast installation is not supported
   10211   enable_fast_install=no
   10212 elif test "$shlibpath_overrides_runpath" = yes ||
   10213      test "$enable_shared" = no; then
   10214   # Fast installation is not necessary
   10215   enable_fast_install=needless
   10216 fi
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223   if test "x$enable_dlopen" != xyes; then
   10224   enable_dlopen=unknown
   10225   enable_dlopen_self=unknown
   10226   enable_dlopen_self_static=unknown
   10227 else
   10228   lt_cv_dlopen=no
   10229   lt_cv_dlopen_libs=
   10230 
   10231   case $host_os in
   10232   beos*)
   10233     lt_cv_dlopen="load_add_on"
   10234     lt_cv_dlopen_libs=
   10235     lt_cv_dlopen_self=yes
   10236     ;;
   10237 
   10238   mingw* | pw32* | cegcc*)
   10239     lt_cv_dlopen="LoadLibrary"
   10240     lt_cv_dlopen_libs=
   10241     ;;
   10242 
   10243   cygwin*)
   10244     lt_cv_dlopen="dlopen"
   10245     lt_cv_dlopen_libs=
   10246     ;;
   10247 
   10248   darwin*)
   10249   # if libdl is installed we need to link against it
   10250     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10251 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10252 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10253   $as_echo_n "(cached) " >&6
   10254 else
   10255   ac_check_lib_save_LIBS=$LIBS
   10256 LIBS="-ldl  $LIBS"
   10257 cat >conftest.$ac_ext <<_ACEOF
   10258 /* confdefs.h.  */
   10259 _ACEOF
   10260 cat confdefs.h >>conftest.$ac_ext
   10261 cat >>conftest.$ac_ext <<_ACEOF
   10262 /* end confdefs.h.  */
   10263 
   10264 /* Override any GCC internal prototype to avoid an error.
   10265    Use char because int might match the return type of a GCC
   10266    builtin and then its argument prototype would still apply.  */
   10267 #ifdef __cplusplus
   10268 extern "C"
   10269 #endif
   10270 char dlopen ();
   10271 int
   10272 main ()
   10273 {
   10274 return dlopen ();
   10275   ;
   10276   return 0;
   10277 }
   10278 _ACEOF
   10279 rm -f conftest.$ac_objext conftest$ac_exeext
   10280 if { (ac_try="$ac_link"
   10281 case "(($ac_try" in
   10282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10283   *) ac_try_echo=$ac_try;;
   10284 esac
   10285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10286 $as_echo "$ac_try_echo") >&5
   10287   (eval "$ac_link") 2>conftest.er1
   10288   ac_status=$?
   10289   grep -v '^ *+' conftest.er1 >conftest.err
   10290   rm -f conftest.er1
   10291   cat conftest.err >&5
   10292   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10293   (exit $ac_status); } && {
   10294 	 test -z "$ac_c_werror_flag" ||
   10295 	 test ! -s conftest.err
   10296        } && test -s conftest$ac_exeext && {
   10297 	 test "$cross_compiling" = yes ||
   10298 	 $as_test_x conftest$ac_exeext
   10299        }; then
   10300   ac_cv_lib_dl_dlopen=yes
   10301 else
   10302   $as_echo "$as_me: failed program was:" >&5
   10303 sed 's/^/| /' conftest.$ac_ext >&5
   10304 
   10305 	ac_cv_lib_dl_dlopen=no
   10306 fi
   10307 
   10308 rm -rf conftest.dSYM
   10309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10310       conftest$ac_exeext conftest.$ac_ext
   10311 LIBS=$ac_check_lib_save_LIBS
   10312 fi
   10313 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10314 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10315 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10316   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10317 else
   10318 
   10319     lt_cv_dlopen="dyld"
   10320     lt_cv_dlopen_libs=
   10321     lt_cv_dlopen_self=yes
   10322 
   10323 fi
   10324 
   10325     ;;
   10326 
   10327   *)
   10328     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   10329 $as_echo_n "checking for shl_load... " >&6; }
   10330 if test "${ac_cv_func_shl_load+set}" = set; then
   10331   $as_echo_n "(cached) " >&6
   10332 else
   10333   cat >conftest.$ac_ext <<_ACEOF
   10334 /* confdefs.h.  */
   10335 _ACEOF
   10336 cat confdefs.h >>conftest.$ac_ext
   10337 cat >>conftest.$ac_ext <<_ACEOF
   10338 /* end confdefs.h.  */
   10339 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   10340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10341 #define shl_load innocuous_shl_load
   10342 
   10343 /* System header to define __stub macros and hopefully few prototypes,
   10344     which can conflict with char shl_load (); below.
   10345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10346     <limits.h> exists even on freestanding compilers.  */
   10347 
   10348 #ifdef __STDC__
   10349 # include <limits.h>
   10350 #else
   10351 # include <assert.h>
   10352 #endif
   10353 
   10354 #undef shl_load
   10355 
   10356 /* Override any GCC internal prototype to avoid an error.
   10357    Use char because int might match the return type of a GCC
   10358    builtin and then its argument prototype would still apply.  */
   10359 #ifdef __cplusplus
   10360 extern "C"
   10361 #endif
   10362 char shl_load ();
   10363 /* The GNU C library defines this for functions which it implements
   10364     to always fail with ENOSYS.  Some functions are actually named
   10365     something starting with __ and the normal name is an alias.  */
   10366 #if defined __stub_shl_load || defined __stub___shl_load
   10367 choke me
   10368 #endif
   10369 
   10370 int
   10371 main ()
   10372 {
   10373 return shl_load ();
   10374   ;
   10375   return 0;
   10376 }
   10377 _ACEOF
   10378 rm -f conftest.$ac_objext conftest$ac_exeext
   10379 if { (ac_try="$ac_link"
   10380 case "(($ac_try" in
   10381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10382   *) ac_try_echo=$ac_try;;
   10383 esac
   10384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10385 $as_echo "$ac_try_echo") >&5
   10386   (eval "$ac_link") 2>conftest.er1
   10387   ac_status=$?
   10388   grep -v '^ *+' conftest.er1 >conftest.err
   10389   rm -f conftest.er1
   10390   cat conftest.err >&5
   10391   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10392   (exit $ac_status); } && {
   10393 	 test -z "$ac_c_werror_flag" ||
   10394 	 test ! -s conftest.err
   10395        } && test -s conftest$ac_exeext && {
   10396 	 test "$cross_compiling" = yes ||
   10397 	 $as_test_x conftest$ac_exeext
   10398        }; then
   10399   ac_cv_func_shl_load=yes
   10400 else
   10401   $as_echo "$as_me: failed program was:" >&5
   10402 sed 's/^/| /' conftest.$ac_ext >&5
   10403 
   10404 	ac_cv_func_shl_load=no
   10405 fi
   10406 
   10407 rm -rf conftest.dSYM
   10408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10409       conftest$ac_exeext conftest.$ac_ext
   10410 fi
   10411 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10412 $as_echo "$ac_cv_func_shl_load" >&6; }
   10413 if test "x$ac_cv_func_shl_load" = x""yes; then
   10414   lt_cv_dlopen="shl_load"
   10415 else
   10416   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10417 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10418 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10419   $as_echo_n "(cached) " >&6
   10420 else
   10421   ac_check_lib_save_LIBS=$LIBS
   10422 LIBS="-ldld  $LIBS"
   10423 cat >conftest.$ac_ext <<_ACEOF
   10424 /* confdefs.h.  */
   10425 _ACEOF
   10426 cat confdefs.h >>conftest.$ac_ext
   10427 cat >>conftest.$ac_ext <<_ACEOF
   10428 /* end confdefs.h.  */
   10429 
   10430 /* Override any GCC internal prototype to avoid an error.
   10431    Use char because int might match the return type of a GCC
   10432    builtin and then its argument prototype would still apply.  */
   10433 #ifdef __cplusplus
   10434 extern "C"
   10435 #endif
   10436 char shl_load ();
   10437 int
   10438 main ()
   10439 {
   10440 return shl_load ();
   10441   ;
   10442   return 0;
   10443 }
   10444 _ACEOF
   10445 rm -f conftest.$ac_objext conftest$ac_exeext
   10446 if { (ac_try="$ac_link"
   10447 case "(($ac_try" in
   10448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10449   *) ac_try_echo=$ac_try;;
   10450 esac
   10451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10452 $as_echo "$ac_try_echo") >&5
   10453   (eval "$ac_link") 2>conftest.er1
   10454   ac_status=$?
   10455   grep -v '^ *+' conftest.er1 >conftest.err
   10456   rm -f conftest.er1
   10457   cat conftest.err >&5
   10458   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10459   (exit $ac_status); } && {
   10460 	 test -z "$ac_c_werror_flag" ||
   10461 	 test ! -s conftest.err
   10462        } && test -s conftest$ac_exeext && {
   10463 	 test "$cross_compiling" = yes ||
   10464 	 $as_test_x conftest$ac_exeext
   10465        }; then
   10466   ac_cv_lib_dld_shl_load=yes
   10467 else
   10468   $as_echo "$as_me: failed program was:" >&5
   10469 sed 's/^/| /' conftest.$ac_ext >&5
   10470 
   10471 	ac_cv_lib_dld_shl_load=no
   10472 fi
   10473 
   10474 rm -rf conftest.dSYM
   10475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10476       conftest$ac_exeext conftest.$ac_ext
   10477 LIBS=$ac_check_lib_save_LIBS
   10478 fi
   10479 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10480 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10481 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10482   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10483 else
   10484   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10485 $as_echo_n "checking for dlopen... " >&6; }
   10486 if test "${ac_cv_func_dlopen+set}" = set; then
   10487   $as_echo_n "(cached) " >&6
   10488 else
   10489   cat >conftest.$ac_ext <<_ACEOF
   10490 /* confdefs.h.  */
   10491 _ACEOF
   10492 cat confdefs.h >>conftest.$ac_ext
   10493 cat >>conftest.$ac_ext <<_ACEOF
   10494 /* end confdefs.h.  */
   10495 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10496    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10497 #define dlopen innocuous_dlopen
   10498 
   10499 /* System header to define __stub macros and hopefully few prototypes,
   10500     which can conflict with char dlopen (); below.
   10501     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10502     <limits.h> exists even on freestanding compilers.  */
   10503 
   10504 #ifdef __STDC__
   10505 # include <limits.h>
   10506 #else
   10507 # include <assert.h>
   10508 #endif
   10509 
   10510 #undef dlopen
   10511 
   10512 /* Override any GCC internal prototype to avoid an error.
   10513    Use char because int might match the return type of a GCC
   10514    builtin and then its argument prototype would still apply.  */
   10515 #ifdef __cplusplus
   10516 extern "C"
   10517 #endif
   10518 char dlopen ();
   10519 /* The GNU C library defines this for functions which it implements
   10520     to always fail with ENOSYS.  Some functions are actually named
   10521     something starting with __ and the normal name is an alias.  */
   10522 #if defined __stub_dlopen || defined __stub___dlopen
   10523 choke me
   10524 #endif
   10525 
   10526 int
   10527 main ()
   10528 {
   10529 return dlopen ();
   10530   ;
   10531   return 0;
   10532 }
   10533 _ACEOF
   10534 rm -f conftest.$ac_objext conftest$ac_exeext
   10535 if { (ac_try="$ac_link"
   10536 case "(($ac_try" in
   10537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10538   *) ac_try_echo=$ac_try;;
   10539 esac
   10540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10541 $as_echo "$ac_try_echo") >&5
   10542   (eval "$ac_link") 2>conftest.er1
   10543   ac_status=$?
   10544   grep -v '^ *+' conftest.er1 >conftest.err
   10545   rm -f conftest.er1
   10546   cat conftest.err >&5
   10547   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10548   (exit $ac_status); } && {
   10549 	 test -z "$ac_c_werror_flag" ||
   10550 	 test ! -s conftest.err
   10551        } && test -s conftest$ac_exeext && {
   10552 	 test "$cross_compiling" = yes ||
   10553 	 $as_test_x conftest$ac_exeext
   10554        }; then
   10555   ac_cv_func_dlopen=yes
   10556 else
   10557   $as_echo "$as_me: failed program was:" >&5
   10558 sed 's/^/| /' conftest.$ac_ext >&5
   10559 
   10560 	ac_cv_func_dlopen=no
   10561 fi
   10562 
   10563 rm -rf conftest.dSYM
   10564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10565       conftest$ac_exeext conftest.$ac_ext
   10566 fi
   10567 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10568 $as_echo "$ac_cv_func_dlopen" >&6; }
   10569 if test "x$ac_cv_func_dlopen" = x""yes; then
   10570   lt_cv_dlopen="dlopen"
   10571 else
   10572   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10573 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10574 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10575   $as_echo_n "(cached) " >&6
   10576 else
   10577   ac_check_lib_save_LIBS=$LIBS
   10578 LIBS="-ldl  $LIBS"
   10579 cat >conftest.$ac_ext <<_ACEOF
   10580 /* confdefs.h.  */
   10581 _ACEOF
   10582 cat confdefs.h >>conftest.$ac_ext
   10583 cat >>conftest.$ac_ext <<_ACEOF
   10584 /* end confdefs.h.  */
   10585 
   10586 /* Override any GCC internal prototype to avoid an error.
   10587    Use char because int might match the return type of a GCC
   10588    builtin and then its argument prototype would still apply.  */
   10589 #ifdef __cplusplus
   10590 extern "C"
   10591 #endif
   10592 char dlopen ();
   10593 int
   10594 main ()
   10595 {
   10596 return dlopen ();
   10597   ;
   10598   return 0;
   10599 }
   10600 _ACEOF
   10601 rm -f conftest.$ac_objext conftest$ac_exeext
   10602 if { (ac_try="$ac_link"
   10603 case "(($ac_try" in
   10604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10605   *) ac_try_echo=$ac_try;;
   10606 esac
   10607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10608 $as_echo "$ac_try_echo") >&5
   10609   (eval "$ac_link") 2>conftest.er1
   10610   ac_status=$?
   10611   grep -v '^ *+' conftest.er1 >conftest.err
   10612   rm -f conftest.er1
   10613   cat conftest.err >&5
   10614   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10615   (exit $ac_status); } && {
   10616 	 test -z "$ac_c_werror_flag" ||
   10617 	 test ! -s conftest.err
   10618        } && test -s conftest$ac_exeext && {
   10619 	 test "$cross_compiling" = yes ||
   10620 	 $as_test_x conftest$ac_exeext
   10621        }; then
   10622   ac_cv_lib_dl_dlopen=yes
   10623 else
   10624   $as_echo "$as_me: failed program was:" >&5
   10625 sed 's/^/| /' conftest.$ac_ext >&5
   10626 
   10627 	ac_cv_lib_dl_dlopen=no
   10628 fi
   10629 
   10630 rm -rf conftest.dSYM
   10631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10632       conftest$ac_exeext conftest.$ac_ext
   10633 LIBS=$ac_check_lib_save_LIBS
   10634 fi
   10635 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10636 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10637 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10638   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10639 else
   10640   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10641 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10642 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10643   $as_echo_n "(cached) " >&6
   10644 else
   10645   ac_check_lib_save_LIBS=$LIBS
   10646 LIBS="-lsvld  $LIBS"
   10647 cat >conftest.$ac_ext <<_ACEOF
   10648 /* confdefs.h.  */
   10649 _ACEOF
   10650 cat confdefs.h >>conftest.$ac_ext
   10651 cat >>conftest.$ac_ext <<_ACEOF
   10652 /* end confdefs.h.  */
   10653 
   10654 /* Override any GCC internal prototype to avoid an error.
   10655    Use char because int might match the return type of a GCC
   10656    builtin and then its argument prototype would still apply.  */
   10657 #ifdef __cplusplus
   10658 extern "C"
   10659 #endif
   10660 char dlopen ();
   10661 int
   10662 main ()
   10663 {
   10664 return dlopen ();
   10665   ;
   10666   return 0;
   10667 }
   10668 _ACEOF
   10669 rm -f conftest.$ac_objext conftest$ac_exeext
   10670 if { (ac_try="$ac_link"
   10671 case "(($ac_try" in
   10672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10673   *) ac_try_echo=$ac_try;;
   10674 esac
   10675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10676 $as_echo "$ac_try_echo") >&5
   10677   (eval "$ac_link") 2>conftest.er1
   10678   ac_status=$?
   10679   grep -v '^ *+' conftest.er1 >conftest.err
   10680   rm -f conftest.er1
   10681   cat conftest.err >&5
   10682   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10683   (exit $ac_status); } && {
   10684 	 test -z "$ac_c_werror_flag" ||
   10685 	 test ! -s conftest.err
   10686        } && test -s conftest$ac_exeext && {
   10687 	 test "$cross_compiling" = yes ||
   10688 	 $as_test_x conftest$ac_exeext
   10689        }; then
   10690   ac_cv_lib_svld_dlopen=yes
   10691 else
   10692   $as_echo "$as_me: failed program was:" >&5
   10693 sed 's/^/| /' conftest.$ac_ext >&5
   10694 
   10695 	ac_cv_lib_svld_dlopen=no
   10696 fi
   10697 
   10698 rm -rf conftest.dSYM
   10699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10700       conftest$ac_exeext conftest.$ac_ext
   10701 LIBS=$ac_check_lib_save_LIBS
   10702 fi
   10703 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10704 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10705 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10706   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10707 else
   10708   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10709 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10710 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10711   $as_echo_n "(cached) " >&6
   10712 else
   10713   ac_check_lib_save_LIBS=$LIBS
   10714 LIBS="-ldld  $LIBS"
   10715 cat >conftest.$ac_ext <<_ACEOF
   10716 /* confdefs.h.  */
   10717 _ACEOF
   10718 cat confdefs.h >>conftest.$ac_ext
   10719 cat >>conftest.$ac_ext <<_ACEOF
   10720 /* end confdefs.h.  */
   10721 
   10722 /* Override any GCC internal prototype to avoid an error.
   10723    Use char because int might match the return type of a GCC
   10724    builtin and then its argument prototype would still apply.  */
   10725 #ifdef __cplusplus
   10726 extern "C"
   10727 #endif
   10728 char dld_link ();
   10729 int
   10730 main ()
   10731 {
   10732 return dld_link ();
   10733   ;
   10734   return 0;
   10735 }
   10736 _ACEOF
   10737 rm -f conftest.$ac_objext conftest$ac_exeext
   10738 if { (ac_try="$ac_link"
   10739 case "(($ac_try" in
   10740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10741   *) ac_try_echo=$ac_try;;
   10742 esac
   10743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10744 $as_echo "$ac_try_echo") >&5
   10745   (eval "$ac_link") 2>conftest.er1
   10746   ac_status=$?
   10747   grep -v '^ *+' conftest.er1 >conftest.err
   10748   rm -f conftest.er1
   10749   cat conftest.err >&5
   10750   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10751   (exit $ac_status); } && {
   10752 	 test -z "$ac_c_werror_flag" ||
   10753 	 test ! -s conftest.err
   10754        } && test -s conftest$ac_exeext && {
   10755 	 test "$cross_compiling" = yes ||
   10756 	 $as_test_x conftest$ac_exeext
   10757        }; then
   10758   ac_cv_lib_dld_dld_link=yes
   10759 else
   10760   $as_echo "$as_me: failed program was:" >&5
   10761 sed 's/^/| /' conftest.$ac_ext >&5
   10762 
   10763 	ac_cv_lib_dld_dld_link=no
   10764 fi
   10765 
   10766 rm -rf conftest.dSYM
   10767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10768       conftest$ac_exeext conftest.$ac_ext
   10769 LIBS=$ac_check_lib_save_LIBS
   10770 fi
   10771 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10772 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10773 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10774   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10775 fi
   10776 
   10777 
   10778 fi
   10779 
   10780 
   10781 fi
   10782 
   10783 
   10784 fi
   10785 
   10786 
   10787 fi
   10788 
   10789 
   10790 fi
   10791 
   10792     ;;
   10793   esac
   10794 
   10795   if test "x$lt_cv_dlopen" != xno; then
   10796     enable_dlopen=yes
   10797   else
   10798     enable_dlopen=no
   10799   fi
   10800 
   10801   case $lt_cv_dlopen in
   10802   dlopen)
   10803     save_CPPFLAGS="$CPPFLAGS"
   10804     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10805 
   10806     save_LDFLAGS="$LDFLAGS"
   10807     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10808 
   10809     save_LIBS="$LIBS"
   10810     LIBS="$lt_cv_dlopen_libs $LIBS"
   10811 
   10812     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10813 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10814 if test "${lt_cv_dlopen_self+set}" = set; then
   10815   $as_echo_n "(cached) " >&6
   10816 else
   10817   	  if test "$cross_compiling" = yes; then :
   10818   lt_cv_dlopen_self=cross
   10819 else
   10820   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10821   lt_status=$lt_dlunknown
   10822   cat > conftest.$ac_ext <<_LT_EOF
   10823 #line 10823 "configure"
   10824 #include "confdefs.h"
   10825 
   10826 #if HAVE_DLFCN_H
   10827 #include <dlfcn.h>
   10828 #endif
   10829 
   10830 #include <stdio.h>
   10831 
   10832 #ifdef RTLD_GLOBAL
   10833 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10834 #else
   10835 #  ifdef DL_GLOBAL
   10836 #    define LT_DLGLOBAL		DL_GLOBAL
   10837 #  else
   10838 #    define LT_DLGLOBAL		0
   10839 #  endif
   10840 #endif
   10841 
   10842 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10843    find out it does not work in some platform. */
   10844 #ifndef LT_DLLAZY_OR_NOW
   10845 #  ifdef RTLD_LAZY
   10846 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10847 #  else
   10848 #    ifdef DL_LAZY
   10849 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10850 #    else
   10851 #      ifdef RTLD_NOW
   10852 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10853 #      else
   10854 #        ifdef DL_NOW
   10855 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10856 #        else
   10857 #          define LT_DLLAZY_OR_NOW	0
   10858 #        endif
   10859 #      endif
   10860 #    endif
   10861 #  endif
   10862 #endif
   10863 
   10864 void fnord() { int i=42;}
   10865 int main ()
   10866 {
   10867   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10868   int status = $lt_dlunknown;
   10869 
   10870   if (self)
   10871     {
   10872       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10873       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10874       /* dlclose (self); */
   10875     }
   10876   else
   10877     puts (dlerror ());
   10878 
   10879   return status;
   10880 }
   10881 _LT_EOF
   10882   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10883   (eval $ac_link) 2>&5
   10884   ac_status=$?
   10885   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10886   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10887     (./conftest; exit; ) >&5 2>/dev/null
   10888     lt_status=$?
   10889     case x$lt_status in
   10890       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10891       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10892       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10893     esac
   10894   else :
   10895     # compilation failed
   10896     lt_cv_dlopen_self=no
   10897   fi
   10898 fi
   10899 rm -fr conftest*
   10900 
   10901 
   10902 fi
   10903 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10904 $as_echo "$lt_cv_dlopen_self" >&6; }
   10905 
   10906     if test "x$lt_cv_dlopen_self" = xyes; then
   10907       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10908       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10909 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10910 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10911   $as_echo_n "(cached) " >&6
   10912 else
   10913   	  if test "$cross_compiling" = yes; then :
   10914   lt_cv_dlopen_self_static=cross
   10915 else
   10916   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10917   lt_status=$lt_dlunknown
   10918   cat > conftest.$ac_ext <<_LT_EOF
   10919 #line 10919 "configure"
   10920 #include "confdefs.h"
   10921 
   10922 #if HAVE_DLFCN_H
   10923 #include <dlfcn.h>
   10924 #endif
   10925 
   10926 #include <stdio.h>
   10927 
   10928 #ifdef RTLD_GLOBAL
   10929 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10930 #else
   10931 #  ifdef DL_GLOBAL
   10932 #    define LT_DLGLOBAL		DL_GLOBAL
   10933 #  else
   10934 #    define LT_DLGLOBAL		0
   10935 #  endif
   10936 #endif
   10937 
   10938 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10939    find out it does not work in some platform. */
   10940 #ifndef LT_DLLAZY_OR_NOW
   10941 #  ifdef RTLD_LAZY
   10942 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10943 #  else
   10944 #    ifdef DL_LAZY
   10945 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10946 #    else
   10947 #      ifdef RTLD_NOW
   10948 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10949 #      else
   10950 #        ifdef DL_NOW
   10951 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10952 #        else
   10953 #          define LT_DLLAZY_OR_NOW	0
   10954 #        endif
   10955 #      endif
   10956 #    endif
   10957 #  endif
   10958 #endif
   10959 
   10960 void fnord() { int i=42;}
   10961 int main ()
   10962 {
   10963   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10964   int status = $lt_dlunknown;
   10965 
   10966   if (self)
   10967     {
   10968       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10969       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10970       /* dlclose (self); */
   10971     }
   10972   else
   10973     puts (dlerror ());
   10974 
   10975   return status;
   10976 }
   10977 _LT_EOF
   10978   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10979   (eval $ac_link) 2>&5
   10980   ac_status=$?
   10981   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10982   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10983     (./conftest; exit; ) >&5 2>/dev/null
   10984     lt_status=$?
   10985     case x$lt_status in
   10986       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10987       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10988       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10989     esac
   10990   else :
   10991     # compilation failed
   10992     lt_cv_dlopen_self_static=no
   10993   fi
   10994 fi
   10995 rm -fr conftest*
   10996 
   10997 
   10998 fi
   10999 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   11000 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11001     fi
   11002 
   11003     CPPFLAGS="$save_CPPFLAGS"
   11004     LDFLAGS="$save_LDFLAGS"
   11005     LIBS="$save_LIBS"
   11006     ;;
   11007   esac
   11008 
   11009   case $lt_cv_dlopen_self in
   11010   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11011   *) enable_dlopen_self=unknown ;;
   11012   esac
   11013 
   11014   case $lt_cv_dlopen_self_static in
   11015   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11016   *) enable_dlopen_self_static=unknown ;;
   11017   esac
   11018 fi
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 striplib=
   11037 old_striplib=
   11038 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   11039 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11040 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11041   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11042   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11043   { $as_echo "$as_me:$LINENO: result: yes" >&5
   11044 $as_echo "yes" >&6; }
   11045 else
   11046 # FIXME - insert some real tests, host_os isn't really good enough
   11047   case $host_os in
   11048   darwin*)
   11049     if test -n "$STRIP" ; then
   11050       striplib="$STRIP -x"
   11051       old_striplib="$STRIP -S"
   11052       { $as_echo "$as_me:$LINENO: result: yes" >&5
   11053 $as_echo "yes" >&6; }
   11054     else
   11055       { $as_echo "$as_me:$LINENO: result: no" >&5
   11056 $as_echo "no" >&6; }
   11057     fi
   11058     ;;
   11059   *)
   11060     { $as_echo "$as_me:$LINENO: result: no" >&5
   11061 $as_echo "no" >&6; }
   11062     ;;
   11063   esac
   11064 fi
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077   # Report which library types will actually be built
   11078   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11079 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11080   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11081 $as_echo "$can_build_shared" >&6; }
   11082 
   11083   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11084 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11085   test "$can_build_shared" = "no" && enable_shared=no
   11086 
   11087   # On AIX, shared libraries and static libraries use the same namespace, and
   11088   # are all built from PIC.
   11089   case $host_os in
   11090   aix3*)
   11091     test "$enable_shared" = yes && enable_static=no
   11092     if test -n "$RANLIB"; then
   11093       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11094       postinstall_cmds='$RANLIB $lib'
   11095     fi
   11096     ;;
   11097 
   11098   aix[4-9]*)
   11099     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11100       test "$enable_shared" = yes && enable_static=no
   11101     fi
   11102     ;;
   11103   esac
   11104   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   11105 $as_echo "$enable_shared" >&6; }
   11106 
   11107   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11108 $as_echo_n "checking whether to build static libraries... " >&6; }
   11109   # Make sure either enable_shared or enable_static is yes.
   11110   test "$enable_shared" = yes || enable_static=yes
   11111   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   11112 $as_echo "$enable_static" >&6; }
   11113 
   11114 
   11115 
   11116 
   11117 fi
   11118 ac_ext=c
   11119 ac_cpp='$CPP $CPPFLAGS'
   11120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11123 
   11124 CC="$lt_save_CC"
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138         ac_config_commands="$ac_config_commands libtool"
   11139 
   11140 
   11141 
   11142 
   11143 # Only expand once:
   11144 
   11145 
   11146 ac_ext=c
   11147 ac_cpp='$CPP $CPPFLAGS'
   11148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11151 if test -n "$ac_tool_prefix"; then
   11152   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   11153 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   11154 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11155 $as_echo_n "checking for $ac_word... " >&6; }
   11156 if test "${ac_cv_prog_CC+set}" = set; then
   11157   $as_echo_n "(cached) " >&6
   11158 else
   11159   if test -n "$CC"; then
   11160   ac_cv_prog_CC="$CC" # Let the user override the test.
   11161 else
   11162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11163 for as_dir in $PATH
   11164 do
   11165   IFS=$as_save_IFS
   11166   test -z "$as_dir" && as_dir=.
   11167   for ac_exec_ext in '' $ac_executable_extensions; do
   11168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11169     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   11170     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11171     break 2
   11172   fi
   11173 done
   11174 done
   11175 IFS=$as_save_IFS
   11176 
   11177 fi
   11178 fi
   11179 CC=$ac_cv_prog_CC
   11180 if test -n "$CC"; then
   11181   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11182 $as_echo "$CC" >&6; }
   11183 else
   11184   { $as_echo "$as_me:$LINENO: result: no" >&5
   11185 $as_echo "no" >&6; }
   11186 fi
   11187 
   11188 
   11189 fi
   11190 if test -z "$ac_cv_prog_CC"; then
   11191   ac_ct_CC=$CC
   11192   # Extract the first word of "gcc", so it can be a program name with args.
   11193 set dummy gcc; ac_word=$2
   11194 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11195 $as_echo_n "checking for $ac_word... " >&6; }
   11196 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   11197   $as_echo_n "(cached) " >&6
   11198 else
   11199   if test -n "$ac_ct_CC"; then
   11200   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11201 else
   11202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11203 for as_dir in $PATH
   11204 do
   11205   IFS=$as_save_IFS
   11206   test -z "$as_dir" && as_dir=.
   11207   for ac_exec_ext in '' $ac_executable_extensions; do
   11208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11209     ac_cv_prog_ac_ct_CC="gcc"
   11210     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11211     break 2
   11212   fi
   11213 done
   11214 done
   11215 IFS=$as_save_IFS
   11216 
   11217 fi
   11218 fi
   11219 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11220 if test -n "$ac_ct_CC"; then
   11221   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   11222 $as_echo "$ac_ct_CC" >&6; }
   11223 else
   11224   { $as_echo "$as_me:$LINENO: result: no" >&5
   11225 $as_echo "no" >&6; }
   11226 fi
   11227 
   11228   if test "x$ac_ct_CC" = x; then
   11229     CC=""
   11230   else
   11231     case $cross_compiling:$ac_tool_warned in
   11232 yes:)
   11233 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11235 ac_tool_warned=yes ;;
   11236 esac
   11237     CC=$ac_ct_CC
   11238   fi
   11239 else
   11240   CC="$ac_cv_prog_CC"
   11241 fi
   11242 
   11243 if test -z "$CC"; then
   11244           if test -n "$ac_tool_prefix"; then
   11245     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   11246 set dummy ${ac_tool_prefix}cc; ac_word=$2
   11247 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11248 $as_echo_n "checking for $ac_word... " >&6; }
   11249 if test "${ac_cv_prog_CC+set}" = set; then
   11250   $as_echo_n "(cached) " >&6
   11251 else
   11252   if test -n "$CC"; then
   11253   ac_cv_prog_CC="$CC" # Let the user override the test.
   11254 else
   11255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11256 for as_dir in $PATH
   11257 do
   11258   IFS=$as_save_IFS
   11259   test -z "$as_dir" && as_dir=.
   11260   for ac_exec_ext in '' $ac_executable_extensions; do
   11261   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11262     ac_cv_prog_CC="${ac_tool_prefix}cc"
   11263     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11264     break 2
   11265   fi
   11266 done
   11267 done
   11268 IFS=$as_save_IFS
   11269 
   11270 fi
   11271 fi
   11272 CC=$ac_cv_prog_CC
   11273 if test -n "$CC"; then
   11274   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11275 $as_echo "$CC" >&6; }
   11276 else
   11277   { $as_echo "$as_me:$LINENO: result: no" >&5
   11278 $as_echo "no" >&6; }
   11279 fi
   11280 
   11281 
   11282   fi
   11283 fi
   11284 if test -z "$CC"; then
   11285   # Extract the first word of "cc", so it can be a program name with args.
   11286 set dummy cc; ac_word=$2
   11287 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11288 $as_echo_n "checking for $ac_word... " >&6; }
   11289 if test "${ac_cv_prog_CC+set}" = set; then
   11290   $as_echo_n "(cached) " >&6
   11291 else
   11292   if test -n "$CC"; then
   11293   ac_cv_prog_CC="$CC" # Let the user override the test.
   11294 else
   11295   ac_prog_rejected=no
   11296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11297 for as_dir in $PATH
   11298 do
   11299   IFS=$as_save_IFS
   11300   test -z "$as_dir" && as_dir=.
   11301   for ac_exec_ext in '' $ac_executable_extensions; do
   11302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11303     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   11304        ac_prog_rejected=yes
   11305        continue
   11306      fi
   11307     ac_cv_prog_CC="cc"
   11308     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11309     break 2
   11310   fi
   11311 done
   11312 done
   11313 IFS=$as_save_IFS
   11314 
   11315 if test $ac_prog_rejected = yes; then
   11316   # We found a bogon in the path, so make sure we never use it.
   11317   set dummy $ac_cv_prog_CC
   11318   shift
   11319   if test $# != 0; then
   11320     # We chose a different compiler from the bogus one.
   11321     # However, it has the same basename, so the bogon will be chosen
   11322     # first if we set CC to just the basename; use the full file name.
   11323     shift
   11324     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   11325   fi
   11326 fi
   11327 fi
   11328 fi
   11329 CC=$ac_cv_prog_CC
   11330 if test -n "$CC"; then
   11331   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11332 $as_echo "$CC" >&6; }
   11333 else
   11334   { $as_echo "$as_me:$LINENO: result: no" >&5
   11335 $as_echo "no" >&6; }
   11336 fi
   11337 
   11338 
   11339 fi
   11340 if test -z "$CC"; then
   11341   if test -n "$ac_tool_prefix"; then
   11342   for ac_prog in cl.exe
   11343   do
   11344     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11347 $as_echo_n "checking for $ac_word... " >&6; }
   11348 if test "${ac_cv_prog_CC+set}" = set; then
   11349   $as_echo_n "(cached) " >&6
   11350 else
   11351   if test -n "$CC"; then
   11352   ac_cv_prog_CC="$CC" # Let the user override the test.
   11353 else
   11354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11355 for as_dir in $PATH
   11356 do
   11357   IFS=$as_save_IFS
   11358   test -z "$as_dir" && as_dir=.
   11359   for ac_exec_ext in '' $ac_executable_extensions; do
   11360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11361     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   11362     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11363     break 2
   11364   fi
   11365 done
   11366 done
   11367 IFS=$as_save_IFS
   11368 
   11369 fi
   11370 fi
   11371 CC=$ac_cv_prog_CC
   11372 if test -n "$CC"; then
   11373   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11374 $as_echo "$CC" >&6; }
   11375 else
   11376   { $as_echo "$as_me:$LINENO: result: no" >&5
   11377 $as_echo "no" >&6; }
   11378 fi
   11379 
   11380 
   11381     test -n "$CC" && break
   11382   done
   11383 fi
   11384 if test -z "$CC"; then
   11385   ac_ct_CC=$CC
   11386   for ac_prog in cl.exe
   11387 do
   11388   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11389 set dummy $ac_prog; ac_word=$2
   11390 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11391 $as_echo_n "checking for $ac_word... " >&6; }
   11392 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   11393   $as_echo_n "(cached) " >&6
   11394 else
   11395   if test -n "$ac_ct_CC"; then
   11396   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11397 else
   11398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11399 for as_dir in $PATH
   11400 do
   11401   IFS=$as_save_IFS
   11402   test -z "$as_dir" && as_dir=.
   11403   for ac_exec_ext in '' $ac_executable_extensions; do
   11404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11405     ac_cv_prog_ac_ct_CC="$ac_prog"
   11406     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11407     break 2
   11408   fi
   11409 done
   11410 done
   11411 IFS=$as_save_IFS
   11412 
   11413 fi
   11414 fi
   11415 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11416 if test -n "$ac_ct_CC"; then
   11417   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   11418 $as_echo "$ac_ct_CC" >&6; }
   11419 else
   11420   { $as_echo "$as_me:$LINENO: result: no" >&5
   11421 $as_echo "no" >&6; }
   11422 fi
   11423 
   11424 
   11425   test -n "$ac_ct_CC" && break
   11426 done
   11427 
   11428   if test "x$ac_ct_CC" = x; then
   11429     CC=""
   11430   else
   11431     case $cross_compiling:$ac_tool_warned in
   11432 yes:)
   11433 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11435 ac_tool_warned=yes ;;
   11436 esac
   11437     CC=$ac_ct_CC
   11438   fi
   11439 fi
   11440 
   11441 fi
   11442 
   11443 
   11444 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   11445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11446 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   11447 See \`config.log' for more details." >&5
   11448 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   11449 See \`config.log' for more details." >&2;}
   11450    { (exit 1); exit 1; }; }; }
   11451 
   11452 # Provide some information about the compiler.
   11453 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   11454 set X $ac_compile
   11455 ac_compiler=$2
   11456 { (ac_try="$ac_compiler --version >&5"
   11457 case "(($ac_try" in
   11458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11459   *) ac_try_echo=$ac_try;;
   11460 esac
   11461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11462 $as_echo "$ac_try_echo") >&5
   11463   (eval "$ac_compiler --version >&5") 2>&5
   11464   ac_status=$?
   11465   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11466   (exit $ac_status); }
   11467 { (ac_try="$ac_compiler -v >&5"
   11468 case "(($ac_try" in
   11469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11470   *) ac_try_echo=$ac_try;;
   11471 esac
   11472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11473 $as_echo "$ac_try_echo") >&5
   11474   (eval "$ac_compiler -v >&5") 2>&5
   11475   ac_status=$?
   11476   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11477   (exit $ac_status); }
   11478 { (ac_try="$ac_compiler -V >&5"
   11479 case "(($ac_try" in
   11480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11481   *) ac_try_echo=$ac_try;;
   11482 esac
   11483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11484 $as_echo "$ac_try_echo") >&5
   11485   (eval "$ac_compiler -V >&5") 2>&5
   11486   ac_status=$?
   11487   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11488   (exit $ac_status); }
   11489 
   11490 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   11491 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   11492 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   11493   $as_echo_n "(cached) " >&6
   11494 else
   11495   cat >conftest.$ac_ext <<_ACEOF
   11496 /* confdefs.h.  */
   11497 _ACEOF
   11498 cat confdefs.h >>conftest.$ac_ext
   11499 cat >>conftest.$ac_ext <<_ACEOF
   11500 /* end confdefs.h.  */
   11501 
   11502 int
   11503 main ()
   11504 {
   11505 #ifndef __GNUC__
   11506        choke me
   11507 #endif
   11508 
   11509   ;
   11510   return 0;
   11511 }
   11512 _ACEOF
   11513 rm -f conftest.$ac_objext
   11514 if { (ac_try="$ac_compile"
   11515 case "(($ac_try" in
   11516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11517   *) ac_try_echo=$ac_try;;
   11518 esac
   11519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11520 $as_echo "$ac_try_echo") >&5
   11521   (eval "$ac_compile") 2>conftest.er1
   11522   ac_status=$?
   11523   grep -v '^ *+' conftest.er1 >conftest.err
   11524   rm -f conftest.er1
   11525   cat conftest.err >&5
   11526   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11527   (exit $ac_status); } && {
   11528 	 test -z "$ac_c_werror_flag" ||
   11529 	 test ! -s conftest.err
   11530        } && test -s conftest.$ac_objext; then
   11531   ac_compiler_gnu=yes
   11532 else
   11533   $as_echo "$as_me: failed program was:" >&5
   11534 sed 's/^/| /' conftest.$ac_ext >&5
   11535 
   11536 	ac_compiler_gnu=no
   11537 fi
   11538 
   11539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11540 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   11541 
   11542 fi
   11543 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   11544 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   11545 if test $ac_compiler_gnu = yes; then
   11546   GCC=yes
   11547 else
   11548   GCC=
   11549 fi
   11550 ac_test_CFLAGS=${CFLAGS+set}
   11551 ac_save_CFLAGS=$CFLAGS
   11552 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   11553 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   11554 if test "${ac_cv_prog_cc_g+set}" = set; then
   11555   $as_echo_n "(cached) " >&6
   11556 else
   11557   ac_save_c_werror_flag=$ac_c_werror_flag
   11558    ac_c_werror_flag=yes
   11559    ac_cv_prog_cc_g=no
   11560    CFLAGS="-g"
   11561    cat >conftest.$ac_ext <<_ACEOF
   11562 /* confdefs.h.  */
   11563 _ACEOF
   11564 cat confdefs.h >>conftest.$ac_ext
   11565 cat >>conftest.$ac_ext <<_ACEOF
   11566 /* end confdefs.h.  */
   11567 
   11568 int
   11569 main ()
   11570 {
   11571 
   11572   ;
   11573   return 0;
   11574 }
   11575 _ACEOF
   11576 rm -f conftest.$ac_objext
   11577 if { (ac_try="$ac_compile"
   11578 case "(($ac_try" in
   11579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11580   *) ac_try_echo=$ac_try;;
   11581 esac
   11582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11583 $as_echo "$ac_try_echo") >&5
   11584   (eval "$ac_compile") 2>conftest.er1
   11585   ac_status=$?
   11586   grep -v '^ *+' conftest.er1 >conftest.err
   11587   rm -f conftest.er1
   11588   cat conftest.err >&5
   11589   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11590   (exit $ac_status); } && {
   11591 	 test -z "$ac_c_werror_flag" ||
   11592 	 test ! -s conftest.err
   11593        } && test -s conftest.$ac_objext; then
   11594   ac_cv_prog_cc_g=yes
   11595 else
   11596   $as_echo "$as_me: failed program was:" >&5
   11597 sed 's/^/| /' conftest.$ac_ext >&5
   11598 
   11599 	CFLAGS=""
   11600       cat >conftest.$ac_ext <<_ACEOF
   11601 /* confdefs.h.  */
   11602 _ACEOF
   11603 cat confdefs.h >>conftest.$ac_ext
   11604 cat >>conftest.$ac_ext <<_ACEOF
   11605 /* end confdefs.h.  */
   11606 
   11607 int
   11608 main ()
   11609 {
   11610 
   11611   ;
   11612   return 0;
   11613 }
   11614 _ACEOF
   11615 rm -f conftest.$ac_objext
   11616 if { (ac_try="$ac_compile"
   11617 case "(($ac_try" in
   11618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11619   *) ac_try_echo=$ac_try;;
   11620 esac
   11621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11622 $as_echo "$ac_try_echo") >&5
   11623   (eval "$ac_compile") 2>conftest.er1
   11624   ac_status=$?
   11625   grep -v '^ *+' conftest.er1 >conftest.err
   11626   rm -f conftest.er1
   11627   cat conftest.err >&5
   11628   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11629   (exit $ac_status); } && {
   11630 	 test -z "$ac_c_werror_flag" ||
   11631 	 test ! -s conftest.err
   11632        } && test -s conftest.$ac_objext; then
   11633   :
   11634 else
   11635   $as_echo "$as_me: failed program was:" >&5
   11636 sed 's/^/| /' conftest.$ac_ext >&5
   11637 
   11638 	ac_c_werror_flag=$ac_save_c_werror_flag
   11639 	 CFLAGS="-g"
   11640 	 cat >conftest.$ac_ext <<_ACEOF
   11641 /* confdefs.h.  */
   11642 _ACEOF
   11643 cat confdefs.h >>conftest.$ac_ext
   11644 cat >>conftest.$ac_ext <<_ACEOF
   11645 /* end confdefs.h.  */
   11646 
   11647 int
   11648 main ()
   11649 {
   11650 
   11651   ;
   11652   return 0;
   11653 }
   11654 _ACEOF
   11655 rm -f conftest.$ac_objext
   11656 if { (ac_try="$ac_compile"
   11657 case "(($ac_try" in
   11658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11659   *) ac_try_echo=$ac_try;;
   11660 esac
   11661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11662 $as_echo "$ac_try_echo") >&5
   11663   (eval "$ac_compile") 2>conftest.er1
   11664   ac_status=$?
   11665   grep -v '^ *+' conftest.er1 >conftest.err
   11666   rm -f conftest.er1
   11667   cat conftest.err >&5
   11668   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11669   (exit $ac_status); } && {
   11670 	 test -z "$ac_c_werror_flag" ||
   11671 	 test ! -s conftest.err
   11672        } && test -s conftest.$ac_objext; then
   11673   ac_cv_prog_cc_g=yes
   11674 else
   11675   $as_echo "$as_me: failed program was:" >&5
   11676 sed 's/^/| /' conftest.$ac_ext >&5
   11677 
   11678 
   11679 fi
   11680 
   11681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11682 fi
   11683 
   11684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11685 fi
   11686 
   11687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11688    ac_c_werror_flag=$ac_save_c_werror_flag
   11689 fi
   11690 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   11691 $as_echo "$ac_cv_prog_cc_g" >&6; }
   11692 if test "$ac_test_CFLAGS" = set; then
   11693   CFLAGS=$ac_save_CFLAGS
   11694 elif test $ac_cv_prog_cc_g = yes; then
   11695   if test "$GCC" = yes; then
   11696     CFLAGS="-g -O2"
   11697   else
   11698     CFLAGS="-g"
   11699   fi
   11700 else
   11701   if test "$GCC" = yes; then
   11702     CFLAGS="-O2"
   11703   else
   11704     CFLAGS=
   11705   fi
   11706 fi
   11707 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   11708 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   11709 if test "${ac_cv_prog_cc_c89+set}" = set; then
   11710   $as_echo_n "(cached) " >&6
   11711 else
   11712   ac_cv_prog_cc_c89=no
   11713 ac_save_CC=$CC
   11714 cat >conftest.$ac_ext <<_ACEOF
   11715 /* confdefs.h.  */
   11716 _ACEOF
   11717 cat confdefs.h >>conftest.$ac_ext
   11718 cat >>conftest.$ac_ext <<_ACEOF
   11719 /* end confdefs.h.  */
   11720 #include <stdarg.h>
   11721 #include <stdio.h>
   11722 #include <sys/types.h>
   11723 #include <sys/stat.h>
   11724 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   11725 struct buf { int x; };
   11726 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   11727 static char *e (p, i)
   11728      char **p;
   11729      int i;
   11730 {
   11731   return p[i];
   11732 }
   11733 static char *f (char * (*g) (char **, int), char **p, ...)
   11734 {
   11735   char *s;
   11736   va_list v;
   11737   va_start (v,p);
   11738   s = g (p, va_arg (v,int));
   11739   va_end (v);
   11740   return s;
   11741 }
   11742 
   11743 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   11744    function prototypes and stuff, but not '\xHH' hex character constants.
   11745    These don't provoke an error unfortunately, instead are silently treated
   11746    as 'x'.  The following induces an error, until -std is added to get
   11747    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   11748    array size at least.  It's necessary to write '\x00'==0 to get something
   11749    that's true only with -std.  */
   11750 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   11751 
   11752 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   11753    inside strings and character constants.  */
   11754 #define FOO(x) 'x'
   11755 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   11756 
   11757 int test (int i, double x);
   11758 struct s1 {int (*f) (int a);};
   11759 struct s2 {int (*f) (double a);};
   11760 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   11761 int argc;
   11762 char **argv;
   11763 int
   11764 main ()
   11765 {
   11766 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   11767   ;
   11768   return 0;
   11769 }
   11770 _ACEOF
   11771 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   11772 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   11773 do
   11774   CC="$ac_save_CC $ac_arg"
   11775   rm -f conftest.$ac_objext
   11776 if { (ac_try="$ac_compile"
   11777 case "(($ac_try" in
   11778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11779   *) ac_try_echo=$ac_try;;
   11780 esac
   11781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11782 $as_echo "$ac_try_echo") >&5
   11783   (eval "$ac_compile") 2>conftest.er1
   11784   ac_status=$?
   11785   grep -v '^ *+' conftest.er1 >conftest.err
   11786   rm -f conftest.er1
   11787   cat conftest.err >&5
   11788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11789   (exit $ac_status); } && {
   11790 	 test -z "$ac_c_werror_flag" ||
   11791 	 test ! -s conftest.err
   11792        } && test -s conftest.$ac_objext; then
   11793   ac_cv_prog_cc_c89=$ac_arg
   11794 else
   11795   $as_echo "$as_me: failed program was:" >&5
   11796 sed 's/^/| /' conftest.$ac_ext >&5
   11797 
   11798 
   11799 fi
   11800 
   11801 rm -f core conftest.err conftest.$ac_objext
   11802   test "x$ac_cv_prog_cc_c89" != "xno" && break
   11803 done
   11804 rm -f conftest.$ac_ext
   11805 CC=$ac_save_CC
   11806 
   11807 fi
   11808 # AC_CACHE_VAL
   11809 case "x$ac_cv_prog_cc_c89" in
   11810   x)
   11811     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   11812 $as_echo "none needed" >&6; } ;;
   11813   xno)
   11814     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   11815 $as_echo "unsupported" >&6; } ;;
   11816   *)
   11817     CC="$CC $ac_cv_prog_cc_c89"
   11818     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   11819 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   11820 esac
   11821 
   11822 
   11823 ac_ext=c
   11824 ac_cpp='$CPP $CPPFLAGS'
   11825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11828 
   11829 depcc="$CC"   am_compiler_list=
   11830 
   11831 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   11832 $as_echo_n "checking dependency style of $depcc... " >&6; }
   11833 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   11834   $as_echo_n "(cached) " >&6
   11835 else
   11836   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   11837   # We make a subdir and do the tests there.  Otherwise we can end up
   11838   # making bogus files that we don't know about and never remove.  For
   11839   # instance it was reported that on HP-UX the gcc test will end up
   11840   # making a dummy file named `D' -- because `-MD' means `put the output
   11841   # in D'.
   11842   mkdir conftest.dir
   11843   # Copy depcomp to subdir because otherwise we won't find it if we're
   11844   # using a relative directory.
   11845   cp "$am_depcomp" conftest.dir
   11846   cd conftest.dir
   11847   # We will build objects and dependencies in a subdirectory because
   11848   # it helps to detect inapplicable dependency modes.  For instance
   11849   # both Tru64's cc and ICC support -MD to output dependencies as a
   11850   # side effect of compilation, but ICC will put the dependencies in
   11851   # the current directory while Tru64 will put them in the object
   11852   # directory.
   11853   mkdir sub
   11854 
   11855   am_cv_CC_dependencies_compiler_type=none
   11856   if test "$am_compiler_list" = ""; then
   11857      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   11858   fi
   11859   am__universal=false
   11860   case " $depcc " in #(
   11861      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   11862      esac
   11863 
   11864   for depmode in $am_compiler_list; do
   11865     # Setup a source with many dependencies, because some compilers
   11866     # like to wrap large dependency lists on column 80 (with \), and
   11867     # we should not choose a depcomp mode which is confused by this.
   11868     #
   11869     # We need to recreate these files for each test, as the compiler may
   11870     # overwrite some of them when testing with obscure command lines.
   11871     # This happens at least with the AIX C compiler.
   11872     : > sub/conftest.c
   11873     for i in 1 2 3 4 5 6; do
   11874       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   11875       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   11876       # Solaris 8's {/usr,}/bin/sh.
   11877       touch sub/conftst$i.h
   11878     done
   11879     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   11880 
   11881     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   11882     # mode.  It turns out that the SunPro C++ compiler does not properly
   11883     # handle `-M -o', and we need to detect this.  Also, some Intel
   11884     # versions had trouble with output in subdirs
   11885     am__obj=sub/conftest.${OBJEXT-o}
   11886     am__minus_obj="-o $am__obj"
   11887     case $depmode in
   11888     gcc)
   11889       # This depmode causes a compiler race in universal mode.
   11890       test "$am__universal" = false || continue
   11891       ;;
   11892     nosideeffect)
   11893       # after this tag, mechanisms are not by side-effect, so they'll
   11894       # only be used when explicitly requested
   11895       if test "x$enable_dependency_tracking" = xyes; then
   11896 	continue
   11897       else
   11898 	break
   11899       fi
   11900       ;;
   11901     msvisualcpp | msvcmsys)
   11902       # This compiler won't grok `-c -o', but also, the minuso test has
   11903       # not run yet.  These depmodes are late enough in the game, and
   11904       # so weak that their functioning should not be impacted.
   11905       am__obj=conftest.${OBJEXT-o}
   11906       am__minus_obj=
   11907       ;;
   11908     none) break ;;
   11909     esac
   11910     if depmode=$depmode \
   11911        source=sub/conftest.c object=$am__obj \
   11912        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   11913        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   11914          >/dev/null 2>conftest.err &&
   11915        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   11916        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   11917        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   11918        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   11919       # icc doesn't choke on unknown options, it will just issue warnings
   11920       # or remarks (even with -Werror).  So we grep stderr for any message
   11921       # that says an option was ignored or not supported.
   11922       # When given -MP, icc 7.0 and 7.1 complain thusly:
   11923       #   icc: Command line warning: ignoring option '-M'; no argument required
   11924       # The diagnosis changed in icc 8.0:
   11925       #   icc: Command line remark: option '-MP' not supported
   11926       if (grep 'ignoring option' conftest.err ||
   11927           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   11928         am_cv_CC_dependencies_compiler_type=$depmode
   11929         break
   11930       fi
   11931     fi
   11932   done
   11933 
   11934   cd ..
   11935   rm -rf conftest.dir
   11936 else
   11937   am_cv_CC_dependencies_compiler_type=none
   11938 fi
   11939 
   11940 fi
   11941 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   11942 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   11943 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   11944 
   11945  if
   11946   test "x$enable_dependency_tracking" != xno \
   11947   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   11948   am__fastdepCC_TRUE=
   11949   am__fastdepCC_FALSE='#'
   11950 else
   11951   am__fastdepCC_TRUE='#'
   11952   am__fastdepCC_FALSE=
   11953 fi
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 # Check whether --with-xorg-module-dir was given.
   11962 if test "${with_xorg_module_dir+set}" = set; then
   11963   withval=$with_xorg_module_dir; moduledir="$withval"
   11964 else
   11965   moduledir="$libdir/xorg/modules"
   11966 fi
   11967 
   11968 
   11969 # Checks for extensions
   11970 
   11971 	SAVE_CFLAGS="$CFLAGS"
   11972 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   11973 	cat >conftest.$ac_ext <<_ACEOF
   11974 /* confdefs.h.  */
   11975 _ACEOF
   11976 cat confdefs.h >>conftest.$ac_ext
   11977 cat >>conftest.$ac_ext <<_ACEOF
   11978 /* end confdefs.h.  */
   11979 
   11980 #include "xorg-server.h"
   11981 #if !defined RANDR
   11982 #error RANDR not defined
   11983 #endif
   11984 
   11985 int
   11986 main ()
   11987 {
   11988 
   11989   ;
   11990   return 0;
   11991 }
   11992 _ACEOF
   11993 rm -f conftest.$ac_objext
   11994 if { (ac_try="$ac_compile"
   11995 case "(($ac_try" in
   11996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11997   *) ac_try_echo=$ac_try;;
   11998 esac
   11999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12000 $as_echo "$ac_try_echo") >&5
   12001   (eval "$ac_compile") 2>conftest.er1
   12002   ac_status=$?
   12003   grep -v '^ *+' conftest.er1 >conftest.err
   12004   rm -f conftest.er1
   12005   cat conftest.err >&5
   12006   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12007   (exit $ac_status); } && {
   12008 	 test -z "$ac_c_werror_flag" ||
   12009 	 test ! -s conftest.err
   12010        } && test -s conftest.$ac_objext; then
   12011   _EXT_CHECK=yes
   12012 else
   12013   $as_echo "$as_me: failed program was:" >&5
   12014 sed 's/^/| /' conftest.$ac_ext >&5
   12015 
   12016 	_EXT_CHECK=no
   12017 fi
   12018 
   12019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12020 	CFLAGS="$SAVE_CFLAGS"
   12021 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   12022 $as_echo_n "checking if RANDR is defined... " >&6; }
   12023 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12024 $as_echo "$_EXT_CHECK" >&6; }
   12025 	if test "$_EXT_CHECK" != no; then
   12026 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   12027 	fi
   12028 
   12029 
   12030 	SAVE_CFLAGS="$CFLAGS"
   12031 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12032 	cat >conftest.$ac_ext <<_ACEOF
   12033 /* confdefs.h.  */
   12034 _ACEOF
   12035 cat confdefs.h >>conftest.$ac_ext
   12036 cat >>conftest.$ac_ext <<_ACEOF
   12037 /* end confdefs.h.  */
   12038 
   12039 #include "xorg-server.h"
   12040 #if !defined RENDER
   12041 #error RENDER not defined
   12042 #endif
   12043 
   12044 int
   12045 main ()
   12046 {
   12047 
   12048   ;
   12049   return 0;
   12050 }
   12051 _ACEOF
   12052 rm -f conftest.$ac_objext
   12053 if { (ac_try="$ac_compile"
   12054 case "(($ac_try" in
   12055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12056   *) ac_try_echo=$ac_try;;
   12057 esac
   12058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12059 $as_echo "$ac_try_echo") >&5
   12060   (eval "$ac_compile") 2>conftest.er1
   12061   ac_status=$?
   12062   grep -v '^ *+' conftest.er1 >conftest.err
   12063   rm -f conftest.er1
   12064   cat conftest.err >&5
   12065   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12066   (exit $ac_status); } && {
   12067 	 test -z "$ac_c_werror_flag" ||
   12068 	 test ! -s conftest.err
   12069        } && test -s conftest.$ac_objext; then
   12070   _EXT_CHECK=yes
   12071 else
   12072   $as_echo "$as_me: failed program was:" >&5
   12073 sed 's/^/| /' conftest.$ac_ext >&5
   12074 
   12075 	_EXT_CHECK=no
   12076 fi
   12077 
   12078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12079 	CFLAGS="$SAVE_CFLAGS"
   12080 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   12081 $as_echo_n "checking if RENDER is defined... " >&6; }
   12082 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12083 $as_echo "$_EXT_CHECK" >&6; }
   12084 	if test "$_EXT_CHECK" != no; then
   12085 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   12086 	fi
   12087 
   12088 
   12089 	SAVE_CFLAGS="$CFLAGS"
   12090 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12091 	cat >conftest.$ac_ext <<_ACEOF
   12092 /* confdefs.h.  */
   12093 _ACEOF
   12094 cat confdefs.h >>conftest.$ac_ext
   12095 cat >>conftest.$ac_ext <<_ACEOF
   12096 /* end confdefs.h.  */
   12097 
   12098 #include "xorg-server.h"
   12099 #if !defined XV
   12100 #error XV not defined
   12101 #endif
   12102 
   12103 int
   12104 main ()
   12105 {
   12106 
   12107   ;
   12108   return 0;
   12109 }
   12110 _ACEOF
   12111 rm -f conftest.$ac_objext
   12112 if { (ac_try="$ac_compile"
   12113 case "(($ac_try" in
   12114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12115   *) ac_try_echo=$ac_try;;
   12116 esac
   12117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12118 $as_echo "$ac_try_echo") >&5
   12119   (eval "$ac_compile") 2>conftest.er1
   12120   ac_status=$?
   12121   grep -v '^ *+' conftest.er1 >conftest.err
   12122   rm -f conftest.er1
   12123   cat conftest.err >&5
   12124   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12125   (exit $ac_status); } && {
   12126 	 test -z "$ac_c_werror_flag" ||
   12127 	 test ! -s conftest.err
   12128        } && test -s conftest.$ac_objext; then
   12129   _EXT_CHECK=yes
   12130 else
   12131   $as_echo "$as_me: failed program was:" >&5
   12132 sed 's/^/| /' conftest.$ac_ext >&5
   12133 
   12134 	_EXT_CHECK=no
   12135 fi
   12136 
   12137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12138 	CFLAGS="$SAVE_CFLAGS"
   12139 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   12140 $as_echo_n "checking if XV is defined... " >&6; }
   12141 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12142 $as_echo "$_EXT_CHECK" >&6; }
   12143 	if test "$_EXT_CHECK" != no; then
   12144 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   12145 	fi
   12146 
   12147 
   12148 	SAVE_CFLAGS="$CFLAGS"
   12149 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12150 	cat >conftest.$ac_ext <<_ACEOF
   12151 /* confdefs.h.  */
   12152 _ACEOF
   12153 cat confdefs.h >>conftest.$ac_ext
   12154 cat >>conftest.$ac_ext <<_ACEOF
   12155 /* end confdefs.h.  */
   12156 
   12157 #include "xorg-server.h"
   12158 #if !defined DPMSExtension
   12159 #error DPMSExtension not defined
   12160 #endif
   12161 
   12162 int
   12163 main ()
   12164 {
   12165 
   12166   ;
   12167   return 0;
   12168 }
   12169 _ACEOF
   12170 rm -f conftest.$ac_objext
   12171 if { (ac_try="$ac_compile"
   12172 case "(($ac_try" in
   12173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12174   *) ac_try_echo=$ac_try;;
   12175 esac
   12176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12177 $as_echo "$ac_try_echo") >&5
   12178   (eval "$ac_compile") 2>conftest.er1
   12179   ac_status=$?
   12180   grep -v '^ *+' conftest.er1 >conftest.err
   12181   rm -f conftest.er1
   12182   cat conftest.err >&5
   12183   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12184   (exit $ac_status); } && {
   12185 	 test -z "$ac_c_werror_flag" ||
   12186 	 test ! -s conftest.err
   12187        } && test -s conftest.$ac_objext; then
   12188   _EXT_CHECK=yes
   12189 else
   12190   $as_echo "$as_me: failed program was:" >&5
   12191 sed 's/^/| /' conftest.$ac_ext >&5
   12192 
   12193 	_EXT_CHECK=no
   12194 fi
   12195 
   12196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12197 	CFLAGS="$SAVE_CFLAGS"
   12198 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   12199 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   12200 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12201 $as_echo "$_EXT_CHECK" >&6; }
   12202 	if test "$_EXT_CHECK" != no; then
   12203 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   12204 	fi
   12205 
   12206 
   12207 # Checks for pkg-config packages
   12208 
   12209 
   12210 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12211 	if test -n "$ac_tool_prefix"; then
   12212   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12213 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12214 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12215 $as_echo_n "checking for $ac_word... " >&6; }
   12216 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   12217   $as_echo_n "(cached) " >&6
   12218 else
   12219   case $PKG_CONFIG in
   12220   [\\/]* | ?:[\\/]*)
   12221   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12222   ;;
   12223   *)
   12224   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12225 for as_dir in $PATH
   12226 do
   12227   IFS=$as_save_IFS
   12228   test -z "$as_dir" && as_dir=.
   12229   for ac_exec_ext in '' $ac_executable_extensions; do
   12230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12231     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12232     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12233     break 2
   12234   fi
   12235 done
   12236 done
   12237 IFS=$as_save_IFS
   12238 
   12239   ;;
   12240 esac
   12241 fi
   12242 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12243 if test -n "$PKG_CONFIG"; then
   12244   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   12245 $as_echo "$PKG_CONFIG" >&6; }
   12246 else
   12247   { $as_echo "$as_me:$LINENO: result: no" >&5
   12248 $as_echo "no" >&6; }
   12249 fi
   12250 
   12251 
   12252 fi
   12253 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12254   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12255   # Extract the first word of "pkg-config", so it can be a program name with args.
   12256 set dummy pkg-config; ac_word=$2
   12257 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12258 $as_echo_n "checking for $ac_word... " >&6; }
   12259 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   12260   $as_echo_n "(cached) " >&6
   12261 else
   12262   case $ac_pt_PKG_CONFIG in
   12263   [\\/]* | ?:[\\/]*)
   12264   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12265   ;;
   12266   *)
   12267   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12268 for as_dir in $PATH
   12269 do
   12270   IFS=$as_save_IFS
   12271   test -z "$as_dir" && as_dir=.
   12272   for ac_exec_ext in '' $ac_executable_extensions; do
   12273   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12274     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12275     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12276     break 2
   12277   fi
   12278 done
   12279 done
   12280 IFS=$as_save_IFS
   12281 
   12282   ;;
   12283 esac
   12284 fi
   12285 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12286 if test -n "$ac_pt_PKG_CONFIG"; then
   12287   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   12288 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12289 else
   12290   { $as_echo "$as_me:$LINENO: result: no" >&5
   12291 $as_echo "no" >&6; }
   12292 fi
   12293 
   12294   if test "x$ac_pt_PKG_CONFIG" = x; then
   12295     PKG_CONFIG=""
   12296   else
   12297     case $cross_compiling:$ac_tool_warned in
   12298 yes:)
   12299 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   12300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12301 ac_tool_warned=yes ;;
   12302 esac
   12303     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12304   fi
   12305 else
   12306   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12307 fi
   12308 
   12309 fi
   12310 if test -n "$PKG_CONFIG"; then
   12311 	_pkg_min_version=0.9.0
   12312 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   12313 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12314 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12315 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   12316 $as_echo "yes" >&6; }
   12317 	else
   12318 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   12319 $as_echo "no" >&6; }
   12320 		PKG_CONFIG=""
   12321 	fi
   12322 
   12323 fi
   12324 
   12325 pkg_failed=no
   12326 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   12327 $as_echo_n "checking for XORG... " >&6; }
   12328 
   12329 if test -n "$XORG_CFLAGS"; then
   12330     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   12331  elif test -n "$PKG_CONFIG"; then
   12332     if test -n "$PKG_CONFIG" && \
   12333     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   12334   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   12335   ac_status=$?
   12336   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12337   (exit $ac_status); }; then
   12338   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   12339 else
   12340   pkg_failed=yes
   12341 fi
   12342  else
   12343     pkg_failed=untried
   12344 fi
   12345 if test -n "$XORG_LIBS"; then
   12346     pkg_cv_XORG_LIBS="$XORG_LIBS"
   12347  elif test -n "$PKG_CONFIG"; then
   12348     if test -n "$PKG_CONFIG" && \
   12349     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   12350   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   12351   ac_status=$?
   12352   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12353   (exit $ac_status); }; then
   12354   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   12355 else
   12356   pkg_failed=yes
   12357 fi
   12358  else
   12359     pkg_failed=untried
   12360 fi
   12361 
   12362 
   12363 
   12364 if test $pkg_failed = yes; then
   12365 
   12366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12367         _pkg_short_errors_supported=yes
   12368 else
   12369         _pkg_short_errors_supported=no
   12370 fi
   12371         if test $_pkg_short_errors_supported = yes; then
   12372 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   12373         else
   12374 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   12375         fi
   12376 	# Put the nasty error message in config.log where it belongs
   12377 	echo "$XORG_PKG_ERRORS" >&5
   12378 
   12379 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   12380 
   12381 $XORG_PKG_ERRORS
   12382 
   12383 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12384 installed software in a non-standard prefix.
   12385 
   12386 Alternatively, you may set the environment variables XORG_CFLAGS
   12387 and XORG_LIBS to avoid the need to call pkg-config.
   12388 See the pkg-config man page for more details.
   12389 " >&5
   12390 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   12391 
   12392 $XORG_PKG_ERRORS
   12393 
   12394 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12395 installed software in a non-standard prefix.
   12396 
   12397 Alternatively, you may set the environment variables XORG_CFLAGS
   12398 and XORG_LIBS to avoid the need to call pkg-config.
   12399 See the pkg-config man page for more details.
   12400 " >&2;}
   12401    { (exit 1); exit 1; }; }
   12402 elif test $pkg_failed = untried; then
   12403 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12405 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   12406 is in your PATH or set the PKG_CONFIG environment variable to the full
   12407 path to pkg-config.
   12408 
   12409 Alternatively, you may set the environment variables XORG_CFLAGS
   12410 and XORG_LIBS to avoid the need to call pkg-config.
   12411 See the pkg-config man page for more details.
   12412 
   12413 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12414 See \`config.log' for more details." >&5
   12415 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   12416 is in your PATH or set the PKG_CONFIG environment variable to the full
   12417 path to pkg-config.
   12418 
   12419 Alternatively, you may set the environment variables XORG_CFLAGS
   12420 and XORG_LIBS to avoid the need to call pkg-config.
   12421 See the pkg-config man page for more details.
   12422 
   12423 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12424 See \`config.log' for more details." >&2;}
   12425    { (exit 1); exit 1; }; }; }
   12426 else
   12427 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   12428 	XORG_LIBS=$pkg_cv_XORG_LIBS
   12429         { $as_echo "$as_me:$LINENO: result: yes" >&5
   12430 $as_echo "yes" >&6; }
   12431 	:
   12432 fi
   12433 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   12434 
   12435 # Checks for libraries.
   12436 SAVE_CPPFLAGS="$CPPFLAGS"
   12437 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   12438 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   12439 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   12440 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   12441   $as_echo_n "(cached) " >&6
   12442 else
   12443   cat >conftest.$ac_ext <<_ACEOF
   12444 /* confdefs.h.  */
   12445 _ACEOF
   12446 cat confdefs.h >>conftest.$ac_ext
   12447 cat >>conftest.$ac_ext <<_ACEOF
   12448 /* end confdefs.h.  */
   12449 #include "xorg-server.h"
   12450 
   12451 int
   12452 main ()
   12453 {
   12454 #ifndef XSERVER_LIBPCIACCESS
   12455   (void) XSERVER_LIBPCIACCESS;
   12456 #endif
   12457 
   12458   ;
   12459   return 0;
   12460 }
   12461 _ACEOF
   12462 rm -f conftest.$ac_objext
   12463 if { (ac_try="$ac_compile"
   12464 case "(($ac_try" in
   12465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12466   *) ac_try_echo=$ac_try;;
   12467 esac
   12468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12469 $as_echo "$ac_try_echo") >&5
   12470   (eval "$ac_compile") 2>conftest.er1
   12471   ac_status=$?
   12472   grep -v '^ *+' conftest.er1 >conftest.err
   12473   rm -f conftest.er1
   12474   cat conftest.err >&5
   12475   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12476   (exit $ac_status); } && {
   12477 	 test -z "$ac_c_werror_flag" ||
   12478 	 test ! -s conftest.err
   12479        } && test -s conftest.$ac_objext; then
   12480   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   12481 else
   12482   $as_echo "$as_me: failed program was:" >&5
   12483 sed 's/^/| /' conftest.$ac_ext >&5
   12484 
   12485 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   12486 fi
   12487 
   12488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12489 fi
   12490 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   12491 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   12492 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   12493   XSERVER_LIBPCIACCESS=yes
   12494 else
   12495   XSERVER_LIBPCIACCESS=no
   12496 fi
   12497 
   12498 if test "${ac_cv_header_xf1bpp_h+set}" = set; then
   12499   { $as_echo "$as_me:$LINENO: checking for xf1bpp.h" >&5
   12500 $as_echo_n "checking for xf1bpp.h... " >&6; }
   12501 if test "${ac_cv_header_xf1bpp_h+set}" = set; then
   12502   $as_echo_n "(cached) " >&6
   12503 fi
   12504 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf1bpp_h" >&5
   12505 $as_echo "$ac_cv_header_xf1bpp_h" >&6; }
   12506 else
   12507   # Is the header compilable?
   12508 { $as_echo "$as_me:$LINENO: checking xf1bpp.h usability" >&5
   12509 $as_echo_n "checking xf1bpp.h usability... " >&6; }
   12510 cat >conftest.$ac_ext <<_ACEOF
   12511 /* confdefs.h.  */
   12512 _ACEOF
   12513 cat confdefs.h >>conftest.$ac_ext
   12514 cat >>conftest.$ac_ext <<_ACEOF
   12515 /* end confdefs.h.  */
   12516 $ac_includes_default
   12517 #include <xf1bpp.h>
   12518 _ACEOF
   12519 rm -f conftest.$ac_objext
   12520 if { (ac_try="$ac_compile"
   12521 case "(($ac_try" in
   12522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12523   *) ac_try_echo=$ac_try;;
   12524 esac
   12525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12526 $as_echo "$ac_try_echo") >&5
   12527   (eval "$ac_compile") 2>conftest.er1
   12528   ac_status=$?
   12529   grep -v '^ *+' conftest.er1 >conftest.err
   12530   rm -f conftest.er1
   12531   cat conftest.err >&5
   12532   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12533   (exit $ac_status); } && {
   12534 	 test -z "$ac_c_werror_flag" ||
   12535 	 test ! -s conftest.err
   12536        } && test -s conftest.$ac_objext; then
   12537   ac_header_compiler=yes
   12538 else
   12539   $as_echo "$as_me: failed program was:" >&5
   12540 sed 's/^/| /' conftest.$ac_ext >&5
   12541 
   12542 	ac_header_compiler=no
   12543 fi
   12544 
   12545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12546 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   12547 $as_echo "$ac_header_compiler" >&6; }
   12548 
   12549 # Is the header present?
   12550 { $as_echo "$as_me:$LINENO: checking xf1bpp.h presence" >&5
   12551 $as_echo_n "checking xf1bpp.h presence... " >&6; }
   12552 cat >conftest.$ac_ext <<_ACEOF
   12553 /* confdefs.h.  */
   12554 _ACEOF
   12555 cat confdefs.h >>conftest.$ac_ext
   12556 cat >>conftest.$ac_ext <<_ACEOF
   12557 /* end confdefs.h.  */
   12558 #include <xf1bpp.h>
   12559 _ACEOF
   12560 if { (ac_try="$ac_cpp conftest.$ac_ext"
   12561 case "(($ac_try" in
   12562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12563   *) ac_try_echo=$ac_try;;
   12564 esac
   12565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12566 $as_echo "$ac_try_echo") >&5
   12567   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   12568   ac_status=$?
   12569   grep -v '^ *+' conftest.er1 >conftest.err
   12570   rm -f conftest.er1
   12571   cat conftest.err >&5
   12572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12573   (exit $ac_status); } >/dev/null && {
   12574 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   12575 	 test ! -s conftest.err
   12576        }; then
   12577   ac_header_preproc=yes
   12578 else
   12579   $as_echo "$as_me: failed program was:" >&5
   12580 sed 's/^/| /' conftest.$ac_ext >&5
   12581 
   12582   ac_header_preproc=no
   12583 fi
   12584 
   12585 rm -f conftest.err conftest.$ac_ext
   12586 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   12587 $as_echo "$ac_header_preproc" >&6; }
   12588 
   12589 # So?  What about this header?
   12590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   12591   yes:no: )
   12592     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: accepted by the compiler, rejected by the preprocessor!" >&5
   12593 $as_echo "$as_me: WARNING: xf1bpp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   12594     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: proceeding with the compiler's result" >&5
   12595 $as_echo "$as_me: WARNING: xf1bpp.h: proceeding with the compiler's result" >&2;}
   12596     ac_header_preproc=yes
   12597     ;;
   12598   no:yes:* )
   12599     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: present but cannot be compiled" >&5
   12600 $as_echo "$as_me: WARNING: xf1bpp.h: present but cannot be compiled" >&2;}
   12601     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h:     check for missing prerequisite headers?" >&5
   12602 $as_echo "$as_me: WARNING: xf1bpp.h:     check for missing prerequisite headers?" >&2;}
   12603     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: see the Autoconf documentation" >&5
   12604 $as_echo "$as_me: WARNING: xf1bpp.h: see the Autoconf documentation" >&2;}
   12605     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h:     section \"Present But Cannot Be Compiled\"" >&5
   12606 $as_echo "$as_me: WARNING: xf1bpp.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   12607     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: proceeding with the preprocessor's result" >&5
   12608 $as_echo "$as_me: WARNING: xf1bpp.h: proceeding with the preprocessor's result" >&2;}
   12609     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: in the future, the compiler will take precedence" >&5
   12610 $as_echo "$as_me: WARNING: xf1bpp.h: in the future, the compiler will take precedence" >&2;}
   12611     ( cat <<\_ASBOX
   12612 ## ---------------------------------------------------------------------- ##
   12613 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   12614 ## ---------------------------------------------------------------------- ##
   12615 _ASBOX
   12616      ) | sed "s/^/$as_me: WARNING:     /" >&2
   12617     ;;
   12618 esac
   12619 { $as_echo "$as_me:$LINENO: checking for xf1bpp.h" >&5
   12620 $as_echo_n "checking for xf1bpp.h... " >&6; }
   12621 if test "${ac_cv_header_xf1bpp_h+set}" = set; then
   12622   $as_echo_n "(cached) " >&6
   12623 else
   12624   ac_cv_header_xf1bpp_h=$ac_header_preproc
   12625 fi
   12626 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf1bpp_h" >&5
   12627 $as_echo "$ac_cv_header_xf1bpp_h" >&6; }
   12628 
   12629 fi
   12630 if test "x$ac_cv_header_xf1bpp_h" = x""yes; then
   12631 
   12632 cat >>confdefs.h <<\_ACEOF
   12633 #define HAVE_XF1BPP 1
   12634 _ACEOF
   12635 
   12636 fi
   12637 
   12638 
   12639 if test "${ac_cv_header_xf4bpp_h+set}" = set; then
   12640   { $as_echo "$as_me:$LINENO: checking for xf4bpp.h" >&5
   12641 $as_echo_n "checking for xf4bpp.h... " >&6; }
   12642 if test "${ac_cv_header_xf4bpp_h+set}" = set; then
   12643   $as_echo_n "(cached) " >&6
   12644 fi
   12645 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf4bpp_h" >&5
   12646 $as_echo "$ac_cv_header_xf4bpp_h" >&6; }
   12647 else
   12648   # Is the header compilable?
   12649 { $as_echo "$as_me:$LINENO: checking xf4bpp.h usability" >&5
   12650 $as_echo_n "checking xf4bpp.h usability... " >&6; }
   12651 cat >conftest.$ac_ext <<_ACEOF
   12652 /* confdefs.h.  */
   12653 _ACEOF
   12654 cat confdefs.h >>conftest.$ac_ext
   12655 cat >>conftest.$ac_ext <<_ACEOF
   12656 /* end confdefs.h.  */
   12657 $ac_includes_default
   12658 #include <xf4bpp.h>
   12659 _ACEOF
   12660 rm -f conftest.$ac_objext
   12661 if { (ac_try="$ac_compile"
   12662 case "(($ac_try" in
   12663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12664   *) ac_try_echo=$ac_try;;
   12665 esac
   12666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12667 $as_echo "$ac_try_echo") >&5
   12668   (eval "$ac_compile") 2>conftest.er1
   12669   ac_status=$?
   12670   grep -v '^ *+' conftest.er1 >conftest.err
   12671   rm -f conftest.er1
   12672   cat conftest.err >&5
   12673   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12674   (exit $ac_status); } && {
   12675 	 test -z "$ac_c_werror_flag" ||
   12676 	 test ! -s conftest.err
   12677        } && test -s conftest.$ac_objext; then
   12678   ac_header_compiler=yes
   12679 else
   12680   $as_echo "$as_me: failed program was:" >&5
   12681 sed 's/^/| /' conftest.$ac_ext >&5
   12682 
   12683 	ac_header_compiler=no
   12684 fi
   12685 
   12686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12687 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   12688 $as_echo "$ac_header_compiler" >&6; }
   12689 
   12690 # Is the header present?
   12691 { $as_echo "$as_me:$LINENO: checking xf4bpp.h presence" >&5
   12692 $as_echo_n "checking xf4bpp.h presence... " >&6; }
   12693 cat >conftest.$ac_ext <<_ACEOF
   12694 /* confdefs.h.  */
   12695 _ACEOF
   12696 cat confdefs.h >>conftest.$ac_ext
   12697 cat >>conftest.$ac_ext <<_ACEOF
   12698 /* end confdefs.h.  */
   12699 #include <xf4bpp.h>
   12700 _ACEOF
   12701 if { (ac_try="$ac_cpp conftest.$ac_ext"
   12702 case "(($ac_try" in
   12703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12704   *) ac_try_echo=$ac_try;;
   12705 esac
   12706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12707 $as_echo "$ac_try_echo") >&5
   12708   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   12709   ac_status=$?
   12710   grep -v '^ *+' conftest.er1 >conftest.err
   12711   rm -f conftest.er1
   12712   cat conftest.err >&5
   12713   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12714   (exit $ac_status); } >/dev/null && {
   12715 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   12716 	 test ! -s conftest.err
   12717        }; then
   12718   ac_header_preproc=yes
   12719 else
   12720   $as_echo "$as_me: failed program was:" >&5
   12721 sed 's/^/| /' conftest.$ac_ext >&5
   12722 
   12723   ac_header_preproc=no
   12724 fi
   12725 
   12726 rm -f conftest.err conftest.$ac_ext
   12727 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   12728 $as_echo "$ac_header_preproc" >&6; }
   12729 
   12730 # So?  What about this header?
   12731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   12732   yes:no: )
   12733     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: accepted by the compiler, rejected by the preprocessor!" >&5
   12734 $as_echo "$as_me: WARNING: xf4bpp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   12735     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: proceeding with the compiler's result" >&5
   12736 $as_echo "$as_me: WARNING: xf4bpp.h: proceeding with the compiler's result" >&2;}
   12737     ac_header_preproc=yes
   12738     ;;
   12739   no:yes:* )
   12740     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: present but cannot be compiled" >&5
   12741 $as_echo "$as_me: WARNING: xf4bpp.h: present but cannot be compiled" >&2;}
   12742     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h:     check for missing prerequisite headers?" >&5
   12743 $as_echo "$as_me: WARNING: xf4bpp.h:     check for missing prerequisite headers?" >&2;}
   12744     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: see the Autoconf documentation" >&5
   12745 $as_echo "$as_me: WARNING: xf4bpp.h: see the Autoconf documentation" >&2;}
   12746     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h:     section \"Present But Cannot Be Compiled\"" >&5
   12747 $as_echo "$as_me: WARNING: xf4bpp.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   12748     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: proceeding with the preprocessor's result" >&5
   12749 $as_echo "$as_me: WARNING: xf4bpp.h: proceeding with the preprocessor's result" >&2;}
   12750     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: in the future, the compiler will take precedence" >&5
   12751 $as_echo "$as_me: WARNING: xf4bpp.h: in the future, the compiler will take precedence" >&2;}
   12752     ( cat <<\_ASBOX
   12753 ## ---------------------------------------------------------------------- ##
   12754 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   12755 ## ---------------------------------------------------------------------- ##
   12756 _ASBOX
   12757      ) | sed "s/^/$as_me: WARNING:     /" >&2
   12758     ;;
   12759 esac
   12760 { $as_echo "$as_me:$LINENO: checking for xf4bpp.h" >&5
   12761 $as_echo_n "checking for xf4bpp.h... " >&6; }
   12762 if test "${ac_cv_header_xf4bpp_h+set}" = set; then
   12763   $as_echo_n "(cached) " >&6
   12764 else
   12765   ac_cv_header_xf4bpp_h=$ac_header_preproc
   12766 fi
   12767 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf4bpp_h" >&5
   12768 $as_echo "$ac_cv_header_xf4bpp_h" >&6; }
   12769 
   12770 fi
   12771 if test "x$ac_cv_header_xf4bpp_h" = x""yes; then
   12772 
   12773 cat >>confdefs.h <<\_ACEOF
   12774 #define HAVE_XF4BPP 1
   12775 _ACEOF
   12776 
   12777 fi
   12778 
   12779 
   12780 CPPFLAGS="$SAVE_CPPFLAGS"
   12781 
   12782 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   12783 
   12784 pkg_failed=no
   12785 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   12786 $as_echo_n "checking for PCIACCESS... " >&6; }
   12787 
   12788 if test -n "$PCIACCESS_CFLAGS"; then
   12789     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   12790  elif test -n "$PKG_CONFIG"; then
   12791     if test -n "$PKG_CONFIG" && \
   12792     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   12793   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   12794   ac_status=$?
   12795   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12796   (exit $ac_status); }; then
   12797   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   12798 else
   12799   pkg_failed=yes
   12800 fi
   12801  else
   12802     pkg_failed=untried
   12803 fi
   12804 if test -n "$PCIACCESS_LIBS"; then
   12805     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   12806  elif test -n "$PKG_CONFIG"; then
   12807     if test -n "$PKG_CONFIG" && \
   12808     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   12809   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   12810   ac_status=$?
   12811   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12812   (exit $ac_status); }; then
   12813   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   12814 else
   12815   pkg_failed=yes
   12816 fi
   12817  else
   12818     pkg_failed=untried
   12819 fi
   12820 
   12821 
   12822 
   12823 if test $pkg_failed = yes; then
   12824 
   12825 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12826         _pkg_short_errors_supported=yes
   12827 else
   12828         _pkg_short_errors_supported=no
   12829 fi
   12830         if test $_pkg_short_errors_supported = yes; then
   12831 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   12832         else
   12833 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   12834         fi
   12835 	# Put the nasty error message in config.log where it belongs
   12836 	echo "$PCIACCESS_PKG_ERRORS" >&5
   12837 
   12838 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   12839 
   12840 $PCIACCESS_PKG_ERRORS
   12841 
   12842 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12843 installed software in a non-standard prefix.
   12844 
   12845 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12846 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12847 See the pkg-config man page for more details.
   12848 " >&5
   12849 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   12850 
   12851 $PCIACCESS_PKG_ERRORS
   12852 
   12853 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12854 installed software in a non-standard prefix.
   12855 
   12856 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12857 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12858 See the pkg-config man page for more details.
   12859 " >&2;}
   12860    { (exit 1); exit 1; }; }
   12861 elif test $pkg_failed = untried; then
   12862 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12864 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   12865 is in your PATH or set the PKG_CONFIG environment variable to the full
   12866 path to pkg-config.
   12867 
   12868 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12869 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12870 See the pkg-config man page for more details.
   12871 
   12872 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12873 See \`config.log' for more details." >&5
   12874 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   12875 is in your PATH or set the PKG_CONFIG environment variable to the full
   12876 path to pkg-config.
   12877 
   12878 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12879 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12880 See the pkg-config man page for more details.
   12881 
   12882 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12883 See \`config.log' for more details." >&2;}
   12884    { (exit 1); exit 1; }; }; }
   12885 else
   12886 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   12887 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   12888         { $as_echo "$as_me:$LINENO: result: yes" >&5
   12889 $as_echo "yes" >&6; }
   12890 	:
   12891 fi
   12892     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   12893 fi
   12894  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   12895   XSERVER_LIBPCIACCESS_TRUE=
   12896   XSERVER_LIBPCIACCESS_FALSE='#'
   12897 else
   12898   XSERVER_LIBPCIACCESS_TRUE='#'
   12899   XSERVER_LIBPCIACCESS_FALSE=
   12900 fi
   12901 
   12902 
   12903 save_CFLAGS="$CFLAGS"
   12904 CFLAGS="$XORG_CFLAGS"
   12905 { $as_echo "$as_me:$LINENO: checking whether xf86ConfigIsaEntity is declared" >&5
   12906 $as_echo_n "checking whether xf86ConfigIsaEntity is declared... " >&6; }
   12907 if test "${ac_cv_have_decl_xf86ConfigIsaEntity+set}" = set; then
   12908   $as_echo_n "(cached) " >&6
   12909 else
   12910   cat >conftest.$ac_ext <<_ACEOF
   12911 /* confdefs.h.  */
   12912 _ACEOF
   12913 cat confdefs.h >>conftest.$ac_ext
   12914 cat >>conftest.$ac_ext <<_ACEOF
   12915 /* end confdefs.h.  */
   12916 #include "xf86.h"
   12917 
   12918 int
   12919 main ()
   12920 {
   12921 #ifndef xf86ConfigIsaEntity
   12922   (void) xf86ConfigIsaEntity;
   12923 #endif
   12924 
   12925   ;
   12926   return 0;
   12927 }
   12928 _ACEOF
   12929 rm -f conftest.$ac_objext
   12930 if { (ac_try="$ac_compile"
   12931 case "(($ac_try" in
   12932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12933   *) ac_try_echo=$ac_try;;
   12934 esac
   12935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12936 $as_echo "$ac_try_echo") >&5
   12937   (eval "$ac_compile") 2>conftest.er1
   12938   ac_status=$?
   12939   grep -v '^ *+' conftest.er1 >conftest.err
   12940   rm -f conftest.er1
   12941   cat conftest.err >&5
   12942   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12943   (exit $ac_status); } && {
   12944 	 test -z "$ac_c_werror_flag" ||
   12945 	 test ! -s conftest.err
   12946        } && test -s conftest.$ac_objext; then
   12947   ac_cv_have_decl_xf86ConfigIsaEntity=yes
   12948 else
   12949   $as_echo "$as_me: failed program was:" >&5
   12950 sed 's/^/| /' conftest.$ac_ext >&5
   12951 
   12952 	ac_cv_have_decl_xf86ConfigIsaEntity=no
   12953 fi
   12954 
   12955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12956 fi
   12957 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86ConfigIsaEntity" >&5
   12958 $as_echo "$ac_cv_have_decl_xf86ConfigIsaEntity" >&6; }
   12959 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = x""yes; then
   12960 
   12961 cat >>confdefs.h <<\_ACEOF
   12962 #define HAVE_ISA 1
   12963 _ACEOF
   12964 
   12965 fi
   12966 
   12967 CFLAGS="$save_CFLAGS"
   12968 
   12969 # Checks for header files.
   12970 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   12971 $as_echo_n "checking for ANSI C header files... " >&6; }
   12972 if test "${ac_cv_header_stdc+set}" = set; then
   12973   $as_echo_n "(cached) " >&6
   12974 else
   12975   cat >conftest.$ac_ext <<_ACEOF
   12976 /* confdefs.h.  */
   12977 _ACEOF
   12978 cat confdefs.h >>conftest.$ac_ext
   12979 cat >>conftest.$ac_ext <<_ACEOF
   12980 /* end confdefs.h.  */
   12981 #include <stdlib.h>
   12982 #include <stdarg.h>
   12983 #include <string.h>
   12984 #include <float.h>
   12985 
   12986 int
   12987 main ()
   12988 {
   12989 
   12990   ;
   12991   return 0;
   12992 }
   12993 _ACEOF
   12994 rm -f conftest.$ac_objext
   12995 if { (ac_try="$ac_compile"
   12996 case "(($ac_try" in
   12997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12998   *) ac_try_echo=$ac_try;;
   12999 esac
   13000 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13001 $as_echo "$ac_try_echo") >&5
   13002   (eval "$ac_compile") 2>conftest.er1
   13003   ac_status=$?
   13004   grep -v '^ *+' conftest.er1 >conftest.err
   13005   rm -f conftest.er1
   13006   cat conftest.err >&5
   13007   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13008   (exit $ac_status); } && {
   13009 	 test -z "$ac_c_werror_flag" ||
   13010 	 test ! -s conftest.err
   13011        } && test -s conftest.$ac_objext; then
   13012   ac_cv_header_stdc=yes
   13013 else
   13014   $as_echo "$as_me: failed program was:" >&5
   13015 sed 's/^/| /' conftest.$ac_ext >&5
   13016 
   13017 	ac_cv_header_stdc=no
   13018 fi
   13019 
   13020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13021 
   13022 if test $ac_cv_header_stdc = yes; then
   13023   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   13024   cat >conftest.$ac_ext <<_ACEOF
   13025 /* confdefs.h.  */
   13026 _ACEOF
   13027 cat confdefs.h >>conftest.$ac_ext
   13028 cat >>conftest.$ac_ext <<_ACEOF
   13029 /* end confdefs.h.  */
   13030 #include <string.h>
   13031 
   13032 _ACEOF
   13033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13034   $EGREP "memchr" >/dev/null 2>&1; then
   13035   :
   13036 else
   13037   ac_cv_header_stdc=no
   13038 fi
   13039 rm -f conftest*
   13040 
   13041 fi
   13042 
   13043 if test $ac_cv_header_stdc = yes; then
   13044   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   13045   cat >conftest.$ac_ext <<_ACEOF
   13046 /* confdefs.h.  */
   13047 _ACEOF
   13048 cat confdefs.h >>conftest.$ac_ext
   13049 cat >>conftest.$ac_ext <<_ACEOF
   13050 /* end confdefs.h.  */
   13051 #include <stdlib.h>
   13052 
   13053 _ACEOF
   13054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13055   $EGREP "free" >/dev/null 2>&1; then
   13056   :
   13057 else
   13058   ac_cv_header_stdc=no
   13059 fi
   13060 rm -f conftest*
   13061 
   13062 fi
   13063 
   13064 if test $ac_cv_header_stdc = yes; then
   13065   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   13066   if test "$cross_compiling" = yes; then
   13067   :
   13068 else
   13069   cat >conftest.$ac_ext <<_ACEOF
   13070 /* confdefs.h.  */
   13071 _ACEOF
   13072 cat confdefs.h >>conftest.$ac_ext
   13073 cat >>conftest.$ac_ext <<_ACEOF
   13074 /* end confdefs.h.  */
   13075 #include <ctype.h>
   13076 #include <stdlib.h>
   13077 #if ((' ' & 0x0FF) == 0x020)
   13078 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   13079 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   13080 #else
   13081 # define ISLOWER(c) \
   13082 		   (('a' <= (c) && (c) <= 'i') \
   13083 		     || ('j' <= (c) && (c) <= 'r') \
   13084 		     || ('s' <= (c) && (c) <= 'z'))
   13085 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   13086 #endif
   13087 
   13088 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   13089 int
   13090 main ()
   13091 {
   13092   int i;
   13093   for (i = 0; i < 256; i++)
   13094     if (XOR (islower (i), ISLOWER (i))
   13095 	|| toupper (i) != TOUPPER (i))
   13096       return 2;
   13097   return 0;
   13098 }
   13099 _ACEOF
   13100 rm -f conftest$ac_exeext
   13101 if { (ac_try="$ac_link"
   13102 case "(($ac_try" in
   13103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13104   *) ac_try_echo=$ac_try;;
   13105 esac
   13106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13107 $as_echo "$ac_try_echo") >&5
   13108   (eval "$ac_link") 2>&5
   13109   ac_status=$?
   13110   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13111   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   13112   { (case "(($ac_try" in
   13113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13114   *) ac_try_echo=$ac_try;;
   13115 esac
   13116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13117 $as_echo "$ac_try_echo") >&5
   13118   (eval "$ac_try") 2>&5
   13119   ac_status=$?
   13120   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13121   (exit $ac_status); }; }; then
   13122   :
   13123 else
   13124   $as_echo "$as_me: program exited with status $ac_status" >&5
   13125 $as_echo "$as_me: failed program was:" >&5
   13126 sed 's/^/| /' conftest.$ac_ext >&5
   13127 
   13128 ( exit $ac_status )
   13129 ac_cv_header_stdc=no
   13130 fi
   13131 rm -rf conftest.dSYM
   13132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   13133 fi
   13134 
   13135 
   13136 fi
   13137 fi
   13138 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   13139 $as_echo "$ac_cv_header_stdc" >&6; }
   13140 if test $ac_cv_header_stdc = yes; then
   13141 
   13142 cat >>confdefs.h <<\_ACEOF
   13143 #define STDC_HEADERS 1
   13144 _ACEOF
   13145 
   13146 fi
   13147 
   13148 
   13149 # Checks for functions (often defined as inlines in compiler.h)
   13150 { $as_echo "$as_me:$LINENO: checking for inb" >&5
   13151 $as_echo_n "checking for inb... " >&6; }
   13152 cat >conftest.$ac_ext <<_ACEOF
   13153 /* confdefs.h.  */
   13154 _ACEOF
   13155 cat confdefs.h >>conftest.$ac_ext
   13156 cat >>conftest.$ac_ext <<_ACEOF
   13157 /* end confdefs.h.  */
   13158 
   13159 #include "util/AsmMacros.h"
   13160 
   13161 int main() {
   13162 	int x = inb(0);
   13163 	return x;
   13164 }
   13165 
   13166 _ACEOF
   13167 rm -f conftest.$ac_objext conftest$ac_exeext
   13168 if { (ac_try="$ac_link"
   13169 case "(($ac_try" in
   13170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13171   *) ac_try_echo=$ac_try;;
   13172 esac
   13173 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13174 $as_echo "$ac_try_echo") >&5
   13175   (eval "$ac_link") 2>conftest.er1
   13176   ac_status=$?
   13177   grep -v '^ *+' conftest.er1 >conftest.err
   13178   rm -f conftest.er1
   13179   cat conftest.err >&5
   13180   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13181   (exit $ac_status); } && {
   13182 	 test -z "$ac_c_werror_flag" ||
   13183 	 test ! -s conftest.err
   13184        } && test -s conftest$ac_exeext && {
   13185 	 test "$cross_compiling" = yes ||
   13186 	 $as_test_x conftest$ac_exeext
   13187        }; then
   13188   HAVE_INB=yes
   13189 else
   13190   $as_echo "$as_me: failed program was:" >&5
   13191 sed 's/^/| /' conftest.$ac_ext >&5
   13192 
   13193 	HAVE_INB=no
   13194 fi
   13195 
   13196 rm -rf conftest.dSYM
   13197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   13198       conftest$ac_exeext conftest.$ac_ext
   13199 { $as_echo "$as_me:$LINENO: result: $HAVE_INB" >&5
   13200 $as_echo "$HAVE_INB" >&6; }
   13201  if test x$HAVE_INB = xyes; then
   13202   BUILD_UTILS_TRUE=
   13203   BUILD_UTILS_FALSE='#'
   13204 else
   13205   BUILD_UTILS_TRUE='#'
   13206   BUILD_UTILS_FALSE=
   13207 fi
   13208 
   13209 
   13210 
   13211 
   13212 
   13213 DRIVER_NAME=chips
   13214 
   13215 
   13216 
   13217 
   13218 
   13219 if test x$APP_MAN_SUFFIX = x    ; then
   13220     APP_MAN_SUFFIX=1
   13221 fi
   13222 if test x$APP_MAN_DIR = x    ; then
   13223     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   13224 fi
   13225 
   13226 if test x$LIB_MAN_SUFFIX = x    ; then
   13227     LIB_MAN_SUFFIX=3
   13228 fi
   13229 if test x$LIB_MAN_DIR = x    ; then
   13230     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   13231 fi
   13232 
   13233 if test x$FILE_MAN_SUFFIX = x    ; then
   13234     case $host_os in
   13235 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   13236 	*)		FILE_MAN_SUFFIX=5  ;;
   13237     esac
   13238 fi
   13239 if test x$FILE_MAN_DIR = x    ; then
   13240     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   13241 fi
   13242 
   13243 if test x$MISC_MAN_SUFFIX = x    ; then
   13244     case $host_os in
   13245 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   13246 	*)		MISC_MAN_SUFFIX=7  ;;
   13247     esac
   13248 fi
   13249 if test x$MISC_MAN_DIR = x    ; then
   13250     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   13251 fi
   13252 
   13253 if test x$DRIVER_MAN_SUFFIX = x    ; then
   13254     case $host_os in
   13255 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   13256 	*)		DRIVER_MAN_SUFFIX=4  ;;
   13257     esac
   13258 fi
   13259 if test x$DRIVER_MAN_DIR = x    ; then
   13260     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   13261 fi
   13262 
   13263 if test x$ADMIN_MAN_SUFFIX = x    ; then
   13264     case $host_os in
   13265 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   13266 	*)		ADMIN_MAN_SUFFIX=8  ;;
   13267     esac
   13268 fi
   13269 if test x$ADMIN_MAN_DIR = x    ; then
   13270     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   13271 fi
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 
   13287 
   13288 
   13289 # Check whether --with-release-version was given.
   13290 if test "${with_release_version+set}" = set; then
   13291   withval=$with_release_version; RELEASE_VERSION="$withval"
   13292 else
   13293   RELEASE_VERSION=""
   13294 fi
   13295 
   13296 	if test "x$RELEASE_VERSION" != "x"; then
   13297 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   13298 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   13299 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   13300 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   13301 	fi
   13302 
   13303 cat >>confdefs.h <<_ACEOF
   13304 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   13305 _ACEOF
   13306 
   13307 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   13308 	if test "x$PVM" = "x"; then
   13309 		PVM="0"
   13310 	fi
   13311 
   13312 cat >>confdefs.h <<_ACEOF
   13313 #define PACKAGE_VERSION_MINOR $PVM
   13314 _ACEOF
   13315 
   13316 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   13317 	if test "x$PVP" = "x"; then
   13318 		PVP="0"
   13319 	fi
   13320 
   13321 cat >>confdefs.h <<_ACEOF
   13322 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   13323 _ACEOF
   13324 
   13325 
   13326 
   13327 
   13328 if test x$XORG_SGML_PATH = x ; then
   13329     XORG_SGML_PATH=$prefix/share/sgml
   13330 fi
   13331 HAVE_DEFS_ENT=
   13332 
   13333 if test x"$cross_compiling" = x"yes" ; then
   13334   HAVE_DEFS_ENT=no
   13335 else
   13336   as_ac_File=`$as_echo "ac_cv_file_$XORG_SGML_PATH/X11/defs.ent" | $as_tr_sh`
   13337 { $as_echo "$as_me:$LINENO: checking for $XORG_SGML_PATH/X11/defs.ent" >&5
   13338 $as_echo_n "checking for $XORG_SGML_PATH/X11/defs.ent... " >&6; }
   13339 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   13340   $as_echo_n "(cached) " >&6
   13341 else
   13342   test "$cross_compiling" = yes &&
   13343   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   13344 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   13345    { (exit 1); exit 1; }; }
   13346 if test -r "$XORG_SGML_PATH/X11/defs.ent"; then
   13347   eval "$as_ac_File=yes"
   13348 else
   13349   eval "$as_ac_File=no"
   13350 fi
   13351 fi
   13352 ac_res=`eval 'as_val=${'$as_ac_File'}
   13353 		 $as_echo "$as_val"'`
   13354 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   13355 $as_echo "$ac_res" >&6; }
   13356 as_val=`eval 'as_val=${'$as_ac_File'}
   13357 		 $as_echo "$as_val"'`
   13358    if test "x$as_val" = x""yes; then
   13359   HAVE_DEFS_ENT=yes
   13360 fi
   13361 
   13362 fi
   13363 
   13364 # Extract the first word of "linuxdoc", so it can be a program name with args.
   13365 set dummy linuxdoc; ac_word=$2
   13366 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   13367 $as_echo_n "checking for $ac_word... " >&6; }
   13368 if test "${ac_cv_path_LINUXDOC+set}" = set; then
   13369   $as_echo_n "(cached) " >&6
   13370 else
   13371   case $LINUXDOC in
   13372   [\\/]* | ?:[\\/]*)
   13373   ac_cv_path_LINUXDOC="$LINUXDOC" # Let the user override the test with a path.
   13374   ;;
   13375   *)
   13376   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13377 for as_dir in $PATH
   13378 do
   13379   IFS=$as_save_IFS
   13380   test -z "$as_dir" && as_dir=.
   13381   for ac_exec_ext in '' $ac_executable_extensions; do
   13382   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13383     ac_cv_path_LINUXDOC="$as_dir/$ac_word$ac_exec_ext"
   13384     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   13385     break 2
   13386   fi
   13387 done
   13388 done
   13389 IFS=$as_save_IFS
   13390 
   13391   ;;
   13392 esac
   13393 fi
   13394 LINUXDOC=$ac_cv_path_LINUXDOC
   13395 if test -n "$LINUXDOC"; then
   13396   { $as_echo "$as_me:$LINENO: result: $LINUXDOC" >&5
   13397 $as_echo "$LINUXDOC" >&6; }
   13398 else
   13399   { $as_echo "$as_me:$LINENO: result: no" >&5
   13400 $as_echo "no" >&6; }
   13401 fi
   13402 
   13403 
   13404 # Extract the first word of "ps2pdf", so it can be a program name with args.
   13405 set dummy ps2pdf; ac_word=$2
   13406 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   13407 $as_echo_n "checking for $ac_word... " >&6; }
   13408 if test "${ac_cv_path_PS2PDF+set}" = set; then
   13409   $as_echo_n "(cached) " >&6
   13410 else
   13411   case $PS2PDF in
   13412   [\\/]* | ?:[\\/]*)
   13413   ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
   13414   ;;
   13415   *)
   13416   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13417 for as_dir in $PATH
   13418 do
   13419   IFS=$as_save_IFS
   13420   test -z "$as_dir" && as_dir=.
   13421   for ac_exec_ext in '' $ac_executable_extensions; do
   13422   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13423     ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
   13424     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   13425     break 2
   13426   fi
   13427 done
   13428 done
   13429 IFS=$as_save_IFS
   13430 
   13431   ;;
   13432 esac
   13433 fi
   13434 PS2PDF=$ac_cv_path_PS2PDF
   13435 if test -n "$PS2PDF"; then
   13436   { $as_echo "$as_me:$LINENO: result: $PS2PDF" >&5
   13437 $as_echo "$PS2PDF" >&6; }
   13438 else
   13439   { $as_echo "$as_me:$LINENO: result: no" >&5
   13440 $as_echo "no" >&6; }
   13441 fi
   13442 
   13443 
   13444 
   13445 { $as_echo "$as_me:$LINENO: checking Whether to build documentation" >&5
   13446 $as_echo_n "checking Whether to build documentation... " >&6; }
   13447 
   13448 if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then
   13449    BUILDDOC=yes
   13450 else
   13451    BUILDDOC=no
   13452 fi
   13453 
   13454  if test x$BUILDDOC = xyes; then
   13455   BUILD_LINUXDOC_TRUE=
   13456   BUILD_LINUXDOC_FALSE='#'
   13457 else
   13458   BUILD_LINUXDOC_TRUE='#'
   13459   BUILD_LINUXDOC_FALSE=
   13460 fi
   13461 
   13462 
   13463 { $as_echo "$as_me:$LINENO: result: $BUILDDOC" >&5
   13464 $as_echo "$BUILDDOC" >&6; }
   13465 
   13466 { $as_echo "$as_me:$LINENO: checking Whether to build pdf documentation" >&5
   13467 $as_echo_n "checking Whether to build pdf documentation... " >&6; }
   13468 
   13469 if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then
   13470    BUILDPDFDOC=yes
   13471 else
   13472    BUILDPDFDOC=no
   13473 fi
   13474 
   13475  if test x$BUILDPDFDOC = xyes; then
   13476   BUILD_PDFDOC_TRUE=
   13477   BUILD_PDFDOC_FALSE='#'
   13478 else
   13479   BUILD_PDFDOC_TRUE='#'
   13480   BUILD_PDFDOC_FALSE=
   13481 fi
   13482 
   13483 
   13484 { $as_echo "$as_me:$LINENO: result: $BUILDPDFDOC" >&5
   13485 $as_echo "$BUILDPDFDOC" >&6; }
   13486 
   13487 MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt"
   13488 MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
   13489 MAKE_PDF="$PS2PDF"
   13490 MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC  -B html --split=0"
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile util/Makefile"
   13499 
   13500 cat >confcache <<\_ACEOF
   13501 # This file is a shell script that caches the results of configure
   13502 # tests run on this system so they can be shared between configure
   13503 # scripts and configure runs, see configure's option --config-cache.
   13504 # It is not useful on other systems.  If it contains results you don't
   13505 # want to keep, you may remove or edit it.
   13506 #
   13507 # config.status only pays attention to the cache file if you give it
   13508 # the --recheck option to rerun configure.
   13509 #
   13510 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13511 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13512 # following values.
   13513 
   13514 _ACEOF
   13515 
   13516 # The following way of writing the cache mishandles newlines in values,
   13517 # but we know of no workaround that is simple, portable, and efficient.
   13518 # So, we kill variables containing newlines.
   13519 # Ultrix sh set writes to stderr and can't be redirected directly,
   13520 # and sets the high bit in the cache file unless we assign to the vars.
   13521 (
   13522   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13523     eval ac_val=\$$ac_var
   13524     case $ac_val in #(
   13525     *${as_nl}*)
   13526       case $ac_var in #(
   13527       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   13528 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13529       esac
   13530       case $ac_var in #(
   13531       _ | IFS | as_nl) ;; #(
   13532       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   13533       *) $as_unset $ac_var ;;
   13534       esac ;;
   13535     esac
   13536   done
   13537 
   13538   (set) 2>&1 |
   13539     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   13540     *${as_nl}ac_space=\ *)
   13541       # `set' does not quote correctly, so add quotes (double-quote
   13542       # substitution turns \\\\ into \\, and sed turns \\ into \).
   13543       sed -n \
   13544 	"s/'/'\\\\''/g;
   13545 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13546       ;; #(
   13547     *)
   13548       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13549       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   13550       ;;
   13551     esac |
   13552     sort
   13553 ) |
   13554   sed '
   13555      /^ac_cv_env_/b end
   13556      t clear
   13557      :clear
   13558      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13559      t end
   13560      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13561      :end' >>confcache
   13562 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   13563   if test -w "$cache_file"; then
   13564     test "x$cache_file" != "x/dev/null" &&
   13565       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   13566 $as_echo "$as_me: updating cache $cache_file" >&6;}
   13567     cat confcache >$cache_file
   13568   else
   13569     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   13570 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   13571   fi
   13572 fi
   13573 rm -f confcache
   13574 
   13575 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13576 # Let make expand exec_prefix.
   13577 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13578 
   13579 DEFS=-DHAVE_CONFIG_H
   13580 
   13581 ac_libobjs=
   13582 ac_ltlibobjs=
   13583 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13584   # 1. Remove the extension, and $U if already installed.
   13585   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   13586   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   13587   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   13588   #    will be set to the directory where LIBOBJS objects are built.
   13589   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   13590   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   13591 done
   13592 LIBOBJS=$ac_libobjs
   13593 
   13594 LTLIBOBJS=$ac_ltlibobjs
   13595 
   13596 
   13597  if test -n "$EXEEXT"; then
   13598   am__EXEEXT_TRUE=
   13599   am__EXEEXT_FALSE='#'
   13600 else
   13601   am__EXEEXT_TRUE='#'
   13602   am__EXEEXT_FALSE=
   13603 fi
   13604 
   13605 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   13606   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   13607 Usually this means the macro was only invoked conditionally." >&5
   13608 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   13609 Usually this means the macro was only invoked conditionally." >&2;}
   13610    { (exit 1); exit 1; }; }
   13611 fi
   13612 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   13613   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   13614 Usually this means the macro was only invoked conditionally." >&5
   13615 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   13616 Usually this means the macro was only invoked conditionally." >&2;}
   13617    { (exit 1); exit 1; }; }
   13618 fi
   13619 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13620   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   13621 Usually this means the macro was only invoked conditionally." >&5
   13622 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   13623 Usually this means the macro was only invoked conditionally." >&2;}
   13624    { (exit 1); exit 1; }; }
   13625 fi
   13626 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13627   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   13628 Usually this means the macro was only invoked conditionally." >&5
   13629 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   13630 Usually this means the macro was only invoked conditionally." >&2;}
   13631    { (exit 1); exit 1; }; }
   13632 fi
   13633 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   13634   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   13635 Usually this means the macro was only invoked conditionally." >&5
   13636 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   13637 Usually this means the macro was only invoked conditionally." >&2;}
   13638    { (exit 1); exit 1; }; }
   13639 fi
   13640 if test -z "${BUILD_UTILS_TRUE}" && test -z "${BUILD_UTILS_FALSE}"; then
   13641   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_UTILS\" was never defined.
   13642 Usually this means the macro was only invoked conditionally." >&5
   13643 $as_echo "$as_me: error: conditional \"BUILD_UTILS\" was never defined.
   13644 Usually this means the macro was only invoked conditionally." >&2;}
   13645    { (exit 1); exit 1; }; }
   13646 fi
   13647 if test -z "${BUILD_LINUXDOC_TRUE}" && test -z "${BUILD_LINUXDOC_FALSE}"; then
   13648   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LINUXDOC\" was never defined.
   13649 Usually this means the macro was only invoked conditionally." >&5
   13650 $as_echo "$as_me: error: conditional \"BUILD_LINUXDOC\" was never defined.
   13651 Usually this means the macro was only invoked conditionally." >&2;}
   13652    { (exit 1); exit 1; }; }
   13653 fi
   13654 if test -z "${BUILD_PDFDOC_TRUE}" && test -z "${BUILD_PDFDOC_FALSE}"; then
   13655   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PDFDOC\" was never defined.
   13656 Usually this means the macro was only invoked conditionally." >&5
   13657 $as_echo "$as_me: error: conditional \"BUILD_PDFDOC\" was never defined.
   13658 Usually this means the macro was only invoked conditionally." >&2;}
   13659    { (exit 1); exit 1; }; }
   13660 fi
   13661 
   13662 : ${CONFIG_STATUS=./config.status}
   13663 ac_write_fail=0
   13664 ac_clean_files_save=$ac_clean_files
   13665 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13666 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   13667 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13668 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13669 #! $SHELL
   13670 # Generated by $as_me.
   13671 # Run this file to recreate the current configuration.
   13672 # Compiler output produced by configure, useful for debugging
   13673 # configure, is in config.log if it exists.
   13674 
   13675 debug=false
   13676 ac_cs_recheck=false
   13677 ac_cs_silent=false
   13678 SHELL=\${CONFIG_SHELL-$SHELL}
   13679 _ACEOF
   13680 
   13681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13682 ## --------------------- ##
   13683 ## M4sh Initialization.  ##
   13684 ## --------------------- ##
   13685 
   13686 # Be more Bourne compatible
   13687 DUALCASE=1; export DUALCASE # for MKS sh
   13688 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   13689   emulate sh
   13690   NULLCMD=:
   13691   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   13692   # is contrary to our usage.  Disable this feature.
   13693   alias -g '${1+"$@"}'='"$@"'
   13694   setopt NO_GLOB_SUBST
   13695 else
   13696   case `(set -o) 2>/dev/null` in
   13697   *posix*) set -o posix ;;
   13698 esac
   13699 
   13700 fi
   13701 
   13702 
   13703 
   13704 
   13705 # PATH needs CR
   13706 # Avoid depending upon Character Ranges.
   13707 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13708 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13709 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13710 as_cr_digits='0123456789'
   13711 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13712 
   13713 as_nl='
   13714 '
   13715 export as_nl
   13716 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   13717 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   13718 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   13719 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   13720 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   13721   as_echo='printf %s\n'
   13722   as_echo_n='printf %s'
   13723 else
   13724   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   13725     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   13726     as_echo_n='/usr/ucb/echo -n'
   13727   else
   13728     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   13729     as_echo_n_body='eval
   13730       arg=$1;
   13731       case $arg in
   13732       *"$as_nl"*)
   13733 	expr "X$arg" : "X\\(.*\\)$as_nl";
   13734 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   13735       esac;
   13736       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   13737     '
   13738     export as_echo_n_body
   13739     as_echo_n='sh -c $as_echo_n_body as_echo'
   13740   fi
   13741   export as_echo_body
   13742   as_echo='sh -c $as_echo_body as_echo'
   13743 fi
   13744 
   13745 # The user is always right.
   13746 if test "${PATH_SEPARATOR+set}" != set; then
   13747   PATH_SEPARATOR=:
   13748   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   13749     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   13750       PATH_SEPARATOR=';'
   13751   }
   13752 fi
   13753 
   13754 # Support unset when possible.
   13755 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   13756   as_unset=unset
   13757 else
   13758   as_unset=false
   13759 fi
   13760 
   13761 
   13762 # IFS
   13763 # We need space, tab and new line, in precisely that order.  Quoting is
   13764 # there to prevent editors from complaining about space-tab.
   13765 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   13766 # splitting by setting IFS to empty value.)
   13767 IFS=" ""	$as_nl"
   13768 
   13769 # Find who we are.  Look in the path if we contain no directory separator.
   13770 case $0 in
   13771   *[\\/]* ) as_myself=$0 ;;
   13772   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13773 for as_dir in $PATH
   13774 do
   13775   IFS=$as_save_IFS
   13776   test -z "$as_dir" && as_dir=.
   13777   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13778 done
   13779 IFS=$as_save_IFS
   13780 
   13781      ;;
   13782 esac
   13783 # We did not find ourselves, most probably we were run as `sh COMMAND'
   13784 # in which case we are not to be found in the path.
   13785 if test "x$as_myself" = x; then
   13786   as_myself=$0
   13787 fi
   13788 if test ! -f "$as_myself"; then
   13789   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   13790   { (exit 1); exit 1; }
   13791 fi
   13792 
   13793 # Work around bugs in pre-3.0 UWIN ksh.
   13794 for as_var in ENV MAIL MAILPATH
   13795 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   13796 done
   13797 PS1='$ '
   13798 PS2='> '
   13799 PS4='+ '
   13800 
   13801 # NLS nuisances.
   13802 LC_ALL=C
   13803 export LC_ALL
   13804 LANGUAGE=C
   13805 export LANGUAGE
   13806 
   13807 # Required to use basename.
   13808 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13809    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13810   as_expr=expr
   13811 else
   13812   as_expr=false
   13813 fi
   13814 
   13815 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   13816   as_basename=basename
   13817 else
   13818   as_basename=false
   13819 fi
   13820 
   13821 
   13822 # Name of the executable.
   13823 as_me=`$as_basename -- "$0" ||
   13824 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13825 	 X"$0" : 'X\(//\)$' \| \
   13826 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   13827 $as_echo X/"$0" |
   13828     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13829 	    s//\1/
   13830 	    q
   13831 	  }
   13832 	  /^X\/\(\/\/\)$/{
   13833 	    s//\1/
   13834 	    q
   13835 	  }
   13836 	  /^X\/\(\/\).*/{
   13837 	    s//\1/
   13838 	    q
   13839 	  }
   13840 	  s/.*/./; q'`
   13841 
   13842 # CDPATH.
   13843 $as_unset CDPATH
   13844 
   13845 
   13846 
   13847   as_lineno_1=$LINENO
   13848   as_lineno_2=$LINENO
   13849   test "x$as_lineno_1" != "x$as_lineno_2" &&
   13850   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   13851 
   13852   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   13853   # uniformly replaced by the line number.  The first 'sed' inserts a
   13854   # line-number line after each line using $LINENO; the second 'sed'
   13855   # does the real work.  The second script uses 'N' to pair each
   13856   # line-number line with the line containing $LINENO, and appends
   13857   # trailing '-' during substitution so that $LINENO is not a special
   13858   # case at line end.
   13859   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   13860   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   13861   # E. McMahon (1931-1989) for sed's syntax.  :-)
   13862   sed -n '
   13863     p
   13864     /[$]LINENO/=
   13865   ' <$as_myself |
   13866     sed '
   13867       s/[$]LINENO.*/&-/
   13868       t lineno
   13869       b
   13870       :lineno
   13871       N
   13872       :loop
   13873       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   13874       t loop
   13875       s/-\n.*//
   13876     ' >$as_me.lineno &&
   13877   chmod +x "$as_me.lineno" ||
   13878     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   13879    { (exit 1); exit 1; }; }
   13880 
   13881   # Don't try to exec as it changes $[0], causing all sort of problems
   13882   # (the dirname of $[0] is not the place where we might find the
   13883   # original and so on.  Autoconf is especially sensitive to this).
   13884   . "./$as_me.lineno"
   13885   # Exit status is that of the last command.
   13886   exit
   13887 }
   13888 
   13889 
   13890 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13891   as_dirname=dirname
   13892 else
   13893   as_dirname=false
   13894 fi
   13895 
   13896 ECHO_C= ECHO_N= ECHO_T=
   13897 case `echo -n x` in
   13898 -n*)
   13899   case `echo 'x\c'` in
   13900   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13901   *)   ECHO_C='\c';;
   13902   esac;;
   13903 *)
   13904   ECHO_N='-n';;
   13905 esac
   13906 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13907    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13908   as_expr=expr
   13909 else
   13910   as_expr=false
   13911 fi
   13912 
   13913 rm -f conf$$ conf$$.exe conf$$.file
   13914 if test -d conf$$.dir; then
   13915   rm -f conf$$.dir/conf$$.file
   13916 else
   13917   rm -f conf$$.dir
   13918   mkdir conf$$.dir 2>/dev/null
   13919 fi
   13920 if (echo >conf$$.file) 2>/dev/null; then
   13921   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13922     as_ln_s='ln -s'
   13923     # ... but there are two gotchas:
   13924     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13925     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13926     # In both cases, we have to default to `cp -p'.
   13927     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13928       as_ln_s='cp -p'
   13929   elif ln conf$$.file conf$$ 2>/dev/null; then
   13930     as_ln_s=ln
   13931   else
   13932     as_ln_s='cp -p'
   13933   fi
   13934 else
   13935   as_ln_s='cp -p'
   13936 fi
   13937 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13938 rmdir conf$$.dir 2>/dev/null
   13939 
   13940 if mkdir -p . 2>/dev/null; then
   13941   as_mkdir_p=:
   13942 else
   13943   test -d ./-p && rmdir ./-p
   13944   as_mkdir_p=false
   13945 fi
   13946 
   13947 if test -x / >/dev/null 2>&1; then
   13948   as_test_x='test -x'
   13949 else
   13950   if ls -dL / >/dev/null 2>&1; then
   13951     as_ls_L_option=L
   13952   else
   13953     as_ls_L_option=
   13954   fi
   13955   as_test_x='
   13956     eval sh -c '\''
   13957       if test -d "$1"; then
   13958 	test -d "$1/.";
   13959       else
   13960 	case $1 in
   13961 	-*)set "./$1";;
   13962 	esac;
   13963 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   13964 	???[sx]*):;;*)false;;esac;fi
   13965     '\'' sh
   13966   '
   13967 fi
   13968 as_executable_p=$as_test_x
   13969 
   13970 # Sed expression to map a string onto a valid CPP name.
   13971 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13972 
   13973 # Sed expression to map a string onto a valid variable name.
   13974 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13975 
   13976 
   13977 exec 6>&1
   13978 
   13979 # Save the log message, to keep $[0] and so on meaningful, and to
   13980 # report actual input values of CONFIG_FILES etc. instead of their
   13981 # values after options handling.
   13982 ac_log="
   13983 This file was extended by xf86-video-chips $as_me 1.2.2, which was
   13984 generated by GNU Autoconf 2.63.  Invocation command line was
   13985 
   13986   CONFIG_FILES    = $CONFIG_FILES
   13987   CONFIG_HEADERS  = $CONFIG_HEADERS
   13988   CONFIG_LINKS    = $CONFIG_LINKS
   13989   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13990   $ $0 $@
   13991 
   13992 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13993 "
   13994 
   13995 _ACEOF
   13996 
   13997 case $ac_config_files in *"
   13998 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13999 esac
   14000 
   14001 case $ac_config_headers in *"
   14002 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   14003 esac
   14004 
   14005 
   14006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14007 # Files that config.status was made for.
   14008 config_files="$ac_config_files"
   14009 config_headers="$ac_config_headers"
   14010 config_commands="$ac_config_commands"
   14011 
   14012 _ACEOF
   14013 
   14014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14015 ac_cs_usage="\
   14016 \`$as_me' instantiates files from templates according to the
   14017 current configuration.
   14018 
   14019 Usage: $0 [OPTION]... [FILE]...
   14020 
   14021   -h, --help       print this help, then exit
   14022   -V, --version    print version number and configuration settings, then exit
   14023   -q, --quiet, --silent
   14024                    do not print progress messages
   14025   -d, --debug      don't remove temporary files
   14026       --recheck    update $as_me by reconfiguring in the same conditions
   14027       --file=FILE[:TEMPLATE]
   14028                    instantiate the configuration file FILE
   14029       --header=FILE[:TEMPLATE]
   14030                    instantiate the configuration header FILE
   14031 
   14032 Configuration files:
   14033 $config_files
   14034 
   14035 Configuration headers:
   14036 $config_headers
   14037 
   14038 Configuration commands:
   14039 $config_commands
   14040 
   14041 Report bugs to <bug-autoconf (at] gnu.org>."
   14042 
   14043 _ACEOF
   14044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14045 ac_cs_version="\\
   14046 xf86-video-chips config.status 1.2.2
   14047 configured by $0, generated by GNU Autoconf 2.63,
   14048   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   14049 
   14050 Copyright (C) 2008 Free Software Foundation, Inc.
   14051 This config.status script is free software; the Free Software Foundation
   14052 gives unlimited permission to copy, distribute and modify it."
   14053 
   14054 ac_pwd='$ac_pwd'
   14055 srcdir='$srcdir'
   14056 INSTALL='$INSTALL'
   14057 MKDIR_P='$MKDIR_P'
   14058 AWK='$AWK'
   14059 test -n "\$AWK" || AWK=awk
   14060 _ACEOF
   14061 
   14062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14063 # The default lists apply if the user does not specify any file.
   14064 ac_need_defaults=:
   14065 while test $# != 0
   14066 do
   14067   case $1 in
   14068   --*=*)
   14069     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14070     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   14071     ac_shift=:
   14072     ;;
   14073   *)
   14074     ac_option=$1
   14075     ac_optarg=$2
   14076     ac_shift=shift
   14077     ;;
   14078   esac
   14079 
   14080   case $ac_option in
   14081   # Handling of the options.
   14082   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   14083     ac_cs_recheck=: ;;
   14084   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   14085     $as_echo "$ac_cs_version"; exit ;;
   14086   --debug | --debu | --deb | --de | --d | -d )
   14087     debug=: ;;
   14088   --file | --fil | --fi | --f )
   14089     $ac_shift
   14090     case $ac_optarg in
   14091     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14092     esac
   14093     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   14094     ac_need_defaults=false;;
   14095   --header | --heade | --head | --hea )
   14096     $ac_shift
   14097     case $ac_optarg in
   14098     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14099     esac
   14100     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   14101     ac_need_defaults=false;;
   14102   --he | --h)
   14103     # Conflict between --help and --header
   14104     { $as_echo "$as_me: error: ambiguous option: $1
   14105 Try \`$0 --help' for more information." >&2
   14106    { (exit 1); exit 1; }; };;
   14107   --help | --hel | -h )
   14108     $as_echo "$ac_cs_usage"; exit ;;
   14109   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14110   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14111     ac_cs_silent=: ;;
   14112 
   14113   # This is an error.
   14114   -*) { $as_echo "$as_me: error: unrecognized option: $1
   14115 Try \`$0 --help' for more information." >&2
   14116    { (exit 1); exit 1; }; } ;;
   14117 
   14118   *) ac_config_targets="$ac_config_targets $1"
   14119      ac_need_defaults=false ;;
   14120 
   14121   esac
   14122   shift
   14123 done
   14124 
   14125 ac_configure_extra_args=
   14126 
   14127 if $ac_cs_silent; then
   14128   exec 6>/dev/null
   14129   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14130 fi
   14131 
   14132 _ACEOF
   14133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14134 if \$ac_cs_recheck; then
   14135   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14136   shift
   14137   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   14138   CONFIG_SHELL='$SHELL'
   14139   export CONFIG_SHELL
   14140   exec "\$@"
   14141 fi
   14142 
   14143 _ACEOF
   14144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14145 exec 5>>config.log
   14146 {
   14147   echo
   14148   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   14149 ## Running $as_me. ##
   14150 _ASBOX
   14151   $as_echo "$ac_log"
   14152 } >&5
   14153 
   14154 _ACEOF
   14155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14156 #
   14157 # INIT-COMMANDS
   14158 #
   14159 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   14160 
   14161 
   14162 # The HP-UX ksh and POSIX shell print the target directory to stdout
   14163 # if CDPATH is set.
   14164 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14165 
   14166 sed_quote_subst='$sed_quote_subst'
   14167 double_quote_subst='$double_quote_subst'
   14168 delay_variable_subst='$delay_variable_subst'
   14169 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   14170 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   14171 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   14172 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   14173 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   14174 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   14175 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   14176 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   14177 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   14178 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   14179 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   14180 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   14181 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   14182 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   14183 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   14184 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   14185 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   14186 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   14187 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   14188 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   14189 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   14190 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   14191 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   14192 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   14193 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   14194 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   14195 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14196 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14197 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   14198 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   14199 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   14200 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   14201 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   14202 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   14203 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   14204 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14205 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14206 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14207 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   14208 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   14209 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   14210 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   14211 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   14212 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   14213 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"`'
   14214 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"`'
   14215 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   14216 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   14217 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   14218 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   14219 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14220 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   14221 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   14222 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   14223 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   14224 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   14225 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   14226 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   14227 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   14228 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   14229 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   14230 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   14231 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14232 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14233 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   14234 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   14235 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14236 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14237 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   14238 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14239 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14240 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14241 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14242 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14243 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14244 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14245 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14246 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14247 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14248 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14249 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   14250 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   14251 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   14252 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   14253 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14254 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   14255 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   14256 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   14257 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   14258 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   14259 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14260 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14261 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14262 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14263 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14264 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   14265 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   14266 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   14267 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   14268 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14269 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14270 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   14271 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14272 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14273 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14274 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14275 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14276 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14277 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   14278 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   14279 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14280 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14281 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   14282 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   14283 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   14284 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   14285 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14286 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14287 
   14288 LTCC='$LTCC'
   14289 LTCFLAGS='$LTCFLAGS'
   14290 compiler='$compiler_DEFAULT'
   14291 
   14292 # Quote evaled strings.
   14293 for var in SED \
   14294 GREP \
   14295 EGREP \
   14296 FGREP \
   14297 LD \
   14298 NM \
   14299 LN_S \
   14300 lt_SP2NL \
   14301 lt_NL2SP \
   14302 reload_flag \
   14303 OBJDUMP \
   14304 deplibs_check_method \
   14305 file_magic_cmd \
   14306 AR \
   14307 AR_FLAGS \
   14308 STRIP \
   14309 RANLIB \
   14310 CC \
   14311 CFLAGS \
   14312 compiler \
   14313 lt_cv_sys_global_symbol_pipe \
   14314 lt_cv_sys_global_symbol_to_cdecl \
   14315 lt_cv_sys_global_symbol_to_c_name_address \
   14316 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   14317 SHELL \
   14318 ECHO \
   14319 lt_prog_compiler_no_builtin_flag \
   14320 lt_prog_compiler_wl \
   14321 lt_prog_compiler_pic \
   14322 lt_prog_compiler_static \
   14323 lt_cv_prog_compiler_c_o \
   14324 need_locks \
   14325 DSYMUTIL \
   14326 NMEDIT \
   14327 LIPO \
   14328 OTOOL \
   14329 OTOOL64 \
   14330 shrext_cmds \
   14331 export_dynamic_flag_spec \
   14332 whole_archive_flag_spec \
   14333 compiler_needs_object \
   14334 with_gnu_ld \
   14335 allow_undefined_flag \
   14336 no_undefined_flag \
   14337 hardcode_libdir_flag_spec \
   14338 hardcode_libdir_flag_spec_ld \
   14339 hardcode_libdir_separator \
   14340 fix_srcfile_path \
   14341 exclude_expsyms \
   14342 include_expsyms \
   14343 file_list_spec \
   14344 variables_saved_for_relink \
   14345 libname_spec \
   14346 library_names_spec \
   14347 soname_spec \
   14348 finish_eval \
   14349 old_striplib \
   14350 striplib; do
   14351     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14352     *[\\\\\\\`\\"\\\$]*)
   14353       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   14354       ;;
   14355     *)
   14356       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14357       ;;
   14358     esac
   14359 done
   14360 
   14361 # Double-quote double-evaled strings.
   14362 for var in reload_cmds \
   14363 old_postinstall_cmds \
   14364 old_postuninstall_cmds \
   14365 old_archive_cmds \
   14366 extract_expsyms_cmds \
   14367 old_archive_from_new_cmds \
   14368 old_archive_from_expsyms_cmds \
   14369 archive_cmds \
   14370 archive_expsym_cmds \
   14371 module_cmds \
   14372 module_expsym_cmds \
   14373 export_symbols_cmds \
   14374 prelink_cmds \
   14375 postinstall_cmds \
   14376 postuninstall_cmds \
   14377 finish_cmds \
   14378 sys_lib_search_path_spec \
   14379 sys_lib_dlsearch_path_spec; do
   14380     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14381     *[\\\\\\\`\\"\\\$]*)
   14382       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   14383       ;;
   14384     *)
   14385       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14386       ;;
   14387     esac
   14388 done
   14389 
   14390 # Fix-up fallback echo if it was mangled by the above quoting rules.
   14391 case \$lt_ECHO in
   14392 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   14393   ;;
   14394 esac
   14395 
   14396 ac_aux_dir='$ac_aux_dir'
   14397 xsi_shell='$xsi_shell'
   14398 lt_shell_append='$lt_shell_append'
   14399 
   14400 # See if we are running on zsh, and set the options which allow our
   14401 # commands through without removal of \ escapes INIT.
   14402 if test -n "\${ZSH_VERSION+set}" ; then
   14403    setopt NO_GLOB_SUBST
   14404 fi
   14405 
   14406 
   14407     PACKAGE='$PACKAGE'
   14408     VERSION='$VERSION'
   14409     TIMESTAMP='$TIMESTAMP'
   14410     RM='$RM'
   14411     ofile='$ofile'
   14412 
   14413 
   14414 
   14415 
   14416 _ACEOF
   14417 
   14418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14419 
   14420 # Handling of arguments.
   14421 for ac_config_target in $ac_config_targets
   14422 do
   14423   case $ac_config_target in
   14424     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14425     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14426     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   14427     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14428     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   14429     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   14430     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   14431 
   14432   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   14433 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   14434    { (exit 1); exit 1; }; };;
   14435   esac
   14436 done
   14437 
   14438 
   14439 # If the user did not use the arguments to specify the items to instantiate,
   14440 # then the envvar interface is used.  Set only those that are not.
   14441 # We use the long form for the default assignment because of an extremely
   14442 # bizarre bug on SunOS 4.1.3.
   14443 if $ac_need_defaults; then
   14444   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14445   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14446   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14447 fi
   14448 
   14449 # Have a temporary directory for convenience.  Make it in the build tree
   14450 # simply because there is no reason against having it here, and in addition,
   14451 # creating and moving files from /tmp can sometimes cause problems.
   14452 # Hook for its removal unless debugging.
   14453 # Note that there is a small window in which the directory will not be cleaned:
   14454 # after its creation but before its name has been assigned to `$tmp'.
   14455 $debug ||
   14456 {
   14457   tmp=
   14458   trap 'exit_status=$?
   14459   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   14460 ' 0
   14461   trap '{ (exit 1); exit 1; }' 1 2 13 15
   14462 }
   14463 # Create a (secure) tmp directory for tmp files.
   14464 
   14465 {
   14466   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14467   test -n "$tmp" && test -d "$tmp"
   14468 }  ||
   14469 {
   14470   tmp=./conf$$-$RANDOM
   14471   (umask 077 && mkdir "$tmp")
   14472 } ||
   14473 {
   14474    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   14475    { (exit 1); exit 1; }
   14476 }
   14477 
   14478 # Set up the scripts for CONFIG_FILES section.
   14479 # No need to generate them if there are no CONFIG_FILES.
   14480 # This happens for instance with `./config.status config.h'.
   14481 if test -n "$CONFIG_FILES"; then
   14482 
   14483 
   14484 ac_cr='
'
   14486 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14487 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14488   ac_cs_awk_cr='\\r'
   14489 else
   14490   ac_cs_awk_cr=$ac_cr
   14491 fi
   14492 
   14493 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   14494 _ACEOF
   14495 
   14496 
   14497 {
   14498   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14499   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14500   echo "_ACEOF"
   14501 } >conf$$subs.sh ||
   14502   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14503 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14504    { (exit 1); exit 1; }; }
   14505 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   14506 ac_delim='%!_!# '
   14507 for ac_last_try in false false false false false :; do
   14508   . ./conf$$subs.sh ||
   14509     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14510 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14511    { (exit 1); exit 1; }; }
   14512 
   14513   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   14514   if test $ac_delim_n = $ac_delim_num; then
   14515     break
   14516   elif $ac_last_try; then
   14517     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14518 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14519    { (exit 1); exit 1; }; }
   14520   else
   14521     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14522   fi
   14523 done
   14524 rm -f conf$$subs.sh
   14525 
   14526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14527 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   14528 _ACEOF
   14529 sed -n '
   14530 h
   14531 s/^/S["/; s/!.*/"]=/
   14532 p
   14533 g
   14534 s/^[^!]*!//
   14535 :repl
   14536 t repl
   14537 s/'"$ac_delim"'$//
   14538 t delim
   14539 :nl
   14540 h
   14541 s/\(.\{148\}\).*/\1/
   14542 t more1
   14543 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14544 p
   14545 n
   14546 b repl
   14547 :more1
   14548 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14549 p
   14550 g
   14551 s/.\{148\}//
   14552 t nl
   14553 :delim
   14554 h
   14555 s/\(.\{148\}\).*/\1/
   14556 t more2
   14557 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14558 p
   14559 b
   14560 :more2
   14561 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14562 p
   14563 g
   14564 s/.\{148\}//
   14565 t delim
   14566 ' <conf$$subs.awk | sed '
   14567 /^[^""]/{
   14568   N
   14569   s/\n//
   14570 }
   14571 ' >>$CONFIG_STATUS || ac_write_fail=1
   14572 rm -f conf$$subs.awk
   14573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14574 _ACAWK
   14575 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   14576   for (key in S) S_is_set[key] = 1
   14577   FS = ""
   14578 
   14579 }
   14580 {
   14581   line = $ 0
   14582   nfields = split(line, field, "@")
   14583   substed = 0
   14584   len = length(field[1])
   14585   for (i = 2; i < nfields; i++) {
   14586     key = field[i]
   14587     keylen = length(key)
   14588     if (S_is_set[key]) {
   14589       value = S[key]
   14590       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   14591       len += length(value) + length(field[++i])
   14592       substed = 1
   14593     } else
   14594       len += 1 + keylen
   14595   }
   14596 
   14597   print line
   14598 }
   14599 
   14600 _ACAWK
   14601 _ACEOF
   14602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14603 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   14604   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   14605 else
   14606   cat
   14607 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   14608   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   14609 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   14610    { (exit 1); exit 1; }; }
   14611 _ACEOF
   14612 
   14613 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   14614 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   14615 # trailing colons and then remove the whole line if VPATH becomes empty
   14616 # (actually we leave an empty line to preserve line numbers).
   14617 if test "x$srcdir" = x.; then
   14618   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   14619 s/:*\$(srcdir):*/:/
   14620 s/:*\${srcdir}:*/:/
   14621 s/:*@srcdir@:*/:/
   14622 s/^\([^=]*=[	 ]*\):*/\1/
   14623 s/:*$//
   14624 s/^[^=]*=[	 ]*$//
   14625 }'
   14626 fi
   14627 
   14628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14629 fi # test -n "$CONFIG_FILES"
   14630 
   14631 # Set up the scripts for CONFIG_HEADERS section.
   14632 # No need to generate them if there are no CONFIG_HEADERS.
   14633 # This happens for instance with `./config.status Makefile'.
   14634 if test -n "$CONFIG_HEADERS"; then
   14635 cat >"$tmp/defines.awk" <<\_ACAWK ||
   14636 BEGIN {
   14637 _ACEOF
   14638 
   14639 # Transform confdefs.h into an awk script `defines.awk', embedded as
   14640 # here-document in config.status, that substitutes the proper values into
   14641 # config.h.in to produce config.h.
   14642 
   14643 # Create a delimiter string that does not exist in confdefs.h, to ease
   14644 # handling of long lines.
   14645 ac_delim='%!_!# '
   14646 for ac_last_try in false false :; do
   14647   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   14648   if test -z "$ac_t"; then
   14649     break
   14650   elif $ac_last_try; then
   14651     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   14652 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   14653    { (exit 1); exit 1; }; }
   14654   else
   14655     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14656   fi
   14657 done
   14658 
   14659 # For the awk script, D is an array of macro values keyed by name,
   14660 # likewise P contains macro parameters if any.  Preserve backslash
   14661 # newline sequences.
   14662 
   14663 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   14664 sed -n '
   14665 s/.\{148\}/&'"$ac_delim"'/g
   14666 t rset
   14667 :rset
   14668 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   14669 t def
   14670 d
   14671 :def
   14672 s/\\$//
   14673 t bsnl
   14674 s/["\\]/\\&/g
   14675 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14676 D["\1"]=" \3"/p
   14677 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   14678 d
   14679 :bsnl
   14680 s/["\\]/\\&/g
   14681 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14682 D["\1"]=" \3\\\\\\n"\\/p
   14683 t cont
   14684 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   14685 t cont
   14686 d
   14687 :cont
   14688 n
   14689 s/.\{148\}/&'"$ac_delim"'/g
   14690 t clear
   14691 :clear
   14692 s/\\$//
   14693 t bsnlc
   14694 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   14695 d
   14696 :bsnlc
   14697 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   14698 b cont
   14699 ' <confdefs.h | sed '
   14700 s/'"$ac_delim"'/"\\\
   14701 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   14702 
   14703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14704   for (key in D) D_is_set[key] = 1
   14705   FS = ""
   14706 }
   14707 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   14708   line = \$ 0
   14709   split(line, arg, " ")
   14710   if (arg[1] == "#") {
   14711     defundef = arg[2]
   14712     mac1 = arg[3]
   14713   } else {
   14714     defundef = substr(arg[1], 2)
   14715     mac1 = arg[2]
   14716   }
   14717   split(mac1, mac2, "(") #)
   14718   macro = mac2[1]
   14719   prefix = substr(line, 1, index(line, defundef) - 1)
   14720   if (D_is_set[macro]) {
   14721     # Preserve the white space surrounding the "#".
   14722     print prefix "define", macro P[macro] D[macro]
   14723     next
   14724   } else {
   14725     # Replace #undef with comments.  This is necessary, for example,
   14726     # in the case of _POSIX_SOURCE, which is predefined and required
   14727     # on some systems where configure will not decide to define it.
   14728     if (defundef == "undef") {
   14729       print "/*", prefix defundef, macro, "*/"
   14730       next
   14731     }
   14732   }
   14733 }
   14734 { print }
   14735 _ACAWK
   14736 _ACEOF
   14737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14738   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   14739 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   14740    { (exit 1); exit 1; }; }
   14741 fi # test -n "$CONFIG_HEADERS"
   14742 
   14743 
   14744 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   14745 shift
   14746 for ac_tag
   14747 do
   14748   case $ac_tag in
   14749   :[FHLC]) ac_mode=$ac_tag; continue;;
   14750   esac
   14751   case $ac_mode$ac_tag in
   14752   :[FHL]*:*);;
   14753   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   14754 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   14755    { (exit 1); exit 1; }; };;
   14756   :[FH]-) ac_tag=-:-;;
   14757   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   14758   esac
   14759   ac_save_IFS=$IFS
   14760   IFS=:
   14761   set x $ac_tag
   14762   IFS=$ac_save_IFS
   14763   shift
   14764   ac_file=$1
   14765   shift
   14766 
   14767   case $ac_mode in
   14768   :L) ac_source=$1;;
   14769   :[FH])
   14770     ac_file_inputs=
   14771     for ac_f
   14772     do
   14773       case $ac_f in
   14774       -) ac_f="$tmp/stdin";;
   14775       *) # Look for the file first in the build tree, then in the source tree
   14776 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   14777 	 # because $ac_f cannot contain `:'.
   14778 	 test -f "$ac_f" ||
   14779 	   case $ac_f in
   14780 	   [\\/$]*) false;;
   14781 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   14782 	   esac ||
   14783 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   14784 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   14785    { (exit 1); exit 1; }; };;
   14786       esac
   14787       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   14788       ac_file_inputs="$ac_file_inputs '$ac_f'"
   14789     done
   14790 
   14791     # Let's still pretend it is `configure' which instantiates (i.e., don't
   14792     # use $as_me), people would be surprised to read:
   14793     #    /* config.h.  Generated by config.status.  */
   14794     configure_input='Generated from '`
   14795 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   14796 	`' by configure.'
   14797     if test x"$ac_file" != x-; then
   14798       configure_input="$ac_file.  $configure_input"
   14799       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   14800 $as_echo "$as_me: creating $ac_file" >&6;}
   14801     fi
   14802     # Neutralize special characters interpreted by sed in replacement strings.
   14803     case $configure_input in #(
   14804     *\&* | *\|* | *\\* )
   14805        ac_sed_conf_input=`$as_echo "$configure_input" |
   14806        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   14807     *) ac_sed_conf_input=$configure_input;;
   14808     esac
   14809 
   14810     case $ac_tag in
   14811     *:-:* | *:-) cat >"$tmp/stdin" \
   14812       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14813 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14814    { (exit 1); exit 1; }; } ;;
   14815     esac
   14816     ;;
   14817   esac
   14818 
   14819   ac_dir=`$as_dirname -- "$ac_file" ||
   14820 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14821 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14822 	 X"$ac_file" : 'X\(//\)$' \| \
   14823 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   14824 $as_echo X"$ac_file" |
   14825     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14826 	    s//\1/
   14827 	    q
   14828 	  }
   14829 	  /^X\(\/\/\)[^/].*/{
   14830 	    s//\1/
   14831 	    q
   14832 	  }
   14833 	  /^X\(\/\/\)$/{
   14834 	    s//\1/
   14835 	    q
   14836 	  }
   14837 	  /^X\(\/\).*/{
   14838 	    s//\1/
   14839 	    q
   14840 	  }
   14841 	  s/.*/./; q'`
   14842   { as_dir="$ac_dir"
   14843   case $as_dir in #(
   14844   -*) as_dir=./$as_dir;;
   14845   esac
   14846   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   14847     as_dirs=
   14848     while :; do
   14849       case $as_dir in #(
   14850       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14851       *) as_qdir=$as_dir;;
   14852       esac
   14853       as_dirs="'$as_qdir' $as_dirs"
   14854       as_dir=`$as_dirname -- "$as_dir" ||
   14855 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14856 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14857 	 X"$as_dir" : 'X\(//\)$' \| \
   14858 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14859 $as_echo X"$as_dir" |
   14860     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14861 	    s//\1/
   14862 	    q
   14863 	  }
   14864 	  /^X\(\/\/\)[^/].*/{
   14865 	    s//\1/
   14866 	    q
   14867 	  }
   14868 	  /^X\(\/\/\)$/{
   14869 	    s//\1/
   14870 	    q
   14871 	  }
   14872 	  /^X\(\/\).*/{
   14873 	    s//\1/
   14874 	    q
   14875 	  }
   14876 	  s/.*/./; q'`
   14877       test -d "$as_dir" && break
   14878     done
   14879     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14880   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   14881 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   14882    { (exit 1); exit 1; }; }; }
   14883   ac_builddir=.
   14884 
   14885 case "$ac_dir" in
   14886 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14887 *)
   14888   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14889   # A ".." for each directory in $ac_dir_suffix.
   14890   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14891   case $ac_top_builddir_sub in
   14892   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14893   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14894   esac ;;
   14895 esac
   14896 ac_abs_top_builddir=$ac_pwd
   14897 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14898 # for backward compatibility:
   14899 ac_top_builddir=$ac_top_build_prefix
   14900 
   14901 case $srcdir in
   14902   .)  # We are building in place.
   14903     ac_srcdir=.
   14904     ac_top_srcdir=$ac_top_builddir_sub
   14905     ac_abs_top_srcdir=$ac_pwd ;;
   14906   [\\/]* | ?:[\\/]* )  # Absolute name.
   14907     ac_srcdir=$srcdir$ac_dir_suffix;
   14908     ac_top_srcdir=$srcdir
   14909     ac_abs_top_srcdir=$srcdir ;;
   14910   *) # Relative name.
   14911     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14912     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14913     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14914 esac
   14915 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14916 
   14917 
   14918   case $ac_mode in
   14919   :F)
   14920   #
   14921   # CONFIG_FILE
   14922   #
   14923 
   14924   case $INSTALL in
   14925   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14926   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14927   esac
   14928   ac_MKDIR_P=$MKDIR_P
   14929   case $MKDIR_P in
   14930   [\\/$]* | ?:[\\/]* ) ;;
   14931   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14932   esac
   14933 _ACEOF
   14934 
   14935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14936 # If the template does not know about datarootdir, expand it.
   14937 # FIXME: This hack should be removed a few years after 2.60.
   14938 ac_datarootdir_hack=; ac_datarootdir_seen=
   14939 
   14940 ac_sed_dataroot='
   14941 /datarootdir/ {
   14942   p
   14943   q
   14944 }
   14945 /@datadir@/p
   14946 /@docdir@/p
   14947 /@infodir@/p
   14948 /@localedir@/p
   14949 /@mandir@/p
   14950 '
   14951 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14952 *datarootdir*) ac_datarootdir_seen=yes;;
   14953 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14954   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14955 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14956 _ACEOF
   14957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14958   ac_datarootdir_hack='
   14959   s&@datadir@&$datadir&g
   14960   s&@docdir@&$docdir&g
   14961   s&@infodir@&$infodir&g
   14962   s&@localedir@&$localedir&g
   14963   s&@mandir@&$mandir&g
   14964     s&\\\${datarootdir}&$datarootdir&g' ;;
   14965 esac
   14966 _ACEOF
   14967 
   14968 # Neutralize VPATH when `$srcdir' = `.'.
   14969 # Shell code in configure.ac might set extrasub.
   14970 # FIXME: do we really want to maintain this feature?
   14971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14972 ac_sed_extra="$ac_vpsub
   14973 $extrasub
   14974 _ACEOF
   14975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14976 :t
   14977 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14978 s|@configure_input@|$ac_sed_conf_input|;t t
   14979 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14980 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14981 s&@srcdir@&$ac_srcdir&;t t
   14982 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14983 s&@top_srcdir@&$ac_top_srcdir&;t t
   14984 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14985 s&@builddir@&$ac_builddir&;t t
   14986 s&@abs_builddir@&$ac_abs_builddir&;t t
   14987 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14988 s&@INSTALL@&$ac_INSTALL&;t t
   14989 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14990 $ac_datarootdir_hack
   14991 "
   14992 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   14993   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14994 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14995    { (exit 1); exit 1; }; }
   14996 
   14997 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14998   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   14999   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   15000   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15001 which seems to be undefined.  Please make sure it is defined." >&5
   15002 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15003 which seems to be undefined.  Please make sure it is defined." >&2;}
   15004 
   15005   rm -f "$tmp/stdin"
   15006   case $ac_file in
   15007   -) cat "$tmp/out" && rm -f "$tmp/out";;
   15008   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   15009   esac \
   15010   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   15011 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   15012    { (exit 1); exit 1; }; }
   15013  ;;
   15014   :H)
   15015   #
   15016   # CONFIG_HEADER
   15017   #
   15018   if test x"$ac_file" != x-; then
   15019     {
   15020       $as_echo "/* $configure_input  */" \
   15021       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   15022     } >"$tmp/config.h" \
   15023       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   15024 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   15025    { (exit 1); exit 1; }; }
   15026     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   15027       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   15028 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   15029     else
   15030       rm -f "$ac_file"
   15031       mv "$tmp/config.h" "$ac_file" \
   15032 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   15033 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   15034    { (exit 1); exit 1; }; }
   15035     fi
   15036   else
   15037     $as_echo "/* $configure_input  */" \
   15038       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   15039       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   15040 $as_echo "$as_me: error: could not create -" >&2;}
   15041    { (exit 1); exit 1; }; }
   15042   fi
   15043 # Compute "$ac_file"'s index in $config_headers.
   15044 _am_arg="$ac_file"
   15045 _am_stamp_count=1
   15046 for _am_header in $config_headers :; do
   15047   case $_am_header in
   15048     $_am_arg | $_am_arg:* )
   15049       break ;;
   15050     * )
   15051       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   15052   esac
   15053 done
   15054 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   15055 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15056 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   15057 	 X"$_am_arg" : 'X\(//\)$' \| \
   15058 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   15059 $as_echo X"$_am_arg" |
   15060     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15061 	    s//\1/
   15062 	    q
   15063 	  }
   15064 	  /^X\(\/\/\)[^/].*/{
   15065 	    s//\1/
   15066 	    q
   15067 	  }
   15068 	  /^X\(\/\/\)$/{
   15069 	    s//\1/
   15070 	    q
   15071 	  }
   15072 	  /^X\(\/\).*/{
   15073 	    s//\1/
   15074 	    q
   15075 	  }
   15076 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   15077  ;;
   15078 
   15079   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   15080 $as_echo "$as_me: executing $ac_file commands" >&6;}
   15081  ;;
   15082   esac
   15083 
   15084 
   15085   case $ac_file$ac_mode in
   15086     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   15087   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   15088   # are listed without --file.  Let's play safe and only enable the eval
   15089   # if we detect the quoting.
   15090   case $CONFIG_FILES in
   15091   *\'*) eval set x "$CONFIG_FILES" ;;
   15092   *)   set x $CONFIG_FILES ;;
   15093   esac
   15094   shift
   15095   for mf
   15096   do
   15097     # Strip MF so we end up with the name of the file.
   15098     mf=`echo "$mf" | sed -e 's/:.*$//'`
   15099     # Check whether this is an Automake generated Makefile or not.
   15100     # We used to match only the files named `Makefile.in', but
   15101     # some people rename them; so instead we look at the file content.
   15102     # Grep'ing the first line is not enough: some people post-process
   15103     # each Makefile.in and add a new line on top of each file to say so.
   15104     # Grep'ing the whole file is not good either: AIX grep has a line
   15105     # limit of 2048, but all sed's we know have understand at least 4000.
   15106     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   15107       dirpart=`$as_dirname -- "$mf" ||
   15108 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15109 	 X"$mf" : 'X\(//\)[^/]' \| \
   15110 	 X"$mf" : 'X\(//\)$' \| \
   15111 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   15112 $as_echo X"$mf" |
   15113     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15114 	    s//\1/
   15115 	    q
   15116 	  }
   15117 	  /^X\(\/\/\)[^/].*/{
   15118 	    s//\1/
   15119 	    q
   15120 	  }
   15121 	  /^X\(\/\/\)$/{
   15122 	    s//\1/
   15123 	    q
   15124 	  }
   15125 	  /^X\(\/\).*/{
   15126 	    s//\1/
   15127 	    q
   15128 	  }
   15129 	  s/.*/./; q'`
   15130     else
   15131       continue
   15132     fi
   15133     # Extract the definition of DEPDIR, am__include, and am__quote
   15134     # from the Makefile without running `make'.
   15135     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   15136     test -z "$DEPDIR" && continue
   15137     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   15138     test -z "am__include" && continue
   15139     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   15140     # When using ansi2knr, U may be empty or an underscore; expand it
   15141     U=`sed -n 's/^U = //p' < "$mf"`
   15142     # Find all dependency output files, they are included files with
   15143     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   15144     # simplest approach to changing $(DEPDIR) to its actual value in the
   15145     # expansion.
   15146     for file in `sed -n "
   15147       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   15148 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   15149       # Make sure the directory exists.
   15150       test -f "$dirpart/$file" && continue
   15151       fdir=`$as_dirname -- "$file" ||
   15152 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15153 	 X"$file" : 'X\(//\)[^/]' \| \
   15154 	 X"$file" : 'X\(//\)$' \| \
   15155 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   15156 $as_echo X"$file" |
   15157     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15158 	    s//\1/
   15159 	    q
   15160 	  }
   15161 	  /^X\(\/\/\)[^/].*/{
   15162 	    s//\1/
   15163 	    q
   15164 	  }
   15165 	  /^X\(\/\/\)$/{
   15166 	    s//\1/
   15167 	    q
   15168 	  }
   15169 	  /^X\(\/\).*/{
   15170 	    s//\1/
   15171 	    q
   15172 	  }
   15173 	  s/.*/./; q'`
   15174       { as_dir=$dirpart/$fdir
   15175   case $as_dir in #(
   15176   -*) as_dir=./$as_dir;;
   15177   esac
   15178   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   15179     as_dirs=
   15180     while :; do
   15181       case $as_dir in #(
   15182       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15183       *) as_qdir=$as_dir;;
   15184       esac
   15185       as_dirs="'$as_qdir' $as_dirs"
   15186       as_dir=`$as_dirname -- "$as_dir" ||
   15187 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15188 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15189 	 X"$as_dir" : 'X\(//\)$' \| \
   15190 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15191 $as_echo X"$as_dir" |
   15192     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15193 	    s//\1/
   15194 	    q
   15195 	  }
   15196 	  /^X\(\/\/\)[^/].*/{
   15197 	    s//\1/
   15198 	    q
   15199 	  }
   15200 	  /^X\(\/\/\)$/{
   15201 	    s//\1/
   15202 	    q
   15203 	  }
   15204 	  /^X\(\/\).*/{
   15205 	    s//\1/
   15206 	    q
   15207 	  }
   15208 	  s/.*/./; q'`
   15209       test -d "$as_dir" && break
   15210     done
   15211     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15212   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   15213 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   15214    { (exit 1); exit 1; }; }; }
   15215       # echo "creating $dirpart/$file"
   15216       echo '# dummy' > "$dirpart/$file"
   15217     done
   15218   done
   15219 }
   15220  ;;
   15221     "libtool":C)
   15222 
   15223     # See if we are running on zsh, and set the options which allow our
   15224     # commands through without removal of \ escapes.
   15225     if test -n "${ZSH_VERSION+set}" ; then
   15226       setopt NO_GLOB_SUBST
   15227     fi
   15228 
   15229     cfgfile="${ofile}T"
   15230     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   15231     $RM "$cfgfile"
   15232 
   15233     cat <<_LT_EOF >> "$cfgfile"
   15234 #! $SHELL
   15235 
   15236 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   15237 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   15238 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15239 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   15240 #
   15241 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   15242 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   15243 #   Written by Gordon Matzigkeit, 1996
   15244 #
   15245 #   This file is part of GNU Libtool.
   15246 #
   15247 # GNU Libtool is free software; you can redistribute it and/or
   15248 # modify it under the terms of the GNU General Public License as
   15249 # published by the Free Software Foundation; either version 2 of
   15250 # the License, or (at your option) any later version.
   15251 #
   15252 # As a special exception to the GNU General Public License,
   15253 # if you distribute this file as part of a program or library that
   15254 # is built using GNU Libtool, you may include this file under the
   15255 # same distribution terms that you use for the rest of that program.
   15256 #
   15257 # GNU Libtool is distributed in the hope that it will be useful,
   15258 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   15259 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15260 # GNU General Public License for more details.
   15261 #
   15262 # You should have received a copy of the GNU General Public License
   15263 # along with GNU Libtool; see the file COPYING.  If not, a copy
   15264 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   15265 # obtained by writing to the Free Software Foundation, Inc.,
   15266 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   15267 
   15268 
   15269 # The names of the tagged configurations supported by this script.
   15270 available_tags=""
   15271 
   15272 # ### BEGIN LIBTOOL CONFIG
   15273 
   15274 # Whether or not to build static libraries.
   15275 build_old_libs=$enable_static
   15276 
   15277 # Which release of libtool.m4 was used?
   15278 macro_version=$macro_version
   15279 macro_revision=$macro_revision
   15280 
   15281 # Whether or not to build shared libraries.
   15282 build_libtool_libs=$enable_shared
   15283 
   15284 # What type of objects to build.
   15285 pic_mode=$pic_mode
   15286 
   15287 # Whether or not to optimize for fast installation.
   15288 fast_install=$enable_fast_install
   15289 
   15290 # The host system.
   15291 host_alias=$host_alias
   15292 host=$host
   15293 host_os=$host_os
   15294 
   15295 # The build system.
   15296 build_alias=$build_alias
   15297 build=$build
   15298 build_os=$build_os
   15299 
   15300 # A sed program that does not truncate output.
   15301 SED=$lt_SED
   15302 
   15303 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   15304 Xsed="\$SED -e 1s/^X//"
   15305 
   15306 # A grep program that handles long lines.
   15307 GREP=$lt_GREP
   15308 
   15309 # An ERE matcher.
   15310 EGREP=$lt_EGREP
   15311 
   15312 # A literal string matcher.
   15313 FGREP=$lt_FGREP
   15314 
   15315 # A BSD- or MS-compatible name lister.
   15316 NM=$lt_NM
   15317 
   15318 # Whether we need soft or hard links.
   15319 LN_S=$lt_LN_S
   15320 
   15321 # What is the maximum length of a command?
   15322 max_cmd_len=$max_cmd_len
   15323 
   15324 # Object file suffix (normally "o").
   15325 objext=$ac_objext
   15326 
   15327 # Executable file suffix (normally "").
   15328 exeext=$exeext
   15329 
   15330 # whether the shell understands "unset".
   15331 lt_unset=$lt_unset
   15332 
   15333 # turn spaces into newlines.
   15334 SP2NL=$lt_lt_SP2NL
   15335 
   15336 # turn newlines into spaces.
   15337 NL2SP=$lt_lt_NL2SP
   15338 
   15339 # How to create reloadable object files.
   15340 reload_flag=$lt_reload_flag
   15341 reload_cmds=$lt_reload_cmds
   15342 
   15343 # An object symbol dumper.
   15344 OBJDUMP=$lt_OBJDUMP
   15345 
   15346 # Method to check whether dependent libraries are shared objects.
   15347 deplibs_check_method=$lt_deplibs_check_method
   15348 
   15349 # Command to use when deplibs_check_method == "file_magic".
   15350 file_magic_cmd=$lt_file_magic_cmd
   15351 
   15352 # The archiver.
   15353 AR=$lt_AR
   15354 AR_FLAGS=$lt_AR_FLAGS
   15355 
   15356 # A symbol stripping program.
   15357 STRIP=$lt_STRIP
   15358 
   15359 # Commands used to install an old-style archive.
   15360 RANLIB=$lt_RANLIB
   15361 old_postinstall_cmds=$lt_old_postinstall_cmds
   15362 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15363 
   15364 # A C compiler.
   15365 LTCC=$lt_CC
   15366 
   15367 # LTCC compiler flags.
   15368 LTCFLAGS=$lt_CFLAGS
   15369 
   15370 # Take the output of nm and produce a listing of raw symbols and C names.
   15371 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15372 
   15373 # Transform the output of nm in a proper C declaration.
   15374 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15375 
   15376 # Transform the output of nm in a C name address pair.
   15377 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15378 
   15379 # Transform the output of nm in a C name address pair when lib prefix is needed.
   15380 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   15381 
   15382 # The name of the directory that contains temporary libtool files.
   15383 objdir=$objdir
   15384 
   15385 # Shell to use when invoking shell scripts.
   15386 SHELL=$lt_SHELL
   15387 
   15388 # An echo program that does not interpret backslashes.
   15389 ECHO=$lt_ECHO
   15390 
   15391 # Used to examine libraries when file_magic_cmd begins with "file".
   15392 MAGIC_CMD=$MAGIC_CMD
   15393 
   15394 # Must we lock files when doing compilation?
   15395 need_locks=$lt_need_locks
   15396 
   15397 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   15398 DSYMUTIL=$lt_DSYMUTIL
   15399 
   15400 # Tool to change global to local symbols on Mac OS X.
   15401 NMEDIT=$lt_NMEDIT
   15402 
   15403 # Tool to manipulate fat objects and archives on Mac OS X.
   15404 LIPO=$lt_LIPO
   15405 
   15406 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   15407 OTOOL=$lt_OTOOL
   15408 
   15409 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   15410 OTOOL64=$lt_OTOOL64
   15411 
   15412 # Old archive suffix (normally "a").
   15413 libext=$libext
   15414 
   15415 # Shared library suffix (normally ".so").
   15416 shrext_cmds=$lt_shrext_cmds
   15417 
   15418 # The commands to extract the exported symbol list from a shared archive.
   15419 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15420 
   15421 # Variables whose values should be saved in libtool wrapper scripts and
   15422 # restored at link time.
   15423 variables_saved_for_relink=$lt_variables_saved_for_relink
   15424 
   15425 # Do we need the "lib" prefix for modules?
   15426 need_lib_prefix=$need_lib_prefix
   15427 
   15428 # Do we need a version for libraries?
   15429 need_version=$need_version
   15430 
   15431 # Library versioning type.
   15432 version_type=$version_type
   15433 
   15434 # Shared library runtime path variable.
   15435 runpath_var=$runpath_var
   15436 
   15437 # Shared library path variable.
   15438 shlibpath_var=$shlibpath_var
   15439 
   15440 # Is shlibpath searched before the hard-coded library search path?
   15441 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15442 
   15443 # Format of library name prefix.
   15444 libname_spec=$lt_libname_spec
   15445 
   15446 # List of archive names.  First name is the real one, the rest are links.
   15447 # The last name is the one that the linker finds with -lNAME
   15448 library_names_spec=$lt_library_names_spec
   15449 
   15450 # The coded name of the library, if different from the real name.
   15451 soname_spec=$lt_soname_spec
   15452 
   15453 # Command to use after installation of a shared archive.
   15454 postinstall_cmds=$lt_postinstall_cmds
   15455 
   15456 # Command to use after uninstallation of a shared archive.
   15457 postuninstall_cmds=$lt_postuninstall_cmds
   15458 
   15459 # Commands used to finish a libtool library installation in a directory.
   15460 finish_cmds=$lt_finish_cmds
   15461 
   15462 # As "finish_cmds", except a single script fragment to be evaled but
   15463 # not shown.
   15464 finish_eval=$lt_finish_eval
   15465 
   15466 # Whether we should hardcode library paths into libraries.
   15467 hardcode_into_libs=$hardcode_into_libs
   15468 
   15469 # Compile-time system search path for libraries.
   15470 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15471 
   15472 # Run-time system search path for libraries.
   15473 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15474 
   15475 # Whether dlopen is supported.
   15476 dlopen_support=$enable_dlopen
   15477 
   15478 # Whether dlopen of programs is supported.
   15479 dlopen_self=$enable_dlopen_self
   15480 
   15481 # Whether dlopen of statically linked programs is supported.
   15482 dlopen_self_static=$enable_dlopen_self_static
   15483 
   15484 # Commands to strip libraries.
   15485 old_striplib=$lt_old_striplib
   15486 striplib=$lt_striplib
   15487 
   15488 
   15489 # The linker used to build libraries.
   15490 LD=$lt_LD
   15491 
   15492 # Commands used to build an old-style archive.
   15493 old_archive_cmds=$lt_old_archive_cmds
   15494 
   15495 # A language specific compiler.
   15496 CC=$lt_compiler
   15497 
   15498 # Is the compiler the GNU compiler?
   15499 with_gcc=$GCC
   15500 
   15501 # Compiler flag to turn off builtin functions.
   15502 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   15503 
   15504 # How to pass a linker flag through the compiler.
   15505 wl=$lt_lt_prog_compiler_wl
   15506 
   15507 # Additional compiler flags for building library objects.
   15508 pic_flag=$lt_lt_prog_compiler_pic
   15509 
   15510 # Compiler flag to prevent dynamic linking.
   15511 link_static_flag=$lt_lt_prog_compiler_static
   15512 
   15513 # Does compiler simultaneously support -c and -o options?
   15514 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15515 
   15516 # Whether or not to add -lc for building shared libraries.
   15517 build_libtool_need_lc=$archive_cmds_need_lc
   15518 
   15519 # Whether or not to disallow shared libs when runtime libs are static.
   15520 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15521 
   15522 # Compiler flag to allow reflexive dlopens.
   15523 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15524 
   15525 # Compiler flag to generate shared objects directly from archives.
   15526 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15527 
   15528 # Whether the compiler copes with passing no objects directly.
   15529 compiler_needs_object=$lt_compiler_needs_object
   15530 
   15531 # Create an old-style archive from a shared archive.
   15532 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15533 
   15534 # Create a temporary old-style archive to link instead of a shared archive.
   15535 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15536 
   15537 # Commands used to build a shared archive.
   15538 archive_cmds=$lt_archive_cmds
   15539 archive_expsym_cmds=$lt_archive_expsym_cmds
   15540 
   15541 # Commands used to build a loadable module if different from building
   15542 # a shared archive.
   15543 module_cmds=$lt_module_cmds
   15544 module_expsym_cmds=$lt_module_expsym_cmds
   15545 
   15546 # Whether we are building with GNU ld or not.
   15547 with_gnu_ld=$lt_with_gnu_ld
   15548 
   15549 # Flag that allows shared libraries with undefined symbols to be built.
   15550 allow_undefined_flag=$lt_allow_undefined_flag
   15551 
   15552 # Flag that enforces no undefined symbols.
   15553 no_undefined_flag=$lt_no_undefined_flag
   15554 
   15555 # Flag to hardcode \$libdir into a binary during linking.
   15556 # This must work even if \$libdir does not exist
   15557 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   15558 
   15559 # If ld is used when linking, flag to hardcode \$libdir into a binary
   15560 # during linking.  This must work even if \$libdir does not exist.
   15561 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   15562 
   15563 # Whether we need a single "-rpath" flag with a separated argument.
   15564 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   15565 
   15566 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15567 # DIR into the resulting binary.
   15568 hardcode_direct=$hardcode_direct
   15569 
   15570 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15571 # DIR into the resulting binary and the resulting library dependency is
   15572 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   15573 # library is relocated.
   15574 hardcode_direct_absolute=$hardcode_direct_absolute
   15575 
   15576 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   15577 # into the resulting binary.
   15578 hardcode_minus_L=$hardcode_minus_L
   15579 
   15580 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   15581 # into the resulting binary.
   15582 hardcode_shlibpath_var=$hardcode_shlibpath_var
   15583 
   15584 # Set to "yes" if building a shared library automatically hardcodes DIR
   15585 # into the library and all subsequent libraries and executables linked
   15586 # against it.
   15587 hardcode_automatic=$hardcode_automatic
   15588 
   15589 # Set to yes if linker adds runtime paths of dependent libraries
   15590 # to runtime path list.
   15591 inherit_rpath=$inherit_rpath
   15592 
   15593 # Whether libtool must link a program against all its dependency libraries.
   15594 link_all_deplibs=$link_all_deplibs
   15595 
   15596 # Fix the shell variable \$srcfile for the compiler.
   15597 fix_srcfile_path=$lt_fix_srcfile_path
   15598 
   15599 # Set to "yes" if exported symbols are required.
   15600 always_export_symbols=$always_export_symbols
   15601 
   15602 # The commands to list exported symbols.
   15603 export_symbols_cmds=$lt_export_symbols_cmds
   15604 
   15605 # Symbols that should not be listed in the preloaded symbols.
   15606 exclude_expsyms=$lt_exclude_expsyms
   15607 
   15608 # Symbols that must always be exported.
   15609 include_expsyms=$lt_include_expsyms
   15610 
   15611 # Commands necessary for linking programs (against libraries) with templates.
   15612 prelink_cmds=$lt_prelink_cmds
   15613 
   15614 # Specify filename containing input files.
   15615 file_list_spec=$lt_file_list_spec
   15616 
   15617 # How to hardcode a shared library path into an executable.
   15618 hardcode_action=$hardcode_action
   15619 
   15620 # ### END LIBTOOL CONFIG
   15621 
   15622 _LT_EOF
   15623 
   15624   case $host_os in
   15625   aix3*)
   15626     cat <<\_LT_EOF >> "$cfgfile"
   15627 # AIX sometimes has problems with the GCC collect2 program.  For some
   15628 # reason, if we set the COLLECT_NAMES environment variable, the problems
   15629 # vanish in a puff of smoke.
   15630 if test "X${COLLECT_NAMES+set}" != Xset; then
   15631   COLLECT_NAMES=
   15632   export COLLECT_NAMES
   15633 fi
   15634 _LT_EOF
   15635     ;;
   15636   esac
   15637 
   15638 
   15639 ltmain="$ac_aux_dir/ltmain.sh"
   15640 
   15641 
   15642   # We use sed instead of cat because bash on DJGPP gets confused if
   15643   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   15644   # text mode, it properly converts lines to CR/LF.  This bash problem
   15645   # is reportedly fixed, but why not run on old versions too?
   15646   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   15647     || (rm -f "$cfgfile"; exit 1)
   15648 
   15649   case $xsi_shell in
   15650   yes)
   15651     cat << \_LT_EOF >> "$cfgfile"
   15652 
   15653 # func_dirname file append nondir_replacement
   15654 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15655 # otherwise set result to NONDIR_REPLACEMENT.
   15656 func_dirname ()
   15657 {
   15658   case ${1} in
   15659     */*) func_dirname_result="${1%/*}${2}" ;;
   15660     *  ) func_dirname_result="${3}" ;;
   15661   esac
   15662 }
   15663 
   15664 # func_basename file
   15665 func_basename ()
   15666 {
   15667   func_basename_result="${1##*/}"
   15668 }
   15669 
   15670 # func_dirname_and_basename file append nondir_replacement
   15671 # perform func_basename and func_dirname in a single function
   15672 # call:
   15673 #   dirname:  Compute the dirname of FILE.  If nonempty,
   15674 #             add APPEND to the result, otherwise set result
   15675 #             to NONDIR_REPLACEMENT.
   15676 #             value returned in "$func_dirname_result"
   15677 #   basename: Compute filename of FILE.
   15678 #             value retuned in "$func_basename_result"
   15679 # Implementation must be kept synchronized with func_dirname
   15680 # and func_basename. For efficiency, we do not delegate to
   15681 # those functions but instead duplicate the functionality here.
   15682 func_dirname_and_basename ()
   15683 {
   15684   case ${1} in
   15685     */*) func_dirname_result="${1%/*}${2}" ;;
   15686     *  ) func_dirname_result="${3}" ;;
   15687   esac
   15688   func_basename_result="${1##*/}"
   15689 }
   15690 
   15691 # func_stripname prefix suffix name
   15692 # strip PREFIX and SUFFIX off of NAME.
   15693 # PREFIX and SUFFIX must not contain globbing or regex special
   15694 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15695 # dot (in which case that matches only a dot).
   15696 func_stripname ()
   15697 {
   15698   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   15699   # positional parameters, so assign one to ordinary parameter first.
   15700   func_stripname_result=${3}
   15701   func_stripname_result=${func_stripname_result#"${1}"}
   15702   func_stripname_result=${func_stripname_result%"${2}"}
   15703 }
   15704 
   15705 # func_opt_split
   15706 func_opt_split ()
   15707 {
   15708   func_opt_split_opt=${1%%=*}
   15709   func_opt_split_arg=${1#*=}
   15710 }
   15711 
   15712 # func_lo2o object
   15713 func_lo2o ()
   15714 {
   15715   case ${1} in
   15716     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   15717     *)    func_lo2o_result=${1} ;;
   15718   esac
   15719 }
   15720 
   15721 # func_xform libobj-or-source
   15722 func_xform ()
   15723 {
   15724   func_xform_result=${1%.*}.lo
   15725 }
   15726 
   15727 # func_arith arithmetic-term...
   15728 func_arith ()
   15729 {
   15730   func_arith_result=$(( $* ))
   15731 }
   15732 
   15733 # func_len string
   15734 # STRING may not start with a hyphen.
   15735 func_len ()
   15736 {
   15737   func_len_result=${#1}
   15738 }
   15739 
   15740 _LT_EOF
   15741     ;;
   15742   *) # Bourne compatible functions.
   15743     cat << \_LT_EOF >> "$cfgfile"
   15744 
   15745 # func_dirname file append nondir_replacement
   15746 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15747 # otherwise set result to NONDIR_REPLACEMENT.
   15748 func_dirname ()
   15749 {
   15750   # Extract subdirectory from the argument.
   15751   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   15752   if test "X$func_dirname_result" = "X${1}"; then
   15753     func_dirname_result="${3}"
   15754   else
   15755     func_dirname_result="$func_dirname_result${2}"
   15756   fi
   15757 }
   15758 
   15759 # func_basename file
   15760 func_basename ()
   15761 {
   15762   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   15763 }
   15764 
   15765 
   15766 # func_stripname prefix suffix name
   15767 # strip PREFIX and SUFFIX off of NAME.
   15768 # PREFIX and SUFFIX must not contain globbing or regex special
   15769 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15770 # dot (in which case that matches only a dot).
   15771 # func_strip_suffix prefix name
   15772 func_stripname ()
   15773 {
   15774   case ${2} in
   15775     .*) func_stripname_result=`$ECHO "X${3}" \
   15776            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   15777     *)  func_stripname_result=`$ECHO "X${3}" \
   15778            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   15779   esac
   15780 }
   15781 
   15782 # sed scripts:
   15783 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   15784 my_sed_long_arg='1s/^-[^=]*=//'
   15785 
   15786 # func_opt_split
   15787 func_opt_split ()
   15788 {
   15789   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   15790   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   15791 }
   15792 
   15793 # func_lo2o object
   15794 func_lo2o ()
   15795 {
   15796   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   15797 }
   15798 
   15799 # func_xform libobj-or-source
   15800 func_xform ()
   15801 {
   15802   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   15803 }
   15804 
   15805 # func_arith arithmetic-term...
   15806 func_arith ()
   15807 {
   15808   func_arith_result=`expr "$@"`
   15809 }
   15810 
   15811 # func_len string
   15812 # STRING may not start with a hyphen.
   15813 func_len ()
   15814 {
   15815   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   15816 }
   15817 
   15818 _LT_EOF
   15819 esac
   15820 
   15821 case $lt_shell_append in
   15822   yes)
   15823     cat << \_LT_EOF >> "$cfgfile"
   15824 
   15825 # func_append var value
   15826 # Append VALUE to the end of shell variable VAR.
   15827 func_append ()
   15828 {
   15829   eval "$1+=\$2"
   15830 }
   15831 _LT_EOF
   15832     ;;
   15833   *)
   15834     cat << \_LT_EOF >> "$cfgfile"
   15835 
   15836 # func_append var value
   15837 # Append VALUE to the end of shell variable VAR.
   15838 func_append ()
   15839 {
   15840   eval "$1=\$$1\$2"
   15841 }
   15842 
   15843 _LT_EOF
   15844     ;;
   15845   esac
   15846 
   15847 
   15848   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   15849     || (rm -f "$cfgfile"; exit 1)
   15850 
   15851   mv -f "$cfgfile" "$ofile" ||
   15852     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   15853   chmod +x "$ofile"
   15854 
   15855  ;;
   15856 
   15857   esac
   15858 done # for ac_tag
   15859 
   15860 
   15861 { (exit 0); exit 0; }
   15862 _ACEOF
   15863 chmod +x $CONFIG_STATUS
   15864 ac_clean_files=$ac_clean_files_save
   15865 
   15866 test $ac_write_fail = 0 ||
   15867   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   15868 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   15869    { (exit 1); exit 1; }; }
   15870 
   15871 
   15872 # configure is writing to config.log, and then calls config.status.
   15873 # config.status does its own redirection, appending to config.log.
   15874 # Unfortunately, on DOS this fails, as config.log is still kept open
   15875 # by configure, so config.status won't be able to write to it; its
   15876 # output is simply discarded.  So we exec the FD to /dev/null,
   15877 # effectively closing config.log, so it can be properly (re)opened and
   15878 # appended to by config.status.  When coming back to configure, we
   15879 # need to make the FD available again.
   15880 if test "$no_create" != yes; then
   15881   ac_cs_success=:
   15882   ac_config_status_args=
   15883   test "$silent" = yes &&
   15884     ac_config_status_args="$ac_config_status_args --quiet"
   15885   exec 5>/dev/null
   15886   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15887   exec 5>>config.log
   15888   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15889   # would make configure fail if this is the last instruction.
   15890   $ac_cs_success || { (exit 1); exit 1; }
   15891 fi
   15892 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15893   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15894 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15895 fi
   15896 
   15897