Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-siliconmotion 1.7.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-siliconmotion'
    747 PACKAGE_TARNAME='xf86-video-siliconmotion'
    748 PACKAGE_VERSION='1.7.2'
    749 PACKAGE_STRING='xf86-video-siliconmotion 1.7.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='LTLIBOBJS
    790 LIBOBJS
    791 distcleancheck_listfiles
    792 CHANGELOG_CMD
    793 ADMIN_MAN_DIR
    794 DRIVER_MAN_DIR
    795 MISC_MAN_DIR
    796 FILE_MAN_DIR
    797 LIB_MAN_DIR
    798 APP_MAN_DIR
    799 ADMIN_MAN_SUFFIX
    800 DRIVER_MAN_SUFFIX
    801 MISC_MAN_SUFFIX
    802 FILE_MAN_SUFFIX
    803 LIB_MAN_SUFFIX
    804 APP_MAN_SUFFIX
    805 DRIVER_NAME
    806 moduledir
    807 CWARNFLAGS
    808 XMODES_FALSE
    809 XMODES_TRUE
    810 XSERVER_LIBPCIACCESS_FALSE
    811 XSERVER_LIBPCIACCESS_TRUE
    812 PCIACCESS_LIBS
    813 PCIACCESS_CFLAGS
    814 XORG_LIBS
    815 XORG_CFLAGS
    816 PKG_CONFIG
    817 CPP
    818 OTOOL64
    819 OTOOL
    820 LIPO
    821 NMEDIT
    822 DSYMUTIL
    823 lt_ECHO
    824 RANLIB
    825 AR
    826 OBJDUMP
    827 LN_S
    828 NM
    829 ac_ct_DUMPBIN
    830 DUMPBIN
    831 LD
    832 FGREP
    833 EGREP
    834 GREP
    835 SED
    836 am__fastdepCC_FALSE
    837 am__fastdepCC_TRUE
    838 CCDEPMODE
    839 AMDEPBACKSLASH
    840 AMDEP_FALSE
    841 AMDEP_TRUE
    842 am__quote
    843 am__include
    844 DEPDIR
    845 OBJEXT
    846 EXEEXT
    847 ac_ct_CC
    848 CPPFLAGS
    849 LDFLAGS
    850 CFLAGS
    851 CC
    852 host_os
    853 host_vendor
    854 host_cpu
    855 host
    856 build_os
    857 build_vendor
    858 build_cpu
    859 build
    860 LIBTOOL
    861 MAINT
    862 MAINTAINER_MODE_FALSE
    863 MAINTAINER_MODE_TRUE
    864 am__untar
    865 am__tar
    866 AMTAR
    867 am__leading_dot
    868 SET_MAKE
    869 AWK
    870 mkdir_p
    871 MKDIR_P
    872 INSTALL_STRIP_PROGRAM
    873 STRIP
    874 install_sh
    875 MAKEINFO
    876 AUTOHEADER
    877 AUTOMAKE
    878 AUTOCONF
    879 ACLOCAL
    880 VERSION
    881 PACKAGE
    882 CYGPATH_W
    883 am__isrc
    884 INSTALL_DATA
    885 INSTALL_SCRIPT
    886 INSTALL_PROGRAM
    887 target_alias
    888 host_alias
    889 build_alias
    890 LIBS
    891 ECHO_T
    892 ECHO_N
    893 ECHO_C
    894 DEFS
    895 mandir
    896 localedir
    897 libdir
    898 psdir
    899 pdfdir
    900 dvidir
    901 htmldir
    902 infodir
    903 docdir
    904 oldincludedir
    905 includedir
    906 localstatedir
    907 sharedstatedir
    908 sysconfdir
    909 datadir
    910 datarootdir
    911 libexecdir
    912 sbindir
    913 bindir
    914 program_transform_name
    915 prefix
    916 exec_prefix
    917 PACKAGE_BUGREPORT
    918 PACKAGE_STRING
    919 PACKAGE_VERSION
    920 PACKAGE_TARNAME
    921 PACKAGE_NAME
    922 PATH_SEPARATOR
    923 SHELL'
    924 ac_subst_files=''
    925 ac_user_opts='
    926 enable_option_checking
    927 enable_maintainer_mode
    928 enable_static
    929 enable_shared
    930 with_pic
    931 enable_fast_install
    932 enable_dependency_tracking
    933 with_gnu_ld
    934 enable_libtool_lock
    935 with_xorg_module_dir
    936 with_release_version
    937 '
    938       ac_precious_vars='build_alias
    939 host_alias
    940 target_alias
    941 CC
    942 CFLAGS
    943 LDFLAGS
    944 LIBS
    945 CPPFLAGS
    946 CPP
    947 PKG_CONFIG
    948 XORG_CFLAGS
    949 XORG_LIBS
    950 PCIACCESS_CFLAGS
    951 PCIACCESS_LIBS'
    952 
    953 
    954 # Initialize some variables set by options.
    955 ac_init_help=
    956 ac_init_version=false
    957 ac_unrecognized_opts=
    958 ac_unrecognized_sep=
    959 # The variables have the same names as the options, with
    960 # dashes changed to underlines.
    961 cache_file=/dev/null
    962 exec_prefix=NONE
    963 no_create=
    964 no_recursion=
    965 prefix=NONE
    966 program_prefix=NONE
    967 program_suffix=NONE
    968 program_transform_name=s,x,x,
    969 silent=
    970 site=
    971 srcdir=
    972 verbose=
    973 x_includes=NONE
    974 x_libraries=NONE
    975 
    976 # Installation directory options.
    977 # These are left unexpanded so users can "make install exec_prefix=/foo"
    978 # and all the variables that are supposed to be based on exec_prefix
    979 # by default will actually change.
    980 # Use braces instead of parens because sh, perl, etc. also accept them.
    981 # (The list follows the same order as the GNU Coding Standards.)
    982 bindir='${exec_prefix}/bin'
    983 sbindir='${exec_prefix}/sbin'
    984 libexecdir='${exec_prefix}/libexec'
    985 datarootdir='${prefix}/share'
    986 datadir='${datarootdir}'
    987 sysconfdir='${prefix}/etc'
    988 sharedstatedir='${prefix}/com'
    989 localstatedir='${prefix}/var'
    990 includedir='${prefix}/include'
    991 oldincludedir='/usr/include'
    992 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    993 infodir='${datarootdir}/info'
    994 htmldir='${docdir}'
    995 dvidir='${docdir}'
    996 pdfdir='${docdir}'
    997 psdir='${docdir}'
    998 libdir='${exec_prefix}/lib'
    999 localedir='${datarootdir}/locale'
   1000 mandir='${datarootdir}/man'
   1001 
   1002 ac_prev=
   1003 ac_dashdash=
   1004 for ac_option
   1005 do
   1006   # If the previous option needs an argument, assign it.
   1007   if test -n "$ac_prev"; then
   1008     eval $ac_prev=\$ac_option
   1009     ac_prev=
   1010     continue
   1011   fi
   1012 
   1013   case $ac_option in
   1014   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1015   *)	ac_optarg=yes ;;
   1016   esac
   1017 
   1018   # Accept the important Cygnus configure options, so we can diagnose typos.
   1019 
   1020   case $ac_dashdash$ac_option in
   1021   --)
   1022     ac_dashdash=yes ;;
   1023 
   1024   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1025     ac_prev=bindir ;;
   1026   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1027     bindir=$ac_optarg ;;
   1028 
   1029   -build | --build | --buil | --bui | --bu)
   1030     ac_prev=build_alias ;;
   1031   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1032     build_alias=$ac_optarg ;;
   1033 
   1034   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1035   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1036     ac_prev=cache_file ;;
   1037   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1038   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1039     cache_file=$ac_optarg ;;
   1040 
   1041   --config-cache | -C)
   1042     cache_file=config.cache ;;
   1043 
   1044   -datadir | --datadir | --datadi | --datad)
   1045     ac_prev=datadir ;;
   1046   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1047     datadir=$ac_optarg ;;
   1048 
   1049   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1050   | --dataroo | --dataro | --datar)
   1051     ac_prev=datarootdir ;;
   1052   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1053   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1054     datarootdir=$ac_optarg ;;
   1055 
   1056   -disable-* | --disable-*)
   1057     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1058     # Reject names that are not valid shell variable names.
   1059     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1060       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1061    { (exit 1); exit 1; }; }
   1062     ac_useropt_orig=$ac_useropt
   1063     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1064     case $ac_user_opts in
   1065       *"
   1066 "enable_$ac_useropt"
   1067 "*) ;;
   1068       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1069 	 ac_unrecognized_sep=', ';;
   1070     esac
   1071     eval enable_$ac_useropt=no ;;
   1072 
   1073   -docdir | --docdir | --docdi | --doc | --do)
   1074     ac_prev=docdir ;;
   1075   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1076     docdir=$ac_optarg ;;
   1077 
   1078   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1079     ac_prev=dvidir ;;
   1080   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1081     dvidir=$ac_optarg ;;
   1082 
   1083   -enable-* | --enable-*)
   1084     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1085     # Reject names that are not valid shell variable names.
   1086     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1087       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1088    { (exit 1); exit 1; }; }
   1089     ac_useropt_orig=$ac_useropt
   1090     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1091     case $ac_user_opts in
   1092       *"
   1093 "enable_$ac_useropt"
   1094 "*) ;;
   1095       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1096 	 ac_unrecognized_sep=', ';;
   1097     esac
   1098     eval enable_$ac_useropt=\$ac_optarg ;;
   1099 
   1100   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1101   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1102   | --exec | --exe | --ex)
   1103     ac_prev=exec_prefix ;;
   1104   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1105   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1106   | --exec=* | --exe=* | --ex=*)
   1107     exec_prefix=$ac_optarg ;;
   1108 
   1109   -gas | --gas | --ga | --g)
   1110     # Obsolete; use --with-gas.
   1111     with_gas=yes ;;
   1112 
   1113   -help | --help | --hel | --he | -h)
   1114     ac_init_help=long ;;
   1115   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1116     ac_init_help=recursive ;;
   1117   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1118     ac_init_help=short ;;
   1119 
   1120   -host | --host | --hos | --ho)
   1121     ac_prev=host_alias ;;
   1122   -host=* | --host=* | --hos=* | --ho=*)
   1123     host_alias=$ac_optarg ;;
   1124 
   1125   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1126     ac_prev=htmldir ;;
   1127   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1128   | --ht=*)
   1129     htmldir=$ac_optarg ;;
   1130 
   1131   -includedir | --includedir | --includedi | --included | --include \
   1132   | --includ | --inclu | --incl | --inc)
   1133     ac_prev=includedir ;;
   1134   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1135   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1136     includedir=$ac_optarg ;;
   1137 
   1138   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1139     ac_prev=infodir ;;
   1140   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1141     infodir=$ac_optarg ;;
   1142 
   1143   -libdir | --libdir | --libdi | --libd)
   1144     ac_prev=libdir ;;
   1145   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1146     libdir=$ac_optarg ;;
   1147 
   1148   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1149   | --libexe | --libex | --libe)
   1150     ac_prev=libexecdir ;;
   1151   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1152   | --libexe=* | --libex=* | --libe=*)
   1153     libexecdir=$ac_optarg ;;
   1154 
   1155   -localedir | --localedir | --localedi | --localed | --locale)
   1156     ac_prev=localedir ;;
   1157   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1158     localedir=$ac_optarg ;;
   1159 
   1160   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1161   | --localstate | --localstat | --localsta | --localst | --locals)
   1162     ac_prev=localstatedir ;;
   1163   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1164   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1165     localstatedir=$ac_optarg ;;
   1166 
   1167   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1168     ac_prev=mandir ;;
   1169   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1170     mandir=$ac_optarg ;;
   1171 
   1172   -nfp | --nfp | --nf)
   1173     # Obsolete; use --without-fp.
   1174     with_fp=no ;;
   1175 
   1176   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1177   | --no-cr | --no-c | -n)
   1178     no_create=yes ;;
   1179 
   1180   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1181   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1182     no_recursion=yes ;;
   1183 
   1184   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1185   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1186   | --oldin | --oldi | --old | --ol | --o)
   1187     ac_prev=oldincludedir ;;
   1188   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1189   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1190   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1191     oldincludedir=$ac_optarg ;;
   1192 
   1193   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1194     ac_prev=prefix ;;
   1195   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1196     prefix=$ac_optarg ;;
   1197 
   1198   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1199   | --program-pre | --program-pr | --program-p)
   1200     ac_prev=program_prefix ;;
   1201   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1202   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1203     program_prefix=$ac_optarg ;;
   1204 
   1205   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1206   | --program-suf | --program-su | --program-s)
   1207     ac_prev=program_suffix ;;
   1208   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1209   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1210     program_suffix=$ac_optarg ;;
   1211 
   1212   -program-transform-name | --program-transform-name \
   1213   | --program-transform-nam | --program-transform-na \
   1214   | --program-transform-n | --program-transform- \
   1215   | --program-transform | --program-transfor \
   1216   | --program-transfo | --program-transf \
   1217   | --program-trans | --program-tran \
   1218   | --progr-tra | --program-tr | --program-t)
   1219     ac_prev=program_transform_name ;;
   1220   -program-transform-name=* | --program-transform-name=* \
   1221   | --program-transform-nam=* | --program-transform-na=* \
   1222   | --program-transform-n=* | --program-transform-=* \
   1223   | --program-transform=* | --program-transfor=* \
   1224   | --program-transfo=* | --program-transf=* \
   1225   | --program-trans=* | --program-tran=* \
   1226   | --progr-tra=* | --program-tr=* | --program-t=*)
   1227     program_transform_name=$ac_optarg ;;
   1228 
   1229   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1230     ac_prev=pdfdir ;;
   1231   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1232     pdfdir=$ac_optarg ;;
   1233 
   1234   -psdir | --psdir | --psdi | --psd | --ps)
   1235     ac_prev=psdir ;;
   1236   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1237     psdir=$ac_optarg ;;
   1238 
   1239   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1240   | -silent | --silent | --silen | --sile | --sil)
   1241     silent=yes ;;
   1242 
   1243   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1244     ac_prev=sbindir ;;
   1245   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1246   | --sbi=* | --sb=*)
   1247     sbindir=$ac_optarg ;;
   1248 
   1249   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1250   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1251   | --sharedst | --shareds | --shared | --share | --shar \
   1252   | --sha | --sh)
   1253     ac_prev=sharedstatedir ;;
   1254   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1255   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1256   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1257   | --sha=* | --sh=*)
   1258     sharedstatedir=$ac_optarg ;;
   1259 
   1260   -site | --site | --sit)
   1261     ac_prev=site ;;
   1262   -site=* | --site=* | --sit=*)
   1263     site=$ac_optarg ;;
   1264 
   1265   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1266     ac_prev=srcdir ;;
   1267   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1268     srcdir=$ac_optarg ;;
   1269 
   1270   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1271   | --syscon | --sysco | --sysc | --sys | --sy)
   1272     ac_prev=sysconfdir ;;
   1273   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1274   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1275     sysconfdir=$ac_optarg ;;
   1276 
   1277   -target | --target | --targe | --targ | --tar | --ta | --t)
   1278     ac_prev=target_alias ;;
   1279   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1280     target_alias=$ac_optarg ;;
   1281 
   1282   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1283     verbose=yes ;;
   1284 
   1285   -version | --version | --versio | --versi | --vers | -V)
   1286     ac_init_version=: ;;
   1287 
   1288   -with-* | --with-*)
   1289     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1290     # Reject names that are not valid shell variable names.
   1291     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1292       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1293    { (exit 1); exit 1; }; }
   1294     ac_useropt_orig=$ac_useropt
   1295     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1296     case $ac_user_opts in
   1297       *"
   1298 "with_$ac_useropt"
   1299 "*) ;;
   1300       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1301 	 ac_unrecognized_sep=', ';;
   1302     esac
   1303     eval with_$ac_useropt=\$ac_optarg ;;
   1304 
   1305   -without-* | --without-*)
   1306     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1307     # Reject names that are not valid shell variable names.
   1308     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1309       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1310    { (exit 1); exit 1; }; }
   1311     ac_useropt_orig=$ac_useropt
   1312     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1313     case $ac_user_opts in
   1314       *"
   1315 "with_$ac_useropt"
   1316 "*) ;;
   1317       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1318 	 ac_unrecognized_sep=', ';;
   1319     esac
   1320     eval with_$ac_useropt=no ;;
   1321 
   1322   --x)
   1323     # Obsolete; use --with-x.
   1324     with_x=yes ;;
   1325 
   1326   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1327   | --x-incl | --x-inc | --x-in | --x-i)
   1328     ac_prev=x_includes ;;
   1329   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1330   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1331     x_includes=$ac_optarg ;;
   1332 
   1333   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1334   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1335     ac_prev=x_libraries ;;
   1336   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1337   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1338     x_libraries=$ac_optarg ;;
   1339 
   1340   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1341 Try \`$0 --help' for more information." >&2
   1342    { (exit 1); exit 1; }; }
   1343     ;;
   1344 
   1345   *=*)
   1346     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1347     # Reject names that are not valid shell variable names.
   1348     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1349       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1350    { (exit 1); exit 1; }; }
   1351     eval $ac_envvar=\$ac_optarg
   1352     export $ac_envvar ;;
   1353 
   1354   *)
   1355     # FIXME: should be removed in autoconf 3.0.
   1356     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1357     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1358       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1359     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1360     ;;
   1361 
   1362   esac
   1363 done
   1364 
   1365 if test -n "$ac_prev"; then
   1366   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1367   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1368    { (exit 1); exit 1; }; }
   1369 fi
   1370 
   1371 if test -n "$ac_unrecognized_opts"; then
   1372   case $enable_option_checking in
   1373     no) ;;
   1374     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1375    { (exit 1); exit 1; }; } ;;
   1376     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1377   esac
   1378 fi
   1379 
   1380 # Check all directory arguments for consistency.
   1381 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1382 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1383 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1384 		libdir localedir mandir
   1385 do
   1386   eval ac_val=\$$ac_var
   1387   # Remove trailing slashes.
   1388   case $ac_val in
   1389     */ )
   1390       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1391       eval $ac_var=\$ac_val;;
   1392   esac
   1393   # Be sure to have absolute directory names.
   1394   case $ac_val in
   1395     [\\/$]* | ?:[\\/]* )  continue;;
   1396     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1397   esac
   1398   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1399    { (exit 1); exit 1; }; }
   1400 done
   1401 
   1402 # There might be people who depend on the old broken behavior: `$host'
   1403 # used to hold the argument of --host etc.
   1404 # FIXME: To remove some day.
   1405 build=$build_alias
   1406 host=$host_alias
   1407 target=$target_alias
   1408 
   1409 # FIXME: To remove some day.
   1410 if test "x$host_alias" != x; then
   1411   if test "x$build_alias" = x; then
   1412     cross_compiling=maybe
   1413     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1414     If a cross compiler is detected then cross compile mode will be used." >&2
   1415   elif test "x$build_alias" != "x$host_alias"; then
   1416     cross_compiling=yes
   1417   fi
   1418 fi
   1419 
   1420 ac_tool_prefix=
   1421 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1422 
   1423 test "$silent" = yes && exec 6>/dev/null
   1424 
   1425 
   1426 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1427 ac_ls_di=`ls -di .` &&
   1428 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1429   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1430    { (exit 1); exit 1; }; }
   1431 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1432   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1433    { (exit 1); exit 1; }; }
   1434 
   1435 
   1436 # Find the source files, if location was not specified.
   1437 if test -z "$srcdir"; then
   1438   ac_srcdir_defaulted=yes
   1439   # Try the directory containing this script, then the parent directory.
   1440   ac_confdir=`$as_dirname -- "$as_myself" ||
   1441 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1442 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1443 	 X"$as_myself" : 'X\(//\)$' \| \
   1444 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1445 $as_echo X"$as_myself" |
   1446     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1447 	    s//\1/
   1448 	    q
   1449 	  }
   1450 	  /^X\(\/\/\)[^/].*/{
   1451 	    s//\1/
   1452 	    q
   1453 	  }
   1454 	  /^X\(\/\/\)$/{
   1455 	    s//\1/
   1456 	    q
   1457 	  }
   1458 	  /^X\(\/\).*/{
   1459 	    s//\1/
   1460 	    q
   1461 	  }
   1462 	  s/.*/./; q'`
   1463   srcdir=$ac_confdir
   1464   if test ! -r "$srcdir/$ac_unique_file"; then
   1465     srcdir=..
   1466   fi
   1467 else
   1468   ac_srcdir_defaulted=no
   1469 fi
   1470 if test ! -r "$srcdir/$ac_unique_file"; then
   1471   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1472   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1473    { (exit 1); exit 1; }; }
   1474 fi
   1475 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1476 ac_abs_confdir=`(
   1477 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1478    { (exit 1); exit 1; }; }
   1479 	pwd)`
   1480 # When building in place, set srcdir=.
   1481 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1482   srcdir=.
   1483 fi
   1484 # Remove unnecessary trailing slashes from srcdir.
   1485 # Double slashes in file names in object file debugging info
   1486 # mess up M-x gdb in Emacs.
   1487 case $srcdir in
   1488 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1489 esac
   1490 for ac_var in $ac_precious_vars; do
   1491   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1492   eval ac_env_${ac_var}_value=\$${ac_var}
   1493   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1494   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1495 done
   1496 
   1497 #
   1498 # Report the --help message.
   1499 #
   1500 if test "$ac_init_help" = "long"; then
   1501   # Omit some internal or obsolete options to make the list less imposing.
   1502   # This message is too long to be a string in the A/UX 3.1 sh.
   1503   cat <<_ACEOF
   1504 \`configure' configures xf86-video-siliconmotion 1.7.2 to adapt to many kinds of systems.
   1505 
   1506 Usage: $0 [OPTION]... [VAR=VALUE]...
   1507 
   1508 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1509 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1510 
   1511 Defaults for the options are specified in brackets.
   1512 
   1513 Configuration:
   1514   -h, --help              display this help and exit
   1515       --help=short        display options specific to this package
   1516       --help=recursive    display the short help of all the included packages
   1517   -V, --version           display version information and exit
   1518   -q, --quiet, --silent   do not print \`checking...' messages
   1519       --cache-file=FILE   cache test results in FILE [disabled]
   1520   -C, --config-cache      alias for \`--cache-file=config.cache'
   1521   -n, --no-create         do not create output files
   1522       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1523 
   1524 Installation directories:
   1525   --prefix=PREFIX         install architecture-independent files in PREFIX
   1526                           [$ac_default_prefix]
   1527   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1528                           [PREFIX]
   1529 
   1530 By default, \`make install' will install all the files in
   1531 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1532 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1533 for instance \`--prefix=\$HOME'.
   1534 
   1535 For better control, use the options below.
   1536 
   1537 Fine tuning of the installation directories:
   1538   --bindir=DIR            user executables [EPREFIX/bin]
   1539   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1540   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1541   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1542   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1543   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1544   --libdir=DIR            object code libraries [EPREFIX/lib]
   1545   --includedir=DIR        C header files [PREFIX/include]
   1546   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1547   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1548   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1549   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1550   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1551   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1552   --docdir=DIR            documentation root
   1553                           [DATAROOTDIR/doc/xf86-video-siliconmotion]
   1554   --htmldir=DIR           html documentation [DOCDIR]
   1555   --dvidir=DIR            dvi documentation [DOCDIR]
   1556   --pdfdir=DIR            pdf documentation [DOCDIR]
   1557   --psdir=DIR             ps documentation [DOCDIR]
   1558 _ACEOF
   1559 
   1560   cat <<\_ACEOF
   1561 
   1562 Program names:
   1563   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1564   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1565   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1566 
   1567 System types:
   1568   --build=BUILD     configure for building on BUILD [guessed]
   1569   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1570 _ACEOF
   1571 fi
   1572 
   1573 if test -n "$ac_init_help"; then
   1574   case $ac_init_help in
   1575      short | recursive ) echo "Configuration of xf86-video-siliconmotion 1.7.2:";;
   1576    esac
   1577   cat <<\_ACEOF
   1578 
   1579 Optional Features:
   1580   --disable-option-checking  ignore unrecognized --enable/--with options
   1581   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1582   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1583   --enable-maintainer-mode  enable make rules and dependencies not useful
   1584 			  (and sometimes confusing) to the casual installer
   1585   --enable-static[=PKGS]  build static libraries [default=no]
   1586   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1587   --enable-fast-install[=PKGS]
   1588                           optimize for fast installation [default=yes]
   1589   --disable-dependency-tracking  speeds up one-time build
   1590   --enable-dependency-tracking   do not reject slow dependency extractors
   1591   --disable-libtool-lock  avoid locking (might break parallel builds)
   1592 
   1593 Optional Packages:
   1594   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1595   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1596   --with-pic              try to use only PIC/non-PIC objects [default=use
   1597                           both]
   1598   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1599   --with-xorg-module-dir=DIR
   1600                           Default xorg module directory
   1601                           [default=$libdir/xorg/modules]
   1602   --with-release-version=STRING
   1603                           Use release version string in package name
   1604 
   1605 Some influential environment variables:
   1606   CC          C compiler command
   1607   CFLAGS      C compiler flags
   1608   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1609               nonstandard directory <lib dir>
   1610   LIBS        libraries to pass to the linker, e.g. -l<library>
   1611   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1612               you have headers in a nonstandard directory <include dir>
   1613   CPP         C preprocessor
   1614   PKG_CONFIG  path to pkg-config utility
   1615   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1616   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1617   PCIACCESS_CFLAGS
   1618               C compiler flags for PCIACCESS, overriding pkg-config
   1619   PCIACCESS_LIBS
   1620               linker flags for PCIACCESS, overriding pkg-config
   1621 
   1622 Use these variables to override the choices made by `configure' or to help
   1623 it to find libraries and programs with nonstandard names/locations.
   1624 
   1625 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1626 _ACEOF
   1627 ac_status=$?
   1628 fi
   1629 
   1630 if test "$ac_init_help" = "recursive"; then
   1631   # If there are subdirs, report their specific --help.
   1632   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1633     test -d "$ac_dir" ||
   1634       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1635       continue
   1636     ac_builddir=.
   1637 
   1638 case "$ac_dir" in
   1639 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1640 *)
   1641   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1642   # A ".." for each directory in $ac_dir_suffix.
   1643   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1644   case $ac_top_builddir_sub in
   1645   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1646   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1647   esac ;;
   1648 esac
   1649 ac_abs_top_builddir=$ac_pwd
   1650 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1651 # for backward compatibility:
   1652 ac_top_builddir=$ac_top_build_prefix
   1653 
   1654 case $srcdir in
   1655   .)  # We are building in place.
   1656     ac_srcdir=.
   1657     ac_top_srcdir=$ac_top_builddir_sub
   1658     ac_abs_top_srcdir=$ac_pwd ;;
   1659   [\\/]* | ?:[\\/]* )  # Absolute name.
   1660     ac_srcdir=$srcdir$ac_dir_suffix;
   1661     ac_top_srcdir=$srcdir
   1662     ac_abs_top_srcdir=$srcdir ;;
   1663   *) # Relative name.
   1664     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1665     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1666     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1667 esac
   1668 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1669 
   1670     cd "$ac_dir" || { ac_status=$?; continue; }
   1671     # Check for guested configure.
   1672     if test -f "$ac_srcdir/configure.gnu"; then
   1673       echo &&
   1674       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1675     elif test -f "$ac_srcdir/configure"; then
   1676       echo &&
   1677       $SHELL "$ac_srcdir/configure" --help=recursive
   1678     else
   1679       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1680     fi || ac_status=$?
   1681     cd "$ac_pwd" || { ac_status=$?; break; }
   1682   done
   1683 fi
   1684 
   1685 test -n "$ac_init_help" && exit $ac_status
   1686 if $ac_init_version; then
   1687   cat <<\_ACEOF
   1688 xf86-video-siliconmotion configure 1.7.2
   1689 generated by GNU Autoconf 2.63
   1690 
   1691 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1692 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1693 This configure script is free software; the Free Software Foundation
   1694 gives unlimited permission to copy, distribute and modify it.
   1695 _ACEOF
   1696   exit
   1697 fi
   1698 cat >config.log <<_ACEOF
   1699 This file contains any messages produced by compilers while
   1700 running configure, to aid debugging if configure makes a mistake.
   1701 
   1702 It was created by xf86-video-siliconmotion $as_me 1.7.2, which was
   1703 generated by GNU Autoconf 2.63.  Invocation command line was
   1704 
   1705   $ $0 $@
   1706 
   1707 _ACEOF
   1708 exec 5>>config.log
   1709 {
   1710 cat <<_ASUNAME
   1711 ## --------- ##
   1712 ## Platform. ##
   1713 ## --------- ##
   1714 
   1715 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1716 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1717 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1718 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1719 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1720 
   1721 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1722 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1723 
   1724 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1725 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1726 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1727 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1728 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1729 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1730 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1731 
   1732 _ASUNAME
   1733 
   1734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1735 for as_dir in $PATH
   1736 do
   1737   IFS=$as_save_IFS
   1738   test -z "$as_dir" && as_dir=.
   1739   $as_echo "PATH: $as_dir"
   1740 done
   1741 IFS=$as_save_IFS
   1742 
   1743 } >&5
   1744 
   1745 cat >&5 <<_ACEOF
   1746 
   1747 
   1748 ## ----------- ##
   1749 ## Core tests. ##
   1750 ## ----------- ##
   1751 
   1752 _ACEOF
   1753 
   1754 
   1755 # Keep a trace of the command line.
   1756 # Strip out --no-create and --no-recursion so they do not pile up.
   1757 # Strip out --silent because we don't want to record it for future runs.
   1758 # Also quote any args containing shell meta-characters.
   1759 # Make two passes to allow for proper duplicate-argument suppression.
   1760 ac_configure_args=
   1761 ac_configure_args0=
   1762 ac_configure_args1=
   1763 ac_must_keep_next=false
   1764 for ac_pass in 1 2
   1765 do
   1766   for ac_arg
   1767   do
   1768     case $ac_arg in
   1769     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1770     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1771     | -silent | --silent | --silen | --sile | --sil)
   1772       continue ;;
   1773     *\'*)
   1774       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1775     esac
   1776     case $ac_pass in
   1777     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1778     2)
   1779       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1780       if test $ac_must_keep_next = true; then
   1781 	ac_must_keep_next=false # Got value, back to normal.
   1782       else
   1783 	case $ac_arg in
   1784 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1785 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1786 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1787 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1788 	    case "$ac_configure_args0 " in
   1789 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1790 	    esac
   1791 	    ;;
   1792 	  -* ) ac_must_keep_next=true ;;
   1793 	esac
   1794       fi
   1795       ac_configure_args="$ac_configure_args '$ac_arg'"
   1796       ;;
   1797     esac
   1798   done
   1799 done
   1800 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1801 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1802 
   1803 # When interrupted or exit'd, cleanup temporary files, and complete
   1804 # config.log.  We remove comments because anyway the quotes in there
   1805 # would cause problems or look ugly.
   1806 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1807 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1808 trap 'exit_status=$?
   1809   # Save into config.log some information that might help in debugging.
   1810   {
   1811     echo
   1812 
   1813     cat <<\_ASBOX
   1814 ## ---------------- ##
   1815 ## Cache variables. ##
   1816 ## ---------------- ##
   1817 _ASBOX
   1818     echo
   1819     # The following way of writing the cache mishandles newlines in values,
   1820 (
   1821   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1822     eval ac_val=\$$ac_var
   1823     case $ac_val in #(
   1824     *${as_nl}*)
   1825       case $ac_var in #(
   1826       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1827 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1828       esac
   1829       case $ac_var in #(
   1830       _ | IFS | as_nl) ;; #(
   1831       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1832       *) $as_unset $ac_var ;;
   1833       esac ;;
   1834     esac
   1835   done
   1836   (set) 2>&1 |
   1837     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1838     *${as_nl}ac_space=\ *)
   1839       sed -n \
   1840 	"s/'\''/'\''\\\\'\'''\''/g;
   1841 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1842       ;; #(
   1843     *)
   1844       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1845       ;;
   1846     esac |
   1847     sort
   1848 )
   1849     echo
   1850 
   1851     cat <<\_ASBOX
   1852 ## ----------------- ##
   1853 ## Output variables. ##
   1854 ## ----------------- ##
   1855 _ASBOX
   1856     echo
   1857     for ac_var in $ac_subst_vars
   1858     do
   1859       eval ac_val=\$$ac_var
   1860       case $ac_val in
   1861       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1862       esac
   1863       $as_echo "$ac_var='\''$ac_val'\''"
   1864     done | sort
   1865     echo
   1866 
   1867     if test -n "$ac_subst_files"; then
   1868       cat <<\_ASBOX
   1869 ## ------------------- ##
   1870 ## File substitutions. ##
   1871 ## ------------------- ##
   1872 _ASBOX
   1873       echo
   1874       for ac_var in $ac_subst_files
   1875       do
   1876 	eval ac_val=\$$ac_var
   1877 	case $ac_val in
   1878 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1879 	esac
   1880 	$as_echo "$ac_var='\''$ac_val'\''"
   1881       done | sort
   1882       echo
   1883     fi
   1884 
   1885     if test -s confdefs.h; then
   1886       cat <<\_ASBOX
   1887 ## ----------- ##
   1888 ## confdefs.h. ##
   1889 ## ----------- ##
   1890 _ASBOX
   1891       echo
   1892       cat confdefs.h
   1893       echo
   1894     fi
   1895     test "$ac_signal" != 0 &&
   1896       $as_echo "$as_me: caught signal $ac_signal"
   1897     $as_echo "$as_me: exit $exit_status"
   1898   } >&5
   1899   rm -f core *.core core.conftest.* &&
   1900     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1901     exit $exit_status
   1902 ' 0
   1903 for ac_signal in 1 2 13 15; do
   1904   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1905 done
   1906 ac_signal=0
   1907 
   1908 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1909 rm -f -r conftest* confdefs.h
   1910 
   1911 # Predefined preprocessor variables.
   1912 
   1913 cat >>confdefs.h <<_ACEOF
   1914 #define PACKAGE_NAME "$PACKAGE_NAME"
   1915 _ACEOF
   1916 
   1917 
   1918 cat >>confdefs.h <<_ACEOF
   1919 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1920 _ACEOF
   1921 
   1922 
   1923 cat >>confdefs.h <<_ACEOF
   1924 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1925 _ACEOF
   1926 
   1927 
   1928 cat >>confdefs.h <<_ACEOF
   1929 #define PACKAGE_STRING "$PACKAGE_STRING"
   1930 _ACEOF
   1931 
   1932 
   1933 cat >>confdefs.h <<_ACEOF
   1934 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1935 _ACEOF
   1936 
   1937 
   1938 # Let the site file select an alternate cache file if it wants to.
   1939 # Prefer an explicitly selected file to automatically selected ones.
   1940 ac_site_file1=NONE
   1941 ac_site_file2=NONE
   1942 if test -n "$CONFIG_SITE"; then
   1943   ac_site_file1=$CONFIG_SITE
   1944 elif test "x$prefix" != xNONE; then
   1945   ac_site_file1=$prefix/share/config.site
   1946   ac_site_file2=$prefix/etc/config.site
   1947 else
   1948   ac_site_file1=$ac_default_prefix/share/config.site
   1949   ac_site_file2=$ac_default_prefix/etc/config.site
   1950 fi
   1951 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1952 do
   1953   test "x$ac_site_file" = xNONE && continue
   1954   if test -r "$ac_site_file"; then
   1955     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1956 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1957     sed 's/^/| /' "$ac_site_file" >&5
   1958     . "$ac_site_file"
   1959   fi
   1960 done
   1961 
   1962 if test -r "$cache_file"; then
   1963   # Some versions of bash will fail to source /dev/null (special
   1964   # files actually), so we avoid doing that.
   1965   if test -f "$cache_file"; then
   1966     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1967 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1968     case $cache_file in
   1969       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1970       *)                      . "./$cache_file";;
   1971     esac
   1972   fi
   1973 else
   1974   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1975 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1976   >$cache_file
   1977 fi
   1978 
   1979 # Check that the precious variables saved in the cache have kept the same
   1980 # value.
   1981 ac_cache_corrupted=false
   1982 for ac_var in $ac_precious_vars; do
   1983   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1984   eval ac_new_set=\$ac_env_${ac_var}_set
   1985   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1986   eval ac_new_val=\$ac_env_${ac_var}_value
   1987   case $ac_old_set,$ac_new_set in
   1988     set,)
   1989       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1990 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1991       ac_cache_corrupted=: ;;
   1992     ,set)
   1993       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1994 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1995       ac_cache_corrupted=: ;;
   1996     ,);;
   1997     *)
   1998       if test "x$ac_old_val" != "x$ac_new_val"; then
   1999 	# differences in whitespace do not lead to failure.
   2000 	ac_old_val_w=`echo x $ac_old_val`
   2001 	ac_new_val_w=`echo x $ac_new_val`
   2002 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2003 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2004 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2005 	  ac_cache_corrupted=:
   2006 	else
   2007 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2008 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2009 	  eval $ac_var=\$ac_old_val
   2010 	fi
   2011 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2012 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2013 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2014 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2015       fi;;
   2016   esac
   2017   # Pass precious variables to config.status.
   2018   if test "$ac_new_set" = set; then
   2019     case $ac_new_val in
   2020     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2021     *) ac_arg=$ac_var=$ac_new_val ;;
   2022     esac
   2023     case " $ac_configure_args " in
   2024       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2025       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2026     esac
   2027   fi
   2028 done
   2029 if $ac_cache_corrupted; then
   2030   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2032   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2033 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2034   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2035 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2036    { (exit 1); exit 1; }; }
   2037 fi
   2038 
   2039 
   2040 
   2041 
   2042 
   2043 
   2044 
   2045 
   2046 
   2047 
   2048 
   2049 
   2050 
   2051 
   2052 
   2053 
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 ac_ext=c
   2064 ac_cpp='$CPP $CPPFLAGS'
   2065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2068 
   2069 
   2070 
   2071 # Require xorg-macros version 1.2 or newer for XORG_CWARNFLAGS and
   2072 # XORG_CHANGELOG macros
   2073 
   2074 
   2075 	XORG_MACROS_needed_version=1.2.1
   2076 	XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
   2077 	XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2078 	{ $as_echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
   2079 $as_echo_n "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... " >&6; }
   2080 	XORG_MACROS_version=1.2.1
   2081 	XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
   2082 	XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
   2083 	if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
   2084 		{ { $as_echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
   2085 $as_echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
   2086    { (exit 1); exit 1; }; }
   2087 	fi
   2088 	if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
   2089 		{ { $as_echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5
   2090 $as_echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;}
   2091    { (exit 1); exit 1; }; }
   2092 	fi
   2093 	{ $as_echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
   2094 $as_echo "yes, $XORG_MACROS_version" >&6; }
   2095 
   2096 
   2097 
   2098 ac_config_headers="$ac_config_headers config.h"
   2099 
   2100 ac_aux_dir=
   2101 for ac_dir in . "$srcdir"/.; do
   2102   if test -f "$ac_dir/install-sh"; then
   2103     ac_aux_dir=$ac_dir
   2104     ac_install_sh="$ac_aux_dir/install-sh -c"
   2105     break
   2106   elif test -f "$ac_dir/install.sh"; then
   2107     ac_aux_dir=$ac_dir
   2108     ac_install_sh="$ac_aux_dir/install.sh -c"
   2109     break
   2110   elif test -f "$ac_dir/shtool"; then
   2111     ac_aux_dir=$ac_dir
   2112     ac_install_sh="$ac_aux_dir/shtool install -c"
   2113     break
   2114   fi
   2115 done
   2116 if test -z "$ac_aux_dir"; then
   2117   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2118 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2119    { (exit 1); exit 1; }; }
   2120 fi
   2121 
   2122 # These three variables are undocumented and unsupported,
   2123 # and are intended to be withdrawn in a future Autoconf release.
   2124 # They can cause serious problems if a builder's source tree is in a directory
   2125 # whose full name contains unusual characters.
   2126 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2127 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2128 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2129 
   2130 
   2131 
   2132 am__api_version='1.10'
   2133 
   2134 # Find a good install program.  We prefer a C program (faster),
   2135 # so one script is as good as another.  But avoid the broken or
   2136 # incompatible versions:
   2137 # SysV /etc/install, /usr/sbin/install
   2138 # SunOS /usr/etc/install
   2139 # IRIX /sbin/install
   2140 # AIX /bin/install
   2141 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2142 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2143 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2144 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2145 # OS/2's system install, which has a completely different semantic
   2146 # ./install, which can be erroneously created by make from ./install.sh.
   2147 # Reject install programs that cannot install multiple files.
   2148 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2149 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2150 if test -z "$INSTALL"; then
   2151 if test "${ac_cv_path_install+set}" = set; then
   2152   $as_echo_n "(cached) " >&6
   2153 else
   2154   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2155 for as_dir in $PATH
   2156 do
   2157   IFS=$as_save_IFS
   2158   test -z "$as_dir" && as_dir=.
   2159   # Account for people who put trailing slashes in PATH elements.
   2160 case $as_dir/ in
   2161   ./ | .// | /cC/* | \
   2162   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2163   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2164   /usr/ucb/* ) ;;
   2165   *)
   2166     # OSF1 and SCO ODT 3.0 have their own names for install.
   2167     # Don't use installbsd from OSF since it installs stuff as root
   2168     # by default.
   2169     for ac_prog in ginstall scoinst install; do
   2170       for ac_exec_ext in '' $ac_executable_extensions; do
   2171 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2172 	  if test $ac_prog = install &&
   2173 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2174 	    # AIX install.  It has an incompatible calling convention.
   2175 	    :
   2176 	  elif test $ac_prog = install &&
   2177 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2178 	    # program-specific install script used by HP pwplus--don't use.
   2179 	    :
   2180 	  else
   2181 	    rm -rf conftest.one conftest.two conftest.dir
   2182 	    echo one > conftest.one
   2183 	    echo two > conftest.two
   2184 	    mkdir conftest.dir
   2185 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2186 	      test -s conftest.one && test -s conftest.two &&
   2187 	      test -s conftest.dir/conftest.one &&
   2188 	      test -s conftest.dir/conftest.two
   2189 	    then
   2190 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2191 	      break 3
   2192 	    fi
   2193 	  fi
   2194 	fi
   2195       done
   2196     done
   2197     ;;
   2198 esac
   2199 
   2200 done
   2201 IFS=$as_save_IFS
   2202 
   2203 rm -rf conftest.one conftest.two conftest.dir
   2204 
   2205 fi
   2206   if test "${ac_cv_path_install+set}" = set; then
   2207     INSTALL=$ac_cv_path_install
   2208   else
   2209     # As a last resort, use the slow shell script.  Don't cache a
   2210     # value for INSTALL within a source directory, because that will
   2211     # break other packages using the cache if that directory is
   2212     # removed, or if the value is a relative name.
   2213     INSTALL=$ac_install_sh
   2214   fi
   2215 fi
   2216 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2217 $as_echo "$INSTALL" >&6; }
   2218 
   2219 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2220 # It thinks the first close brace ends the variable substitution.
   2221 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2222 
   2223 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2224 
   2225 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2226 
   2227 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2228 $as_echo_n "checking whether build environment is sane... " >&6; }
   2229 # Just in case
   2230 sleep 1
   2231 echo timestamp > conftest.file
   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 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2286 # Use eval to expand $SHELL
   2287 if eval "$MISSING --run true"; then
   2288   am_missing_run="$MISSING --run "
   2289 else
   2290   am_missing_run=
   2291   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2292 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2293 fi
   2294 
   2295 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2296 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2297 if test -z "$MKDIR_P"; then
   2298   if test "${ac_cv_path_mkdir+set}" = set; then
   2299   $as_echo_n "(cached) " >&6
   2300 else
   2301   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2302 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2303 do
   2304   IFS=$as_save_IFS
   2305   test -z "$as_dir" && as_dir=.
   2306   for ac_prog in mkdir gmkdir; do
   2307 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2308 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2309 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2310 	     'mkdir (GNU coreutils) '* | \
   2311 	     'mkdir (coreutils) '* | \
   2312 	     'mkdir (fileutils) '4.1*)
   2313 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2314 	       break 3;;
   2315 	   esac
   2316 	 done
   2317        done
   2318 done
   2319 IFS=$as_save_IFS
   2320 
   2321 fi
   2322 
   2323   if test "${ac_cv_path_mkdir+set}" = set; then
   2324     MKDIR_P="$ac_cv_path_mkdir -p"
   2325   else
   2326     # As a last resort, use the slow shell script.  Don't cache a
   2327     # value for MKDIR_P within a source directory, because that will
   2328     # break other packages using the cache if that directory is
   2329     # removed, or if the value is a relative name.
   2330     test -d ./--version && rmdir ./--version
   2331     MKDIR_P="$ac_install_sh -d"
   2332   fi
   2333 fi
   2334 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2335 $as_echo "$MKDIR_P" >&6; }
   2336 
   2337 mkdir_p="$MKDIR_P"
   2338 case $mkdir_p in
   2339   [\\/$]* | ?:[\\/]*) ;;
   2340   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2341 esac
   2342 
   2343 for ac_prog in gawk mawk nawk awk
   2344 do
   2345   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2346 set dummy $ac_prog; ac_word=$2
   2347 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2348 $as_echo_n "checking for $ac_word... " >&6; }
   2349 if test "${ac_cv_prog_AWK+set}" = set; then
   2350   $as_echo_n "(cached) " >&6
   2351 else
   2352   if test -n "$AWK"; then
   2353   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2354 else
   2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2356 for as_dir in $PATH
   2357 do
   2358   IFS=$as_save_IFS
   2359   test -z "$as_dir" && as_dir=.
   2360   for ac_exec_ext in '' $ac_executable_extensions; do
   2361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2362     ac_cv_prog_AWK="$ac_prog"
   2363     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2364     break 2
   2365   fi
   2366 done
   2367 done
   2368 IFS=$as_save_IFS
   2369 
   2370 fi
   2371 fi
   2372 AWK=$ac_cv_prog_AWK
   2373 if test -n "$AWK"; then
   2374   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2375 $as_echo "$AWK" >&6; }
   2376 else
   2377   { $as_echo "$as_me:$LINENO: result: no" >&5
   2378 $as_echo "no" >&6; }
   2379 fi
   2380 
   2381 
   2382   test -n "$AWK" && break
   2383 done
   2384 
   2385 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2386 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2387 set x ${MAKE-make}
   2388 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2389 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2390   $as_echo_n "(cached) " >&6
   2391 else
   2392   cat >conftest.make <<\_ACEOF
   2393 SHELL = /bin/sh
   2394 all:
   2395 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2396 _ACEOF
   2397 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2398 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2399   *@@@%%%=?*=@@@%%%*)
   2400     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2401   *)
   2402     eval ac_cv_prog_make_${ac_make}_set=no;;
   2403 esac
   2404 rm -f conftest.make
   2405 fi
   2406 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2407   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2408 $as_echo "yes" >&6; }
   2409   SET_MAKE=
   2410 else
   2411   { $as_echo "$as_me:$LINENO: result: no" >&5
   2412 $as_echo "no" >&6; }
   2413   SET_MAKE="MAKE=${MAKE-make}"
   2414 fi
   2415 
   2416 rm -rf .tst 2>/dev/null
   2417 mkdir .tst 2>/dev/null
   2418 if test -d .tst; then
   2419   am__leading_dot=.
   2420 else
   2421   am__leading_dot=_
   2422 fi
   2423 rmdir .tst 2>/dev/null
   2424 
   2425 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2426   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2427   # is not polluted with repeated "-I."
   2428   am__isrc=' -I$(srcdir)'
   2429   # test to see if srcdir already configured
   2430   if test -f $srcdir/config.status; then
   2431     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2432 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2433    { (exit 1); exit 1; }; }
   2434   fi
   2435 fi
   2436 
   2437 # test whether we have cygpath
   2438 if test -z "$CYGPATH_W"; then
   2439   if (cygpath --version) >/dev/null 2>/dev/null; then
   2440     CYGPATH_W='cygpath -w'
   2441   else
   2442     CYGPATH_W=echo
   2443   fi
   2444 fi
   2445 
   2446 
   2447 # Define the identity of the package.
   2448  PACKAGE='xf86-video-siliconmotion'
   2449  VERSION='1.7.2'
   2450 
   2451 
   2452 cat >>confdefs.h <<_ACEOF
   2453 #define PACKAGE "$PACKAGE"
   2454 _ACEOF
   2455 
   2456 
   2457 cat >>confdefs.h <<_ACEOF
   2458 #define VERSION "$VERSION"
   2459 _ACEOF
   2460 
   2461 # Some tools Automake needs.
   2462 
   2463 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2464 
   2465 
   2466 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2467 
   2468 
   2469 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2470 
   2471 
   2472 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2473 
   2474 
   2475 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2476 
   2477 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2478 
   2479 # Installed binaries are usually stripped using `strip' when the user
   2480 # run `make install-strip'.  However `strip' might not be the right
   2481 # tool to use in cross-compilation environments, therefore Automake
   2482 # will honor the `STRIP' environment variable to overrule this program.
   2483 if test "$cross_compiling" != no; then
   2484   if test -n "$ac_tool_prefix"; then
   2485   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2486 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2487 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2488 $as_echo_n "checking for $ac_word... " >&6; }
   2489 if test "${ac_cv_prog_STRIP+set}" = set; then
   2490   $as_echo_n "(cached) " >&6
   2491 else
   2492   if test -n "$STRIP"; then
   2493   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2494 else
   2495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2496 for as_dir in $PATH
   2497 do
   2498   IFS=$as_save_IFS
   2499   test -z "$as_dir" && as_dir=.
   2500   for ac_exec_ext in '' $ac_executable_extensions; do
   2501   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2502     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2503     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2504     break 2
   2505   fi
   2506 done
   2507 done
   2508 IFS=$as_save_IFS
   2509 
   2510 fi
   2511 fi
   2512 STRIP=$ac_cv_prog_STRIP
   2513 if test -n "$STRIP"; then
   2514   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2515 $as_echo "$STRIP" >&6; }
   2516 else
   2517   { $as_echo "$as_me:$LINENO: result: no" >&5
   2518 $as_echo "no" >&6; }
   2519 fi
   2520 
   2521 
   2522 fi
   2523 if test -z "$ac_cv_prog_STRIP"; then
   2524   ac_ct_STRIP=$STRIP
   2525   # Extract the first word of "strip", so it can be a program name with args.
   2526 set dummy strip; ac_word=$2
   2527 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2528 $as_echo_n "checking for $ac_word... " >&6; }
   2529 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2530   $as_echo_n "(cached) " >&6
   2531 else
   2532   if test -n "$ac_ct_STRIP"; then
   2533   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2534 else
   2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2536 for as_dir in $PATH
   2537 do
   2538   IFS=$as_save_IFS
   2539   test -z "$as_dir" && as_dir=.
   2540   for ac_exec_ext in '' $ac_executable_extensions; do
   2541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2542     ac_cv_prog_ac_ct_STRIP="strip"
   2543     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2544     break 2
   2545   fi
   2546 done
   2547 done
   2548 IFS=$as_save_IFS
   2549 
   2550 fi
   2551 fi
   2552 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2553 if test -n "$ac_ct_STRIP"; then
   2554   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2555 $as_echo "$ac_ct_STRIP" >&6; }
   2556 else
   2557   { $as_echo "$as_me:$LINENO: result: no" >&5
   2558 $as_echo "no" >&6; }
   2559 fi
   2560 
   2561   if test "x$ac_ct_STRIP" = x; then
   2562     STRIP=":"
   2563   else
   2564     case $cross_compiling:$ac_tool_warned in
   2565 yes:)
   2566 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2568 ac_tool_warned=yes ;;
   2569 esac
   2570     STRIP=$ac_ct_STRIP
   2571   fi
   2572 else
   2573   STRIP="$ac_cv_prog_STRIP"
   2574 fi
   2575 
   2576 fi
   2577 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2578 
   2579 # We need awk for the "check" target.  The system "awk" is bad on
   2580 # some platforms.
   2581 # Always define AMTAR for backward compatibility.
   2582 
   2583 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2584 
   2585 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2586 
   2587 
   2588 
   2589 
   2590 
   2591 
   2592 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2593 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2594     # Check whether --enable-maintainer-mode was given.
   2595 if test "${enable_maintainer_mode+set}" = set; then
   2596   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2597 else
   2598   USE_MAINTAINER_MODE=no
   2599 fi
   2600 
   2601   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2602 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2603    if test $USE_MAINTAINER_MODE = yes; then
   2604   MAINTAINER_MODE_TRUE=
   2605   MAINTAINER_MODE_FALSE='#'
   2606 else
   2607   MAINTAINER_MODE_TRUE='#'
   2608   MAINTAINER_MODE_FALSE=
   2609 fi
   2610 
   2611   MAINT=$MAINTAINER_MODE_TRUE
   2612 
   2613 
   2614 
   2615 # Checks for programs.
   2616 # Check whether --enable-static was given.
   2617 if test "${enable_static+set}" = set; then
   2618   enableval=$enable_static; p=${PACKAGE-default}
   2619     case $enableval in
   2620     yes) enable_static=yes ;;
   2621     no) enable_static=no ;;
   2622     *)
   2623      enable_static=no
   2624       # Look at the argument we got.  We use all the common list separators.
   2625       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2626       for pkg in $enableval; do
   2627 	IFS="$lt_save_ifs"
   2628 	if test "X$pkg" = "X$p"; then
   2629 	  enable_static=yes
   2630 	fi
   2631       done
   2632       IFS="$lt_save_ifs"
   2633       ;;
   2634     esac
   2635 else
   2636   enable_static=no
   2637 fi
   2638 
   2639 
   2640 
   2641 
   2642 
   2643 
   2644 
   2645 
   2646 
   2647 case `pwd` in
   2648   *\ * | *\	*)
   2649     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2650 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2651 esac
   2652 
   2653 
   2654 
   2655 macro_version='2.2.6'
   2656 macro_revision='1.3012'
   2657 
   2658 
   2659 
   2660 
   2661 
   2662 
   2663 
   2664 
   2665 
   2666 
   2667 
   2668 
   2669 
   2670 ltmain="$ac_aux_dir/ltmain.sh"
   2671 
   2672 # Make sure we can run config.sub.
   2673 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2674   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2675 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2676    { (exit 1); exit 1; }; }
   2677 
   2678 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2679 $as_echo_n "checking build system type... " >&6; }
   2680 if test "${ac_cv_build+set}" = set; then
   2681   $as_echo_n "(cached) " >&6
   2682 else
   2683   ac_build_alias=$build_alias
   2684 test "x$ac_build_alias" = x &&
   2685   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2686 test "x$ac_build_alias" = x &&
   2687   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2688 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2689    { (exit 1); exit 1; }; }
   2690 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2691   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2692 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2693    { (exit 1); exit 1; }; }
   2694 
   2695 fi
   2696 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2697 $as_echo "$ac_cv_build" >&6; }
   2698 case $ac_cv_build in
   2699 *-*-*) ;;
   2700 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2701 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2702    { (exit 1); exit 1; }; };;
   2703 esac
   2704 build=$ac_cv_build
   2705 ac_save_IFS=$IFS; IFS='-'
   2706 set x $ac_cv_build
   2707 shift
   2708 build_cpu=$1
   2709 build_vendor=$2
   2710 shift; shift
   2711 # Remember, the first character of IFS is used to create $*,
   2712 # except with old shells:
   2713 build_os=$*
   2714 IFS=$ac_save_IFS
   2715 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2716 
   2717 
   2718 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2719 $as_echo_n "checking host system type... " >&6; }
   2720 if test "${ac_cv_host+set}" = set; then
   2721   $as_echo_n "(cached) " >&6
   2722 else
   2723   if test "x$host_alias" = x; then
   2724   ac_cv_host=$ac_cv_build
   2725 else
   2726   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2727     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2728 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2729    { (exit 1); exit 1; }; }
   2730 fi
   2731 
   2732 fi
   2733 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2734 $as_echo "$ac_cv_host" >&6; }
   2735 case $ac_cv_host in
   2736 *-*-*) ;;
   2737 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2738 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2739    { (exit 1); exit 1; }; };;
   2740 esac
   2741 host=$ac_cv_host
   2742 ac_save_IFS=$IFS; IFS='-'
   2743 set x $ac_cv_host
   2744 shift
   2745 host_cpu=$1
   2746 host_vendor=$2
   2747 shift; shift
   2748 # Remember, the first character of IFS is used to create $*,
   2749 # except with old shells:
   2750 host_os=$*
   2751 IFS=$ac_save_IFS
   2752 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2753 
   2754 
   2755 DEPDIR="${am__leading_dot}deps"
   2756 
   2757 ac_config_commands="$ac_config_commands depfiles"
   2758 
   2759 
   2760 am_make=${MAKE-make}
   2761 cat > confinc << 'END'
   2762 am__doit:
   2763 	@echo done
   2764 .PHONY: am__doit
   2765 END
   2766 # If we don't find an include directive, just comment out the code.
   2767 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2768 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2769 am__include="#"
   2770 am__quote=
   2771 _am_result=none
   2772 # First try GNU make style include.
   2773 echo "include confinc" > confmf
   2774 # We grep out `Entering directory' and `Leaving directory'
   2775 # messages which can occur if `w' ends up in MAKEFLAGS.
   2776 # In particular we don't look at `^make:' because GNU make might
   2777 # be invoked under some other name (usually "gmake"), in which
   2778 # case it prints its new name instead of `make'.
   2779 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2780    am__include=include
   2781    am__quote=
   2782    _am_result=GNU
   2783 fi
   2784 # Now try BSD make style include.
   2785 if test "$am__include" = "#"; then
   2786    echo '.include "confinc"' > confmf
   2787    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2788       am__include=.include
   2789       am__quote="\""
   2790       _am_result=BSD
   2791    fi
   2792 fi
   2793 
   2794 
   2795 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2796 $as_echo "$_am_result" >&6; }
   2797 rm -f confinc confmf
   2798 
   2799 # Check whether --enable-dependency-tracking was given.
   2800 if test "${enable_dependency_tracking+set}" = set; then
   2801   enableval=$enable_dependency_tracking;
   2802 fi
   2803 
   2804 if test "x$enable_dependency_tracking" != xno; then
   2805   am_depcomp="$ac_aux_dir/depcomp"
   2806   AMDEPBACKSLASH='\'
   2807 fi
   2808  if test "x$enable_dependency_tracking" != xno; then
   2809   AMDEP_TRUE=
   2810   AMDEP_FALSE='#'
   2811 else
   2812   AMDEP_TRUE='#'
   2813   AMDEP_FALSE=
   2814 fi
   2815 
   2816 
   2817 ac_ext=c
   2818 ac_cpp='$CPP $CPPFLAGS'
   2819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2822 if test -n "$ac_tool_prefix"; then
   2823   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2824 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2825 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2826 $as_echo_n "checking for $ac_word... " >&6; }
   2827 if test "${ac_cv_prog_CC+set}" = set; then
   2828   $as_echo_n "(cached) " >&6
   2829 else
   2830   if test -n "$CC"; then
   2831   ac_cv_prog_CC="$CC" # Let the user override the test.
   2832 else
   2833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2834 for as_dir in $PATH
   2835 do
   2836   IFS=$as_save_IFS
   2837   test -z "$as_dir" && as_dir=.
   2838   for ac_exec_ext in '' $ac_executable_extensions; do
   2839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2840     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2841     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2842     break 2
   2843   fi
   2844 done
   2845 done
   2846 IFS=$as_save_IFS
   2847 
   2848 fi
   2849 fi
   2850 CC=$ac_cv_prog_CC
   2851 if test -n "$CC"; then
   2852   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2853 $as_echo "$CC" >&6; }
   2854 else
   2855   { $as_echo "$as_me:$LINENO: result: no" >&5
   2856 $as_echo "no" >&6; }
   2857 fi
   2858 
   2859 
   2860 fi
   2861 if test -z "$ac_cv_prog_CC"; then
   2862   ac_ct_CC=$CC
   2863   # Extract the first word of "gcc", so it can be a program name with args.
   2864 set dummy gcc; ac_word=$2
   2865 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2866 $as_echo_n "checking for $ac_word... " >&6; }
   2867 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2868   $as_echo_n "(cached) " >&6
   2869 else
   2870   if test -n "$ac_ct_CC"; then
   2871   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2872 else
   2873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2874 for as_dir in $PATH
   2875 do
   2876   IFS=$as_save_IFS
   2877   test -z "$as_dir" && as_dir=.
   2878   for ac_exec_ext in '' $ac_executable_extensions; do
   2879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2880     ac_cv_prog_ac_ct_CC="gcc"
   2881     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2882     break 2
   2883   fi
   2884 done
   2885 done
   2886 IFS=$as_save_IFS
   2887 
   2888 fi
   2889 fi
   2890 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2891 if test -n "$ac_ct_CC"; then
   2892   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2893 $as_echo "$ac_ct_CC" >&6; }
   2894 else
   2895   { $as_echo "$as_me:$LINENO: result: no" >&5
   2896 $as_echo "no" >&6; }
   2897 fi
   2898 
   2899   if test "x$ac_ct_CC" = x; then
   2900     CC=""
   2901   else
   2902     case $cross_compiling:$ac_tool_warned in
   2903 yes:)
   2904 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2906 ac_tool_warned=yes ;;
   2907 esac
   2908     CC=$ac_ct_CC
   2909   fi
   2910 else
   2911   CC="$ac_cv_prog_CC"
   2912 fi
   2913 
   2914 if test -z "$CC"; then
   2915           if test -n "$ac_tool_prefix"; then
   2916     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2917 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2918 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2919 $as_echo_n "checking for $ac_word... " >&6; }
   2920 if test "${ac_cv_prog_CC+set}" = set; then
   2921   $as_echo_n "(cached) " >&6
   2922 else
   2923   if test -n "$CC"; then
   2924   ac_cv_prog_CC="$CC" # Let the user override the test.
   2925 else
   2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2927 for as_dir in $PATH
   2928 do
   2929   IFS=$as_save_IFS
   2930   test -z "$as_dir" && as_dir=.
   2931   for ac_exec_ext in '' $ac_executable_extensions; do
   2932   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2933     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2934     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2935     break 2
   2936   fi
   2937 done
   2938 done
   2939 IFS=$as_save_IFS
   2940 
   2941 fi
   2942 fi
   2943 CC=$ac_cv_prog_CC
   2944 if test -n "$CC"; then
   2945   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2946 $as_echo "$CC" >&6; }
   2947 else
   2948   { $as_echo "$as_me:$LINENO: result: no" >&5
   2949 $as_echo "no" >&6; }
   2950 fi
   2951 
   2952 
   2953   fi
   2954 fi
   2955 if test -z "$CC"; then
   2956   # Extract the first word of "cc", so it can be a program name with args.
   2957 set dummy cc; ac_word=$2
   2958 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2959 $as_echo_n "checking for $ac_word... " >&6; }
   2960 if test "${ac_cv_prog_CC+set}" = set; then
   2961   $as_echo_n "(cached) " >&6
   2962 else
   2963   if test -n "$CC"; then
   2964   ac_cv_prog_CC="$CC" # Let the user override the test.
   2965 else
   2966   ac_prog_rejected=no
   2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2968 for as_dir in $PATH
   2969 do
   2970   IFS=$as_save_IFS
   2971   test -z "$as_dir" && as_dir=.
   2972   for ac_exec_ext in '' $ac_executable_extensions; do
   2973   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2974     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2975        ac_prog_rejected=yes
   2976        continue
   2977      fi
   2978     ac_cv_prog_CC="cc"
   2979     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2980     break 2
   2981   fi
   2982 done
   2983 done
   2984 IFS=$as_save_IFS
   2985 
   2986 if test $ac_prog_rejected = yes; then
   2987   # We found a bogon in the path, so make sure we never use it.
   2988   set dummy $ac_cv_prog_CC
   2989   shift
   2990   if test $# != 0; then
   2991     # We chose a different compiler from the bogus one.
   2992     # However, it has the same basename, so the bogon will be chosen
   2993     # first if we set CC to just the basename; use the full file name.
   2994     shift
   2995     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2996   fi
   2997 fi
   2998 fi
   2999 fi
   3000 CC=$ac_cv_prog_CC
   3001 if test -n "$CC"; then
   3002   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3003 $as_echo "$CC" >&6; }
   3004 else
   3005   { $as_echo "$as_me:$LINENO: result: no" >&5
   3006 $as_echo "no" >&6; }
   3007 fi
   3008 
   3009 
   3010 fi
   3011 if test -z "$CC"; then
   3012   if test -n "$ac_tool_prefix"; then
   3013   for ac_prog in cl.exe
   3014   do
   3015     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3016 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3017 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3018 $as_echo_n "checking for $ac_word... " >&6; }
   3019 if test "${ac_cv_prog_CC+set}" = set; then
   3020   $as_echo_n "(cached) " >&6
   3021 else
   3022   if test -n "$CC"; then
   3023   ac_cv_prog_CC="$CC" # Let the user override the test.
   3024 else
   3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3026 for as_dir in $PATH
   3027 do
   3028   IFS=$as_save_IFS
   3029   test -z "$as_dir" && as_dir=.
   3030   for ac_exec_ext in '' $ac_executable_extensions; do
   3031   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3032     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3033     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3034     break 2
   3035   fi
   3036 done
   3037 done
   3038 IFS=$as_save_IFS
   3039 
   3040 fi
   3041 fi
   3042 CC=$ac_cv_prog_CC
   3043 if test -n "$CC"; then
   3044   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3045 $as_echo "$CC" >&6; }
   3046 else
   3047   { $as_echo "$as_me:$LINENO: result: no" >&5
   3048 $as_echo "no" >&6; }
   3049 fi
   3050 
   3051 
   3052     test -n "$CC" && break
   3053   done
   3054 fi
   3055 if test -z "$CC"; then
   3056   ac_ct_CC=$CC
   3057   for ac_prog in cl.exe
   3058 do
   3059   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3060 set dummy $ac_prog; ac_word=$2
   3061 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3062 $as_echo_n "checking for $ac_word... " >&6; }
   3063 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3064   $as_echo_n "(cached) " >&6
   3065 else
   3066   if test -n "$ac_ct_CC"; then
   3067   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3068 else
   3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3070 for as_dir in $PATH
   3071 do
   3072   IFS=$as_save_IFS
   3073   test -z "$as_dir" && as_dir=.
   3074   for ac_exec_ext in '' $ac_executable_extensions; do
   3075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3076     ac_cv_prog_ac_ct_CC="$ac_prog"
   3077     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3078     break 2
   3079   fi
   3080 done
   3081 done
   3082 IFS=$as_save_IFS
   3083 
   3084 fi
   3085 fi
   3086 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3087 if test -n "$ac_ct_CC"; then
   3088   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3089 $as_echo "$ac_ct_CC" >&6; }
   3090 else
   3091   { $as_echo "$as_me:$LINENO: result: no" >&5
   3092 $as_echo "no" >&6; }
   3093 fi
   3094 
   3095 
   3096   test -n "$ac_ct_CC" && break
   3097 done
   3098 
   3099   if test "x$ac_ct_CC" = x; then
   3100     CC=""
   3101   else
   3102     case $cross_compiling:$ac_tool_warned in
   3103 yes:)
   3104 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3106 ac_tool_warned=yes ;;
   3107 esac
   3108     CC=$ac_ct_CC
   3109   fi
   3110 fi
   3111 
   3112 fi
   3113 
   3114 
   3115 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3117 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3118 See \`config.log' for more details." >&5
   3119 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3120 See \`config.log' for more details." >&2;}
   3121    { (exit 1); exit 1; }; }; }
   3122 
   3123 # Provide some information about the compiler.
   3124 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3125 set X $ac_compile
   3126 ac_compiler=$2
   3127 { (ac_try="$ac_compiler --version >&5"
   3128 case "(($ac_try" in
   3129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3130   *) ac_try_echo=$ac_try;;
   3131 esac
   3132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3133 $as_echo "$ac_try_echo") >&5
   3134   (eval "$ac_compiler --version >&5") 2>&5
   3135   ac_status=$?
   3136   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3137   (exit $ac_status); }
   3138 { (ac_try="$ac_compiler -v >&5"
   3139 case "(($ac_try" in
   3140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3141   *) ac_try_echo=$ac_try;;
   3142 esac
   3143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3144 $as_echo "$ac_try_echo") >&5
   3145   (eval "$ac_compiler -v >&5") 2>&5
   3146   ac_status=$?
   3147   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3148   (exit $ac_status); }
   3149 { (ac_try="$ac_compiler -V >&5"
   3150 case "(($ac_try" in
   3151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3152   *) ac_try_echo=$ac_try;;
   3153 esac
   3154 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3155 $as_echo "$ac_try_echo") >&5
   3156   (eval "$ac_compiler -V >&5") 2>&5
   3157   ac_status=$?
   3158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3159   (exit $ac_status); }
   3160 
   3161 cat >conftest.$ac_ext <<_ACEOF
   3162 /* confdefs.h.  */
   3163 _ACEOF
   3164 cat confdefs.h >>conftest.$ac_ext
   3165 cat >>conftest.$ac_ext <<_ACEOF
   3166 /* end confdefs.h.  */
   3167 
   3168 int
   3169 main ()
   3170 {
   3171 
   3172   ;
   3173   return 0;
   3174 }
   3175 _ACEOF
   3176 ac_clean_files_save=$ac_clean_files
   3177 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3178 # Try to create an executable without -o first, disregard a.out.
   3179 # It will help us diagnose broken compilers, and finding out an intuition
   3180 # of exeext.
   3181 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3182 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3183 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3184 
   3185 # The possible output files:
   3186 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3187 
   3188 ac_rmfiles=
   3189 for ac_file in $ac_files
   3190 do
   3191   case $ac_file in
   3192     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3193     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3194   esac
   3195 done
   3196 rm -f $ac_rmfiles
   3197 
   3198 if { (ac_try="$ac_link_default"
   3199 case "(($ac_try" in
   3200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3201   *) ac_try_echo=$ac_try;;
   3202 esac
   3203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3204 $as_echo "$ac_try_echo") >&5
   3205   (eval "$ac_link_default") 2>&5
   3206   ac_status=$?
   3207   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3208   (exit $ac_status); }; then
   3209   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3210 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3211 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3212 # so that the user can short-circuit this test for compilers unknown to
   3213 # Autoconf.
   3214 for ac_file in $ac_files ''
   3215 do
   3216   test -f "$ac_file" || continue
   3217   case $ac_file in
   3218     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3219 	;;
   3220     [ab].out )
   3221 	# We found the default executable, but exeext='' is most
   3222 	# certainly right.
   3223 	break;;
   3224     *.* )
   3225         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3226 	then :; else
   3227 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3228 	fi
   3229 	# We set ac_cv_exeext here because the later test for it is not
   3230 	# safe: cross compilers may not add the suffix if given an `-o'
   3231 	# argument, so we may need to know it at that point already.
   3232 	# Even if this section looks crufty: it has the advantage of
   3233 	# actually working.
   3234 	break;;
   3235     * )
   3236 	break;;
   3237   esac
   3238 done
   3239 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3240 
   3241 else
   3242   ac_file=''
   3243 fi
   3244 
   3245 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3246 $as_echo "$ac_file" >&6; }
   3247 if test -z "$ac_file"; then
   3248   $as_echo "$as_me: failed program was:" >&5
   3249 sed 's/^/| /' conftest.$ac_ext >&5
   3250 
   3251 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3253 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3254 See \`config.log' for more details." >&5
   3255 $as_echo "$as_me: error: C compiler cannot create executables
   3256 See \`config.log' for more details." >&2;}
   3257    { (exit 77); exit 77; }; }; }
   3258 fi
   3259 
   3260 ac_exeext=$ac_cv_exeext
   3261 
   3262 # Check that the compiler produces executables we can run.  If not, either
   3263 # the compiler is broken, or we cross compile.
   3264 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3265 $as_echo_n "checking whether the C compiler works... " >&6; }
   3266 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3267 # If not cross compiling, check that we can run a simple program.
   3268 if test "$cross_compiling" != yes; then
   3269   if { ac_try='./$ac_file'
   3270   { (case "(($ac_try" in
   3271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3272   *) ac_try_echo=$ac_try;;
   3273 esac
   3274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3275 $as_echo "$ac_try_echo") >&5
   3276   (eval "$ac_try") 2>&5
   3277   ac_status=$?
   3278   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3279   (exit $ac_status); }; }; then
   3280     cross_compiling=no
   3281   else
   3282     if test "$cross_compiling" = maybe; then
   3283 	cross_compiling=yes
   3284     else
   3285 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3287 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3288 If you meant to cross compile, use \`--host'.
   3289 See \`config.log' for more details." >&5
   3290 $as_echo "$as_me: error: cannot run C compiled programs.
   3291 If you meant to cross compile, use \`--host'.
   3292 See \`config.log' for more details." >&2;}
   3293    { (exit 1); exit 1; }; }; }
   3294     fi
   3295   fi
   3296 fi
   3297 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3298 $as_echo "yes" >&6; }
   3299 
   3300 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3301 ac_clean_files=$ac_clean_files_save
   3302 # Check that the compiler produces executables we can run.  If not, either
   3303 # the compiler is broken, or we cross compile.
   3304 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3305 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3306 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3307 $as_echo "$cross_compiling" >&6; }
   3308 
   3309 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3310 $as_echo_n "checking for suffix of executables... " >&6; }
   3311 if { (ac_try="$ac_link"
   3312 case "(($ac_try" in
   3313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3314   *) ac_try_echo=$ac_try;;
   3315 esac
   3316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3317 $as_echo "$ac_try_echo") >&5
   3318   (eval "$ac_link") 2>&5
   3319   ac_status=$?
   3320   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3321   (exit $ac_status); }; then
   3322   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3323 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3324 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3325 # `rm'.
   3326 for ac_file in conftest.exe conftest conftest.*; do
   3327   test -f "$ac_file" || continue
   3328   case $ac_file in
   3329     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3330     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3331 	  break;;
   3332     * ) break;;
   3333   esac
   3334 done
   3335 else
   3336   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3338 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3339 See \`config.log' for more details." >&5
   3340 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3341 See \`config.log' for more details." >&2;}
   3342    { (exit 1); exit 1; }; }; }
   3343 fi
   3344 
   3345 rm -f conftest$ac_cv_exeext
   3346 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3347 $as_echo "$ac_cv_exeext" >&6; }
   3348 
   3349 rm -f conftest.$ac_ext
   3350 EXEEXT=$ac_cv_exeext
   3351 ac_exeext=$EXEEXT
   3352 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3353 $as_echo_n "checking for suffix of object files... " >&6; }
   3354 if test "${ac_cv_objext+set}" = set; then
   3355   $as_echo_n "(cached) " >&6
   3356 else
   3357   cat >conftest.$ac_ext <<_ACEOF
   3358 /* confdefs.h.  */
   3359 _ACEOF
   3360 cat confdefs.h >>conftest.$ac_ext
   3361 cat >>conftest.$ac_ext <<_ACEOF
   3362 /* end confdefs.h.  */
   3363 
   3364 int
   3365 main ()
   3366 {
   3367 
   3368   ;
   3369   return 0;
   3370 }
   3371 _ACEOF
   3372 rm -f conftest.o conftest.obj
   3373 if { (ac_try="$ac_compile"
   3374 case "(($ac_try" in
   3375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3376   *) ac_try_echo=$ac_try;;
   3377 esac
   3378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3379 $as_echo "$ac_try_echo") >&5
   3380   (eval "$ac_compile") 2>&5
   3381   ac_status=$?
   3382   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3383   (exit $ac_status); }; then
   3384   for ac_file in conftest.o conftest.obj conftest.*; do
   3385   test -f "$ac_file" || continue;
   3386   case $ac_file in
   3387     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3388     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3389        break;;
   3390   esac
   3391 done
   3392 else
   3393   $as_echo "$as_me: failed program was:" >&5
   3394 sed 's/^/| /' conftest.$ac_ext >&5
   3395 
   3396 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3398 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3399 See \`config.log' for more details." >&5
   3400 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3401 See \`config.log' for more details." >&2;}
   3402    { (exit 1); exit 1; }; }; }
   3403 fi
   3404 
   3405 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3406 fi
   3407 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3408 $as_echo "$ac_cv_objext" >&6; }
   3409 OBJEXT=$ac_cv_objext
   3410 ac_objext=$OBJEXT
   3411 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3412 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3413 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3414   $as_echo_n "(cached) " >&6
   3415 else
   3416   cat >conftest.$ac_ext <<_ACEOF
   3417 /* confdefs.h.  */
   3418 _ACEOF
   3419 cat confdefs.h >>conftest.$ac_ext
   3420 cat >>conftest.$ac_ext <<_ACEOF
   3421 /* end confdefs.h.  */
   3422 
   3423 int
   3424 main ()
   3425 {
   3426 #ifndef __GNUC__
   3427        choke me
   3428 #endif
   3429 
   3430   ;
   3431   return 0;
   3432 }
   3433 _ACEOF
   3434 rm -f conftest.$ac_objext
   3435 if { (ac_try="$ac_compile"
   3436 case "(($ac_try" in
   3437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3438   *) ac_try_echo=$ac_try;;
   3439 esac
   3440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3441 $as_echo "$ac_try_echo") >&5
   3442   (eval "$ac_compile") 2>conftest.er1
   3443   ac_status=$?
   3444   grep -v '^ *+' conftest.er1 >conftest.err
   3445   rm -f conftest.er1
   3446   cat conftest.err >&5
   3447   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3448   (exit $ac_status); } && {
   3449 	 test -z "$ac_c_werror_flag" ||
   3450 	 test ! -s conftest.err
   3451        } && test -s conftest.$ac_objext; then
   3452   ac_compiler_gnu=yes
   3453 else
   3454   $as_echo "$as_me: failed program was:" >&5
   3455 sed 's/^/| /' conftest.$ac_ext >&5
   3456 
   3457 	ac_compiler_gnu=no
   3458 fi
   3459 
   3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3461 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3462 
   3463 fi
   3464 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3465 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3466 if test $ac_compiler_gnu = yes; then
   3467   GCC=yes
   3468 else
   3469   GCC=
   3470 fi
   3471 ac_test_CFLAGS=${CFLAGS+set}
   3472 ac_save_CFLAGS=$CFLAGS
   3473 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3474 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3475 if test "${ac_cv_prog_cc_g+set}" = set; then
   3476   $as_echo_n "(cached) " >&6
   3477 else
   3478   ac_save_c_werror_flag=$ac_c_werror_flag
   3479    ac_c_werror_flag=yes
   3480    ac_cv_prog_cc_g=no
   3481    CFLAGS="-g"
   3482    cat >conftest.$ac_ext <<_ACEOF
   3483 /* confdefs.h.  */
   3484 _ACEOF
   3485 cat confdefs.h >>conftest.$ac_ext
   3486 cat >>conftest.$ac_ext <<_ACEOF
   3487 /* end confdefs.h.  */
   3488 
   3489 int
   3490 main ()
   3491 {
   3492 
   3493   ;
   3494   return 0;
   3495 }
   3496 _ACEOF
   3497 rm -f conftest.$ac_objext
   3498 if { (ac_try="$ac_compile"
   3499 case "(($ac_try" in
   3500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3501   *) ac_try_echo=$ac_try;;
   3502 esac
   3503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3504 $as_echo "$ac_try_echo") >&5
   3505   (eval "$ac_compile") 2>conftest.er1
   3506   ac_status=$?
   3507   grep -v '^ *+' conftest.er1 >conftest.err
   3508   rm -f conftest.er1
   3509   cat conftest.err >&5
   3510   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3511   (exit $ac_status); } && {
   3512 	 test -z "$ac_c_werror_flag" ||
   3513 	 test ! -s conftest.err
   3514        } && test -s conftest.$ac_objext; then
   3515   ac_cv_prog_cc_g=yes
   3516 else
   3517   $as_echo "$as_me: failed program was:" >&5
   3518 sed 's/^/| /' conftest.$ac_ext >&5
   3519 
   3520 	CFLAGS=""
   3521       cat >conftest.$ac_ext <<_ACEOF
   3522 /* confdefs.h.  */
   3523 _ACEOF
   3524 cat confdefs.h >>conftest.$ac_ext
   3525 cat >>conftest.$ac_ext <<_ACEOF
   3526 /* end confdefs.h.  */
   3527 
   3528 int
   3529 main ()
   3530 {
   3531 
   3532   ;
   3533   return 0;
   3534 }
   3535 _ACEOF
   3536 rm -f conftest.$ac_objext
   3537 if { (ac_try="$ac_compile"
   3538 case "(($ac_try" in
   3539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3540   *) ac_try_echo=$ac_try;;
   3541 esac
   3542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3543 $as_echo "$ac_try_echo") >&5
   3544   (eval "$ac_compile") 2>conftest.er1
   3545   ac_status=$?
   3546   grep -v '^ *+' conftest.er1 >conftest.err
   3547   rm -f conftest.er1
   3548   cat conftest.err >&5
   3549   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3550   (exit $ac_status); } && {
   3551 	 test -z "$ac_c_werror_flag" ||
   3552 	 test ! -s conftest.err
   3553        } && test -s conftest.$ac_objext; then
   3554   :
   3555 else
   3556   $as_echo "$as_me: failed program was:" >&5
   3557 sed 's/^/| /' conftest.$ac_ext >&5
   3558 
   3559 	ac_c_werror_flag=$ac_save_c_werror_flag
   3560 	 CFLAGS="-g"
   3561 	 cat >conftest.$ac_ext <<_ACEOF
   3562 /* confdefs.h.  */
   3563 _ACEOF
   3564 cat confdefs.h >>conftest.$ac_ext
   3565 cat >>conftest.$ac_ext <<_ACEOF
   3566 /* end confdefs.h.  */
   3567 
   3568 int
   3569 main ()
   3570 {
   3571 
   3572   ;
   3573   return 0;
   3574 }
   3575 _ACEOF
   3576 rm -f conftest.$ac_objext
   3577 if { (ac_try="$ac_compile"
   3578 case "(($ac_try" in
   3579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3580   *) ac_try_echo=$ac_try;;
   3581 esac
   3582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3583 $as_echo "$ac_try_echo") >&5
   3584   (eval "$ac_compile") 2>conftest.er1
   3585   ac_status=$?
   3586   grep -v '^ *+' conftest.er1 >conftest.err
   3587   rm -f conftest.er1
   3588   cat conftest.err >&5
   3589   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3590   (exit $ac_status); } && {
   3591 	 test -z "$ac_c_werror_flag" ||
   3592 	 test ! -s conftest.err
   3593        } && test -s conftest.$ac_objext; then
   3594   ac_cv_prog_cc_g=yes
   3595 else
   3596   $as_echo "$as_me: failed program was:" >&5
   3597 sed 's/^/| /' conftest.$ac_ext >&5
   3598 
   3599 
   3600 fi
   3601 
   3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3603 fi
   3604 
   3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3606 fi
   3607 
   3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3609    ac_c_werror_flag=$ac_save_c_werror_flag
   3610 fi
   3611 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3612 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3613 if test "$ac_test_CFLAGS" = set; then
   3614   CFLAGS=$ac_save_CFLAGS
   3615 elif test $ac_cv_prog_cc_g = yes; then
   3616   if test "$GCC" = yes; then
   3617     CFLAGS="-g -O2"
   3618   else
   3619     CFLAGS="-g"
   3620   fi
   3621 else
   3622   if test "$GCC" = yes; then
   3623     CFLAGS="-O2"
   3624   else
   3625     CFLAGS=
   3626   fi
   3627 fi
   3628 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3629 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3630 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3631   $as_echo_n "(cached) " >&6
   3632 else
   3633   ac_cv_prog_cc_c89=no
   3634 ac_save_CC=$CC
   3635 cat >conftest.$ac_ext <<_ACEOF
   3636 /* confdefs.h.  */
   3637 _ACEOF
   3638 cat confdefs.h >>conftest.$ac_ext
   3639 cat >>conftest.$ac_ext <<_ACEOF
   3640 /* end confdefs.h.  */
   3641 #include <stdarg.h>
   3642 #include <stdio.h>
   3643 #include <sys/types.h>
   3644 #include <sys/stat.h>
   3645 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3646 struct buf { int x; };
   3647 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3648 static char *e (p, i)
   3649      char **p;
   3650      int i;
   3651 {
   3652   return p[i];
   3653 }
   3654 static char *f (char * (*g) (char **, int), char **p, ...)
   3655 {
   3656   char *s;
   3657   va_list v;
   3658   va_start (v,p);
   3659   s = g (p, va_arg (v,int));
   3660   va_end (v);
   3661   return s;
   3662 }
   3663 
   3664 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3665    function prototypes and stuff, but not '\xHH' hex character constants.
   3666    These don't provoke an error unfortunately, instead are silently treated
   3667    as 'x'.  The following induces an error, until -std is added to get
   3668    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3669    array size at least.  It's necessary to write '\x00'==0 to get something
   3670    that's true only with -std.  */
   3671 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3672 
   3673 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3674    inside strings and character constants.  */
   3675 #define FOO(x) 'x'
   3676 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3677 
   3678 int test (int i, double x);
   3679 struct s1 {int (*f) (int a);};
   3680 struct s2 {int (*f) (double a);};
   3681 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3682 int argc;
   3683 char **argv;
   3684 int
   3685 main ()
   3686 {
   3687 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3688   ;
   3689   return 0;
   3690 }
   3691 _ACEOF
   3692 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3693 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3694 do
   3695   CC="$ac_save_CC $ac_arg"
   3696   rm -f conftest.$ac_objext
   3697 if { (ac_try="$ac_compile"
   3698 case "(($ac_try" in
   3699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3700   *) ac_try_echo=$ac_try;;
   3701 esac
   3702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3703 $as_echo "$ac_try_echo") >&5
   3704   (eval "$ac_compile") 2>conftest.er1
   3705   ac_status=$?
   3706   grep -v '^ *+' conftest.er1 >conftest.err
   3707   rm -f conftest.er1
   3708   cat conftest.err >&5
   3709   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3710   (exit $ac_status); } && {
   3711 	 test -z "$ac_c_werror_flag" ||
   3712 	 test ! -s conftest.err
   3713        } && test -s conftest.$ac_objext; then
   3714   ac_cv_prog_cc_c89=$ac_arg
   3715 else
   3716   $as_echo "$as_me: failed program was:" >&5
   3717 sed 's/^/| /' conftest.$ac_ext >&5
   3718 
   3719 
   3720 fi
   3721 
   3722 rm -f core conftest.err conftest.$ac_objext
   3723   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3724 done
   3725 rm -f conftest.$ac_ext
   3726 CC=$ac_save_CC
   3727 
   3728 fi
   3729 # AC_CACHE_VAL
   3730 case "x$ac_cv_prog_cc_c89" in
   3731   x)
   3732     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3733 $as_echo "none needed" >&6; } ;;
   3734   xno)
   3735     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3736 $as_echo "unsupported" >&6; } ;;
   3737   *)
   3738     CC="$CC $ac_cv_prog_cc_c89"
   3739     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3740 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3741 esac
   3742 
   3743 
   3744 ac_ext=c
   3745 ac_cpp='$CPP $CPPFLAGS'
   3746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3749 
   3750 depcc="$CC"   am_compiler_list=
   3751 
   3752 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3753 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3754 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3755   $as_echo_n "(cached) " >&6
   3756 else
   3757   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3758   # We make a subdir and do the tests there.  Otherwise we can end up
   3759   # making bogus files that we don't know about and never remove.  For
   3760   # instance it was reported that on HP-UX the gcc test will end up
   3761   # making a dummy file named `D' -- because `-MD' means `put the output
   3762   # in D'.
   3763   mkdir conftest.dir
   3764   # Copy depcomp to subdir because otherwise we won't find it if we're
   3765   # using a relative directory.
   3766   cp "$am_depcomp" conftest.dir
   3767   cd conftest.dir
   3768   # We will build objects and dependencies in a subdirectory because
   3769   # it helps to detect inapplicable dependency modes.  For instance
   3770   # both Tru64's cc and ICC support -MD to output dependencies as a
   3771   # side effect of compilation, but ICC will put the dependencies in
   3772   # the current directory while Tru64 will put them in the object
   3773   # directory.
   3774   mkdir sub
   3775 
   3776   am_cv_CC_dependencies_compiler_type=none
   3777   if test "$am_compiler_list" = ""; then
   3778      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3779   fi
   3780   for depmode in $am_compiler_list; do
   3781     # Setup a source with many dependencies, because some compilers
   3782     # like to wrap large dependency lists on column 80 (with \), and
   3783     # we should not choose a depcomp mode which is confused by this.
   3784     #
   3785     # We need to recreate these files for each test, as the compiler may
   3786     # overwrite some of them when testing with obscure command lines.
   3787     # This happens at least with the AIX C compiler.
   3788     : > sub/conftest.c
   3789     for i in 1 2 3 4 5 6; do
   3790       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3791       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3792       # Solaris 8's {/usr,}/bin/sh.
   3793       touch sub/conftst$i.h
   3794     done
   3795     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3796 
   3797     case $depmode in
   3798     nosideeffect)
   3799       # after this tag, mechanisms are not by side-effect, so they'll
   3800       # only be used when explicitly requested
   3801       if test "x$enable_dependency_tracking" = xyes; then
   3802 	continue
   3803       else
   3804 	break
   3805       fi
   3806       ;;
   3807     none) break ;;
   3808     esac
   3809     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3810     # mode.  It turns out that the SunPro C++ compiler does not properly
   3811     # handle `-M -o', and we need to detect this.
   3812     if depmode=$depmode \
   3813        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3814        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3815        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3816          >/dev/null 2>conftest.err &&
   3817        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3818        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3819        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3820        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3821       # icc doesn't choke on unknown options, it will just issue warnings
   3822       # or remarks (even with -Werror).  So we grep stderr for any message
   3823       # that says an option was ignored or not supported.
   3824       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3825       #   icc: Command line warning: ignoring option '-M'; no argument required
   3826       # The diagnosis changed in icc 8.0:
   3827       #   icc: Command line remark: option '-MP' not supported
   3828       if (grep 'ignoring option' conftest.err ||
   3829           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3830         am_cv_CC_dependencies_compiler_type=$depmode
   3831         break
   3832       fi
   3833     fi
   3834   done
   3835 
   3836   cd ..
   3837   rm -rf conftest.dir
   3838 else
   3839   am_cv_CC_dependencies_compiler_type=none
   3840 fi
   3841 
   3842 fi
   3843 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3844 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3845 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3846 
   3847  if
   3848   test "x$enable_dependency_tracking" != xno \
   3849   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3850   am__fastdepCC_TRUE=
   3851   am__fastdepCC_FALSE='#'
   3852 else
   3853   am__fastdepCC_TRUE='#'
   3854   am__fastdepCC_FALSE=
   3855 fi
   3856 
   3857 
   3858 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3859 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3860 if test "${ac_cv_path_SED+set}" = set; then
   3861   $as_echo_n "(cached) " >&6
   3862 else
   3863             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3864      for ac_i in 1 2 3 4 5 6 7; do
   3865        ac_script="$ac_script$as_nl$ac_script"
   3866      done
   3867      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3868      $as_unset ac_script || ac_script=
   3869      if test -z "$SED"; then
   3870   ac_path_SED_found=false
   3871   # Loop through the user's path and test for each of PROGNAME-LIST
   3872   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3873 for as_dir in $PATH
   3874 do
   3875   IFS=$as_save_IFS
   3876   test -z "$as_dir" && as_dir=.
   3877   for ac_prog in sed gsed; do
   3878     for ac_exec_ext in '' $ac_executable_extensions; do
   3879       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3880       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3881 # Check for GNU ac_path_SED and select it if it is found.
   3882   # Check for GNU $ac_path_SED
   3883 case `"$ac_path_SED" --version 2>&1` in
   3884 *GNU*)
   3885   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3886 *)
   3887   ac_count=0
   3888   $as_echo_n 0123456789 >"conftest.in"
   3889   while :
   3890   do
   3891     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3892     mv "conftest.tmp" "conftest.in"
   3893     cp "conftest.in" "conftest.nl"
   3894     $as_echo '' >> "conftest.nl"
   3895     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3896     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3897     ac_count=`expr $ac_count + 1`
   3898     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3899       # Best one so far, save it but keep looking for a better one
   3900       ac_cv_path_SED="$ac_path_SED"
   3901       ac_path_SED_max=$ac_count
   3902     fi
   3903     # 10*(2^10) chars as input seems more than enough
   3904     test $ac_count -gt 10 && break
   3905   done
   3906   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3907 esac
   3908 
   3909       $ac_path_SED_found && break 3
   3910     done
   3911   done
   3912 done
   3913 IFS=$as_save_IFS
   3914   if test -z "$ac_cv_path_SED"; then
   3915     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   3916 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   3917    { (exit 1); exit 1; }; }
   3918   fi
   3919 else
   3920   ac_cv_path_SED=$SED
   3921 fi
   3922 
   3923 fi
   3924 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   3925 $as_echo "$ac_cv_path_SED" >&6; }
   3926  SED="$ac_cv_path_SED"
   3927   rm -f conftest.sed
   3928 
   3929 test -z "$SED" && SED=sed
   3930 Xsed="$SED -e 1s/^X//"
   3931 
   3932 
   3933 
   3934 
   3935 
   3936 
   3937 
   3938 
   3939 
   3940 
   3941 
   3942 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3943 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3944 if test "${ac_cv_path_GREP+set}" = set; then
   3945   $as_echo_n "(cached) " >&6
   3946 else
   3947   if test -z "$GREP"; then
   3948   ac_path_GREP_found=false
   3949   # Loop through the user's path and test for each of PROGNAME-LIST
   3950   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3951 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3952 do
   3953   IFS=$as_save_IFS
   3954   test -z "$as_dir" && as_dir=.
   3955   for ac_prog in grep ggrep; do
   3956     for ac_exec_ext in '' $ac_executable_extensions; do
   3957       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3958       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3959 # Check for GNU ac_path_GREP and select it if it is found.
   3960   # Check for GNU $ac_path_GREP
   3961 case `"$ac_path_GREP" --version 2>&1` in
   3962 *GNU*)
   3963   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3964 *)
   3965   ac_count=0
   3966   $as_echo_n 0123456789 >"conftest.in"
   3967   while :
   3968   do
   3969     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3970     mv "conftest.tmp" "conftest.in"
   3971     cp "conftest.in" "conftest.nl"
   3972     $as_echo 'GREP' >> "conftest.nl"
   3973     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3974     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3975     ac_count=`expr $ac_count + 1`
   3976     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3977       # Best one so far, save it but keep looking for a better one
   3978       ac_cv_path_GREP="$ac_path_GREP"
   3979       ac_path_GREP_max=$ac_count
   3980     fi
   3981     # 10*(2^10) chars as input seems more than enough
   3982     test $ac_count -gt 10 && break
   3983   done
   3984   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3985 esac
   3986 
   3987       $ac_path_GREP_found && break 3
   3988     done
   3989   done
   3990 done
   3991 IFS=$as_save_IFS
   3992   if test -z "$ac_cv_path_GREP"; then
   3993     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3994 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3995    { (exit 1); exit 1; }; }
   3996   fi
   3997 else
   3998   ac_cv_path_GREP=$GREP
   3999 fi
   4000 
   4001 fi
   4002 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4003 $as_echo "$ac_cv_path_GREP" >&6; }
   4004  GREP="$ac_cv_path_GREP"
   4005 
   4006 
   4007 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4008 $as_echo_n "checking for egrep... " >&6; }
   4009 if test "${ac_cv_path_EGREP+set}" = set; then
   4010   $as_echo_n "(cached) " >&6
   4011 else
   4012   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4013    then ac_cv_path_EGREP="$GREP -E"
   4014    else
   4015      if test -z "$EGREP"; then
   4016   ac_path_EGREP_found=false
   4017   # Loop through the user's path and test for each of PROGNAME-LIST
   4018   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4019 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4020 do
   4021   IFS=$as_save_IFS
   4022   test -z "$as_dir" && as_dir=.
   4023   for ac_prog in egrep; do
   4024     for ac_exec_ext in '' $ac_executable_extensions; do
   4025       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4026       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4027 # Check for GNU ac_path_EGREP and select it if it is found.
   4028   # Check for GNU $ac_path_EGREP
   4029 case `"$ac_path_EGREP" --version 2>&1` in
   4030 *GNU*)
   4031   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4032 *)
   4033   ac_count=0
   4034   $as_echo_n 0123456789 >"conftest.in"
   4035   while :
   4036   do
   4037     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4038     mv "conftest.tmp" "conftest.in"
   4039     cp "conftest.in" "conftest.nl"
   4040     $as_echo 'EGREP' >> "conftest.nl"
   4041     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4042     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4043     ac_count=`expr $ac_count + 1`
   4044     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4045       # Best one so far, save it but keep looking for a better one
   4046       ac_cv_path_EGREP="$ac_path_EGREP"
   4047       ac_path_EGREP_max=$ac_count
   4048     fi
   4049     # 10*(2^10) chars as input seems more than enough
   4050     test $ac_count -gt 10 && break
   4051   done
   4052   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4053 esac
   4054 
   4055       $ac_path_EGREP_found && break 3
   4056     done
   4057   done
   4058 done
   4059 IFS=$as_save_IFS
   4060   if test -z "$ac_cv_path_EGREP"; then
   4061     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4062 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4063    { (exit 1); exit 1; }; }
   4064   fi
   4065 else
   4066   ac_cv_path_EGREP=$EGREP
   4067 fi
   4068 
   4069    fi
   4070 fi
   4071 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4072 $as_echo "$ac_cv_path_EGREP" >&6; }
   4073  EGREP="$ac_cv_path_EGREP"
   4074 
   4075 
   4076 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   4077 $as_echo_n "checking for fgrep... " >&6; }
   4078 if test "${ac_cv_path_FGREP+set}" = set; then
   4079   $as_echo_n "(cached) " >&6
   4080 else
   4081   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4082    then ac_cv_path_FGREP="$GREP -F"
   4083    else
   4084      if test -z "$FGREP"; then
   4085   ac_path_FGREP_found=false
   4086   # Loop through the user's path and test for each of PROGNAME-LIST
   4087   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4088 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4089 do
   4090   IFS=$as_save_IFS
   4091   test -z "$as_dir" && as_dir=.
   4092   for ac_prog in fgrep; do
   4093     for ac_exec_ext in '' $ac_executable_extensions; do
   4094       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4095       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4096 # Check for GNU ac_path_FGREP and select it if it is found.
   4097   # Check for GNU $ac_path_FGREP
   4098 case `"$ac_path_FGREP" --version 2>&1` in
   4099 *GNU*)
   4100   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4101 *)
   4102   ac_count=0
   4103   $as_echo_n 0123456789 >"conftest.in"
   4104   while :
   4105   do
   4106     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4107     mv "conftest.tmp" "conftest.in"
   4108     cp "conftest.in" "conftest.nl"
   4109     $as_echo 'FGREP' >> "conftest.nl"
   4110     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4111     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4112     ac_count=`expr $ac_count + 1`
   4113     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4114       # Best one so far, save it but keep looking for a better one
   4115       ac_cv_path_FGREP="$ac_path_FGREP"
   4116       ac_path_FGREP_max=$ac_count
   4117     fi
   4118     # 10*(2^10) chars as input seems more than enough
   4119     test $ac_count -gt 10 && break
   4120   done
   4121   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4122 esac
   4123 
   4124       $ac_path_FGREP_found && break 3
   4125     done
   4126   done
   4127 done
   4128 IFS=$as_save_IFS
   4129   if test -z "$ac_cv_path_FGREP"; then
   4130     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4131 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4132    { (exit 1); exit 1; }; }
   4133   fi
   4134 else
   4135   ac_cv_path_FGREP=$FGREP
   4136 fi
   4137 
   4138    fi
   4139 fi
   4140 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   4141 $as_echo "$ac_cv_path_FGREP" >&6; }
   4142  FGREP="$ac_cv_path_FGREP"
   4143 
   4144 
   4145 test -z "$GREP" && GREP=grep
   4146 
   4147 
   4148 
   4149 
   4150 
   4151 
   4152 
   4153 
   4154 
   4155 
   4156 
   4157 
   4158 
   4159 
   4160 
   4161 
   4162 
   4163 
   4164 
   4165 # Check whether --with-gnu-ld was given.
   4166 if test "${with_gnu_ld+set}" = set; then
   4167   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4168 else
   4169   with_gnu_ld=no
   4170 fi
   4171 
   4172 ac_prog=ld
   4173 if test "$GCC" = yes; then
   4174   # Check if gcc -print-prog-name=ld gives a path.
   4175   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4176 $as_echo_n "checking for ld used by $CC... " >&6; }
   4177   case $host in
   4178   *-*-mingw*)
   4179     # gcc leaves a trailing carriage return which upsets mingw
   4180     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4181   *)
   4182     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4183   esac
   4184   case $ac_prog in
   4185     # Accept absolute paths.
   4186     [\\/]* | ?:[\\/]*)
   4187       re_direlt='/[^/][^/]*/\.\./'
   4188       # Canonicalize the pathname of ld
   4189       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4190       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4191 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4192       done
   4193       test -z "$LD" && LD="$ac_prog"
   4194       ;;
   4195   "")
   4196     # If it fails, then pretend we aren't using GCC.
   4197     ac_prog=ld
   4198     ;;
   4199   *)
   4200     # If it is relative, then search for the first ld in PATH.
   4201     with_gnu_ld=unknown
   4202     ;;
   4203   esac
   4204 elif test "$with_gnu_ld" = yes; then
   4205   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4206 $as_echo_n "checking for GNU ld... " >&6; }
   4207 else
   4208   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4209 $as_echo_n "checking for non-GNU ld... " >&6; }
   4210 fi
   4211 if test "${lt_cv_path_LD+set}" = set; then
   4212   $as_echo_n "(cached) " >&6
   4213 else
   4214   if test -z "$LD"; then
   4215   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4216   for ac_dir in $PATH; do
   4217     IFS="$lt_save_ifs"
   4218     test -z "$ac_dir" && ac_dir=.
   4219     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4220       lt_cv_path_LD="$ac_dir/$ac_prog"
   4221       # Check to see if the program is GNU ld.  I'd rather use --version,
   4222       # but apparently some variants of GNU ld only accept -v.
   4223       # Break only if it was the GNU/non-GNU ld that we prefer.
   4224       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4225       *GNU* | *'with BFD'*)
   4226 	test "$with_gnu_ld" != no && break
   4227 	;;
   4228       *)
   4229 	test "$with_gnu_ld" != yes && break
   4230 	;;
   4231       esac
   4232     fi
   4233   done
   4234   IFS="$lt_save_ifs"
   4235 else
   4236   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4237 fi
   4238 fi
   4239 
   4240 LD="$lt_cv_path_LD"
   4241 if test -n "$LD"; then
   4242   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4243 $as_echo "$LD" >&6; }
   4244 else
   4245   { $as_echo "$as_me:$LINENO: result: no" >&5
   4246 $as_echo "no" >&6; }
   4247 fi
   4248 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4249 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4250    { (exit 1); exit 1; }; }
   4251 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4252 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4253 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4254   $as_echo_n "(cached) " >&6
   4255 else
   4256   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4257 case `$LD -v 2>&1 </dev/null` in
   4258 *GNU* | *'with BFD'*)
   4259   lt_cv_prog_gnu_ld=yes
   4260   ;;
   4261 *)
   4262   lt_cv_prog_gnu_ld=no
   4263   ;;
   4264 esac
   4265 fi
   4266 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4267 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4268 with_gnu_ld=$lt_cv_prog_gnu_ld
   4269 
   4270 
   4271 
   4272 
   4273 
   4274 
   4275 
   4276 
   4277 
   4278 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   4279 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4280 if test "${lt_cv_path_NM+set}" = set; then
   4281   $as_echo_n "(cached) " >&6
   4282 else
   4283   if test -n "$NM"; then
   4284   # Let the user override the test.
   4285   lt_cv_path_NM="$NM"
   4286 else
   4287   lt_nm_to_check="${ac_tool_prefix}nm"
   4288   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4289     lt_nm_to_check="$lt_nm_to_check nm"
   4290   fi
   4291   for lt_tmp_nm in $lt_nm_to_check; do
   4292     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4293     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4294       IFS="$lt_save_ifs"
   4295       test -z "$ac_dir" && ac_dir=.
   4296       tmp_nm="$ac_dir/$lt_tmp_nm"
   4297       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4298 	# Check to see if the nm accepts a BSD-compat flag.
   4299 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4300 	#   nm: unknown option "B" ignored
   4301 	# Tru64's nm complains that /dev/null is an invalid object file
   4302 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4303 	*/dev/null* | *'Invalid file or object type'*)
   4304 	  lt_cv_path_NM="$tmp_nm -B"
   4305 	  break
   4306 	  ;;
   4307 	*)
   4308 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4309 	  */dev/null*)
   4310 	    lt_cv_path_NM="$tmp_nm -p"
   4311 	    break
   4312 	    ;;
   4313 	  *)
   4314 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4315 	    continue # so that we can try to find one that supports BSD flags
   4316 	    ;;
   4317 	  esac
   4318 	  ;;
   4319 	esac
   4320       fi
   4321     done
   4322     IFS="$lt_save_ifs"
   4323   done
   4324   : ${lt_cv_path_NM=no}
   4325 fi
   4326 fi
   4327 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4328 $as_echo "$lt_cv_path_NM" >&6; }
   4329 if test "$lt_cv_path_NM" != "no"; then
   4330   NM="$lt_cv_path_NM"
   4331 else
   4332   # Didn't find any BSD compatible name lister, look for dumpbin.
   4333   if test -n "$ac_tool_prefix"; then
   4334   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4335   do
   4336     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4337 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4338 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4339 $as_echo_n "checking for $ac_word... " >&6; }
   4340 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   4341   $as_echo_n "(cached) " >&6
   4342 else
   4343   if test -n "$DUMPBIN"; then
   4344   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4345 else
   4346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4347 for as_dir in $PATH
   4348 do
   4349   IFS=$as_save_IFS
   4350   test -z "$as_dir" && as_dir=.
   4351   for ac_exec_ext in '' $ac_executable_extensions; do
   4352   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4353     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4354     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4355     break 2
   4356   fi
   4357 done
   4358 done
   4359 IFS=$as_save_IFS
   4360 
   4361 fi
   4362 fi
   4363 DUMPBIN=$ac_cv_prog_DUMPBIN
   4364 if test -n "$DUMPBIN"; then
   4365   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   4366 $as_echo "$DUMPBIN" >&6; }
   4367 else
   4368   { $as_echo "$as_me:$LINENO: result: no" >&5
   4369 $as_echo "no" >&6; }
   4370 fi
   4371 
   4372 
   4373     test -n "$DUMPBIN" && break
   4374   done
   4375 fi
   4376 if test -z "$DUMPBIN"; then
   4377   ac_ct_DUMPBIN=$DUMPBIN
   4378   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4379 do
   4380   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4381 set dummy $ac_prog; ac_word=$2
   4382 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4383 $as_echo_n "checking for $ac_word... " >&6; }
   4384 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   4385   $as_echo_n "(cached) " >&6
   4386 else
   4387   if test -n "$ac_ct_DUMPBIN"; then
   4388   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4389 else
   4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4391 for as_dir in $PATH
   4392 do
   4393   IFS=$as_save_IFS
   4394   test -z "$as_dir" && as_dir=.
   4395   for ac_exec_ext in '' $ac_executable_extensions; do
   4396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4397     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4398     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4399     break 2
   4400   fi
   4401 done
   4402 done
   4403 IFS=$as_save_IFS
   4404 
   4405 fi
   4406 fi
   4407 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4408 if test -n "$ac_ct_DUMPBIN"; then
   4409   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   4410 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4411 else
   4412   { $as_echo "$as_me:$LINENO: result: no" >&5
   4413 $as_echo "no" >&6; }
   4414 fi
   4415 
   4416 
   4417   test -n "$ac_ct_DUMPBIN" && break
   4418 done
   4419 
   4420   if test "x$ac_ct_DUMPBIN" = x; then
   4421     DUMPBIN=":"
   4422   else
   4423     case $cross_compiling:$ac_tool_warned in
   4424 yes:)
   4425 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4427 ac_tool_warned=yes ;;
   4428 esac
   4429     DUMPBIN=$ac_ct_DUMPBIN
   4430   fi
   4431 fi
   4432 
   4433 
   4434   if test "$DUMPBIN" != ":"; then
   4435     NM="$DUMPBIN"
   4436   fi
   4437 fi
   4438 test -z "$NM" && NM=nm
   4439 
   4440 
   4441 
   4442 
   4443 
   4444 
   4445 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   4446 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4447 if test "${lt_cv_nm_interface+set}" = set; then
   4448   $as_echo_n "(cached) " >&6
   4449 else
   4450   lt_cv_nm_interface="BSD nm"
   4451   echo "int some_variable = 0;" > conftest.$ac_ext
   4452   (eval echo "\"\$as_me:4452: $ac_compile\"" >&5)
   4453   (eval "$ac_compile" 2>conftest.err)
   4454   cat conftest.err >&5
   4455   (eval echo "\"\$as_me:4455: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4456   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4457   cat conftest.err >&5
   4458   (eval echo "\"\$as_me:4458: output\"" >&5)
   4459   cat conftest.out >&5
   4460   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4461     lt_cv_nm_interface="MS dumpbin"
   4462   fi
   4463   rm -f conftest*
   4464 fi
   4465 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   4466 $as_echo "$lt_cv_nm_interface" >&6; }
   4467 
   4468 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4469 $as_echo_n "checking whether ln -s works... " >&6; }
   4470 LN_S=$as_ln_s
   4471 if test "$LN_S" = "ln -s"; then
   4472   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4473 $as_echo "yes" >&6; }
   4474 else
   4475   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4476 $as_echo "no, using $LN_S" >&6; }
   4477 fi
   4478 
   4479 # find the maximum length of command line arguments
   4480 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   4481 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4482 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   4483   $as_echo_n "(cached) " >&6
   4484 else
   4485     i=0
   4486   teststring="ABCD"
   4487 
   4488   case $build_os in
   4489   msdosdjgpp*)
   4490     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4491     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4492     # during glob expansion).  Even if it were fixed, the result of this
   4493     # check would be larger than it should be.
   4494     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4495     ;;
   4496 
   4497   gnu*)
   4498     # Under GNU Hurd, this test is not required because there is
   4499     # no limit to the length of command line arguments.
   4500     # Libtool will interpret -1 as no limit whatsoever
   4501     lt_cv_sys_max_cmd_len=-1;
   4502     ;;
   4503 
   4504   cygwin* | mingw* | cegcc*)
   4505     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4506     # about 5 minutes as the teststring grows exponentially.
   4507     # Worse, since 9x/ME are not pre-emptively multitasking,
   4508     # you end up with a "frozen" computer, even though with patience
   4509     # the test eventually succeeds (with a max line length of 256k).
   4510     # Instead, let's just punt: use the minimum linelength reported by
   4511     # all of the supported platforms: 8192 (on NT/2K/XP).
   4512     lt_cv_sys_max_cmd_len=8192;
   4513     ;;
   4514 
   4515   amigaos*)
   4516     # On AmigaOS with pdksh, this test takes hours, literally.
   4517     # So we just punt and use a minimum line length of 8192.
   4518     lt_cv_sys_max_cmd_len=8192;
   4519     ;;
   4520 
   4521   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4522     # This has been around since 386BSD, at least.  Likely further.
   4523     if test -x /sbin/sysctl; then
   4524       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4525     elif test -x /usr/sbin/sysctl; then
   4526       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4527     else
   4528       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4529     fi
   4530     # And add a safety zone
   4531     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4532     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4533     ;;
   4534 
   4535   interix*)
   4536     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4537     lt_cv_sys_max_cmd_len=196608
   4538     ;;
   4539 
   4540   osf*)
   4541     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4542     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4543     # nice to cause kernel panics so lets avoid the loop below.
   4544     # First set a reasonable default.
   4545     lt_cv_sys_max_cmd_len=16384
   4546     #
   4547     if test -x /sbin/sysconfig; then
   4548       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4549         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4550       esac
   4551     fi
   4552     ;;
   4553   sco3.2v5*)
   4554     lt_cv_sys_max_cmd_len=102400
   4555     ;;
   4556   sysv5* | sco5v6* | sysv4.2uw2*)
   4557     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4558     if test -n "$kargmax"; then
   4559       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4560     else
   4561       lt_cv_sys_max_cmd_len=32768
   4562     fi
   4563     ;;
   4564   *)
   4565     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4566     if test -n "$lt_cv_sys_max_cmd_len"; then
   4567       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4568       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4569     else
   4570       # Make teststring a little bigger before we do anything with it.
   4571       # a 1K string should be a reasonable start.
   4572       for i in 1 2 3 4 5 6 7 8 ; do
   4573         teststring=$teststring$teststring
   4574       done
   4575       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4576       # If test is not a shell built-in, we'll probably end up computing a
   4577       # maximum length that is only half of the actual maximum length, but
   4578       # we can't tell.
   4579       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   4580 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   4581 	      test $i != 17 # 1/2 MB should be enough
   4582       do
   4583         i=`expr $i + 1`
   4584         teststring=$teststring$teststring
   4585       done
   4586       # Only check the string length outside the loop.
   4587       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4588       teststring=
   4589       # Add a significant safety factor because C++ compilers can tack on
   4590       # massive amounts of additional arguments before passing them to the
   4591       # linker.  It appears as though 1/2 is a usable value.
   4592       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4593     fi
   4594     ;;
   4595   esac
   4596 
   4597 fi
   4598 
   4599 if test -n $lt_cv_sys_max_cmd_len ; then
   4600   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   4601 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4602 else
   4603   { $as_echo "$as_me:$LINENO: result: none" >&5
   4604 $as_echo "none" >&6; }
   4605 fi
   4606 max_cmd_len=$lt_cv_sys_max_cmd_len
   4607 
   4608 
   4609 
   4610 
   4611 
   4612 
   4613 : ${CP="cp -f"}
   4614 : ${MV="mv -f"}
   4615 : ${RM="rm -f"}
   4616 
   4617 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   4618 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4619 # Try some XSI features
   4620 xsi_shell=no
   4621 ( _lt_dummy="a/b/c"
   4622   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   4623       = c,a/b,, \
   4624     && eval 'test $(( 1 + 1 )) -eq 2 \
   4625     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4626   && xsi_shell=yes
   4627 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   4628 $as_echo "$xsi_shell" >&6; }
   4629 
   4630 
   4631 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   4632 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4633 lt_shell_append=no
   4634 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4635     >/dev/null 2>&1 \
   4636   && lt_shell_append=yes
   4637 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   4638 $as_echo "$lt_shell_append" >&6; }
   4639 
   4640 
   4641 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4642   lt_unset=unset
   4643 else
   4644   lt_unset=false
   4645 fi
   4646 
   4647 
   4648 
   4649 
   4650 
   4651 # test EBCDIC or ASCII
   4652 case `echo X|tr X '\101'` in
   4653  A) # ASCII based system
   4654     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4655   lt_SP2NL='tr \040 \012'
   4656   lt_NL2SP='tr \015\012 \040\040'
   4657   ;;
   4658  *) # EBCDIC based system
   4659   lt_SP2NL='tr \100 \n'
   4660   lt_NL2SP='tr \r\n \100\100'
   4661   ;;
   4662 esac
   4663 
   4664 
   4665 
   4666 
   4667 
   4668 
   4669 
   4670 
   4671 
   4672 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4673 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4674 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4675   $as_echo_n "(cached) " >&6
   4676 else
   4677   lt_cv_ld_reload_flag='-r'
   4678 fi
   4679 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4680 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4681 reload_flag=$lt_cv_ld_reload_flag
   4682 case $reload_flag in
   4683 "" | " "*) ;;
   4684 *) reload_flag=" $reload_flag" ;;
   4685 esac
   4686 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4687 case $host_os in
   4688   darwin*)
   4689     if test "$GCC" = yes; then
   4690       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4691     else
   4692       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4693     fi
   4694     ;;
   4695 esac
   4696 
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 if test -n "$ac_tool_prefix"; then
   4706   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4707 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4708 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4709 $as_echo_n "checking for $ac_word... " >&6; }
   4710 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   4711   $as_echo_n "(cached) " >&6
   4712 else
   4713   if test -n "$OBJDUMP"; then
   4714   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4715 else
   4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4717 for as_dir in $PATH
   4718 do
   4719   IFS=$as_save_IFS
   4720   test -z "$as_dir" && as_dir=.
   4721   for ac_exec_ext in '' $ac_executable_extensions; do
   4722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4723     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4724     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4725     break 2
   4726   fi
   4727 done
   4728 done
   4729 IFS=$as_save_IFS
   4730 
   4731 fi
   4732 fi
   4733 OBJDUMP=$ac_cv_prog_OBJDUMP
   4734 if test -n "$OBJDUMP"; then
   4735   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   4736 $as_echo "$OBJDUMP" >&6; }
   4737 else
   4738   { $as_echo "$as_me:$LINENO: result: no" >&5
   4739 $as_echo "no" >&6; }
   4740 fi
   4741 
   4742 
   4743 fi
   4744 if test -z "$ac_cv_prog_OBJDUMP"; then
   4745   ac_ct_OBJDUMP=$OBJDUMP
   4746   # Extract the first word of "objdump", so it can be a program name with args.
   4747 set dummy objdump; ac_word=$2
   4748 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4749 $as_echo_n "checking for $ac_word... " >&6; }
   4750 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   4751   $as_echo_n "(cached) " >&6
   4752 else
   4753   if test -n "$ac_ct_OBJDUMP"; then
   4754   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4755 else
   4756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4757 for as_dir in $PATH
   4758 do
   4759   IFS=$as_save_IFS
   4760   test -z "$as_dir" && as_dir=.
   4761   for ac_exec_ext in '' $ac_executable_extensions; do
   4762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4763     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4764     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4765     break 2
   4766   fi
   4767 done
   4768 done
   4769 IFS=$as_save_IFS
   4770 
   4771 fi
   4772 fi
   4773 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4774 if test -n "$ac_ct_OBJDUMP"; then
   4775   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   4776 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4777 else
   4778   { $as_echo "$as_me:$LINENO: result: no" >&5
   4779 $as_echo "no" >&6; }
   4780 fi
   4781 
   4782   if test "x$ac_ct_OBJDUMP" = x; then
   4783     OBJDUMP="false"
   4784   else
   4785     case $cross_compiling:$ac_tool_warned in
   4786 yes:)
   4787 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4789 ac_tool_warned=yes ;;
   4790 esac
   4791     OBJDUMP=$ac_ct_OBJDUMP
   4792   fi
   4793 else
   4794   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4795 fi
   4796 
   4797 test -z "$OBJDUMP" && OBJDUMP=objdump
   4798 
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4808 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4809 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4810   $as_echo_n "(cached) " >&6
   4811 else
   4812   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4813 lt_cv_file_magic_test_file=
   4814 lt_cv_deplibs_check_method='unknown'
   4815 # Need to set the preceding variable on all platforms that support
   4816 # interlibrary dependencies.
   4817 # 'none' -- dependencies not supported.
   4818 # `unknown' -- same as none, but documents that we really don't know.
   4819 # 'pass_all' -- all dependencies passed with no checks.
   4820 # 'test_compile' -- check by making test program.
   4821 # 'file_magic [[regex]]' -- check by looking for files in library path
   4822 # which responds to the $file_magic_cmd with a given extended regex.
   4823 # If you have `file' or equivalent on your system and you're not sure
   4824 # whether `pass_all' will *always* work, you probably want this one.
   4825 
   4826 case $host_os in
   4827 aix[4-9]*)
   4828   lt_cv_deplibs_check_method=pass_all
   4829   ;;
   4830 
   4831 beos*)
   4832   lt_cv_deplibs_check_method=pass_all
   4833   ;;
   4834 
   4835 bsdi[45]*)
   4836   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4837   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4838   lt_cv_file_magic_test_file=/shlib/libc.so
   4839   ;;
   4840 
   4841 cygwin*)
   4842   # func_win32_libid is a shell function defined in ltmain.sh
   4843   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4844   lt_cv_file_magic_cmd='func_win32_libid'
   4845   ;;
   4846 
   4847 mingw* | pw32*)
   4848   # Base MSYS/MinGW do not provide the 'file' command needed by
   4849   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4850   # unless we find 'file', for example because we are cross-compiling.
   4851   if ( file / ) >/dev/null 2>&1; then
   4852     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4853     lt_cv_file_magic_cmd='func_win32_libid'
   4854   else
   4855     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4856     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4857   fi
   4858   ;;
   4859 
   4860 cegcc)
   4861   # use the weaker test based on 'objdump'. See mingw*.
   4862   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4863   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4864   ;;
   4865 
   4866 darwin* | rhapsody*)
   4867   lt_cv_deplibs_check_method=pass_all
   4868   ;;
   4869 
   4870 freebsd* | dragonfly*)
   4871   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4872     case $host_cpu in
   4873     i*86 )
   4874       # Not sure whether the presence of OpenBSD here was a mistake.
   4875       # Let's accept both of them until this is cleared up.
   4876       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4877       lt_cv_file_magic_cmd=/usr/bin/file
   4878       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4879       ;;
   4880     esac
   4881   else
   4882     lt_cv_deplibs_check_method=pass_all
   4883   fi
   4884   ;;
   4885 
   4886 gnu*)
   4887   lt_cv_deplibs_check_method=pass_all
   4888   ;;
   4889 
   4890 hpux10.20* | hpux11*)
   4891   lt_cv_file_magic_cmd=/usr/bin/file
   4892   case $host_cpu in
   4893   ia64*)
   4894     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4895     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4896     ;;
   4897   hppa*64*)
   4898     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]'
   4899     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4900     ;;
   4901   *)
   4902     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4903     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4904     ;;
   4905   esac
   4906   ;;
   4907 
   4908 interix[3-9]*)
   4909   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4910   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4911   ;;
   4912 
   4913 irix5* | irix6* | nonstopux*)
   4914   case $LD in
   4915   *-32|*"-32 ") libmagic=32-bit;;
   4916   *-n32|*"-n32 ") libmagic=N32;;
   4917   *-64|*"-64 ") libmagic=64-bit;;
   4918   *) libmagic=never-match;;
   4919   esac
   4920   lt_cv_deplibs_check_method=pass_all
   4921   ;;
   4922 
   4923 # This must be Linux ELF.
   4924 linux* | k*bsd*-gnu)
   4925   lt_cv_deplibs_check_method=pass_all
   4926   ;;
   4927 
   4928 netbsd*)
   4929   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4930     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4931   else
   4932     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4933   fi
   4934   ;;
   4935 
   4936 newos6*)
   4937   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4938   lt_cv_file_magic_cmd=/usr/bin/file
   4939   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4940   ;;
   4941 
   4942 *nto* | *qnx*)
   4943   lt_cv_deplibs_check_method=pass_all
   4944   ;;
   4945 
   4946 openbsd*)
   4947   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4948     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4949   else
   4950     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4951   fi
   4952   ;;
   4953 
   4954 osf3* | osf4* | osf5*)
   4955   lt_cv_deplibs_check_method=pass_all
   4956   ;;
   4957 
   4958 rdos*)
   4959   lt_cv_deplibs_check_method=pass_all
   4960   ;;
   4961 
   4962 solaris*)
   4963   lt_cv_deplibs_check_method=pass_all
   4964   ;;
   4965 
   4966 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4967   lt_cv_deplibs_check_method=pass_all
   4968   ;;
   4969 
   4970 sysv4 | sysv4.3*)
   4971   case $host_vendor in
   4972   motorola)
   4973     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]'
   4974     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4975     ;;
   4976   ncr)
   4977     lt_cv_deplibs_check_method=pass_all
   4978     ;;
   4979   sequent)
   4980     lt_cv_file_magic_cmd='/bin/file'
   4981     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4982     ;;
   4983   sni)
   4984     lt_cv_file_magic_cmd='/bin/file'
   4985     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4986     lt_cv_file_magic_test_file=/lib/libc.so
   4987     ;;
   4988   siemens)
   4989     lt_cv_deplibs_check_method=pass_all
   4990     ;;
   4991   pc)
   4992     lt_cv_deplibs_check_method=pass_all
   4993     ;;
   4994   esac
   4995   ;;
   4996 
   4997 tpf*)
   4998   lt_cv_deplibs_check_method=pass_all
   4999   ;;
   5000 esac
   5001 
   5002 fi
   5003 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   5004 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5005 file_magic_cmd=$lt_cv_file_magic_cmd
   5006 deplibs_check_method=$lt_cv_deplibs_check_method
   5007 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 if test -n "$ac_tool_prefix"; then
   5021   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5022 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5023 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5024 $as_echo_n "checking for $ac_word... " >&6; }
   5025 if test "${ac_cv_prog_AR+set}" = set; then
   5026   $as_echo_n "(cached) " >&6
   5027 else
   5028   if test -n "$AR"; then
   5029   ac_cv_prog_AR="$AR" # Let the user override the test.
   5030 else
   5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5032 for as_dir in $PATH
   5033 do
   5034   IFS=$as_save_IFS
   5035   test -z "$as_dir" && as_dir=.
   5036   for ac_exec_ext in '' $ac_executable_extensions; do
   5037   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5038     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5039     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5040     break 2
   5041   fi
   5042 done
   5043 done
   5044 IFS=$as_save_IFS
   5045 
   5046 fi
   5047 fi
   5048 AR=$ac_cv_prog_AR
   5049 if test -n "$AR"; then
   5050   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   5051 $as_echo "$AR" >&6; }
   5052 else
   5053   { $as_echo "$as_me:$LINENO: result: no" >&5
   5054 $as_echo "no" >&6; }
   5055 fi
   5056 
   5057 
   5058 fi
   5059 if test -z "$ac_cv_prog_AR"; then
   5060   ac_ct_AR=$AR
   5061   # Extract the first word of "ar", so it can be a program name with args.
   5062 set dummy ar; ac_word=$2
   5063 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5064 $as_echo_n "checking for $ac_word... " >&6; }
   5065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5066   $as_echo_n "(cached) " >&6
   5067 else
   5068   if test -n "$ac_ct_AR"; then
   5069   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5070 else
   5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5072 for as_dir in $PATH
   5073 do
   5074   IFS=$as_save_IFS
   5075   test -z "$as_dir" && as_dir=.
   5076   for ac_exec_ext in '' $ac_executable_extensions; do
   5077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5078     ac_cv_prog_ac_ct_AR="ar"
   5079     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5080     break 2
   5081   fi
   5082 done
   5083 done
   5084 IFS=$as_save_IFS
   5085 
   5086 fi
   5087 fi
   5088 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5089 if test -n "$ac_ct_AR"; then
   5090   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5091 $as_echo "$ac_ct_AR" >&6; }
   5092 else
   5093   { $as_echo "$as_me:$LINENO: result: no" >&5
   5094 $as_echo "no" >&6; }
   5095 fi
   5096 
   5097   if test "x$ac_ct_AR" = x; then
   5098     AR="false"
   5099   else
   5100     case $cross_compiling:$ac_tool_warned in
   5101 yes:)
   5102 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5104 ac_tool_warned=yes ;;
   5105 esac
   5106     AR=$ac_ct_AR
   5107   fi
   5108 else
   5109   AR="$ac_cv_prog_AR"
   5110 fi
   5111 
   5112 test -z "$AR" && AR=ar
   5113 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 if test -n "$ac_tool_prefix"; then
   5126   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5127 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5128 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5129 $as_echo_n "checking for $ac_word... " >&6; }
   5130 if test "${ac_cv_prog_STRIP+set}" = set; then
   5131   $as_echo_n "(cached) " >&6
   5132 else
   5133   if test -n "$STRIP"; then
   5134   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5135 else
   5136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5137 for as_dir in $PATH
   5138 do
   5139   IFS=$as_save_IFS
   5140   test -z "$as_dir" && as_dir=.
   5141   for ac_exec_ext in '' $ac_executable_extensions; do
   5142   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5143     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5144     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5145     break 2
   5146   fi
   5147 done
   5148 done
   5149 IFS=$as_save_IFS
   5150 
   5151 fi
   5152 fi
   5153 STRIP=$ac_cv_prog_STRIP
   5154 if test -n "$STRIP"; then
   5155   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   5156 $as_echo "$STRIP" >&6; }
   5157 else
   5158   { $as_echo "$as_me:$LINENO: result: no" >&5
   5159 $as_echo "no" >&6; }
   5160 fi
   5161 
   5162 
   5163 fi
   5164 if test -z "$ac_cv_prog_STRIP"; then
   5165   ac_ct_STRIP=$STRIP
   5166   # Extract the first word of "strip", so it can be a program name with args.
   5167 set dummy strip; ac_word=$2
   5168 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5169 $as_echo_n "checking for $ac_word... " >&6; }
   5170 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   5171   $as_echo_n "(cached) " >&6
   5172 else
   5173   if test -n "$ac_ct_STRIP"; then
   5174   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5175 else
   5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5177 for as_dir in $PATH
   5178 do
   5179   IFS=$as_save_IFS
   5180   test -z "$as_dir" && as_dir=.
   5181   for ac_exec_ext in '' $ac_executable_extensions; do
   5182   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5183     ac_cv_prog_ac_ct_STRIP="strip"
   5184     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5185     break 2
   5186   fi
   5187 done
   5188 done
   5189 IFS=$as_save_IFS
   5190 
   5191 fi
   5192 fi
   5193 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5194 if test -n "$ac_ct_STRIP"; then
   5195   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   5196 $as_echo "$ac_ct_STRIP" >&6; }
   5197 else
   5198   { $as_echo "$as_me:$LINENO: result: no" >&5
   5199 $as_echo "no" >&6; }
   5200 fi
   5201 
   5202   if test "x$ac_ct_STRIP" = x; then
   5203     STRIP=":"
   5204   else
   5205     case $cross_compiling:$ac_tool_warned in
   5206 yes:)
   5207 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5209 ac_tool_warned=yes ;;
   5210 esac
   5211     STRIP=$ac_ct_STRIP
   5212   fi
   5213 else
   5214   STRIP="$ac_cv_prog_STRIP"
   5215 fi
   5216 
   5217 test -z "$STRIP" && STRIP=:
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 if test -n "$ac_tool_prefix"; then
   5225   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5226 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5227 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5228 $as_echo_n "checking for $ac_word... " >&6; }
   5229 if test "${ac_cv_prog_RANLIB+set}" = set; then
   5230   $as_echo_n "(cached) " >&6
   5231 else
   5232   if test -n "$RANLIB"; then
   5233   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5234 else
   5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5236 for as_dir in $PATH
   5237 do
   5238   IFS=$as_save_IFS
   5239   test -z "$as_dir" && as_dir=.
   5240   for ac_exec_ext in '' $ac_executable_extensions; do
   5241   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5242     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5243     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5244     break 2
   5245   fi
   5246 done
   5247 done
   5248 IFS=$as_save_IFS
   5249 
   5250 fi
   5251 fi
   5252 RANLIB=$ac_cv_prog_RANLIB
   5253 if test -n "$RANLIB"; then
   5254   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   5255 $as_echo "$RANLIB" >&6; }
   5256 else
   5257   { $as_echo "$as_me:$LINENO: result: no" >&5
   5258 $as_echo "no" >&6; }
   5259 fi
   5260 
   5261 
   5262 fi
   5263 if test -z "$ac_cv_prog_RANLIB"; then
   5264   ac_ct_RANLIB=$RANLIB
   5265   # Extract the first word of "ranlib", so it can be a program name with args.
   5266 set dummy ranlib; ac_word=$2
   5267 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5268 $as_echo_n "checking for $ac_word... " >&6; }
   5269 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   5270   $as_echo_n "(cached) " >&6
   5271 else
   5272   if test -n "$ac_ct_RANLIB"; then
   5273   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5274 else
   5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5276 for as_dir in $PATH
   5277 do
   5278   IFS=$as_save_IFS
   5279   test -z "$as_dir" && as_dir=.
   5280   for ac_exec_ext in '' $ac_executable_extensions; do
   5281   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5282     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5283     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5284     break 2
   5285   fi
   5286 done
   5287 done
   5288 IFS=$as_save_IFS
   5289 
   5290 fi
   5291 fi
   5292 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5293 if test -n "$ac_ct_RANLIB"; then
   5294   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   5295 $as_echo "$ac_ct_RANLIB" >&6; }
   5296 else
   5297   { $as_echo "$as_me:$LINENO: result: no" >&5
   5298 $as_echo "no" >&6; }
   5299 fi
   5300 
   5301   if test "x$ac_ct_RANLIB" = x; then
   5302     RANLIB=":"
   5303   else
   5304     case $cross_compiling:$ac_tool_warned in
   5305 yes:)
   5306 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5308 ac_tool_warned=yes ;;
   5309 esac
   5310     RANLIB=$ac_ct_RANLIB
   5311   fi
   5312 else
   5313   RANLIB="$ac_cv_prog_RANLIB"
   5314 fi
   5315 
   5316 test -z "$RANLIB" && RANLIB=:
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 # Determine commands to create old-style static archives.
   5324 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5325 old_postinstall_cmds='chmod 644 $oldlib'
   5326 old_postuninstall_cmds=
   5327 
   5328 if test -n "$RANLIB"; then
   5329   case $host_os in
   5330   openbsd*)
   5331     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5332     ;;
   5333   *)
   5334     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5335     ;;
   5336   esac
   5337   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5338 fi
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 # If no C compiler was specified, use CC.
   5374 LTCC=${LTCC-"$CC"}
   5375 
   5376 # If no C compiler flags were specified, use CFLAGS.
   5377 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5378 
   5379 # Allow CC to be a program name with arguments.
   5380 compiler=$CC
   5381 
   5382 
   5383 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5384 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   5385 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5386 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   5387   $as_echo_n "(cached) " >&6
   5388 else
   5389 
   5390 # These are sane defaults that work on at least a few old systems.
   5391 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5392 
   5393 # Character class describing NM global symbol codes.
   5394 symcode='[BCDEGRST]'
   5395 
   5396 # Regexp to match symbols that can be accessed directly from C.
   5397 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5398 
   5399 # Define system-specific variables.
   5400 case $host_os in
   5401 aix*)
   5402   symcode='[BCDT]'
   5403   ;;
   5404 cygwin* | mingw* | pw32* | cegcc*)
   5405   symcode='[ABCDGISTW]'
   5406   ;;
   5407 hpux*)
   5408   if test "$host_cpu" = ia64; then
   5409     symcode='[ABCDEGRST]'
   5410   fi
   5411   ;;
   5412 irix* | nonstopux*)
   5413   symcode='[BCDEGRST]'
   5414   ;;
   5415 osf*)
   5416   symcode='[BCDEGQRST]'
   5417   ;;
   5418 solaris*)
   5419   symcode='[BDRT]'
   5420   ;;
   5421 sco3.2v5*)
   5422   symcode='[DT]'
   5423   ;;
   5424 sysv4.2uw2*)
   5425   symcode='[DT]'
   5426   ;;
   5427 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5428   symcode='[ABDT]'
   5429   ;;
   5430 sysv4)
   5431   symcode='[DFNSTU]'
   5432   ;;
   5433 esac
   5434 
   5435 # If we're using GNU nm, then use its standard symbol codes.
   5436 case `$NM -V 2>&1` in
   5437 *GNU* | *'with BFD'*)
   5438   symcode='[ABCDGIRSTW]' ;;
   5439 esac
   5440 
   5441 # Transform an extracted symbol line into a proper C declaration.
   5442 # Some systems (esp. on ia64) link data and code symbols differently,
   5443 # so use this general approach.
   5444 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5445 
   5446 # Transform an extracted symbol line into symbol name and symbol address
   5447 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5448 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'"
   5449 
   5450 # Handle CRLF in mingw tool chain
   5451 opt_cr=
   5452 case $build_os in
   5453 mingw*)
   5454   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5455   ;;
   5456 esac
   5457 
   5458 # Try without a prefix underscore, then with it.
   5459 for ac_symprfx in "" "_"; do
   5460 
   5461   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5462   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5463 
   5464   # Write the raw and C identifiers.
   5465   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5466     # Fake it for dumpbin and say T for any non-static function
   5467     # and D for any global variable.
   5468     # Also find C++ and __fastcall symbols from MSVC++,
   5469     # which start with @ or ?.
   5470     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5471 "     {last_section=section; section=\$ 3};"\
   5472 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5473 "     \$ 0!~/External *\|/{next};"\
   5474 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5475 "     {if(hide[section]) next};"\
   5476 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5477 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5478 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5479 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5480 "     ' prfx=^$ac_symprfx"
   5481   else
   5482     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5483   fi
   5484 
   5485   # Check to see that the pipe works correctly.
   5486   pipe_works=no
   5487 
   5488   rm -f conftest*
   5489   cat > conftest.$ac_ext <<_LT_EOF
   5490 #ifdef __cplusplus
   5491 extern "C" {
   5492 #endif
   5493 char nm_test_var;
   5494 void nm_test_func(void);
   5495 void nm_test_func(void){}
   5496 #ifdef __cplusplus
   5497 }
   5498 #endif
   5499 int main(){nm_test_var='a';nm_test_func();return(0);}
   5500 _LT_EOF
   5501 
   5502   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5503   (eval $ac_compile) 2>&5
   5504   ac_status=$?
   5505   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5506   (exit $ac_status); }; then
   5507     # Now try to grab the symbols.
   5508     nlist=conftest.nm
   5509     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   5510   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5511   ac_status=$?
   5512   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5513   (exit $ac_status); } && test -s "$nlist"; then
   5514       # Try sorting and uniquifying the output.
   5515       if sort "$nlist" | uniq > "$nlist"T; then
   5516 	mv -f "$nlist"T "$nlist"
   5517       else
   5518 	rm -f "$nlist"T
   5519       fi
   5520 
   5521       # Make sure that we snagged all the symbols we need.
   5522       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5523 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5524 	  cat <<_LT_EOF > conftest.$ac_ext
   5525 #ifdef __cplusplus
   5526 extern "C" {
   5527 #endif
   5528 
   5529 _LT_EOF
   5530 	  # Now generate the symbol file.
   5531 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5532 
   5533 	  cat <<_LT_EOF >> conftest.$ac_ext
   5534 
   5535 /* The mapping between symbol names and symbols.  */
   5536 const struct {
   5537   const char *name;
   5538   void       *address;
   5539 }
   5540 lt__PROGRAM__LTX_preloaded_symbols[] =
   5541 {
   5542   { "@PROGRAM@", (void *) 0 },
   5543 _LT_EOF
   5544 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5545 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5546   {0, (void *) 0}
   5547 };
   5548 
   5549 /* This works around a problem in FreeBSD linker */
   5550 #ifdef FREEBSD_WORKAROUND
   5551 static const void *lt_preloaded_setup() {
   5552   return lt__PROGRAM__LTX_preloaded_symbols;
   5553 }
   5554 #endif
   5555 
   5556 #ifdef __cplusplus
   5557 }
   5558 #endif
   5559 _LT_EOF
   5560 	  # Now try linking the two files.
   5561 	  mv conftest.$ac_objext conftstm.$ac_objext
   5562 	  lt_save_LIBS="$LIBS"
   5563 	  lt_save_CFLAGS="$CFLAGS"
   5564 	  LIBS="conftstm.$ac_objext"
   5565 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5566 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5567   (eval $ac_link) 2>&5
   5568   ac_status=$?
   5569   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5570   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   5571 	    pipe_works=yes
   5572 	  fi
   5573 	  LIBS="$lt_save_LIBS"
   5574 	  CFLAGS="$lt_save_CFLAGS"
   5575 	else
   5576 	  echo "cannot find nm_test_func in $nlist" >&5
   5577 	fi
   5578       else
   5579 	echo "cannot find nm_test_var in $nlist" >&5
   5580       fi
   5581     else
   5582       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5583     fi
   5584   else
   5585     echo "$progname: failed program was:" >&5
   5586     cat conftest.$ac_ext >&5
   5587   fi
   5588   rm -rf conftest* conftst*
   5589 
   5590   # Do not use the global_symbol_pipe unless it works.
   5591   if test "$pipe_works" = yes; then
   5592     break
   5593   else
   5594     lt_cv_sys_global_symbol_pipe=
   5595   fi
   5596 done
   5597 
   5598 fi
   5599 
   5600 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5601   lt_cv_sys_global_symbol_to_cdecl=
   5602 fi
   5603 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5604   { $as_echo "$as_me:$LINENO: result: failed" >&5
   5605 $as_echo "failed" >&6; }
   5606 else
   5607   { $as_echo "$as_me:$LINENO: result: ok" >&5
   5608 $as_echo "ok" >&6; }
   5609 fi
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 # Check whether --enable-libtool-lock was given.
   5634 if test "${enable_libtool_lock+set}" = set; then
   5635   enableval=$enable_libtool_lock;
   5636 fi
   5637 
   5638 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   5639 
   5640 # Some flags need to be propagated to the compiler or linker for good
   5641 # libtool support.
   5642 case $host in
   5643 ia64-*-hpux*)
   5644   # Find out which ABI we are using.
   5645   echo 'int i;' > conftest.$ac_ext
   5646   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5647   (eval $ac_compile) 2>&5
   5648   ac_status=$?
   5649   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5650   (exit $ac_status); }; then
   5651     case `/usr/bin/file conftest.$ac_objext` in
   5652       *ELF-32*)
   5653 	HPUX_IA64_MODE="32"
   5654 	;;
   5655       *ELF-64*)
   5656 	HPUX_IA64_MODE="64"
   5657 	;;
   5658     esac
   5659   fi
   5660   rm -rf conftest*
   5661   ;;
   5662 *-*-irix6*)
   5663   # Find out which ABI we are using.
   5664   echo '#line 5664 "configure"' > conftest.$ac_ext
   5665   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5666   (eval $ac_compile) 2>&5
   5667   ac_status=$?
   5668   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5669   (exit $ac_status); }; then
   5670     if test "$lt_cv_prog_gnu_ld" = yes; then
   5671       case `/usr/bin/file conftest.$ac_objext` in
   5672 	*32-bit*)
   5673 	  LD="${LD-ld} -melf32bsmip"
   5674 	  ;;
   5675 	*N32*)
   5676 	  LD="${LD-ld} -melf32bmipn32"
   5677 	  ;;
   5678 	*64-bit*)
   5679 	  LD="${LD-ld} -melf64bmip"
   5680 	;;
   5681       esac
   5682     else
   5683       case `/usr/bin/file conftest.$ac_objext` in
   5684 	*32-bit*)
   5685 	  LD="${LD-ld} -32"
   5686 	  ;;
   5687 	*N32*)
   5688 	  LD="${LD-ld} -n32"
   5689 	  ;;
   5690 	*64-bit*)
   5691 	  LD="${LD-ld} -64"
   5692 	  ;;
   5693       esac
   5694     fi
   5695   fi
   5696   rm -rf conftest*
   5697   ;;
   5698 
   5699 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   5700 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   5701   # Find out which ABI we are using.
   5702   echo 'int i;' > conftest.$ac_ext
   5703   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5704   (eval $ac_compile) 2>&5
   5705   ac_status=$?
   5706   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5707   (exit $ac_status); }; then
   5708     case `/usr/bin/file conftest.o` in
   5709       *32-bit*)
   5710 	case $host in
   5711 	  x86_64-*kfreebsd*-gnu)
   5712 	    LD="${LD-ld} -m elf_i386_fbsd"
   5713 	    ;;
   5714 	  x86_64-*linux*)
   5715 	    LD="${LD-ld} -m elf_i386"
   5716 	    ;;
   5717 	  ppc64-*linux*|powerpc64-*linux*)
   5718 	    LD="${LD-ld} -m elf32ppclinux"
   5719 	    ;;
   5720 	  s390x-*linux*)
   5721 	    LD="${LD-ld} -m elf_s390"
   5722 	    ;;
   5723 	  sparc64-*linux*)
   5724 	    LD="${LD-ld} -m elf32_sparc"
   5725 	    ;;
   5726 	esac
   5727 	;;
   5728       *64-bit*)
   5729 	case $host in
   5730 	  x86_64-*kfreebsd*-gnu)
   5731 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   5732 	    ;;
   5733 	  x86_64-*linux*)
   5734 	    LD="${LD-ld} -m elf_x86_64"
   5735 	    ;;
   5736 	  ppc*-*linux*|powerpc*-*linux*)
   5737 	    LD="${LD-ld} -m elf64ppc"
   5738 	    ;;
   5739 	  s390*-*linux*|s390*-*tpf*)
   5740 	    LD="${LD-ld} -m elf64_s390"
   5741 	    ;;
   5742 	  sparc*-*linux*)
   5743 	    LD="${LD-ld} -m elf64_sparc"
   5744 	    ;;
   5745 	esac
   5746 	;;
   5747     esac
   5748   fi
   5749   rm -rf conftest*
   5750   ;;
   5751 
   5752 *-*-sco3.2v5*)
   5753   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   5754   SAVE_CFLAGS="$CFLAGS"
   5755   CFLAGS="$CFLAGS -belf"
   5756   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   5757 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   5758 if test "${lt_cv_cc_needs_belf+set}" = set; then
   5759   $as_echo_n "(cached) " >&6
   5760 else
   5761   ac_ext=c
   5762 ac_cpp='$CPP $CPPFLAGS'
   5763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5766 
   5767      cat >conftest.$ac_ext <<_ACEOF
   5768 /* confdefs.h.  */
   5769 _ACEOF
   5770 cat confdefs.h >>conftest.$ac_ext
   5771 cat >>conftest.$ac_ext <<_ACEOF
   5772 /* end confdefs.h.  */
   5773 
   5774 int
   5775 main ()
   5776 {
   5777 
   5778   ;
   5779   return 0;
   5780 }
   5781 _ACEOF
   5782 rm -f conftest.$ac_objext conftest$ac_exeext
   5783 if { (ac_try="$ac_link"
   5784 case "(($ac_try" in
   5785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5786   *) ac_try_echo=$ac_try;;
   5787 esac
   5788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5789 $as_echo "$ac_try_echo") >&5
   5790   (eval "$ac_link") 2>conftest.er1
   5791   ac_status=$?
   5792   grep -v '^ *+' conftest.er1 >conftest.err
   5793   rm -f conftest.er1
   5794   cat conftest.err >&5
   5795   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5796   (exit $ac_status); } && {
   5797 	 test -z "$ac_c_werror_flag" ||
   5798 	 test ! -s conftest.err
   5799        } && test -s conftest$ac_exeext && {
   5800 	 test "$cross_compiling" = yes ||
   5801 	 $as_test_x conftest$ac_exeext
   5802        }; then
   5803   lt_cv_cc_needs_belf=yes
   5804 else
   5805   $as_echo "$as_me: failed program was:" >&5
   5806 sed 's/^/| /' conftest.$ac_ext >&5
   5807 
   5808 	lt_cv_cc_needs_belf=no
   5809 fi
   5810 
   5811 rm -rf conftest.dSYM
   5812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5813       conftest$ac_exeext conftest.$ac_ext
   5814      ac_ext=c
   5815 ac_cpp='$CPP $CPPFLAGS'
   5816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5819 
   5820 fi
   5821 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   5822 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   5823   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   5824     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   5825     CFLAGS="$SAVE_CFLAGS"
   5826   fi
   5827   ;;
   5828 sparc*-*solaris*)
   5829   # Find out which ABI we are using.
   5830   echo 'int i;' > conftest.$ac_ext
   5831   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5832   (eval $ac_compile) 2>&5
   5833   ac_status=$?
   5834   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5835   (exit $ac_status); }; then
   5836     case `/usr/bin/file conftest.o` in
   5837     *64-bit*)
   5838       case $lt_cv_prog_gnu_ld in
   5839       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   5840       *)
   5841 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   5842 	  LD="${LD-ld} -64"
   5843 	fi
   5844 	;;
   5845       esac
   5846       ;;
   5847     esac
   5848   fi
   5849   rm -rf conftest*
   5850   ;;
   5851 esac
   5852 
   5853 need_locks="$enable_libtool_lock"
   5854 
   5855 
   5856   case $host_os in
   5857     rhapsody* | darwin*)
   5858     if test -n "$ac_tool_prefix"; then
   5859   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   5860 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   5861 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5862 $as_echo_n "checking for $ac_word... " >&6; }
   5863 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   5864   $as_echo_n "(cached) " >&6
   5865 else
   5866   if test -n "$DSYMUTIL"; then
   5867   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   5868 else
   5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5870 for as_dir in $PATH
   5871 do
   5872   IFS=$as_save_IFS
   5873   test -z "$as_dir" && as_dir=.
   5874   for ac_exec_ext in '' $ac_executable_extensions; do
   5875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5876     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   5877     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5878     break 2
   5879   fi
   5880 done
   5881 done
   5882 IFS=$as_save_IFS
   5883 
   5884 fi
   5885 fi
   5886 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   5887 if test -n "$DSYMUTIL"; then
   5888   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   5889 $as_echo "$DSYMUTIL" >&6; }
   5890 else
   5891   { $as_echo "$as_me:$LINENO: result: no" >&5
   5892 $as_echo "no" >&6; }
   5893 fi
   5894 
   5895 
   5896 fi
   5897 if test -z "$ac_cv_prog_DSYMUTIL"; then
   5898   ac_ct_DSYMUTIL=$DSYMUTIL
   5899   # Extract the first word of "dsymutil", so it can be a program name with args.
   5900 set dummy dsymutil; ac_word=$2
   5901 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5902 $as_echo_n "checking for $ac_word... " >&6; }
   5903 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   5904   $as_echo_n "(cached) " >&6
   5905 else
   5906   if test -n "$ac_ct_DSYMUTIL"; then
   5907   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   5908 else
   5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5910 for as_dir in $PATH
   5911 do
   5912   IFS=$as_save_IFS
   5913   test -z "$as_dir" && as_dir=.
   5914   for ac_exec_ext in '' $ac_executable_extensions; do
   5915   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5916     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   5917     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5918     break 2
   5919   fi
   5920 done
   5921 done
   5922 IFS=$as_save_IFS
   5923 
   5924 fi
   5925 fi
   5926 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   5927 if test -n "$ac_ct_DSYMUTIL"; then
   5928   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   5929 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   5930 else
   5931   { $as_echo "$as_me:$LINENO: result: no" >&5
   5932 $as_echo "no" >&6; }
   5933 fi
   5934 
   5935   if test "x$ac_ct_DSYMUTIL" = x; then
   5936     DSYMUTIL=":"
   5937   else
   5938     case $cross_compiling:$ac_tool_warned in
   5939 yes:)
   5940 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5942 ac_tool_warned=yes ;;
   5943 esac
   5944     DSYMUTIL=$ac_ct_DSYMUTIL
   5945   fi
   5946 else
   5947   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   5948 fi
   5949 
   5950     if test -n "$ac_tool_prefix"; then
   5951   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   5952 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   5953 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5954 $as_echo_n "checking for $ac_word... " >&6; }
   5955 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   5956   $as_echo_n "(cached) " >&6
   5957 else
   5958   if test -n "$NMEDIT"; then
   5959   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   5960 else
   5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5962 for as_dir in $PATH
   5963 do
   5964   IFS=$as_save_IFS
   5965   test -z "$as_dir" && as_dir=.
   5966   for ac_exec_ext in '' $ac_executable_extensions; do
   5967   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5968     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   5969     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5970     break 2
   5971   fi
   5972 done
   5973 done
   5974 IFS=$as_save_IFS
   5975 
   5976 fi
   5977 fi
   5978 NMEDIT=$ac_cv_prog_NMEDIT
   5979 if test -n "$NMEDIT"; then
   5980   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   5981 $as_echo "$NMEDIT" >&6; }
   5982 else
   5983   { $as_echo "$as_me:$LINENO: result: no" >&5
   5984 $as_echo "no" >&6; }
   5985 fi
   5986 
   5987 
   5988 fi
   5989 if test -z "$ac_cv_prog_NMEDIT"; then
   5990   ac_ct_NMEDIT=$NMEDIT
   5991   # Extract the first word of "nmedit", so it can be a program name with args.
   5992 set dummy nmedit; ac_word=$2
   5993 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5994 $as_echo_n "checking for $ac_word... " >&6; }
   5995 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   5996   $as_echo_n "(cached) " >&6
   5997 else
   5998   if test -n "$ac_ct_NMEDIT"; then
   5999   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6000 else
   6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6002 for as_dir in $PATH
   6003 do
   6004   IFS=$as_save_IFS
   6005   test -z "$as_dir" && as_dir=.
   6006   for ac_exec_ext in '' $ac_executable_extensions; do
   6007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6008     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6009     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6010     break 2
   6011   fi
   6012 done
   6013 done
   6014 IFS=$as_save_IFS
   6015 
   6016 fi
   6017 fi
   6018 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6019 if test -n "$ac_ct_NMEDIT"; then
   6020   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   6021 $as_echo "$ac_ct_NMEDIT" >&6; }
   6022 else
   6023   { $as_echo "$as_me:$LINENO: result: no" >&5
   6024 $as_echo "no" >&6; }
   6025 fi
   6026 
   6027   if test "x$ac_ct_NMEDIT" = x; then
   6028     NMEDIT=":"
   6029   else
   6030     case $cross_compiling:$ac_tool_warned in
   6031 yes:)
   6032 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6034 ac_tool_warned=yes ;;
   6035 esac
   6036     NMEDIT=$ac_ct_NMEDIT
   6037   fi
   6038 else
   6039   NMEDIT="$ac_cv_prog_NMEDIT"
   6040 fi
   6041 
   6042     if test -n "$ac_tool_prefix"; then
   6043   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6044 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6045 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6046 $as_echo_n "checking for $ac_word... " >&6; }
   6047 if test "${ac_cv_prog_LIPO+set}" = set; then
   6048   $as_echo_n "(cached) " >&6
   6049 else
   6050   if test -n "$LIPO"; then
   6051   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6052 else
   6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6054 for as_dir in $PATH
   6055 do
   6056   IFS=$as_save_IFS
   6057   test -z "$as_dir" && as_dir=.
   6058   for ac_exec_ext in '' $ac_executable_extensions; do
   6059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6060     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6061     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6062     break 2
   6063   fi
   6064 done
   6065 done
   6066 IFS=$as_save_IFS
   6067 
   6068 fi
   6069 fi
   6070 LIPO=$ac_cv_prog_LIPO
   6071 if test -n "$LIPO"; then
   6072   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   6073 $as_echo "$LIPO" >&6; }
   6074 else
   6075   { $as_echo "$as_me:$LINENO: result: no" >&5
   6076 $as_echo "no" >&6; }
   6077 fi
   6078 
   6079 
   6080 fi
   6081 if test -z "$ac_cv_prog_LIPO"; then
   6082   ac_ct_LIPO=$LIPO
   6083   # Extract the first word of "lipo", so it can be a program name with args.
   6084 set dummy lipo; ac_word=$2
   6085 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6086 $as_echo_n "checking for $ac_word... " >&6; }
   6087 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   6088   $as_echo_n "(cached) " >&6
   6089 else
   6090   if test -n "$ac_ct_LIPO"; then
   6091   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6092 else
   6093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6094 for as_dir in $PATH
   6095 do
   6096   IFS=$as_save_IFS
   6097   test -z "$as_dir" && as_dir=.
   6098   for ac_exec_ext in '' $ac_executable_extensions; do
   6099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6100     ac_cv_prog_ac_ct_LIPO="lipo"
   6101     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6102     break 2
   6103   fi
   6104 done
   6105 done
   6106 IFS=$as_save_IFS
   6107 
   6108 fi
   6109 fi
   6110 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6111 if test -n "$ac_ct_LIPO"; then
   6112   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   6113 $as_echo "$ac_ct_LIPO" >&6; }
   6114 else
   6115   { $as_echo "$as_me:$LINENO: result: no" >&5
   6116 $as_echo "no" >&6; }
   6117 fi
   6118 
   6119   if test "x$ac_ct_LIPO" = x; then
   6120     LIPO=":"
   6121   else
   6122     case $cross_compiling:$ac_tool_warned in
   6123 yes:)
   6124 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6126 ac_tool_warned=yes ;;
   6127 esac
   6128     LIPO=$ac_ct_LIPO
   6129   fi
   6130 else
   6131   LIPO="$ac_cv_prog_LIPO"
   6132 fi
   6133 
   6134     if test -n "$ac_tool_prefix"; then
   6135   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6136 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6137 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6138 $as_echo_n "checking for $ac_word... " >&6; }
   6139 if test "${ac_cv_prog_OTOOL+set}" = set; then
   6140   $as_echo_n "(cached) " >&6
   6141 else
   6142   if test -n "$OTOOL"; then
   6143   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6144 else
   6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6146 for as_dir in $PATH
   6147 do
   6148   IFS=$as_save_IFS
   6149   test -z "$as_dir" && as_dir=.
   6150   for ac_exec_ext in '' $ac_executable_extensions; do
   6151   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6152     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6153     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6154     break 2
   6155   fi
   6156 done
   6157 done
   6158 IFS=$as_save_IFS
   6159 
   6160 fi
   6161 fi
   6162 OTOOL=$ac_cv_prog_OTOOL
   6163 if test -n "$OTOOL"; then
   6164   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   6165 $as_echo "$OTOOL" >&6; }
   6166 else
   6167   { $as_echo "$as_me:$LINENO: result: no" >&5
   6168 $as_echo "no" >&6; }
   6169 fi
   6170 
   6171 
   6172 fi
   6173 if test -z "$ac_cv_prog_OTOOL"; then
   6174   ac_ct_OTOOL=$OTOOL
   6175   # Extract the first word of "otool", so it can be a program name with args.
   6176 set dummy otool; ac_word=$2
   6177 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6178 $as_echo_n "checking for $ac_word... " >&6; }
   6179 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   6180   $as_echo_n "(cached) " >&6
   6181 else
   6182   if test -n "$ac_ct_OTOOL"; then
   6183   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6184 else
   6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6186 for as_dir in $PATH
   6187 do
   6188   IFS=$as_save_IFS
   6189   test -z "$as_dir" && as_dir=.
   6190   for ac_exec_ext in '' $ac_executable_extensions; do
   6191   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6192     ac_cv_prog_ac_ct_OTOOL="otool"
   6193     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6194     break 2
   6195   fi
   6196 done
   6197 done
   6198 IFS=$as_save_IFS
   6199 
   6200 fi
   6201 fi
   6202 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6203 if test -n "$ac_ct_OTOOL"; then
   6204   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   6205 $as_echo "$ac_ct_OTOOL" >&6; }
   6206 else
   6207   { $as_echo "$as_me:$LINENO: result: no" >&5
   6208 $as_echo "no" >&6; }
   6209 fi
   6210 
   6211   if test "x$ac_ct_OTOOL" = x; then
   6212     OTOOL=":"
   6213   else
   6214     case $cross_compiling:$ac_tool_warned in
   6215 yes:)
   6216 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6218 ac_tool_warned=yes ;;
   6219 esac
   6220     OTOOL=$ac_ct_OTOOL
   6221   fi
   6222 else
   6223   OTOOL="$ac_cv_prog_OTOOL"
   6224 fi
   6225 
   6226     if test -n "$ac_tool_prefix"; then
   6227   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6228 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6229 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6230 $as_echo_n "checking for $ac_word... " >&6; }
   6231 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   6232   $as_echo_n "(cached) " >&6
   6233 else
   6234   if test -n "$OTOOL64"; then
   6235   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6236 else
   6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6238 for as_dir in $PATH
   6239 do
   6240   IFS=$as_save_IFS
   6241   test -z "$as_dir" && as_dir=.
   6242   for ac_exec_ext in '' $ac_executable_extensions; do
   6243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6244     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6245     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6246     break 2
   6247   fi
   6248 done
   6249 done
   6250 IFS=$as_save_IFS
   6251 
   6252 fi
   6253 fi
   6254 OTOOL64=$ac_cv_prog_OTOOL64
   6255 if test -n "$OTOOL64"; then
   6256   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   6257 $as_echo "$OTOOL64" >&6; }
   6258 else
   6259   { $as_echo "$as_me:$LINENO: result: no" >&5
   6260 $as_echo "no" >&6; }
   6261 fi
   6262 
   6263 
   6264 fi
   6265 if test -z "$ac_cv_prog_OTOOL64"; then
   6266   ac_ct_OTOOL64=$OTOOL64
   6267   # Extract the first word of "otool64", so it can be a program name with args.
   6268 set dummy otool64; ac_word=$2
   6269 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6270 $as_echo_n "checking for $ac_word... " >&6; }
   6271 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   6272   $as_echo_n "(cached) " >&6
   6273 else
   6274   if test -n "$ac_ct_OTOOL64"; then
   6275   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6276 else
   6277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6278 for as_dir in $PATH
   6279 do
   6280   IFS=$as_save_IFS
   6281   test -z "$as_dir" && as_dir=.
   6282   for ac_exec_ext in '' $ac_executable_extensions; do
   6283   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6284     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6285     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6286     break 2
   6287   fi
   6288 done
   6289 done
   6290 IFS=$as_save_IFS
   6291 
   6292 fi
   6293 fi
   6294 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6295 if test -n "$ac_ct_OTOOL64"; then
   6296   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   6297 $as_echo "$ac_ct_OTOOL64" >&6; }
   6298 else
   6299   { $as_echo "$as_me:$LINENO: result: no" >&5
   6300 $as_echo "no" >&6; }
   6301 fi
   6302 
   6303   if test "x$ac_ct_OTOOL64" = x; then
   6304     OTOOL64=":"
   6305   else
   6306     case $cross_compiling:$ac_tool_warned in
   6307 yes:)
   6308 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6310 ac_tool_warned=yes ;;
   6311 esac
   6312     OTOOL64=$ac_ct_OTOOL64
   6313   fi
   6314 else
   6315   OTOOL64="$ac_cv_prog_OTOOL64"
   6316 fi
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   6345 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6346 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   6347   $as_echo_n "(cached) " >&6
   6348 else
   6349   lt_cv_apple_cc_single_mod=no
   6350       if test -z "${LT_MULTI_MODULE}"; then
   6351 	# By default we will add the -single_module flag. You can override
   6352 	# by either setting the environment variable LT_MULTI_MODULE
   6353 	# non-empty at configure time, or by adding -multi_module to the
   6354 	# link flags.
   6355 	rm -rf libconftest.dylib*
   6356 	echo "int foo(void){return 1;}" > conftest.c
   6357 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6358 -dynamiclib -Wl,-single_module conftest.c" >&5
   6359 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6360 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6361         _lt_result=$?
   6362 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6363 	  lt_cv_apple_cc_single_mod=yes
   6364 	else
   6365 	  cat conftest.err >&5
   6366 	fi
   6367 	rm -rf libconftest.dylib*
   6368 	rm -f conftest.*
   6369       fi
   6370 fi
   6371 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   6372 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6373     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   6374 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6375 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   6376   $as_echo_n "(cached) " >&6
   6377 else
   6378   lt_cv_ld_exported_symbols_list=no
   6379       save_LDFLAGS=$LDFLAGS
   6380       echo "_main" > conftest.sym
   6381       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6382       cat >conftest.$ac_ext <<_ACEOF
   6383 /* confdefs.h.  */
   6384 _ACEOF
   6385 cat confdefs.h >>conftest.$ac_ext
   6386 cat >>conftest.$ac_ext <<_ACEOF
   6387 /* end confdefs.h.  */
   6388 
   6389 int
   6390 main ()
   6391 {
   6392 
   6393   ;
   6394   return 0;
   6395 }
   6396 _ACEOF
   6397 rm -f conftest.$ac_objext conftest$ac_exeext
   6398 if { (ac_try="$ac_link"
   6399 case "(($ac_try" in
   6400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6401   *) ac_try_echo=$ac_try;;
   6402 esac
   6403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6404 $as_echo "$ac_try_echo") >&5
   6405   (eval "$ac_link") 2>conftest.er1
   6406   ac_status=$?
   6407   grep -v '^ *+' conftest.er1 >conftest.err
   6408   rm -f conftest.er1
   6409   cat conftest.err >&5
   6410   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6411   (exit $ac_status); } && {
   6412 	 test -z "$ac_c_werror_flag" ||
   6413 	 test ! -s conftest.err
   6414        } && test -s conftest$ac_exeext && {
   6415 	 test "$cross_compiling" = yes ||
   6416 	 $as_test_x conftest$ac_exeext
   6417        }; then
   6418   lt_cv_ld_exported_symbols_list=yes
   6419 else
   6420   $as_echo "$as_me: failed program was:" >&5
   6421 sed 's/^/| /' conftest.$ac_ext >&5
   6422 
   6423 	lt_cv_ld_exported_symbols_list=no
   6424 fi
   6425 
   6426 rm -rf conftest.dSYM
   6427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6428       conftest$ac_exeext conftest.$ac_ext
   6429 	LDFLAGS="$save_LDFLAGS"
   6430 
   6431 fi
   6432 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   6433 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6434     case $host_os in
   6435     rhapsody* | darwin1.[012])
   6436       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6437     darwin1.*)
   6438       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6439     darwin*) # darwin 5.x on
   6440       # if running on 10.5 or later, the deployment target defaults
   6441       # to the OS version, if on x86, and 10.4, the deployment
   6442       # target defaults to 10.4. Don't you love it?
   6443       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6444 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6445 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6446 	10.[012]*)
   6447 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6448 	10.*)
   6449 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6450       esac
   6451     ;;
   6452   esac
   6453     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6454       _lt_dar_single_mod='$single_module'
   6455     fi
   6456     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6457       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6458     else
   6459       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6460     fi
   6461     if test "$DSYMUTIL" != ":"; then
   6462       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6463     else
   6464       _lt_dsymutil=
   6465     fi
   6466     ;;
   6467   esac
   6468 
   6469 ac_ext=c
   6470 ac_cpp='$CPP $CPPFLAGS'
   6471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6474 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   6475 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6476 # On Suns, sometimes $CPP names a directory.
   6477 if test -n "$CPP" && test -d "$CPP"; then
   6478   CPP=
   6479 fi
   6480 if test -z "$CPP"; then
   6481   if test "${ac_cv_prog_CPP+set}" = set; then
   6482   $as_echo_n "(cached) " >&6
   6483 else
   6484       # Double quotes because CPP needs to be expanded
   6485     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6486     do
   6487       ac_preproc_ok=false
   6488 for ac_c_preproc_warn_flag in '' yes
   6489 do
   6490   # Use a header file that comes with gcc, so configuring glibc
   6491   # with a fresh cross-compiler works.
   6492   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6493   # <limits.h> exists even on freestanding compilers.
   6494   # On the NeXT, cc -E runs the code through the compiler's parser,
   6495   # not just through cpp. "Syntax error" is here to catch this case.
   6496   cat >conftest.$ac_ext <<_ACEOF
   6497 /* confdefs.h.  */
   6498 _ACEOF
   6499 cat confdefs.h >>conftest.$ac_ext
   6500 cat >>conftest.$ac_ext <<_ACEOF
   6501 /* end confdefs.h.  */
   6502 #ifdef __STDC__
   6503 # include <limits.h>
   6504 #else
   6505 # include <assert.h>
   6506 #endif
   6507 		     Syntax error
   6508 _ACEOF
   6509 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6510 case "(($ac_try" in
   6511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6512   *) ac_try_echo=$ac_try;;
   6513 esac
   6514 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6515 $as_echo "$ac_try_echo") >&5
   6516   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6517   ac_status=$?
   6518   grep -v '^ *+' conftest.er1 >conftest.err
   6519   rm -f conftest.er1
   6520   cat conftest.err >&5
   6521   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6522   (exit $ac_status); } >/dev/null && {
   6523 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6524 	 test ! -s conftest.err
   6525        }; then
   6526   :
   6527 else
   6528   $as_echo "$as_me: failed program was:" >&5
   6529 sed 's/^/| /' conftest.$ac_ext >&5
   6530 
   6531   # Broken: fails on valid input.
   6532 continue
   6533 fi
   6534 
   6535 rm -f conftest.err conftest.$ac_ext
   6536 
   6537   # OK, works on sane cases.  Now check whether nonexistent headers
   6538   # can be detected and how.
   6539   cat >conftest.$ac_ext <<_ACEOF
   6540 /* confdefs.h.  */
   6541 _ACEOF
   6542 cat confdefs.h >>conftest.$ac_ext
   6543 cat >>conftest.$ac_ext <<_ACEOF
   6544 /* end confdefs.h.  */
   6545 #include <ac_nonexistent.h>
   6546 _ACEOF
   6547 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6548 case "(($ac_try" in
   6549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6550   *) ac_try_echo=$ac_try;;
   6551 esac
   6552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6553 $as_echo "$ac_try_echo") >&5
   6554   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6555   ac_status=$?
   6556   grep -v '^ *+' conftest.er1 >conftest.err
   6557   rm -f conftest.er1
   6558   cat conftest.err >&5
   6559   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6560   (exit $ac_status); } >/dev/null && {
   6561 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6562 	 test ! -s conftest.err
   6563        }; then
   6564   # Broken: success on invalid input.
   6565 continue
   6566 else
   6567   $as_echo "$as_me: failed program was:" >&5
   6568 sed 's/^/| /' conftest.$ac_ext >&5
   6569 
   6570   # Passes both tests.
   6571 ac_preproc_ok=:
   6572 break
   6573 fi
   6574 
   6575 rm -f conftest.err conftest.$ac_ext
   6576 
   6577 done
   6578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6579 rm -f conftest.err conftest.$ac_ext
   6580 if $ac_preproc_ok; then
   6581   break
   6582 fi
   6583 
   6584     done
   6585     ac_cv_prog_CPP=$CPP
   6586 
   6587 fi
   6588   CPP=$ac_cv_prog_CPP
   6589 else
   6590   ac_cv_prog_CPP=$CPP
   6591 fi
   6592 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   6593 $as_echo "$CPP" >&6; }
   6594 ac_preproc_ok=false
   6595 for ac_c_preproc_warn_flag in '' yes
   6596 do
   6597   # Use a header file that comes with gcc, so configuring glibc
   6598   # with a fresh cross-compiler works.
   6599   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6600   # <limits.h> exists even on freestanding compilers.
   6601   # On the NeXT, cc -E runs the code through the compiler's parser,
   6602   # not just through cpp. "Syntax error" is here to catch this case.
   6603   cat >conftest.$ac_ext <<_ACEOF
   6604 /* confdefs.h.  */
   6605 _ACEOF
   6606 cat confdefs.h >>conftest.$ac_ext
   6607 cat >>conftest.$ac_ext <<_ACEOF
   6608 /* end confdefs.h.  */
   6609 #ifdef __STDC__
   6610 # include <limits.h>
   6611 #else
   6612 # include <assert.h>
   6613 #endif
   6614 		     Syntax error
   6615 _ACEOF
   6616 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6617 case "(($ac_try" in
   6618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6619   *) ac_try_echo=$ac_try;;
   6620 esac
   6621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6622 $as_echo "$ac_try_echo") >&5
   6623   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6624   ac_status=$?
   6625   grep -v '^ *+' conftest.er1 >conftest.err
   6626   rm -f conftest.er1
   6627   cat conftest.err >&5
   6628   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6629   (exit $ac_status); } >/dev/null && {
   6630 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6631 	 test ! -s conftest.err
   6632        }; then
   6633   :
   6634 else
   6635   $as_echo "$as_me: failed program was:" >&5
   6636 sed 's/^/| /' conftest.$ac_ext >&5
   6637 
   6638   # Broken: fails on valid input.
   6639 continue
   6640 fi
   6641 
   6642 rm -f conftest.err conftest.$ac_ext
   6643 
   6644   # OK, works on sane cases.  Now check whether nonexistent headers
   6645   # can be detected and how.
   6646   cat >conftest.$ac_ext <<_ACEOF
   6647 /* confdefs.h.  */
   6648 _ACEOF
   6649 cat confdefs.h >>conftest.$ac_ext
   6650 cat >>conftest.$ac_ext <<_ACEOF
   6651 /* end confdefs.h.  */
   6652 #include <ac_nonexistent.h>
   6653 _ACEOF
   6654 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6655 case "(($ac_try" in
   6656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6657   *) ac_try_echo=$ac_try;;
   6658 esac
   6659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6660 $as_echo "$ac_try_echo") >&5
   6661   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6662   ac_status=$?
   6663   grep -v '^ *+' conftest.er1 >conftest.err
   6664   rm -f conftest.er1
   6665   cat conftest.err >&5
   6666   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6667   (exit $ac_status); } >/dev/null && {
   6668 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6669 	 test ! -s conftest.err
   6670        }; then
   6671   # Broken: success on invalid input.
   6672 continue
   6673 else
   6674   $as_echo "$as_me: failed program was:" >&5
   6675 sed 's/^/| /' conftest.$ac_ext >&5
   6676 
   6677   # Passes both tests.
   6678 ac_preproc_ok=:
   6679 break
   6680 fi
   6681 
   6682 rm -f conftest.err conftest.$ac_ext
   6683 
   6684 done
   6685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6686 rm -f conftest.err conftest.$ac_ext
   6687 if $ac_preproc_ok; then
   6688   :
   6689 else
   6690   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6692 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   6693 See \`config.log' for more details." >&5
   6694 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   6695 See \`config.log' for more details." >&2;}
   6696    { (exit 1); exit 1; }; }; }
   6697 fi
   6698 
   6699 ac_ext=c
   6700 ac_cpp='$CPP $CPPFLAGS'
   6701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6704 
   6705 
   6706 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   6707 $as_echo_n "checking for ANSI C header files... " >&6; }
   6708 if test "${ac_cv_header_stdc+set}" = set; then
   6709   $as_echo_n "(cached) " >&6
   6710 else
   6711   cat >conftest.$ac_ext <<_ACEOF
   6712 /* confdefs.h.  */
   6713 _ACEOF
   6714 cat confdefs.h >>conftest.$ac_ext
   6715 cat >>conftest.$ac_ext <<_ACEOF
   6716 /* end confdefs.h.  */
   6717 #include <stdlib.h>
   6718 #include <stdarg.h>
   6719 #include <string.h>
   6720 #include <float.h>
   6721 
   6722 int
   6723 main ()
   6724 {
   6725 
   6726   ;
   6727   return 0;
   6728 }
   6729 _ACEOF
   6730 rm -f conftest.$ac_objext
   6731 if { (ac_try="$ac_compile"
   6732 case "(($ac_try" in
   6733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6734   *) ac_try_echo=$ac_try;;
   6735 esac
   6736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6737 $as_echo "$ac_try_echo") >&5
   6738   (eval "$ac_compile") 2>conftest.er1
   6739   ac_status=$?
   6740   grep -v '^ *+' conftest.er1 >conftest.err
   6741   rm -f conftest.er1
   6742   cat conftest.err >&5
   6743   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6744   (exit $ac_status); } && {
   6745 	 test -z "$ac_c_werror_flag" ||
   6746 	 test ! -s conftest.err
   6747        } && test -s conftest.$ac_objext; then
   6748   ac_cv_header_stdc=yes
   6749 else
   6750   $as_echo "$as_me: failed program was:" >&5
   6751 sed 's/^/| /' conftest.$ac_ext >&5
   6752 
   6753 	ac_cv_header_stdc=no
   6754 fi
   6755 
   6756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6757 
   6758 if test $ac_cv_header_stdc = yes; then
   6759   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6760   cat >conftest.$ac_ext <<_ACEOF
   6761 /* confdefs.h.  */
   6762 _ACEOF
   6763 cat confdefs.h >>conftest.$ac_ext
   6764 cat >>conftest.$ac_ext <<_ACEOF
   6765 /* end confdefs.h.  */
   6766 #include <string.h>
   6767 
   6768 _ACEOF
   6769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6770   $EGREP "memchr" >/dev/null 2>&1; then
   6771   :
   6772 else
   6773   ac_cv_header_stdc=no
   6774 fi
   6775 rm -f conftest*
   6776 
   6777 fi
   6778 
   6779 if test $ac_cv_header_stdc = yes; then
   6780   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6781   cat >conftest.$ac_ext <<_ACEOF
   6782 /* confdefs.h.  */
   6783 _ACEOF
   6784 cat confdefs.h >>conftest.$ac_ext
   6785 cat >>conftest.$ac_ext <<_ACEOF
   6786 /* end confdefs.h.  */
   6787 #include <stdlib.h>
   6788 
   6789 _ACEOF
   6790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6791   $EGREP "free" >/dev/null 2>&1; then
   6792   :
   6793 else
   6794   ac_cv_header_stdc=no
   6795 fi
   6796 rm -f conftest*
   6797 
   6798 fi
   6799 
   6800 if test $ac_cv_header_stdc = yes; then
   6801   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6802   if test "$cross_compiling" = yes; then
   6803   :
   6804 else
   6805   cat >conftest.$ac_ext <<_ACEOF
   6806 /* confdefs.h.  */
   6807 _ACEOF
   6808 cat confdefs.h >>conftest.$ac_ext
   6809 cat >>conftest.$ac_ext <<_ACEOF
   6810 /* end confdefs.h.  */
   6811 #include <ctype.h>
   6812 #include <stdlib.h>
   6813 #if ((' ' & 0x0FF) == 0x020)
   6814 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6815 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6816 #else
   6817 # define ISLOWER(c) \
   6818 		   (('a' <= (c) && (c) <= 'i') \
   6819 		     || ('j' <= (c) && (c) <= 'r') \
   6820 		     || ('s' <= (c) && (c) <= 'z'))
   6821 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6822 #endif
   6823 
   6824 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6825 int
   6826 main ()
   6827 {
   6828   int i;
   6829   for (i = 0; i < 256; i++)
   6830     if (XOR (islower (i), ISLOWER (i))
   6831 	|| toupper (i) != TOUPPER (i))
   6832       return 2;
   6833   return 0;
   6834 }
   6835 _ACEOF
   6836 rm -f conftest$ac_exeext
   6837 if { (ac_try="$ac_link"
   6838 case "(($ac_try" in
   6839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6840   *) ac_try_echo=$ac_try;;
   6841 esac
   6842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6843 $as_echo "$ac_try_echo") >&5
   6844   (eval "$ac_link") 2>&5
   6845   ac_status=$?
   6846   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6847   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   6848   { (case "(($ac_try" in
   6849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6850   *) ac_try_echo=$ac_try;;
   6851 esac
   6852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6853 $as_echo "$ac_try_echo") >&5
   6854   (eval "$ac_try") 2>&5
   6855   ac_status=$?
   6856   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6857   (exit $ac_status); }; }; then
   6858   :
   6859 else
   6860   $as_echo "$as_me: program exited with status $ac_status" >&5
   6861 $as_echo "$as_me: failed program was:" >&5
   6862 sed 's/^/| /' conftest.$ac_ext >&5
   6863 
   6864 ( exit $ac_status )
   6865 ac_cv_header_stdc=no
   6866 fi
   6867 rm -rf conftest.dSYM
   6868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   6869 fi
   6870 
   6871 
   6872 fi
   6873 fi
   6874 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   6875 $as_echo "$ac_cv_header_stdc" >&6; }
   6876 if test $ac_cv_header_stdc = yes; then
   6877 
   6878 cat >>confdefs.h <<\_ACEOF
   6879 #define STDC_HEADERS 1
   6880 _ACEOF
   6881 
   6882 fi
   6883 
   6884 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6895 		  inttypes.h stdint.h unistd.h
   6896 do
   6897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6898 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6899 $as_echo_n "checking for $ac_header... " >&6; }
   6900 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6901   $as_echo_n "(cached) " >&6
   6902 else
   6903   cat >conftest.$ac_ext <<_ACEOF
   6904 /* confdefs.h.  */
   6905 _ACEOF
   6906 cat confdefs.h >>conftest.$ac_ext
   6907 cat >>conftest.$ac_ext <<_ACEOF
   6908 /* end confdefs.h.  */
   6909 $ac_includes_default
   6910 
   6911 #include <$ac_header>
   6912 _ACEOF
   6913 rm -f conftest.$ac_objext
   6914 if { (ac_try="$ac_compile"
   6915 case "(($ac_try" in
   6916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6917   *) ac_try_echo=$ac_try;;
   6918 esac
   6919 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6920 $as_echo "$ac_try_echo") >&5
   6921   (eval "$ac_compile") 2>conftest.er1
   6922   ac_status=$?
   6923   grep -v '^ *+' conftest.er1 >conftest.err
   6924   rm -f conftest.er1
   6925   cat conftest.err >&5
   6926   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6927   (exit $ac_status); } && {
   6928 	 test -z "$ac_c_werror_flag" ||
   6929 	 test ! -s conftest.err
   6930        } && test -s conftest.$ac_objext; then
   6931   eval "$as_ac_Header=yes"
   6932 else
   6933   $as_echo "$as_me: failed program was:" >&5
   6934 sed 's/^/| /' conftest.$ac_ext >&5
   6935 
   6936 	eval "$as_ac_Header=no"
   6937 fi
   6938 
   6939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6940 fi
   6941 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6942 		 $as_echo "$as_val"'`
   6943 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6944 $as_echo "$ac_res" >&6; }
   6945 as_val=`eval 'as_val=${'$as_ac_Header'}
   6946 		 $as_echo "$as_val"'`
   6947    if test "x$as_val" = x""yes; then
   6948   cat >>confdefs.h <<_ACEOF
   6949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6950 _ACEOF
   6951 
   6952 fi
   6953 
   6954 done
   6955 
   6956 
   6957 
   6958 for ac_header in dlfcn.h
   6959 do
   6960 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6961 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6962 $as_echo_n "checking for $ac_header... " >&6; }
   6963 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6964   $as_echo_n "(cached) " >&6
   6965 else
   6966   cat >conftest.$ac_ext <<_ACEOF
   6967 /* confdefs.h.  */
   6968 _ACEOF
   6969 cat confdefs.h >>conftest.$ac_ext
   6970 cat >>conftest.$ac_ext <<_ACEOF
   6971 /* end confdefs.h.  */
   6972 $ac_includes_default
   6973 
   6974 #include <$ac_header>
   6975 _ACEOF
   6976 rm -f conftest.$ac_objext
   6977 if { (ac_try="$ac_compile"
   6978 case "(($ac_try" in
   6979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6980   *) ac_try_echo=$ac_try;;
   6981 esac
   6982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6983 $as_echo "$ac_try_echo") >&5
   6984   (eval "$ac_compile") 2>conftest.er1
   6985   ac_status=$?
   6986   grep -v '^ *+' conftest.er1 >conftest.err
   6987   rm -f conftest.er1
   6988   cat conftest.err >&5
   6989   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6990   (exit $ac_status); } && {
   6991 	 test -z "$ac_c_werror_flag" ||
   6992 	 test ! -s conftest.err
   6993        } && test -s conftest.$ac_objext; then
   6994   eval "$as_ac_Header=yes"
   6995 else
   6996   $as_echo "$as_me: failed program was:" >&5
   6997 sed 's/^/| /' conftest.$ac_ext >&5
   6998 
   6999 	eval "$as_ac_Header=no"
   7000 fi
   7001 
   7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7003 fi
   7004 ac_res=`eval 'as_val=${'$as_ac_Header'}
   7005 		 $as_echo "$as_val"'`
   7006 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   7007 $as_echo "$ac_res" >&6; }
   7008 as_val=`eval 'as_val=${'$as_ac_Header'}
   7009 		 $as_echo "$as_val"'`
   7010    if test "x$as_val" = x""yes; then
   7011   cat >>confdefs.h <<_ACEOF
   7012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7013 _ACEOF
   7014 
   7015 fi
   7016 
   7017 done
   7018 
   7019 
   7020 
   7021 # Set options
   7022 
   7023 
   7024 
   7025         enable_dlopen=no
   7026 
   7027 
   7028   enable_win32_dll=no
   7029 
   7030 
   7031             # Check whether --enable-shared was given.
   7032 if test "${enable_shared+set}" = set; then
   7033   enableval=$enable_shared; p=${PACKAGE-default}
   7034     case $enableval in
   7035     yes) enable_shared=yes ;;
   7036     no) enable_shared=no ;;
   7037     *)
   7038       enable_shared=no
   7039       # Look at the argument we got.  We use all the common list separators.
   7040       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7041       for pkg in $enableval; do
   7042 	IFS="$lt_save_ifs"
   7043 	if test "X$pkg" = "X$p"; then
   7044 	  enable_shared=yes
   7045 	fi
   7046       done
   7047       IFS="$lt_save_ifs"
   7048       ;;
   7049     esac
   7050 else
   7051   enable_shared=yes
   7052 fi
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 # Check whether --with-pic was given.
   7065 if test "${with_pic+set}" = set; then
   7066   withval=$with_pic; pic_mode="$withval"
   7067 else
   7068   pic_mode=default
   7069 fi
   7070 
   7071 
   7072 test -z "$pic_mode" && pic_mode=default
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080   # Check whether --enable-fast-install was given.
   7081 if test "${enable_fast_install+set}" = set; then
   7082   enableval=$enable_fast_install; p=${PACKAGE-default}
   7083     case $enableval in
   7084     yes) enable_fast_install=yes ;;
   7085     no) enable_fast_install=no ;;
   7086     *)
   7087       enable_fast_install=no
   7088       # Look at the argument we got.  We use all the common list separators.
   7089       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7090       for pkg in $enableval; do
   7091 	IFS="$lt_save_ifs"
   7092 	if test "X$pkg" = "X$p"; then
   7093 	  enable_fast_install=yes
   7094 	fi
   7095       done
   7096       IFS="$lt_save_ifs"
   7097       ;;
   7098     esac
   7099 else
   7100   enable_fast_install=yes
   7101 fi
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 # This can be used to rebuild libtool when needed
   7114 LIBTOOL_DEPS="$ltmain"
   7115 
   7116 # Always use our own libtool.
   7117 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 test -z "$LN_S" && LN_S="ln -s"
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 if test -n "${ZSH_VERSION+set}" ; then
   7159    setopt NO_GLOB_SUBST
   7160 fi
   7161 
   7162 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   7163 $as_echo_n "checking for objdir... " >&6; }
   7164 if test "${lt_cv_objdir+set}" = set; then
   7165   $as_echo_n "(cached) " >&6
   7166 else
   7167   rm -f .libs 2>/dev/null
   7168 mkdir .libs 2>/dev/null
   7169 if test -d .libs; then
   7170   lt_cv_objdir=.libs
   7171 else
   7172   # MS-DOS does not allow filenames that begin with a dot.
   7173   lt_cv_objdir=_libs
   7174 fi
   7175 rmdir .libs 2>/dev/null
   7176 fi
   7177 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7178 $as_echo "$lt_cv_objdir" >&6; }
   7179 objdir=$lt_cv_objdir
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 cat >>confdefs.h <<_ACEOF
   7186 #define LT_OBJDIR "$lt_cv_objdir/"
   7187 _ACEOF
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 case $host_os in
   7206 aix3*)
   7207   # AIX sometimes has problems with the GCC collect2 program.  For some
   7208   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7209   # vanish in a puff of smoke.
   7210   if test "X${COLLECT_NAMES+set}" != Xset; then
   7211     COLLECT_NAMES=
   7212     export COLLECT_NAMES
   7213   fi
   7214   ;;
   7215 esac
   7216 
   7217 # Sed substitution that helps us do robust quoting.  It backslashifies
   7218 # metacharacters that are still active within double-quoted strings.
   7219 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7220 
   7221 # Same as above, but do not quote variable references.
   7222 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7223 
   7224 # Sed substitution to delay expansion of an escaped shell variable in a
   7225 # double_quote_subst'ed string.
   7226 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7227 
   7228 # Sed substitution to delay expansion of an escaped single quote.
   7229 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7230 
   7231 # Sed substitution to avoid accidental globbing in evaled expressions
   7232 no_glob_subst='s/\*/\\\*/g'
   7233 
   7234 # Global variables:
   7235 ofile=libtool
   7236 can_build_shared=yes
   7237 
   7238 # All known linkers require a `.a' archive for static linking (except MSVC,
   7239 # which needs '.lib').
   7240 libext=a
   7241 
   7242 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7243 
   7244 old_CC="$CC"
   7245 old_CFLAGS="$CFLAGS"
   7246 
   7247 # Set sane defaults for various variables
   7248 test -z "$CC" && CC=cc
   7249 test -z "$LTCC" && LTCC=$CC
   7250 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7251 test -z "$LD" && LD=ld
   7252 test -z "$ac_objext" && ac_objext=o
   7253 
   7254 for cc_temp in $compiler""; do
   7255   case $cc_temp in
   7256     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7257     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7258     \-*) ;;
   7259     *) break;;
   7260   esac
   7261 done
   7262 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7263 
   7264 
   7265 # Only perform the check for file, if the check method requires it
   7266 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7267 case $deplibs_check_method in
   7268 file_magic*)
   7269   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7270     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7271 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7272 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7273   $as_echo_n "(cached) " >&6
   7274 else
   7275   case $MAGIC_CMD in
   7276 [\\/*] |  ?:[\\/]*)
   7277   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7278   ;;
   7279 *)
   7280   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7281   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7282   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7283   for ac_dir in $ac_dummy; do
   7284     IFS="$lt_save_ifs"
   7285     test -z "$ac_dir" && ac_dir=.
   7286     if test -f $ac_dir/${ac_tool_prefix}file; then
   7287       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7288       if test -n "$file_magic_test_file"; then
   7289 	case $deplibs_check_method in
   7290 	"file_magic "*)
   7291 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7292 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7293 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7294 	    $EGREP "$file_magic_regex" > /dev/null; then
   7295 	    :
   7296 	  else
   7297 	    cat <<_LT_EOF 1>&2
   7298 
   7299 *** Warning: the command libtool uses to detect shared libraries,
   7300 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7301 *** The result is that libtool may fail to recognize shared libraries
   7302 *** as such.  This will affect the creation of libtool libraries that
   7303 *** depend on shared libraries, but programs linked with such libtool
   7304 *** libraries will work regardless of this problem.  Nevertheless, you
   7305 *** may want to report the problem to your system manager and/or to
   7306 *** bug-libtool@gnu.org
   7307 
   7308 _LT_EOF
   7309 	  fi ;;
   7310 	esac
   7311       fi
   7312       break
   7313     fi
   7314   done
   7315   IFS="$lt_save_ifs"
   7316   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7317   ;;
   7318 esac
   7319 fi
   7320 
   7321 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7322 if test -n "$MAGIC_CMD"; then
   7323   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7324 $as_echo "$MAGIC_CMD" >&6; }
   7325 else
   7326   { $as_echo "$as_me:$LINENO: result: no" >&5
   7327 $as_echo "no" >&6; }
   7328 fi
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7335   if test -n "$ac_tool_prefix"; then
   7336     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7337 $as_echo_n "checking for file... " >&6; }
   7338 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7339   $as_echo_n "(cached) " >&6
   7340 else
   7341   case $MAGIC_CMD in
   7342 [\\/*] |  ?:[\\/]*)
   7343   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7344   ;;
   7345 *)
   7346   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7347   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7348   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7349   for ac_dir in $ac_dummy; do
   7350     IFS="$lt_save_ifs"
   7351     test -z "$ac_dir" && ac_dir=.
   7352     if test -f $ac_dir/file; then
   7353       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7354       if test -n "$file_magic_test_file"; then
   7355 	case $deplibs_check_method in
   7356 	"file_magic "*)
   7357 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7358 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7359 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7360 	    $EGREP "$file_magic_regex" > /dev/null; then
   7361 	    :
   7362 	  else
   7363 	    cat <<_LT_EOF 1>&2
   7364 
   7365 *** Warning: the command libtool uses to detect shared libraries,
   7366 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7367 *** The result is that libtool may fail to recognize shared libraries
   7368 *** as such.  This will affect the creation of libtool libraries that
   7369 *** depend on shared libraries, but programs linked with such libtool
   7370 *** libraries will work regardless of this problem.  Nevertheless, you
   7371 *** may want to report the problem to your system manager and/or to
   7372 *** bug-libtool@gnu.org
   7373 
   7374 _LT_EOF
   7375 	  fi ;;
   7376 	esac
   7377       fi
   7378       break
   7379     fi
   7380   done
   7381   IFS="$lt_save_ifs"
   7382   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7383   ;;
   7384 esac
   7385 fi
   7386 
   7387 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7388 if test -n "$MAGIC_CMD"; then
   7389   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7390 $as_echo "$MAGIC_CMD" >&6; }
   7391 else
   7392   { $as_echo "$as_me:$LINENO: result: no" >&5
   7393 $as_echo "no" >&6; }
   7394 fi
   7395 
   7396 
   7397   else
   7398     MAGIC_CMD=:
   7399   fi
   7400 fi
   7401 
   7402   fi
   7403   ;;
   7404 esac
   7405 
   7406 # Use C for the default configuration in the libtool script
   7407 
   7408 lt_save_CC="$CC"
   7409 ac_ext=c
   7410 ac_cpp='$CPP $CPPFLAGS'
   7411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7414 
   7415 
   7416 # Source file extension for C test sources.
   7417 ac_ext=c
   7418 
   7419 # Object file extension for compiled C test sources.
   7420 objext=o
   7421 objext=$objext
   7422 
   7423 # Code to be used in simple compile tests
   7424 lt_simple_compile_test_code="int some_variable = 0;"
   7425 
   7426 # Code to be used in simple link tests
   7427 lt_simple_link_test_code='int main(){return(0);}'
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 # If no C compiler was specified, use CC.
   7436 LTCC=${LTCC-"$CC"}
   7437 
   7438 # If no C compiler flags were specified, use CFLAGS.
   7439 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7440 
   7441 # Allow CC to be a program name with arguments.
   7442 compiler=$CC
   7443 
   7444 # Save the default compiler, since it gets overwritten when the other
   7445 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7446 compiler_DEFAULT=$CC
   7447 
   7448 # save warnings/boilerplate of simple test code
   7449 ac_outfile=conftest.$ac_objext
   7450 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7451 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7452 _lt_compiler_boilerplate=`cat conftest.err`
   7453 $RM conftest*
   7454 
   7455 ac_outfile=conftest.$ac_objext
   7456 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7457 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7458 _lt_linker_boilerplate=`cat conftest.err`
   7459 $RM -r conftest*
   7460 
   7461 
   7462 if test -n "$compiler"; then
   7463 
   7464 lt_prog_compiler_no_builtin_flag=
   7465 
   7466 if test "$GCC" = yes; then
   7467   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7468 
   7469   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7470 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7471 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7472   $as_echo_n "(cached) " >&6
   7473 else
   7474   lt_cv_prog_compiler_rtti_exceptions=no
   7475    ac_outfile=conftest.$ac_objext
   7476    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7477    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7478    # Insert the option either (1) after the last *FLAGS variable, or
   7479    # (2) before a word containing "conftest.", or (3) at the end.
   7480    # Note that $ac_compile itself does not contain backslashes and begins
   7481    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7482    # The option is referenced via a variable to avoid confusing sed.
   7483    lt_compile=`echo "$ac_compile" | $SED \
   7484    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7485    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7486    -e 's:$: $lt_compiler_flag:'`
   7487    (eval echo "\"\$as_me:7487: $lt_compile\"" >&5)
   7488    (eval "$lt_compile" 2>conftest.err)
   7489    ac_status=$?
   7490    cat conftest.err >&5
   7491    echo "$as_me:7491: \$? = $ac_status" >&5
   7492    if (exit $ac_status) && test -s "$ac_outfile"; then
   7493      # The compiler can only warn and ignore the option if not recognized
   7494      # So say no if there are warnings other than the usual output.
   7495      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7496      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7497      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7498        lt_cv_prog_compiler_rtti_exceptions=yes
   7499      fi
   7500    fi
   7501    $RM conftest*
   7502 
   7503 fi
   7504 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7505 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7506 
   7507 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7508     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7509 else
   7510     :
   7511 fi
   7512 
   7513 fi
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520   lt_prog_compiler_wl=
   7521 lt_prog_compiler_pic=
   7522 lt_prog_compiler_static=
   7523 
   7524 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7525 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7526 
   7527   if test "$GCC" = yes; then
   7528     lt_prog_compiler_wl='-Wl,'
   7529     lt_prog_compiler_static='-static'
   7530 
   7531     case $host_os in
   7532       aix*)
   7533       # All AIX code is PIC.
   7534       if test "$host_cpu" = ia64; then
   7535 	# AIX 5 now supports IA64 processor
   7536 	lt_prog_compiler_static='-Bstatic'
   7537       fi
   7538       ;;
   7539 
   7540     amigaos*)
   7541       case $host_cpu in
   7542       powerpc)
   7543             # see comment about AmigaOS4 .so support
   7544             lt_prog_compiler_pic='-fPIC'
   7545         ;;
   7546       m68k)
   7547             # FIXME: we need at least 68020 code to build shared libraries, but
   7548             # adding the `-m68020' flag to GCC prevents building anything better,
   7549             # like `-m68040'.
   7550             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7551         ;;
   7552       esac
   7553       ;;
   7554 
   7555     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7556       # PIC is the default for these OSes.
   7557       ;;
   7558 
   7559     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7560       # This hack is so that the source file can tell whether it is being
   7561       # built for inclusion in a dll (and should export symbols for example).
   7562       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7563       # (--disable-auto-import) libraries
   7564       lt_prog_compiler_pic='-DDLL_EXPORT'
   7565       ;;
   7566 
   7567     darwin* | rhapsody*)
   7568       # PIC is the default on this platform
   7569       # Common symbols not allowed in MH_DYLIB files
   7570       lt_prog_compiler_pic='-fno-common'
   7571       ;;
   7572 
   7573     hpux*)
   7574       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7575       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7576       # sets the default TLS model and affects inlining.
   7577       case $host_cpu in
   7578       hppa*64*)
   7579 	# +Z the default
   7580 	;;
   7581       *)
   7582 	lt_prog_compiler_pic='-fPIC'
   7583 	;;
   7584       esac
   7585       ;;
   7586 
   7587     interix[3-9]*)
   7588       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7589       # Instead, we relocate shared libraries at runtime.
   7590       ;;
   7591 
   7592     msdosdjgpp*)
   7593       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7594       # on systems that don't support them.
   7595       lt_prog_compiler_can_build_shared=no
   7596       enable_shared=no
   7597       ;;
   7598 
   7599     *nto* | *qnx*)
   7600       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7601       # it will coredump.
   7602       lt_prog_compiler_pic='-fPIC -shared'
   7603       ;;
   7604 
   7605     sysv4*MP*)
   7606       if test -d /usr/nec; then
   7607 	lt_prog_compiler_pic=-Kconform_pic
   7608       fi
   7609       ;;
   7610 
   7611     *)
   7612       lt_prog_compiler_pic='-fPIC'
   7613       ;;
   7614     esac
   7615   else
   7616     # PORTME Check for flag to pass linker flags through the system compiler.
   7617     case $host_os in
   7618     aix*)
   7619       lt_prog_compiler_wl='-Wl,'
   7620       if test "$host_cpu" = ia64; then
   7621 	# AIX 5 now supports IA64 processor
   7622 	lt_prog_compiler_static='-Bstatic'
   7623       else
   7624 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7625       fi
   7626       ;;
   7627 
   7628     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7629       # This hack is so that the source file can tell whether it is being
   7630       # built for inclusion in a dll (and should export symbols for example).
   7631       lt_prog_compiler_pic='-DDLL_EXPORT'
   7632       ;;
   7633 
   7634     hpux9* | hpux10* | hpux11*)
   7635       lt_prog_compiler_wl='-Wl,'
   7636       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7637       # not for PA HP-UX.
   7638       case $host_cpu in
   7639       hppa*64*|ia64*)
   7640 	# +Z the default
   7641 	;;
   7642       *)
   7643 	lt_prog_compiler_pic='+Z'
   7644 	;;
   7645       esac
   7646       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7647       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7648       ;;
   7649 
   7650     irix5* | irix6* | nonstopux*)
   7651       lt_prog_compiler_wl='-Wl,'
   7652       # PIC (with -KPIC) is the default.
   7653       lt_prog_compiler_static='-non_shared'
   7654       ;;
   7655 
   7656     linux* | k*bsd*-gnu)
   7657       case $cc_basename in
   7658       # old Intel for x86_64 which still supported -KPIC.
   7659       ecc*)
   7660 	lt_prog_compiler_wl='-Wl,'
   7661 	lt_prog_compiler_pic='-KPIC'
   7662 	lt_prog_compiler_static='-static'
   7663         ;;
   7664       # icc used to be incompatible with GCC.
   7665       # ICC 10 doesn't accept -KPIC any more.
   7666       icc* | ifort*)
   7667 	lt_prog_compiler_wl='-Wl,'
   7668 	lt_prog_compiler_pic='-fPIC'
   7669 	lt_prog_compiler_static='-static'
   7670         ;;
   7671       # Lahey Fortran 8.1.
   7672       lf95*)
   7673 	lt_prog_compiler_wl='-Wl,'
   7674 	lt_prog_compiler_pic='--shared'
   7675 	lt_prog_compiler_static='--static'
   7676 	;;
   7677       pgcc* | pgf77* | pgf90* | pgf95*)
   7678         # Portland Group compilers (*not* the Pentium gcc compiler,
   7679 	# which looks to be a dead project)
   7680 	lt_prog_compiler_wl='-Wl,'
   7681 	lt_prog_compiler_pic='-fpic'
   7682 	lt_prog_compiler_static='-Bstatic'
   7683         ;;
   7684       ccc*)
   7685         lt_prog_compiler_wl='-Wl,'
   7686         # All Alpha code is PIC.
   7687         lt_prog_compiler_static='-non_shared'
   7688         ;;
   7689       xl*)
   7690 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7691 	lt_prog_compiler_wl='-Wl,'
   7692 	lt_prog_compiler_pic='-qpic'
   7693 	lt_prog_compiler_static='-qstaticlink'
   7694 	;;
   7695       *)
   7696 	case `$CC -V 2>&1 | sed 5q` in
   7697 	*Sun\ C*)
   7698 	  # Sun C 5.9
   7699 	  lt_prog_compiler_pic='-KPIC'
   7700 	  lt_prog_compiler_static='-Bstatic'
   7701 	  lt_prog_compiler_wl='-Wl,'
   7702 	  ;;
   7703 	*Sun\ F*)
   7704 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7705 	  lt_prog_compiler_pic='-KPIC'
   7706 	  lt_prog_compiler_static='-Bstatic'
   7707 	  lt_prog_compiler_wl=''
   7708 	  ;;
   7709 	esac
   7710 	;;
   7711       esac
   7712       ;;
   7713 
   7714     newsos6)
   7715       lt_prog_compiler_pic='-KPIC'
   7716       lt_prog_compiler_static='-Bstatic'
   7717       ;;
   7718 
   7719     *nto* | *qnx*)
   7720       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7721       # it will coredump.
   7722       lt_prog_compiler_pic='-fPIC -shared'
   7723       ;;
   7724 
   7725     osf3* | osf4* | osf5*)
   7726       lt_prog_compiler_wl='-Wl,'
   7727       # All OSF/1 code is PIC.
   7728       lt_prog_compiler_static='-non_shared'
   7729       ;;
   7730 
   7731     rdos*)
   7732       lt_prog_compiler_static='-non_shared'
   7733       ;;
   7734 
   7735     solaris*)
   7736       lt_prog_compiler_pic='-KPIC'
   7737       lt_prog_compiler_static='-Bstatic'
   7738       case $cc_basename in
   7739       f77* | f90* | f95*)
   7740 	lt_prog_compiler_wl='-Qoption ld ';;
   7741       *)
   7742 	lt_prog_compiler_wl='-Wl,';;
   7743       esac
   7744       ;;
   7745 
   7746     sunos4*)
   7747       lt_prog_compiler_wl='-Qoption ld '
   7748       lt_prog_compiler_pic='-PIC'
   7749       lt_prog_compiler_static='-Bstatic'
   7750       ;;
   7751 
   7752     sysv4 | sysv4.2uw2* | sysv4.3*)
   7753       lt_prog_compiler_wl='-Wl,'
   7754       lt_prog_compiler_pic='-KPIC'
   7755       lt_prog_compiler_static='-Bstatic'
   7756       ;;
   7757 
   7758     sysv4*MP*)
   7759       if test -d /usr/nec ;then
   7760 	lt_prog_compiler_pic='-Kconform_pic'
   7761 	lt_prog_compiler_static='-Bstatic'
   7762       fi
   7763       ;;
   7764 
   7765     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7766       lt_prog_compiler_wl='-Wl,'
   7767       lt_prog_compiler_pic='-KPIC'
   7768       lt_prog_compiler_static='-Bstatic'
   7769       ;;
   7770 
   7771     unicos*)
   7772       lt_prog_compiler_wl='-Wl,'
   7773       lt_prog_compiler_can_build_shared=no
   7774       ;;
   7775 
   7776     uts4*)
   7777       lt_prog_compiler_pic='-pic'
   7778       lt_prog_compiler_static='-Bstatic'
   7779       ;;
   7780 
   7781     *)
   7782       lt_prog_compiler_can_build_shared=no
   7783       ;;
   7784     esac
   7785   fi
   7786 
   7787 case $host_os in
   7788   # For platforms which do not support PIC, -DPIC is meaningless:
   7789   *djgpp*)
   7790     lt_prog_compiler_pic=
   7791     ;;
   7792   *)
   7793     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7794     ;;
   7795 esac
   7796 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7797 $as_echo "$lt_prog_compiler_pic" >&6; }
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 #
   7805 # Check to make sure the PIC flag actually works.
   7806 #
   7807 if test -n "$lt_prog_compiler_pic"; then
   7808   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7809 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7810 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7811   $as_echo_n "(cached) " >&6
   7812 else
   7813   lt_cv_prog_compiler_pic_works=no
   7814    ac_outfile=conftest.$ac_objext
   7815    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7816    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7817    # Insert the option either (1) after the last *FLAGS variable, or
   7818    # (2) before a word containing "conftest.", or (3) at the end.
   7819    # Note that $ac_compile itself does not contain backslashes and begins
   7820    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7821    # The option is referenced via a variable to avoid confusing sed.
   7822    lt_compile=`echo "$ac_compile" | $SED \
   7823    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7824    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7825    -e 's:$: $lt_compiler_flag:'`
   7826    (eval echo "\"\$as_me:7826: $lt_compile\"" >&5)
   7827    (eval "$lt_compile" 2>conftest.err)
   7828    ac_status=$?
   7829    cat conftest.err >&5
   7830    echo "$as_me:7830: \$? = $ac_status" >&5
   7831    if (exit $ac_status) && test -s "$ac_outfile"; then
   7832      # The compiler can only warn and ignore the option if not recognized
   7833      # So say no if there are warnings other than the usual output.
   7834      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7835      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7836      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7837        lt_cv_prog_compiler_pic_works=yes
   7838      fi
   7839    fi
   7840    $RM conftest*
   7841 
   7842 fi
   7843 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7844 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7845 
   7846 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7847     case $lt_prog_compiler_pic in
   7848      "" | " "*) ;;
   7849      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7850      esac
   7851 else
   7852     lt_prog_compiler_pic=
   7853      lt_prog_compiler_can_build_shared=no
   7854 fi
   7855 
   7856 fi
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 #
   7864 # Check to make sure the static flag actually works.
   7865 #
   7866 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7867 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7868 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7869 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7870   $as_echo_n "(cached) " >&6
   7871 else
   7872   lt_cv_prog_compiler_static_works=no
   7873    save_LDFLAGS="$LDFLAGS"
   7874    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7875    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7876    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7877      # The linker can only warn and ignore the option if not recognized
   7878      # So say no if there are warnings
   7879      if test -s conftest.err; then
   7880        # Append any errors to the config.log.
   7881        cat conftest.err 1>&5
   7882        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7883        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7884        if diff conftest.exp conftest.er2 >/dev/null; then
   7885          lt_cv_prog_compiler_static_works=yes
   7886        fi
   7887      else
   7888        lt_cv_prog_compiler_static_works=yes
   7889      fi
   7890    fi
   7891    $RM -r conftest*
   7892    LDFLAGS="$save_LDFLAGS"
   7893 
   7894 fi
   7895 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7896 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7897 
   7898 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7899     :
   7900 else
   7901     lt_prog_compiler_static=
   7902 fi
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7911 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7912 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7913   $as_echo_n "(cached) " >&6
   7914 else
   7915   lt_cv_prog_compiler_c_o=no
   7916    $RM -r conftest 2>/dev/null
   7917    mkdir conftest
   7918    cd conftest
   7919    mkdir out
   7920    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7921 
   7922    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7923    # Insert the option either (1) after the last *FLAGS variable, or
   7924    # (2) before a word containing "conftest.", or (3) at the end.
   7925    # Note that $ac_compile itself does not contain backslashes and begins
   7926    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7927    lt_compile=`echo "$ac_compile" | $SED \
   7928    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7929    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7930    -e 's:$: $lt_compiler_flag:'`
   7931    (eval echo "\"\$as_me:7931: $lt_compile\"" >&5)
   7932    (eval "$lt_compile" 2>out/conftest.err)
   7933    ac_status=$?
   7934    cat out/conftest.err >&5
   7935    echo "$as_me:7935: \$? = $ac_status" >&5
   7936    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7937    then
   7938      # The compiler can only warn and ignore the option if not recognized
   7939      # So say no if there are warnings
   7940      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7941      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7942      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7943        lt_cv_prog_compiler_c_o=yes
   7944      fi
   7945    fi
   7946    chmod u+w . 2>&5
   7947    $RM conftest*
   7948    # SGI C++ compiler will create directory out/ii_files/ for
   7949    # template instantiation
   7950    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7951    $RM out/* && rmdir out
   7952    cd ..
   7953    $RM -r conftest
   7954    $RM conftest*
   7955 
   7956 fi
   7957 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7958 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7966 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7967 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7968   $as_echo_n "(cached) " >&6
   7969 else
   7970   lt_cv_prog_compiler_c_o=no
   7971    $RM -r conftest 2>/dev/null
   7972    mkdir conftest
   7973    cd conftest
   7974    mkdir out
   7975    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7976 
   7977    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7978    # Insert the option either (1) after the last *FLAGS variable, or
   7979    # (2) before a word containing "conftest.", or (3) at the end.
   7980    # Note that $ac_compile itself does not contain backslashes and begins
   7981    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7982    lt_compile=`echo "$ac_compile" | $SED \
   7983    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7984    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7985    -e 's:$: $lt_compiler_flag:'`
   7986    (eval echo "\"\$as_me:7986: $lt_compile\"" >&5)
   7987    (eval "$lt_compile" 2>out/conftest.err)
   7988    ac_status=$?
   7989    cat out/conftest.err >&5
   7990    echo "$as_me:7990: \$? = $ac_status" >&5
   7991    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7992    then
   7993      # The compiler can only warn and ignore the option if not recognized
   7994      # So say no if there are warnings
   7995      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7996      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7997      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7998        lt_cv_prog_compiler_c_o=yes
   7999      fi
   8000    fi
   8001    chmod u+w . 2>&5
   8002    $RM conftest*
   8003    # SGI C++ compiler will create directory out/ii_files/ for
   8004    # template instantiation
   8005    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8006    $RM out/* && rmdir out
   8007    cd ..
   8008    $RM -r conftest
   8009    $RM conftest*
   8010 
   8011 fi
   8012 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8013 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8014 
   8015 
   8016 
   8017 
   8018 hard_links="nottested"
   8019 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8020   # do not overwrite the value of need_locks provided by the user
   8021   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8022 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8023   hard_links=yes
   8024   $RM conftest*
   8025   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8026   touch conftest.a
   8027   ln conftest.a conftest.b 2>&5 || hard_links=no
   8028   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8029   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8030 $as_echo "$hard_links" >&6; }
   8031   if test "$hard_links" = no; then
   8032     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8033 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8034     need_locks=warn
   8035   fi
   8036 else
   8037   need_locks=no
   8038 fi
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8046 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8047 
   8048   runpath_var=
   8049   allow_undefined_flag=
   8050   always_export_symbols=no
   8051   archive_cmds=
   8052   archive_expsym_cmds=
   8053   compiler_needs_object=no
   8054   enable_shared_with_static_runtimes=no
   8055   export_dynamic_flag_spec=
   8056   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8057   hardcode_automatic=no
   8058   hardcode_direct=no
   8059   hardcode_direct_absolute=no
   8060   hardcode_libdir_flag_spec=
   8061   hardcode_libdir_flag_spec_ld=
   8062   hardcode_libdir_separator=
   8063   hardcode_minus_L=no
   8064   hardcode_shlibpath_var=unsupported
   8065   inherit_rpath=no
   8066   link_all_deplibs=unknown
   8067   module_cmds=
   8068   module_expsym_cmds=
   8069   old_archive_from_new_cmds=
   8070   old_archive_from_expsyms_cmds=
   8071   thread_safe_flag_spec=
   8072   whole_archive_flag_spec=
   8073   # include_expsyms should be a list of space-separated symbols to be *always*
   8074   # included in the symbol list
   8075   include_expsyms=
   8076   # exclude_expsyms can be an extended regexp of symbols to exclude
   8077   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8078   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8079   # as well as any symbol that contains `d'.
   8080   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8081   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8082   # platforms (ab)use it in PIC code, but their linkers get confused if
   8083   # the symbol is explicitly referenced.  Since portable code cannot
   8084   # rely on this symbol name, it's probably fine to never include it in
   8085   # preloaded symbol tables.
   8086   # Exclude shared library initialization/finalization symbols.
   8087   extract_expsyms_cmds=
   8088 
   8089   case $host_os in
   8090   cygwin* | mingw* | pw32* | cegcc*)
   8091     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8092     # When not using gcc, we currently assume that we are using
   8093     # Microsoft Visual C++.
   8094     if test "$GCC" != yes; then
   8095       with_gnu_ld=no
   8096     fi
   8097     ;;
   8098   interix*)
   8099     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8100     with_gnu_ld=yes
   8101     ;;
   8102   openbsd*)
   8103     with_gnu_ld=no
   8104     ;;
   8105   esac
   8106 
   8107   ld_shlibs=yes
   8108   if test "$with_gnu_ld" = yes; then
   8109     # If archive_cmds runs LD, not CC, wlarc should be empty
   8110     wlarc='${wl}'
   8111 
   8112     # Set some defaults for GNU ld with shared library support. These
   8113     # are reset later if shared libraries are not supported. Putting them
   8114     # here allows them to be overridden if necessary.
   8115     runpath_var=LD_RUN_PATH
   8116     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8117     export_dynamic_flag_spec='${wl}--export-dynamic'
   8118     # ancient GNU ld didn't support --whole-archive et. al.
   8119     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8120       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8121     else
   8122       whole_archive_flag_spec=
   8123     fi
   8124     supports_anon_versioning=no
   8125     case `$LD -v 2>&1` in
   8126       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8127       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8128       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8129       *\ 2.11.*) ;; # other 2.11 versions
   8130       *) supports_anon_versioning=yes ;;
   8131     esac
   8132 
   8133     # See if GNU ld supports shared libraries.
   8134     case $host_os in
   8135     aix[3-9]*)
   8136       # On AIX/PPC, the GNU linker is very broken
   8137       if test "$host_cpu" != ia64; then
   8138 	ld_shlibs=no
   8139 	cat <<_LT_EOF 1>&2
   8140 
   8141 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8142 *** to be unable to reliably create shared libraries on AIX.
   8143 *** Therefore, libtool is disabling shared libraries support.  If you
   8144 *** really care for shared libraries, you may want to modify your PATH
   8145 *** so that a non-GNU linker is found, and then restart.
   8146 
   8147 _LT_EOF
   8148       fi
   8149       ;;
   8150 
   8151     amigaos*)
   8152       case $host_cpu in
   8153       powerpc)
   8154             # see comment about AmigaOS4 .so support
   8155             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8156             archive_expsym_cmds=''
   8157         ;;
   8158       m68k)
   8159             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)'
   8160             hardcode_libdir_flag_spec='-L$libdir'
   8161             hardcode_minus_L=yes
   8162         ;;
   8163       esac
   8164       ;;
   8165 
   8166     beos*)
   8167       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8168 	allow_undefined_flag=unsupported
   8169 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8170 	# support --undefined.  This deserves some investigation.  FIXME
   8171 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8172       else
   8173 	ld_shlibs=no
   8174       fi
   8175       ;;
   8176 
   8177     cygwin* | mingw* | pw32* | cegcc*)
   8178       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8179       # as there is no search path for DLLs.
   8180       hardcode_libdir_flag_spec='-L$libdir'
   8181       allow_undefined_flag=unsupported
   8182       always_export_symbols=no
   8183       enable_shared_with_static_runtimes=yes
   8184       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8185 
   8186       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8187         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8188 	# If the export-symbols file already is a .def file (1st line
   8189 	# is EXPORTS), use it as is; otherwise, prepend...
   8190 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8191 	  cp $export_symbols $output_objdir/$soname.def;
   8192 	else
   8193 	  echo EXPORTS > $output_objdir/$soname.def;
   8194 	  cat $export_symbols >> $output_objdir/$soname.def;
   8195 	fi~
   8196 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8197       else
   8198 	ld_shlibs=no
   8199       fi
   8200       ;;
   8201 
   8202     interix[3-9]*)
   8203       hardcode_direct=no
   8204       hardcode_shlibpath_var=no
   8205       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8206       export_dynamic_flag_spec='${wl}-E'
   8207       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8208       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8209       # default) and relocated if they conflict, which is a slow very memory
   8210       # consuming and fragmenting process.  To avoid this, we pick a random,
   8211       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8212       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8213       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8214       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'
   8215       ;;
   8216 
   8217     gnu* | linux* | tpf* | k*bsd*-gnu)
   8218       tmp_diet=no
   8219       if test "$host_os" = linux-dietlibc; then
   8220 	case $cc_basename in
   8221 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8222 	esac
   8223       fi
   8224       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8225 	 && test "$tmp_diet" = no
   8226       then
   8227 	tmp_addflag=
   8228 	tmp_sharedflag='-shared'
   8229 	case $cc_basename,$host_cpu in
   8230         pgcc*)				# Portland Group C compiler
   8231 	  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'
   8232 	  tmp_addflag=' $pic_flag'
   8233 	  ;;
   8234 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8235 	  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'
   8236 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8237 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8238 	  tmp_addflag=' -i_dynamic' ;;
   8239 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8240 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8241 	ifc* | ifort*)			# Intel Fortran compiler
   8242 	  tmp_addflag=' -nofor_main' ;;
   8243 	lf95*)				# Lahey Fortran 8.1
   8244 	  whole_archive_flag_spec=
   8245 	  tmp_sharedflag='--shared' ;;
   8246 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8247 	  tmp_sharedflag='-qmkshrobj'
   8248 	  tmp_addflag= ;;
   8249 	esac
   8250 	case `$CC -V 2>&1 | sed 5q` in
   8251 	*Sun\ C*)			# Sun C 5.9
   8252 	  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'
   8253 	  compiler_needs_object=yes
   8254 	  tmp_sharedflag='-G' ;;
   8255 	*Sun\ F*)			# Sun Fortran 8.3
   8256 	  tmp_sharedflag='-G' ;;
   8257 	esac
   8258 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8259 
   8260         if test "x$supports_anon_versioning" = xyes; then
   8261           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8262 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8263 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8264 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8265         fi
   8266 
   8267 	case $cc_basename in
   8268 	xlf*)
   8269 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8270 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8271 	  hardcode_libdir_flag_spec=
   8272 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8273 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8274 	  if test "x$supports_anon_versioning" = xyes; then
   8275 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8276 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8277 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8278 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8279 	  fi
   8280 	  ;;
   8281 	esac
   8282       else
   8283         ld_shlibs=no
   8284       fi
   8285       ;;
   8286 
   8287     netbsd*)
   8288       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8289 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8290 	wlarc=
   8291       else
   8292 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8293 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8294       fi
   8295       ;;
   8296 
   8297     solaris*)
   8298       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8299 	ld_shlibs=no
   8300 	cat <<_LT_EOF 1>&2
   8301 
   8302 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8303 *** create shared libraries on Solaris systems.  Therefore, libtool
   8304 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8305 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8306 *** your PATH or compiler configuration so that the native linker is
   8307 *** used, and then restart.
   8308 
   8309 _LT_EOF
   8310       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8311 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8312 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8313       else
   8314 	ld_shlibs=no
   8315       fi
   8316       ;;
   8317 
   8318     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8319       case `$LD -v 2>&1` in
   8320         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8321 	ld_shlibs=no
   8322 	cat <<_LT_EOF 1>&2
   8323 
   8324 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8325 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8326 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8327 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8328 *** your PATH or compiler configuration so that the native linker is
   8329 *** used, and then restart.
   8330 
   8331 _LT_EOF
   8332 	;;
   8333 	*)
   8334 	  # For security reasons, it is highly recommended that you always
   8335 	  # use absolute paths for naming shared libraries, and exclude the
   8336 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8337 	  # requires that you compile everything twice, which is a pain.
   8338 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8339 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8340 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8341 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8342 	  else
   8343 	    ld_shlibs=no
   8344 	  fi
   8345 	;;
   8346       esac
   8347       ;;
   8348 
   8349     sunos4*)
   8350       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8351       wlarc=
   8352       hardcode_direct=yes
   8353       hardcode_shlibpath_var=no
   8354       ;;
   8355 
   8356     *)
   8357       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8358 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8359 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8360       else
   8361 	ld_shlibs=no
   8362       fi
   8363       ;;
   8364     esac
   8365 
   8366     if test "$ld_shlibs" = no; then
   8367       runpath_var=
   8368       hardcode_libdir_flag_spec=
   8369       export_dynamic_flag_spec=
   8370       whole_archive_flag_spec=
   8371     fi
   8372   else
   8373     # PORTME fill in a description of your system's linker (not GNU ld)
   8374     case $host_os in
   8375     aix3*)
   8376       allow_undefined_flag=unsupported
   8377       always_export_symbols=yes
   8378       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'
   8379       # Note: this linker hardcodes the directories in LIBPATH if there
   8380       # are no directories specified by -L.
   8381       hardcode_minus_L=yes
   8382       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8383 	# Neither direct hardcoding nor static linking is supported with a
   8384 	# broken collect2.
   8385 	hardcode_direct=unsupported
   8386       fi
   8387       ;;
   8388 
   8389     aix[4-9]*)
   8390       if test "$host_cpu" = ia64; then
   8391 	# On IA64, the linker does run time linking by default, so we don't
   8392 	# have to do anything special.
   8393 	aix_use_runtimelinking=no
   8394 	exp_sym_flag='-Bexport'
   8395 	no_entry_flag=""
   8396       else
   8397 	# If we're using GNU nm, then we don't want the "-C" option.
   8398 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8399 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8400 	  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'
   8401 	else
   8402 	  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'
   8403 	fi
   8404 	aix_use_runtimelinking=no
   8405 
   8406 	# Test if we are trying to use run time linking or normal
   8407 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8408 	# need to do runtime linking.
   8409 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8410 	  for ld_flag in $LDFLAGS; do
   8411 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8412 	    aix_use_runtimelinking=yes
   8413 	    break
   8414 	  fi
   8415 	  done
   8416 	  ;;
   8417 	esac
   8418 
   8419 	exp_sym_flag='-bexport'
   8420 	no_entry_flag='-bnoentry'
   8421       fi
   8422 
   8423       # When large executables or shared objects are built, AIX ld can
   8424       # have problems creating the table of contents.  If linking a library
   8425       # or program results in "error TOC overflow" add -mminimal-toc to
   8426       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8427       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8428 
   8429       archive_cmds=''
   8430       hardcode_direct=yes
   8431       hardcode_direct_absolute=yes
   8432       hardcode_libdir_separator=':'
   8433       link_all_deplibs=yes
   8434       file_list_spec='${wl}-f,'
   8435 
   8436       if test "$GCC" = yes; then
   8437 	case $host_os in aix4.[012]|aix4.[012].*)
   8438 	# We only want to do this on AIX 4.2 and lower, the check
   8439 	# below for broken collect2 doesn't work under 4.3+
   8440 	  collect2name=`${CC} -print-prog-name=collect2`
   8441 	  if test -f "$collect2name" &&
   8442 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8443 	  then
   8444 	  # We have reworked collect2
   8445 	  :
   8446 	  else
   8447 	  # We have old collect2
   8448 	  hardcode_direct=unsupported
   8449 	  # It fails to find uninstalled libraries when the uninstalled
   8450 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8451 	  # to unsupported forces relinking
   8452 	  hardcode_minus_L=yes
   8453 	  hardcode_libdir_flag_spec='-L$libdir'
   8454 	  hardcode_libdir_separator=
   8455 	  fi
   8456 	  ;;
   8457 	esac
   8458 	shared_flag='-shared'
   8459 	if test "$aix_use_runtimelinking" = yes; then
   8460 	  shared_flag="$shared_flag "'${wl}-G'
   8461 	fi
   8462       else
   8463 	# not using gcc
   8464 	if test "$host_cpu" = ia64; then
   8465 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8466 	# chokes on -Wl,-G. The following line is correct:
   8467 	  shared_flag='-G'
   8468 	else
   8469 	  if test "$aix_use_runtimelinking" = yes; then
   8470 	    shared_flag='${wl}-G'
   8471 	  else
   8472 	    shared_flag='${wl}-bM:SRE'
   8473 	  fi
   8474 	fi
   8475       fi
   8476 
   8477       export_dynamic_flag_spec='${wl}-bexpall'
   8478       # It seems that -bexpall does not export symbols beginning with
   8479       # underscore (_), so it is better to generate a list of symbols to export.
   8480       always_export_symbols=yes
   8481       if test "$aix_use_runtimelinking" = yes; then
   8482 	# Warning - without using the other runtime loading flags (-brtl),
   8483 	# -berok will link without error, but may produce a broken library.
   8484 	allow_undefined_flag='-berok'
   8485         # Determine the default libpath from the value encoded in an
   8486         # empty executable.
   8487         cat >conftest.$ac_ext <<_ACEOF
   8488 /* confdefs.h.  */
   8489 _ACEOF
   8490 cat confdefs.h >>conftest.$ac_ext
   8491 cat >>conftest.$ac_ext <<_ACEOF
   8492 /* end confdefs.h.  */
   8493 
   8494 int
   8495 main ()
   8496 {
   8497 
   8498   ;
   8499   return 0;
   8500 }
   8501 _ACEOF
   8502 rm -f conftest.$ac_objext conftest$ac_exeext
   8503 if { (ac_try="$ac_link"
   8504 case "(($ac_try" in
   8505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8506   *) ac_try_echo=$ac_try;;
   8507 esac
   8508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8509 $as_echo "$ac_try_echo") >&5
   8510   (eval "$ac_link") 2>conftest.er1
   8511   ac_status=$?
   8512   grep -v '^ *+' conftest.er1 >conftest.err
   8513   rm -f conftest.er1
   8514   cat conftest.err >&5
   8515   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8516   (exit $ac_status); } && {
   8517 	 test -z "$ac_c_werror_flag" ||
   8518 	 test ! -s conftest.err
   8519        } && test -s conftest$ac_exeext && {
   8520 	 test "$cross_compiling" = yes ||
   8521 	 $as_test_x conftest$ac_exeext
   8522        }; then
   8523 
   8524 lt_aix_libpath_sed='
   8525     /Import File Strings/,/^$/ {
   8526 	/^0/ {
   8527 	    s/^0  *\(.*\)$/\1/
   8528 	    p
   8529 	}
   8530     }'
   8531 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8532 # Check for a 64-bit object if we didn't find anything.
   8533 if test -z "$aix_libpath"; then
   8534   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8535 fi
   8536 else
   8537   $as_echo "$as_me: failed program was:" >&5
   8538 sed 's/^/| /' conftest.$ac_ext >&5
   8539 
   8540 
   8541 fi
   8542 
   8543 rm -rf conftest.dSYM
   8544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8545       conftest$ac_exeext conftest.$ac_ext
   8546 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8547 
   8548         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8549         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"
   8550       else
   8551 	if test "$host_cpu" = ia64; then
   8552 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8553 	  allow_undefined_flag="-z nodefs"
   8554 	  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"
   8555 	else
   8556 	 # Determine the default libpath from the value encoded in an
   8557 	 # empty executable.
   8558 	 cat >conftest.$ac_ext <<_ACEOF
   8559 /* confdefs.h.  */
   8560 _ACEOF
   8561 cat confdefs.h >>conftest.$ac_ext
   8562 cat >>conftest.$ac_ext <<_ACEOF
   8563 /* end confdefs.h.  */
   8564 
   8565 int
   8566 main ()
   8567 {
   8568 
   8569   ;
   8570   return 0;
   8571 }
   8572 _ACEOF
   8573 rm -f conftest.$ac_objext conftest$ac_exeext
   8574 if { (ac_try="$ac_link"
   8575 case "(($ac_try" in
   8576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8577   *) ac_try_echo=$ac_try;;
   8578 esac
   8579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8580 $as_echo "$ac_try_echo") >&5
   8581   (eval "$ac_link") 2>conftest.er1
   8582   ac_status=$?
   8583   grep -v '^ *+' conftest.er1 >conftest.err
   8584   rm -f conftest.er1
   8585   cat conftest.err >&5
   8586   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8587   (exit $ac_status); } && {
   8588 	 test -z "$ac_c_werror_flag" ||
   8589 	 test ! -s conftest.err
   8590        } && test -s conftest$ac_exeext && {
   8591 	 test "$cross_compiling" = yes ||
   8592 	 $as_test_x conftest$ac_exeext
   8593        }; then
   8594 
   8595 lt_aix_libpath_sed='
   8596     /Import File Strings/,/^$/ {
   8597 	/^0/ {
   8598 	    s/^0  *\(.*\)$/\1/
   8599 	    p
   8600 	}
   8601     }'
   8602 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8603 # Check for a 64-bit object if we didn't find anything.
   8604 if test -z "$aix_libpath"; then
   8605   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8606 fi
   8607 else
   8608   $as_echo "$as_me: failed program was:" >&5
   8609 sed 's/^/| /' conftest.$ac_ext >&5
   8610 
   8611 
   8612 fi
   8613 
   8614 rm -rf conftest.dSYM
   8615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8616       conftest$ac_exeext conftest.$ac_ext
   8617 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8618 
   8619 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8620 	  # Warning - without using the other run time loading flags,
   8621 	  # -berok will link without error, but may produce a broken library.
   8622 	  no_undefined_flag=' ${wl}-bernotok'
   8623 	  allow_undefined_flag=' ${wl}-berok'
   8624 	  # Exported symbols can be pulled into shared objects from archives
   8625 	  whole_archive_flag_spec='$convenience'
   8626 	  archive_cmds_need_lc=yes
   8627 	  # This is similar to how AIX traditionally builds its shared libraries.
   8628 	  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'
   8629 	fi
   8630       fi
   8631       ;;
   8632 
   8633     amigaos*)
   8634       case $host_cpu in
   8635       powerpc)
   8636             # see comment about AmigaOS4 .so support
   8637             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8638             archive_expsym_cmds=''
   8639         ;;
   8640       m68k)
   8641             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)'
   8642             hardcode_libdir_flag_spec='-L$libdir'
   8643             hardcode_minus_L=yes
   8644         ;;
   8645       esac
   8646       ;;
   8647 
   8648     bsdi[45]*)
   8649       export_dynamic_flag_spec=-rdynamic
   8650       ;;
   8651 
   8652     cygwin* | mingw* | pw32* | cegcc*)
   8653       # When not using gcc, we currently assume that we are using
   8654       # Microsoft Visual C++.
   8655       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8656       # no search path for DLLs.
   8657       hardcode_libdir_flag_spec=' '
   8658       allow_undefined_flag=unsupported
   8659       # Tell ltmain to make .lib files, not .a files.
   8660       libext=lib
   8661       # Tell ltmain to make .dll files, not .so files.
   8662       shrext_cmds=".dll"
   8663       # FIXME: Setting linknames here is a bad hack.
   8664       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8665       # The linker will automatically build a .lib file if we build a DLL.
   8666       old_archive_from_new_cmds='true'
   8667       # FIXME: Should let the user specify the lib program.
   8668       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8669       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8670       enable_shared_with_static_runtimes=yes
   8671       ;;
   8672 
   8673     darwin* | rhapsody*)
   8674 
   8675 
   8676   archive_cmds_need_lc=no
   8677   hardcode_direct=no
   8678   hardcode_automatic=yes
   8679   hardcode_shlibpath_var=unsupported
   8680   whole_archive_flag_spec=''
   8681   link_all_deplibs=yes
   8682   allow_undefined_flag="$_lt_dar_allow_undefined"
   8683   case $cc_basename in
   8684      ifort*) _lt_dar_can_shared=yes ;;
   8685      *) _lt_dar_can_shared=$GCC ;;
   8686   esac
   8687   if test "$_lt_dar_can_shared" = "yes"; then
   8688     output_verbose_link_cmd=echo
   8689     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8690     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8691     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}"
   8692     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}"
   8693 
   8694   else
   8695   ld_shlibs=no
   8696   fi
   8697 
   8698       ;;
   8699 
   8700     dgux*)
   8701       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8702       hardcode_libdir_flag_spec='-L$libdir'
   8703       hardcode_shlibpath_var=no
   8704       ;;
   8705 
   8706     freebsd1*)
   8707       ld_shlibs=no
   8708       ;;
   8709 
   8710     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8711     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8712     # does not break anything, and helps significantly (at the cost of a little
   8713     # extra space).
   8714     freebsd2.2*)
   8715       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8716       hardcode_libdir_flag_spec='-R$libdir'
   8717       hardcode_direct=yes
   8718       hardcode_shlibpath_var=no
   8719       ;;
   8720 
   8721     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8722     freebsd2*)
   8723       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8724       hardcode_direct=yes
   8725       hardcode_minus_L=yes
   8726       hardcode_shlibpath_var=no
   8727       ;;
   8728 
   8729     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8730     freebsd* | dragonfly*)
   8731       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8732       hardcode_libdir_flag_spec='-R$libdir'
   8733       hardcode_direct=yes
   8734       hardcode_shlibpath_var=no
   8735       ;;
   8736 
   8737     hpux9*)
   8738       if test "$GCC" = yes; then
   8739 	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'
   8740       else
   8741 	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'
   8742       fi
   8743       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8744       hardcode_libdir_separator=:
   8745       hardcode_direct=yes
   8746 
   8747       # hardcode_minus_L: Not really in the search PATH,
   8748       # but as the default location of the library.
   8749       hardcode_minus_L=yes
   8750       export_dynamic_flag_spec='${wl}-E'
   8751       ;;
   8752 
   8753     hpux10*)
   8754       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8755 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8756       else
   8757 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8758       fi
   8759       if test "$with_gnu_ld" = no; then
   8760 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8761 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8762 	hardcode_libdir_separator=:
   8763 	hardcode_direct=yes
   8764 	hardcode_direct_absolute=yes
   8765 	export_dynamic_flag_spec='${wl}-E'
   8766 	# hardcode_minus_L: Not really in the search PATH,
   8767 	# but as the default location of the library.
   8768 	hardcode_minus_L=yes
   8769       fi
   8770       ;;
   8771 
   8772     hpux11*)
   8773       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8774 	case $host_cpu in
   8775 	hppa*64*)
   8776 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8777 	  ;;
   8778 	ia64*)
   8779 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8780 	  ;;
   8781 	*)
   8782 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8783 	  ;;
   8784 	esac
   8785       else
   8786 	case $host_cpu in
   8787 	hppa*64*)
   8788 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8789 	  ;;
   8790 	ia64*)
   8791 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8792 	  ;;
   8793 	*)
   8794 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8795 	  ;;
   8796 	esac
   8797       fi
   8798       if test "$with_gnu_ld" = no; then
   8799 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8800 	hardcode_libdir_separator=:
   8801 
   8802 	case $host_cpu in
   8803 	hppa*64*|ia64*)
   8804 	  hardcode_direct=no
   8805 	  hardcode_shlibpath_var=no
   8806 	  ;;
   8807 	*)
   8808 	  hardcode_direct=yes
   8809 	  hardcode_direct_absolute=yes
   8810 	  export_dynamic_flag_spec='${wl}-E'
   8811 
   8812 	  # hardcode_minus_L: Not really in the search PATH,
   8813 	  # but as the default location of the library.
   8814 	  hardcode_minus_L=yes
   8815 	  ;;
   8816 	esac
   8817       fi
   8818       ;;
   8819 
   8820     irix5* | irix6* | nonstopux*)
   8821       if test "$GCC" = yes; then
   8822 	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'
   8823 	# Try to use the -exported_symbol ld option, if it does not
   8824 	# work, assume that -exports_file does not work either and
   8825 	# implicitly export all symbols.
   8826         save_LDFLAGS="$LDFLAGS"
   8827         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8828         cat >conftest.$ac_ext <<_ACEOF
   8829 int foo(void) {}
   8830 _ACEOF
   8831 rm -f conftest.$ac_objext conftest$ac_exeext
   8832 if { (ac_try="$ac_link"
   8833 case "(($ac_try" in
   8834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8835   *) ac_try_echo=$ac_try;;
   8836 esac
   8837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8838 $as_echo "$ac_try_echo") >&5
   8839   (eval "$ac_link") 2>conftest.er1
   8840   ac_status=$?
   8841   grep -v '^ *+' conftest.er1 >conftest.err
   8842   rm -f conftest.er1
   8843   cat conftest.err >&5
   8844   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8845   (exit $ac_status); } && {
   8846 	 test -z "$ac_c_werror_flag" ||
   8847 	 test ! -s conftest.err
   8848        } && test -s conftest$ac_exeext && {
   8849 	 test "$cross_compiling" = yes ||
   8850 	 $as_test_x conftest$ac_exeext
   8851        }; then
   8852   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'
   8853 
   8854 else
   8855   $as_echo "$as_me: failed program was:" >&5
   8856 sed 's/^/| /' conftest.$ac_ext >&5
   8857 
   8858 
   8859 fi
   8860 
   8861 rm -rf conftest.dSYM
   8862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8863       conftest$ac_exeext conftest.$ac_ext
   8864         LDFLAGS="$save_LDFLAGS"
   8865       else
   8866 	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'
   8867 	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'
   8868       fi
   8869       archive_cmds_need_lc='no'
   8870       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8871       hardcode_libdir_separator=:
   8872       inherit_rpath=yes
   8873       link_all_deplibs=yes
   8874       ;;
   8875 
   8876     netbsd*)
   8877       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8878 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8879       else
   8880 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8881       fi
   8882       hardcode_libdir_flag_spec='-R$libdir'
   8883       hardcode_direct=yes
   8884       hardcode_shlibpath_var=no
   8885       ;;
   8886 
   8887     newsos6)
   8888       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8889       hardcode_direct=yes
   8890       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8891       hardcode_libdir_separator=:
   8892       hardcode_shlibpath_var=no
   8893       ;;
   8894 
   8895     *nto* | *qnx*)
   8896       ;;
   8897 
   8898     openbsd*)
   8899       if test -f /usr/libexec/ld.so; then
   8900 	hardcode_direct=yes
   8901 	hardcode_shlibpath_var=no
   8902 	hardcode_direct_absolute=yes
   8903 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8904 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8905 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8906 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8907 	  export_dynamic_flag_spec='${wl}-E'
   8908 	else
   8909 	  case $host_os in
   8910 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8911 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8912 	     hardcode_libdir_flag_spec='-R$libdir'
   8913 	     ;;
   8914 	   *)
   8915 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8916 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8917 	     ;;
   8918 	  esac
   8919 	fi
   8920       else
   8921 	ld_shlibs=no
   8922       fi
   8923       ;;
   8924 
   8925     os2*)
   8926       hardcode_libdir_flag_spec='-L$libdir'
   8927       hardcode_minus_L=yes
   8928       allow_undefined_flag=unsupported
   8929       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'
   8930       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8931       ;;
   8932 
   8933     osf3*)
   8934       if test "$GCC" = yes; then
   8935 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8936 	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'
   8937       else
   8938 	allow_undefined_flag=' -expect_unresolved \*'
   8939 	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'
   8940       fi
   8941       archive_cmds_need_lc='no'
   8942       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8943       hardcode_libdir_separator=:
   8944       ;;
   8945 
   8946     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8947       if test "$GCC" = yes; then
   8948 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8949 	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'
   8950 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8951       else
   8952 	allow_undefined_flag=' -expect_unresolved \*'
   8953 	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'
   8954 	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~
   8955 	$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'
   8956 
   8957 	# Both c and cxx compiler support -rpath directly
   8958 	hardcode_libdir_flag_spec='-rpath $libdir'
   8959       fi
   8960       archive_cmds_need_lc='no'
   8961       hardcode_libdir_separator=:
   8962       ;;
   8963 
   8964     solaris*)
   8965       no_undefined_flag=' -z defs'
   8966       if test "$GCC" = yes; then
   8967 	wlarc='${wl}'
   8968 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8969 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8970 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8971       else
   8972 	case `$CC -V 2>&1` in
   8973 	*"Compilers 5.0"*)
   8974 	  wlarc=''
   8975 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8976 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8977 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   8978 	  ;;
   8979 	*)
   8980 	  wlarc='${wl}'
   8981 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8982 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8983 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8984 	  ;;
   8985 	esac
   8986       fi
   8987       hardcode_libdir_flag_spec='-R$libdir'
   8988       hardcode_shlibpath_var=no
   8989       case $host_os in
   8990       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8991       *)
   8992 	# The compiler driver will combine and reorder linker options,
   8993 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8994 	# but is careful enough not to reorder.
   8995 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8996 	if test "$GCC" = yes; then
   8997 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8998 	else
   8999 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9000 	fi
   9001 	;;
   9002       esac
   9003       link_all_deplibs=yes
   9004       ;;
   9005 
   9006     sunos4*)
   9007       if test "x$host_vendor" = xsequent; then
   9008 	# Use $CC to link under sequent, because it throws in some extra .o
   9009 	# files that make .init and .fini sections work.
   9010 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9011       else
   9012 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9013       fi
   9014       hardcode_libdir_flag_spec='-L$libdir'
   9015       hardcode_direct=yes
   9016       hardcode_minus_L=yes
   9017       hardcode_shlibpath_var=no
   9018       ;;
   9019 
   9020     sysv4)
   9021       case $host_vendor in
   9022 	sni)
   9023 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9024 	  hardcode_direct=yes # is this really true???
   9025 	;;
   9026 	siemens)
   9027 	  ## LD is ld it makes a PLAMLIB
   9028 	  ## CC just makes a GrossModule.
   9029 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9030 	  reload_cmds='$CC -r -o $output$reload_objs'
   9031 	  hardcode_direct=no
   9032         ;;
   9033 	motorola)
   9034 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9035 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9036 	;;
   9037       esac
   9038       runpath_var='LD_RUN_PATH'
   9039       hardcode_shlibpath_var=no
   9040       ;;
   9041 
   9042     sysv4.3*)
   9043       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9044       hardcode_shlibpath_var=no
   9045       export_dynamic_flag_spec='-Bexport'
   9046       ;;
   9047 
   9048     sysv4*MP*)
   9049       if test -d /usr/nec; then
   9050 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9051 	hardcode_shlibpath_var=no
   9052 	runpath_var=LD_RUN_PATH
   9053 	hardcode_runpath_var=yes
   9054 	ld_shlibs=yes
   9055       fi
   9056       ;;
   9057 
   9058     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9059       no_undefined_flag='${wl}-z,text'
   9060       archive_cmds_need_lc=no
   9061       hardcode_shlibpath_var=no
   9062       runpath_var='LD_RUN_PATH'
   9063 
   9064       if test "$GCC" = yes; then
   9065 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9066 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9067       else
   9068 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9069 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9070       fi
   9071       ;;
   9072 
   9073     sysv5* | sco3.2v5* | sco5v6*)
   9074       # Note: We can NOT use -z defs as we might desire, because we do not
   9075       # link with -lc, and that would cause any symbols used from libc to
   9076       # always be unresolved, which means just about no library would
   9077       # ever link correctly.  If we're not using GNU ld we use -z text
   9078       # though, which does catch some bad symbols but isn't as heavy-handed
   9079       # as -z defs.
   9080       no_undefined_flag='${wl}-z,text'
   9081       allow_undefined_flag='${wl}-z,nodefs'
   9082       archive_cmds_need_lc=no
   9083       hardcode_shlibpath_var=no
   9084       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9085       hardcode_libdir_separator=':'
   9086       link_all_deplibs=yes
   9087       export_dynamic_flag_spec='${wl}-Bexport'
   9088       runpath_var='LD_RUN_PATH'
   9089 
   9090       if test "$GCC" = yes; then
   9091 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9092 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9093       else
   9094 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9095 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9096       fi
   9097       ;;
   9098 
   9099     uts4*)
   9100       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9101       hardcode_libdir_flag_spec='-L$libdir'
   9102       hardcode_shlibpath_var=no
   9103       ;;
   9104 
   9105     *)
   9106       ld_shlibs=no
   9107       ;;
   9108     esac
   9109 
   9110     if test x$host_vendor = xsni; then
   9111       case $host in
   9112       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9113 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9114 	;;
   9115       esac
   9116     fi
   9117   fi
   9118 
   9119 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9120 $as_echo "$ld_shlibs" >&6; }
   9121 test "$ld_shlibs" = no && can_build_shared=no
   9122 
   9123 with_gnu_ld=$with_gnu_ld
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 #
   9140 # Do we need to explicitly link libc?
   9141 #
   9142 case "x$archive_cmds_need_lc" in
   9143 x|xyes)
   9144   # Assume -lc should be added
   9145   archive_cmds_need_lc=yes
   9146 
   9147   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9148     case $archive_cmds in
   9149     *'~'*)
   9150       # FIXME: we may have to deal with multi-command sequences.
   9151       ;;
   9152     '$CC '*)
   9153       # Test whether the compiler implicitly links with -lc since on some
   9154       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9155       # to ld, don't add -lc before -lgcc.
   9156       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9157 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9158       $RM conftest*
   9159       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9160 
   9161       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9162   (eval $ac_compile) 2>&5
   9163   ac_status=$?
   9164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9165   (exit $ac_status); } 2>conftest.err; then
   9166         soname=conftest
   9167         lib=conftest
   9168         libobjs=conftest.$ac_objext
   9169         deplibs=
   9170         wl=$lt_prog_compiler_wl
   9171 	pic_flag=$lt_prog_compiler_pic
   9172         compiler_flags=-v
   9173         linker_flags=-v
   9174         verstring=
   9175         output_objdir=.
   9176         libname=conftest
   9177         lt_save_allow_undefined_flag=$allow_undefined_flag
   9178         allow_undefined_flag=
   9179         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9180   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9181   ac_status=$?
   9182   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9183   (exit $ac_status); }
   9184         then
   9185 	  archive_cmds_need_lc=no
   9186         else
   9187 	  archive_cmds_need_lc=yes
   9188         fi
   9189         allow_undefined_flag=$lt_save_allow_undefined_flag
   9190       else
   9191         cat conftest.err 1>&5
   9192       fi
   9193       $RM conftest*
   9194       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9195 $as_echo "$archive_cmds_need_lc" >&6; }
   9196       ;;
   9197     esac
   9198   fi
   9199   ;;
   9200 esac
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9359 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9360 
   9361 if test "$GCC" = yes; then
   9362   case $host_os in
   9363     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9364     *) lt_awk_arg="/^libraries:/" ;;
   9365   esac
   9366   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9367   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9368     # if the path contains ";" then we assume it to be the separator
   9369     # otherwise default to the standard path separator (i.e. ":") - it is
   9370     # assumed that no part of a normal pathname contains ";" but that should
   9371     # okay in the real world where ";" in dirpaths is itself problematic.
   9372     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9373   else
   9374     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9375   fi
   9376   # Ok, now we have the path, separated by spaces, we can step through it
   9377   # and add multilib dir if necessary.
   9378   lt_tmp_lt_search_path_spec=
   9379   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9380   for lt_sys_path in $lt_search_path_spec; do
   9381     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9382       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9383     else
   9384       test -d "$lt_sys_path" && \
   9385 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9386     fi
   9387   done
   9388   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9389 BEGIN {RS=" "; FS="/|\n";} {
   9390   lt_foo="";
   9391   lt_count=0;
   9392   for (lt_i = NF; lt_i > 0; lt_i--) {
   9393     if ($lt_i != "" && $lt_i != ".") {
   9394       if ($lt_i == "..") {
   9395         lt_count++;
   9396       } else {
   9397         if (lt_count == 0) {
   9398           lt_foo="/" $lt_i lt_foo;
   9399         } else {
   9400           lt_count--;
   9401         }
   9402       }
   9403     }
   9404   }
   9405   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9406   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9407 }'`
   9408   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9409 else
   9410   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9411 fi
   9412 library_names_spec=
   9413 libname_spec='lib$name'
   9414 soname_spec=
   9415 shrext_cmds=".so"
   9416 postinstall_cmds=
   9417 postuninstall_cmds=
   9418 finish_cmds=
   9419 finish_eval=
   9420 shlibpath_var=
   9421 shlibpath_overrides_runpath=unknown
   9422 version_type=none
   9423 dynamic_linker="$host_os ld.so"
   9424 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9425 need_lib_prefix=unknown
   9426 hardcode_into_libs=no
   9427 
   9428 # when you set need_version to no, make sure it does not cause -set_version
   9429 # flags to be left without arguments
   9430 need_version=unknown
   9431 
   9432 case $host_os in
   9433 aix3*)
   9434   version_type=linux
   9435   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9436   shlibpath_var=LIBPATH
   9437 
   9438   # AIX 3 has no versioning support, so we append a major version to the name.
   9439   soname_spec='${libname}${release}${shared_ext}$major'
   9440   ;;
   9441 
   9442 aix[4-9]*)
   9443   version_type=linux
   9444   need_lib_prefix=no
   9445   need_version=no
   9446   hardcode_into_libs=yes
   9447   if test "$host_cpu" = ia64; then
   9448     # AIX 5 supports IA64
   9449     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9450     shlibpath_var=LD_LIBRARY_PATH
   9451   else
   9452     # With GCC up to 2.95.x, collect2 would create an import file
   9453     # for dependence libraries.  The import file would start with
   9454     # the line `#! .'.  This would cause the generated library to
   9455     # depend on `.', always an invalid library.  This was fixed in
   9456     # development snapshots of GCC prior to 3.0.
   9457     case $host_os in
   9458       aix4 | aix4.[01] | aix4.[01].*)
   9459       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9460 	   echo ' yes '
   9461 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9462 	:
   9463       else
   9464 	can_build_shared=no
   9465       fi
   9466       ;;
   9467     esac
   9468     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9469     # soname into executable. Probably we can add versioning support to
   9470     # collect2, so additional links can be useful in future.
   9471     if test "$aix_use_runtimelinking" = yes; then
   9472       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9473       # instead of lib<name>.a to let people know that these are not
   9474       # typical AIX shared libraries.
   9475       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9476     else
   9477       # We preserve .a as extension for shared libraries through AIX4.2
   9478       # and later when we are not doing run time linking.
   9479       library_names_spec='${libname}${release}.a $libname.a'
   9480       soname_spec='${libname}${release}${shared_ext}$major'
   9481     fi
   9482     shlibpath_var=LIBPATH
   9483   fi
   9484   ;;
   9485 
   9486 amigaos*)
   9487   case $host_cpu in
   9488   powerpc)
   9489     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9490     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9491     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9492     ;;
   9493   m68k)
   9494     library_names_spec='$libname.ixlibrary $libname.a'
   9495     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9496     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'
   9497     ;;
   9498   esac
   9499   ;;
   9500 
   9501 beos*)
   9502   library_names_spec='${libname}${shared_ext}'
   9503   dynamic_linker="$host_os ld.so"
   9504   shlibpath_var=LIBRARY_PATH
   9505   ;;
   9506 
   9507 bsdi[45]*)
   9508   version_type=linux
   9509   need_version=no
   9510   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9511   soname_spec='${libname}${release}${shared_ext}$major'
   9512   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9513   shlibpath_var=LD_LIBRARY_PATH
   9514   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9515   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9516   # the default ld.so.conf also contains /usr/contrib/lib and
   9517   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9518   # libtool to hard-code these into programs
   9519   ;;
   9520 
   9521 cygwin* | mingw* | pw32* | cegcc*)
   9522   version_type=windows
   9523   shrext_cmds=".dll"
   9524   need_version=no
   9525   need_lib_prefix=no
   9526 
   9527   case $GCC,$host_os in
   9528   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9529     library_names_spec='$libname.dll.a'
   9530     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9531     postinstall_cmds='base_file=`basename \${file}`~
   9532       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9533       dldir=$destdir/`dirname \$dlpath`~
   9534       test -d \$dldir || mkdir -p \$dldir~
   9535       $install_prog $dir/$dlname \$dldir/$dlname~
   9536       chmod a+x \$dldir/$dlname~
   9537       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9538         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9539       fi'
   9540     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9541       dlpath=$dir/\$dldll~
   9542        $RM \$dlpath'
   9543     shlibpath_overrides_runpath=yes
   9544 
   9545     case $host_os in
   9546     cygwin*)
   9547       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9548       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9549       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9550       ;;
   9551     mingw* | cegcc*)
   9552       # MinGW DLLs use traditional 'lib' prefix
   9553       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9554       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9555       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9556         # It is most probably a Windows format PATH printed by
   9557         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9558         # path with ; separators, and with drive letters. We can handle the
   9559         # drive letters (cygwin fileutils understands them), so leave them,
   9560         # especially as we might pass files found there to a mingw objdump,
   9561         # which wouldn't understand a cygwinified path. Ahh.
   9562         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9563       else
   9564         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9565       fi
   9566       ;;
   9567     pw32*)
   9568       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9569       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9570       ;;
   9571     esac
   9572     ;;
   9573 
   9574   *)
   9575     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9576     ;;
   9577   esac
   9578   dynamic_linker='Win32 ld.exe'
   9579   # FIXME: first we should search . and the directory the executable is in
   9580   shlibpath_var=PATH
   9581   ;;
   9582 
   9583 darwin* | rhapsody*)
   9584   dynamic_linker="$host_os dyld"
   9585   version_type=darwin
   9586   need_lib_prefix=no
   9587   need_version=no
   9588   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9589   soname_spec='${libname}${release}${major}$shared_ext'
   9590   shlibpath_overrides_runpath=yes
   9591   shlibpath_var=DYLD_LIBRARY_PATH
   9592   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9593 
   9594   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9595   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9596   ;;
   9597 
   9598 dgux*)
   9599   version_type=linux
   9600   need_lib_prefix=no
   9601   need_version=no
   9602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9603   soname_spec='${libname}${release}${shared_ext}$major'
   9604   shlibpath_var=LD_LIBRARY_PATH
   9605   ;;
   9606 
   9607 freebsd1*)
   9608   dynamic_linker=no
   9609   ;;
   9610 
   9611 freebsd* | dragonfly*)
   9612   # DragonFly does not have aout.  When/if they implement a new
   9613   # versioning mechanism, adjust this.
   9614   if test -x /usr/bin/objformat; then
   9615     objformat=`/usr/bin/objformat`
   9616   else
   9617     case $host_os in
   9618     freebsd[123]*) objformat=aout ;;
   9619     *) objformat=elf ;;
   9620     esac
   9621   fi
   9622   version_type=freebsd-$objformat
   9623   case $version_type in
   9624     freebsd-elf*)
   9625       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9626       need_version=no
   9627       need_lib_prefix=no
   9628       ;;
   9629     freebsd-*)
   9630       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9631       need_version=yes
   9632       ;;
   9633   esac
   9634   shlibpath_var=LD_LIBRARY_PATH
   9635   case $host_os in
   9636   freebsd2*)
   9637     shlibpath_overrides_runpath=yes
   9638     ;;
   9639   freebsd3.[01]* | freebsdelf3.[01]*)
   9640     shlibpath_overrides_runpath=yes
   9641     hardcode_into_libs=yes
   9642     ;;
   9643   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9644   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9645     shlibpath_overrides_runpath=no
   9646     hardcode_into_libs=yes
   9647     ;;
   9648   *) # from 4.6 on, and DragonFly
   9649     shlibpath_overrides_runpath=yes
   9650     hardcode_into_libs=yes
   9651     ;;
   9652   esac
   9653   ;;
   9654 
   9655 gnu*)
   9656   version_type=linux
   9657   need_lib_prefix=no
   9658   need_version=no
   9659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9660   soname_spec='${libname}${release}${shared_ext}$major'
   9661   shlibpath_var=LD_LIBRARY_PATH
   9662   hardcode_into_libs=yes
   9663   ;;
   9664 
   9665 hpux9* | hpux10* | hpux11*)
   9666   # Give a soname corresponding to the major version so that dld.sl refuses to
   9667   # link against other versions.
   9668   version_type=sunos
   9669   need_lib_prefix=no
   9670   need_version=no
   9671   case $host_cpu in
   9672   ia64*)
   9673     shrext_cmds='.so'
   9674     hardcode_into_libs=yes
   9675     dynamic_linker="$host_os dld.so"
   9676     shlibpath_var=LD_LIBRARY_PATH
   9677     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9678     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9679     soname_spec='${libname}${release}${shared_ext}$major'
   9680     if test "X$HPUX_IA64_MODE" = X32; then
   9681       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9682     else
   9683       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9684     fi
   9685     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9686     ;;
   9687   hppa*64*)
   9688     shrext_cmds='.sl'
   9689     hardcode_into_libs=yes
   9690     dynamic_linker="$host_os dld.sl"
   9691     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9692     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9696     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9697     ;;
   9698   *)
   9699     shrext_cmds='.sl'
   9700     dynamic_linker="$host_os dld.sl"
   9701     shlibpath_var=SHLIB_PATH
   9702     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9703     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9704     soname_spec='${libname}${release}${shared_ext}$major'
   9705     ;;
   9706   esac
   9707   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9708   postinstall_cmds='chmod 555 $lib'
   9709   ;;
   9710 
   9711 interix[3-9]*)
   9712   version_type=linux
   9713   need_lib_prefix=no
   9714   need_version=no
   9715   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9716   soname_spec='${libname}${release}${shared_ext}$major'
   9717   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9718   shlibpath_var=LD_LIBRARY_PATH
   9719   shlibpath_overrides_runpath=no
   9720   hardcode_into_libs=yes
   9721   ;;
   9722 
   9723 irix5* | irix6* | nonstopux*)
   9724   case $host_os in
   9725     nonstopux*) version_type=nonstopux ;;
   9726     *)
   9727 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9728 		version_type=linux
   9729 	else
   9730 		version_type=irix
   9731 	fi ;;
   9732   esac
   9733   need_lib_prefix=no
   9734   need_version=no
   9735   soname_spec='${libname}${release}${shared_ext}$major'
   9736   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9737   case $host_os in
   9738   irix5* | nonstopux*)
   9739     libsuff= shlibsuff=
   9740     ;;
   9741   *)
   9742     case $LD in # libtool.m4 will add one of these switches to LD
   9743     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9744       libsuff= shlibsuff= libmagic=32-bit;;
   9745     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9746       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9747     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9748       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9749     *) libsuff= shlibsuff= libmagic=never-match;;
   9750     esac
   9751     ;;
   9752   esac
   9753   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9754   shlibpath_overrides_runpath=no
   9755   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9756   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9757   hardcode_into_libs=yes
   9758   ;;
   9759 
   9760 # No shared lib support for Linux oldld, aout, or coff.
   9761 linux*oldld* | linux*aout* | linux*coff*)
   9762   dynamic_linker=no
   9763   ;;
   9764 
   9765 # This must be Linux ELF.
   9766 linux* | k*bsd*-gnu)
   9767   version_type=linux
   9768   need_lib_prefix=no
   9769   need_version=no
   9770   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9771   soname_spec='${libname}${release}${shared_ext}$major'
   9772   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9773   shlibpath_var=LD_LIBRARY_PATH
   9774   shlibpath_overrides_runpath=no
   9775   # Some binutils ld are patched to set DT_RUNPATH
   9776   save_LDFLAGS=$LDFLAGS
   9777   save_libdir=$libdir
   9778   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9779        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9780   cat >conftest.$ac_ext <<_ACEOF
   9781 /* confdefs.h.  */
   9782 _ACEOF
   9783 cat confdefs.h >>conftest.$ac_ext
   9784 cat >>conftest.$ac_ext <<_ACEOF
   9785 /* end confdefs.h.  */
   9786 
   9787 int
   9788 main ()
   9789 {
   9790 
   9791   ;
   9792   return 0;
   9793 }
   9794 _ACEOF
   9795 rm -f conftest.$ac_objext conftest$ac_exeext
   9796 if { (ac_try="$ac_link"
   9797 case "(($ac_try" in
   9798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9799   *) ac_try_echo=$ac_try;;
   9800 esac
   9801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9802 $as_echo "$ac_try_echo") >&5
   9803   (eval "$ac_link") 2>conftest.er1
   9804   ac_status=$?
   9805   grep -v '^ *+' conftest.er1 >conftest.err
   9806   rm -f conftest.er1
   9807   cat conftest.err >&5
   9808   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9809   (exit $ac_status); } && {
   9810 	 test -z "$ac_c_werror_flag" ||
   9811 	 test ! -s conftest.err
   9812        } && test -s conftest$ac_exeext && {
   9813 	 test "$cross_compiling" = yes ||
   9814 	 $as_test_x conftest$ac_exeext
   9815        }; then
   9816   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   9817   shlibpath_overrides_runpath=yes
   9818 fi
   9819 
   9820 else
   9821   $as_echo "$as_me: failed program was:" >&5
   9822 sed 's/^/| /' conftest.$ac_ext >&5
   9823 
   9824 
   9825 fi
   9826 
   9827 rm -rf conftest.dSYM
   9828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9829       conftest$ac_exeext conftest.$ac_ext
   9830   LDFLAGS=$save_LDFLAGS
   9831   libdir=$save_libdir
   9832 
   9833   # This implies no fast_install, which is unacceptable.
   9834   # Some rework will be needed to allow for fast_install
   9835   # before this can be enabled.
   9836   hardcode_into_libs=yes
   9837 
   9838   # Add ABI-specific directories to the system library path.
   9839   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   9840 
   9841   # Append ld.so.conf contents to the search path
   9842   if test -f /etc/ld.so.conf; then
   9843     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' ' '`
   9844     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9845   fi
   9846 
   9847   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9848   # powerpc, because MkLinux only supported shared libraries with the
   9849   # GNU dynamic linker.  Since this was broken with cross compilers,
   9850   # most powerpc-linux boxes support dynamic linking these days and
   9851   # people can always --disable-shared, the test was removed, and we
   9852   # assume the GNU/Linux dynamic linker is in use.
   9853   dynamic_linker='GNU/Linux ld.so'
   9854   ;;
   9855 
   9856 netbsd*)
   9857   version_type=sunos
   9858   need_lib_prefix=no
   9859   need_version=no
   9860   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9861     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9862     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9863     dynamic_linker='NetBSD (a.out) ld.so'
   9864   else
   9865     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9866     soname_spec='${libname}${release}${shared_ext}$major'
   9867     dynamic_linker='NetBSD ld.elf_so'
   9868   fi
   9869   shlibpath_var=LD_LIBRARY_PATH
   9870   shlibpath_overrides_runpath=yes
   9871   hardcode_into_libs=yes
   9872   ;;
   9873 
   9874 newsos6)
   9875   version_type=linux
   9876   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9877   shlibpath_var=LD_LIBRARY_PATH
   9878   shlibpath_overrides_runpath=yes
   9879   ;;
   9880 
   9881 *nto* | *qnx*)
   9882   version_type=qnx
   9883   need_lib_prefix=no
   9884   need_version=no
   9885   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9886   soname_spec='${libname}${release}${shared_ext}$major'
   9887   shlibpath_var=LD_LIBRARY_PATH
   9888   shlibpath_overrides_runpath=no
   9889   hardcode_into_libs=yes
   9890   dynamic_linker='ldqnx.so'
   9891   ;;
   9892 
   9893 openbsd*)
   9894   version_type=sunos
   9895   sys_lib_dlsearch_path_spec="/usr/lib"
   9896   need_lib_prefix=no
   9897   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9898   case $host_os in
   9899     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9900     *)				need_version=no  ;;
   9901   esac
   9902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9903   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9904   shlibpath_var=LD_LIBRARY_PATH
   9905   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9906     case $host_os in
   9907       openbsd2.[89] | openbsd2.[89].*)
   9908 	shlibpath_overrides_runpath=no
   9909 	;;
   9910       *)
   9911 	shlibpath_overrides_runpath=yes
   9912 	;;
   9913       esac
   9914   else
   9915     shlibpath_overrides_runpath=yes
   9916   fi
   9917   ;;
   9918 
   9919 os2*)
   9920   libname_spec='$name'
   9921   shrext_cmds=".dll"
   9922   need_lib_prefix=no
   9923   library_names_spec='$libname${shared_ext} $libname.a'
   9924   dynamic_linker='OS/2 ld.exe'
   9925   shlibpath_var=LIBPATH
   9926   ;;
   9927 
   9928 osf3* | osf4* | osf5*)
   9929   version_type=osf
   9930   need_lib_prefix=no
   9931   need_version=no
   9932   soname_spec='${libname}${release}${shared_ext}$major'
   9933   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9934   shlibpath_var=LD_LIBRARY_PATH
   9935   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9936   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9937   ;;
   9938 
   9939 rdos*)
   9940   dynamic_linker=no
   9941   ;;
   9942 
   9943 solaris*)
   9944   version_type=linux
   9945   need_lib_prefix=no
   9946   need_version=no
   9947   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9948   soname_spec='${libname}${release}${shared_ext}$major'
   9949   shlibpath_var=LD_LIBRARY_PATH
   9950   shlibpath_overrides_runpath=yes
   9951   hardcode_into_libs=yes
   9952   # ldd complains unless libraries are executable
   9953   postinstall_cmds='chmod +x $lib'
   9954   ;;
   9955 
   9956 sunos4*)
   9957   version_type=sunos
   9958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9959   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9960   shlibpath_var=LD_LIBRARY_PATH
   9961   shlibpath_overrides_runpath=yes
   9962   if test "$with_gnu_ld" = yes; then
   9963     need_lib_prefix=no
   9964   fi
   9965   need_version=yes
   9966   ;;
   9967 
   9968 sysv4 | sysv4.3*)
   9969   version_type=linux
   9970   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9971   soname_spec='${libname}${release}${shared_ext}$major'
   9972   shlibpath_var=LD_LIBRARY_PATH
   9973   case $host_vendor in
   9974     sni)
   9975       shlibpath_overrides_runpath=no
   9976       need_lib_prefix=no
   9977       runpath_var=LD_RUN_PATH
   9978       ;;
   9979     siemens)
   9980       need_lib_prefix=no
   9981       ;;
   9982     motorola)
   9983       need_lib_prefix=no
   9984       need_version=no
   9985       shlibpath_overrides_runpath=no
   9986       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9987       ;;
   9988   esac
   9989   ;;
   9990 
   9991 sysv4*MP*)
   9992   if test -d /usr/nec ;then
   9993     version_type=linux
   9994     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9995     soname_spec='$libname${shared_ext}.$major'
   9996     shlibpath_var=LD_LIBRARY_PATH
   9997   fi
   9998   ;;
   9999 
   10000 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10001   version_type=freebsd-elf
   10002   need_lib_prefix=no
   10003   need_version=no
   10004   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10005   soname_spec='${libname}${release}${shared_ext}$major'
   10006   shlibpath_var=LD_LIBRARY_PATH
   10007   shlibpath_overrides_runpath=yes
   10008   hardcode_into_libs=yes
   10009   if test "$with_gnu_ld" = yes; then
   10010     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10011   else
   10012     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10013     case $host_os in
   10014       sco3.2v5*)
   10015         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10016 	;;
   10017     esac
   10018   fi
   10019   sys_lib_dlsearch_path_spec='/usr/lib'
   10020   ;;
   10021 
   10022 tpf*)
   10023   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10024   version_type=linux
   10025   need_lib_prefix=no
   10026   need_version=no
   10027   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10028   shlibpath_var=LD_LIBRARY_PATH
   10029   shlibpath_overrides_runpath=no
   10030   hardcode_into_libs=yes
   10031   ;;
   10032 
   10033 uts4*)
   10034   version_type=linux
   10035   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10036   soname_spec='${libname}${release}${shared_ext}$major'
   10037   shlibpath_var=LD_LIBRARY_PATH
   10038   ;;
   10039 
   10040 *)
   10041   dynamic_linker=no
   10042   ;;
   10043 esac
   10044 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10045 $as_echo "$dynamic_linker" >&6; }
   10046 test "$dynamic_linker" = no && can_build_shared=no
   10047 
   10048 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10049 if test "$GCC" = yes; then
   10050   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10051 fi
   10052 
   10053 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10054   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10055 fi
   10056 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10057   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10058 fi
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10147 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10148 hardcode_action=
   10149 if test -n "$hardcode_libdir_flag_spec" ||
   10150    test -n "$runpath_var" ||
   10151    test "X$hardcode_automatic" = "Xyes" ; then
   10152 
   10153   # We can hardcode non-existent directories.
   10154   if test "$hardcode_direct" != no &&
   10155      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10156      # have to relink, otherwise we might link with an installed library
   10157      # when we should be linking with a yet-to-be-installed one
   10158      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10159      test "$hardcode_minus_L" != no; then
   10160     # Linking always hardcodes the temporary library directory.
   10161     hardcode_action=relink
   10162   else
   10163     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10164     hardcode_action=immediate
   10165   fi
   10166 else
   10167   # We cannot hardcode anything, or else we can only hardcode existing
   10168   # directories.
   10169   hardcode_action=unsupported
   10170 fi
   10171 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10172 $as_echo "$hardcode_action" >&6; }
   10173 
   10174 if test "$hardcode_action" = relink ||
   10175    test "$inherit_rpath" = yes; then
   10176   # Fast installation is not supported
   10177   enable_fast_install=no
   10178 elif test "$shlibpath_overrides_runpath" = yes ||
   10179      test "$enable_shared" = no; then
   10180   # Fast installation is not necessary
   10181   enable_fast_install=needless
   10182 fi
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189   if test "x$enable_dlopen" != xyes; then
   10190   enable_dlopen=unknown
   10191   enable_dlopen_self=unknown
   10192   enable_dlopen_self_static=unknown
   10193 else
   10194   lt_cv_dlopen=no
   10195   lt_cv_dlopen_libs=
   10196 
   10197   case $host_os in
   10198   beos*)
   10199     lt_cv_dlopen="load_add_on"
   10200     lt_cv_dlopen_libs=
   10201     lt_cv_dlopen_self=yes
   10202     ;;
   10203 
   10204   mingw* | pw32* | cegcc*)
   10205     lt_cv_dlopen="LoadLibrary"
   10206     lt_cv_dlopen_libs=
   10207     ;;
   10208 
   10209   cygwin*)
   10210     lt_cv_dlopen="dlopen"
   10211     lt_cv_dlopen_libs=
   10212     ;;
   10213 
   10214   darwin*)
   10215   # if libdl is installed we need to link against it
   10216     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10217 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10218 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10219   $as_echo_n "(cached) " >&6
   10220 else
   10221   ac_check_lib_save_LIBS=$LIBS
   10222 LIBS="-ldl  $LIBS"
   10223 cat >conftest.$ac_ext <<_ACEOF
   10224 /* confdefs.h.  */
   10225 _ACEOF
   10226 cat confdefs.h >>conftest.$ac_ext
   10227 cat >>conftest.$ac_ext <<_ACEOF
   10228 /* end confdefs.h.  */
   10229 
   10230 /* Override any GCC internal prototype to avoid an error.
   10231    Use char because int might match the return type of a GCC
   10232    builtin and then its argument prototype would still apply.  */
   10233 #ifdef __cplusplus
   10234 extern "C"
   10235 #endif
   10236 char dlopen ();
   10237 int
   10238 main ()
   10239 {
   10240 return dlopen ();
   10241   ;
   10242   return 0;
   10243 }
   10244 _ACEOF
   10245 rm -f conftest.$ac_objext conftest$ac_exeext
   10246 if { (ac_try="$ac_link"
   10247 case "(($ac_try" in
   10248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10249   *) ac_try_echo=$ac_try;;
   10250 esac
   10251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10252 $as_echo "$ac_try_echo") >&5
   10253   (eval "$ac_link") 2>conftest.er1
   10254   ac_status=$?
   10255   grep -v '^ *+' conftest.er1 >conftest.err
   10256   rm -f conftest.er1
   10257   cat conftest.err >&5
   10258   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10259   (exit $ac_status); } && {
   10260 	 test -z "$ac_c_werror_flag" ||
   10261 	 test ! -s conftest.err
   10262        } && test -s conftest$ac_exeext && {
   10263 	 test "$cross_compiling" = yes ||
   10264 	 $as_test_x conftest$ac_exeext
   10265        }; then
   10266   ac_cv_lib_dl_dlopen=yes
   10267 else
   10268   $as_echo "$as_me: failed program was:" >&5
   10269 sed 's/^/| /' conftest.$ac_ext >&5
   10270 
   10271 	ac_cv_lib_dl_dlopen=no
   10272 fi
   10273 
   10274 rm -rf conftest.dSYM
   10275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10276       conftest$ac_exeext conftest.$ac_ext
   10277 LIBS=$ac_check_lib_save_LIBS
   10278 fi
   10279 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10280 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10281 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10282   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10283 else
   10284 
   10285     lt_cv_dlopen="dyld"
   10286     lt_cv_dlopen_libs=
   10287     lt_cv_dlopen_self=yes
   10288 
   10289 fi
   10290 
   10291     ;;
   10292 
   10293   *)
   10294     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   10295 $as_echo_n "checking for shl_load... " >&6; }
   10296 if test "${ac_cv_func_shl_load+set}" = set; then
   10297   $as_echo_n "(cached) " >&6
   10298 else
   10299   cat >conftest.$ac_ext <<_ACEOF
   10300 /* confdefs.h.  */
   10301 _ACEOF
   10302 cat confdefs.h >>conftest.$ac_ext
   10303 cat >>conftest.$ac_ext <<_ACEOF
   10304 /* end confdefs.h.  */
   10305 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   10306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10307 #define shl_load innocuous_shl_load
   10308 
   10309 /* System header to define __stub macros and hopefully few prototypes,
   10310     which can conflict with char shl_load (); below.
   10311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10312     <limits.h> exists even on freestanding compilers.  */
   10313 
   10314 #ifdef __STDC__
   10315 # include <limits.h>
   10316 #else
   10317 # include <assert.h>
   10318 #endif
   10319 
   10320 #undef shl_load
   10321 
   10322 /* Override any GCC internal prototype to avoid an error.
   10323    Use char because int might match the return type of a GCC
   10324    builtin and then its argument prototype would still apply.  */
   10325 #ifdef __cplusplus
   10326 extern "C"
   10327 #endif
   10328 char shl_load ();
   10329 /* The GNU C library defines this for functions which it implements
   10330     to always fail with ENOSYS.  Some functions are actually named
   10331     something starting with __ and the normal name is an alias.  */
   10332 #if defined __stub_shl_load || defined __stub___shl_load
   10333 choke me
   10334 #endif
   10335 
   10336 int
   10337 main ()
   10338 {
   10339 return shl_load ();
   10340   ;
   10341   return 0;
   10342 }
   10343 _ACEOF
   10344 rm -f conftest.$ac_objext conftest$ac_exeext
   10345 if { (ac_try="$ac_link"
   10346 case "(($ac_try" in
   10347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10348   *) ac_try_echo=$ac_try;;
   10349 esac
   10350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10351 $as_echo "$ac_try_echo") >&5
   10352   (eval "$ac_link") 2>conftest.er1
   10353   ac_status=$?
   10354   grep -v '^ *+' conftest.er1 >conftest.err
   10355   rm -f conftest.er1
   10356   cat conftest.err >&5
   10357   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10358   (exit $ac_status); } && {
   10359 	 test -z "$ac_c_werror_flag" ||
   10360 	 test ! -s conftest.err
   10361        } && test -s conftest$ac_exeext && {
   10362 	 test "$cross_compiling" = yes ||
   10363 	 $as_test_x conftest$ac_exeext
   10364        }; then
   10365   ac_cv_func_shl_load=yes
   10366 else
   10367   $as_echo "$as_me: failed program was:" >&5
   10368 sed 's/^/| /' conftest.$ac_ext >&5
   10369 
   10370 	ac_cv_func_shl_load=no
   10371 fi
   10372 
   10373 rm -rf conftest.dSYM
   10374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10375       conftest$ac_exeext conftest.$ac_ext
   10376 fi
   10377 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10378 $as_echo "$ac_cv_func_shl_load" >&6; }
   10379 if test "x$ac_cv_func_shl_load" = x""yes; then
   10380   lt_cv_dlopen="shl_load"
   10381 else
   10382   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10383 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10384 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10385   $as_echo_n "(cached) " >&6
   10386 else
   10387   ac_check_lib_save_LIBS=$LIBS
   10388 LIBS="-ldld  $LIBS"
   10389 cat >conftest.$ac_ext <<_ACEOF
   10390 /* confdefs.h.  */
   10391 _ACEOF
   10392 cat confdefs.h >>conftest.$ac_ext
   10393 cat >>conftest.$ac_ext <<_ACEOF
   10394 /* end confdefs.h.  */
   10395 
   10396 /* Override any GCC internal prototype to avoid an error.
   10397    Use char because int might match the return type of a GCC
   10398    builtin and then its argument prototype would still apply.  */
   10399 #ifdef __cplusplus
   10400 extern "C"
   10401 #endif
   10402 char shl_load ();
   10403 int
   10404 main ()
   10405 {
   10406 return shl_load ();
   10407   ;
   10408   return 0;
   10409 }
   10410 _ACEOF
   10411 rm -f conftest.$ac_objext conftest$ac_exeext
   10412 if { (ac_try="$ac_link"
   10413 case "(($ac_try" in
   10414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10415   *) ac_try_echo=$ac_try;;
   10416 esac
   10417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10418 $as_echo "$ac_try_echo") >&5
   10419   (eval "$ac_link") 2>conftest.er1
   10420   ac_status=$?
   10421   grep -v '^ *+' conftest.er1 >conftest.err
   10422   rm -f conftest.er1
   10423   cat conftest.err >&5
   10424   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10425   (exit $ac_status); } && {
   10426 	 test -z "$ac_c_werror_flag" ||
   10427 	 test ! -s conftest.err
   10428        } && test -s conftest$ac_exeext && {
   10429 	 test "$cross_compiling" = yes ||
   10430 	 $as_test_x conftest$ac_exeext
   10431        }; then
   10432   ac_cv_lib_dld_shl_load=yes
   10433 else
   10434   $as_echo "$as_me: failed program was:" >&5
   10435 sed 's/^/| /' conftest.$ac_ext >&5
   10436 
   10437 	ac_cv_lib_dld_shl_load=no
   10438 fi
   10439 
   10440 rm -rf conftest.dSYM
   10441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10442       conftest$ac_exeext conftest.$ac_ext
   10443 LIBS=$ac_check_lib_save_LIBS
   10444 fi
   10445 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10446 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10447 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10448   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10449 else
   10450   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10451 $as_echo_n "checking for dlopen... " >&6; }
   10452 if test "${ac_cv_func_dlopen+set}" = set; then
   10453   $as_echo_n "(cached) " >&6
   10454 else
   10455   cat >conftest.$ac_ext <<_ACEOF
   10456 /* confdefs.h.  */
   10457 _ACEOF
   10458 cat confdefs.h >>conftest.$ac_ext
   10459 cat >>conftest.$ac_ext <<_ACEOF
   10460 /* end confdefs.h.  */
   10461 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10462    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10463 #define dlopen innocuous_dlopen
   10464 
   10465 /* System header to define __stub macros and hopefully few prototypes,
   10466     which can conflict with char dlopen (); below.
   10467     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10468     <limits.h> exists even on freestanding compilers.  */
   10469 
   10470 #ifdef __STDC__
   10471 # include <limits.h>
   10472 #else
   10473 # include <assert.h>
   10474 #endif
   10475 
   10476 #undef dlopen
   10477 
   10478 /* Override any GCC internal prototype to avoid an error.
   10479    Use char because int might match the return type of a GCC
   10480    builtin and then its argument prototype would still apply.  */
   10481 #ifdef __cplusplus
   10482 extern "C"
   10483 #endif
   10484 char dlopen ();
   10485 /* The GNU C library defines this for functions which it implements
   10486     to always fail with ENOSYS.  Some functions are actually named
   10487     something starting with __ and the normal name is an alias.  */
   10488 #if defined __stub_dlopen || defined __stub___dlopen
   10489 choke me
   10490 #endif
   10491 
   10492 int
   10493 main ()
   10494 {
   10495 return dlopen ();
   10496   ;
   10497   return 0;
   10498 }
   10499 _ACEOF
   10500 rm -f conftest.$ac_objext conftest$ac_exeext
   10501 if { (ac_try="$ac_link"
   10502 case "(($ac_try" in
   10503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10504   *) ac_try_echo=$ac_try;;
   10505 esac
   10506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10507 $as_echo "$ac_try_echo") >&5
   10508   (eval "$ac_link") 2>conftest.er1
   10509   ac_status=$?
   10510   grep -v '^ *+' conftest.er1 >conftest.err
   10511   rm -f conftest.er1
   10512   cat conftest.err >&5
   10513   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10514   (exit $ac_status); } && {
   10515 	 test -z "$ac_c_werror_flag" ||
   10516 	 test ! -s conftest.err
   10517        } && test -s conftest$ac_exeext && {
   10518 	 test "$cross_compiling" = yes ||
   10519 	 $as_test_x conftest$ac_exeext
   10520        }; then
   10521   ac_cv_func_dlopen=yes
   10522 else
   10523   $as_echo "$as_me: failed program was:" >&5
   10524 sed 's/^/| /' conftest.$ac_ext >&5
   10525 
   10526 	ac_cv_func_dlopen=no
   10527 fi
   10528 
   10529 rm -rf conftest.dSYM
   10530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10531       conftest$ac_exeext conftest.$ac_ext
   10532 fi
   10533 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10534 $as_echo "$ac_cv_func_dlopen" >&6; }
   10535 if test "x$ac_cv_func_dlopen" = x""yes; then
   10536   lt_cv_dlopen="dlopen"
   10537 else
   10538   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10539 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10540 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10541   $as_echo_n "(cached) " >&6
   10542 else
   10543   ac_check_lib_save_LIBS=$LIBS
   10544 LIBS="-ldl  $LIBS"
   10545 cat >conftest.$ac_ext <<_ACEOF
   10546 /* confdefs.h.  */
   10547 _ACEOF
   10548 cat confdefs.h >>conftest.$ac_ext
   10549 cat >>conftest.$ac_ext <<_ACEOF
   10550 /* end confdefs.h.  */
   10551 
   10552 /* Override any GCC internal prototype to avoid an error.
   10553    Use char because int might match the return type of a GCC
   10554    builtin and then its argument prototype would still apply.  */
   10555 #ifdef __cplusplus
   10556 extern "C"
   10557 #endif
   10558 char dlopen ();
   10559 int
   10560 main ()
   10561 {
   10562 return dlopen ();
   10563   ;
   10564   return 0;
   10565 }
   10566 _ACEOF
   10567 rm -f conftest.$ac_objext conftest$ac_exeext
   10568 if { (ac_try="$ac_link"
   10569 case "(($ac_try" in
   10570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10571   *) ac_try_echo=$ac_try;;
   10572 esac
   10573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10574 $as_echo "$ac_try_echo") >&5
   10575   (eval "$ac_link") 2>conftest.er1
   10576   ac_status=$?
   10577   grep -v '^ *+' conftest.er1 >conftest.err
   10578   rm -f conftest.er1
   10579   cat conftest.err >&5
   10580   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10581   (exit $ac_status); } && {
   10582 	 test -z "$ac_c_werror_flag" ||
   10583 	 test ! -s conftest.err
   10584        } && test -s conftest$ac_exeext && {
   10585 	 test "$cross_compiling" = yes ||
   10586 	 $as_test_x conftest$ac_exeext
   10587        }; then
   10588   ac_cv_lib_dl_dlopen=yes
   10589 else
   10590   $as_echo "$as_me: failed program was:" >&5
   10591 sed 's/^/| /' conftest.$ac_ext >&5
   10592 
   10593 	ac_cv_lib_dl_dlopen=no
   10594 fi
   10595 
   10596 rm -rf conftest.dSYM
   10597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10598       conftest$ac_exeext conftest.$ac_ext
   10599 LIBS=$ac_check_lib_save_LIBS
   10600 fi
   10601 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10602 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10603 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10604   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10605 else
   10606   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10607 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10608 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10609   $as_echo_n "(cached) " >&6
   10610 else
   10611   ac_check_lib_save_LIBS=$LIBS
   10612 LIBS="-lsvld  $LIBS"
   10613 cat >conftest.$ac_ext <<_ACEOF
   10614 /* confdefs.h.  */
   10615 _ACEOF
   10616 cat confdefs.h >>conftest.$ac_ext
   10617 cat >>conftest.$ac_ext <<_ACEOF
   10618 /* end confdefs.h.  */
   10619 
   10620 /* Override any GCC internal prototype to avoid an error.
   10621    Use char because int might match the return type of a GCC
   10622    builtin and then its argument prototype would still apply.  */
   10623 #ifdef __cplusplus
   10624 extern "C"
   10625 #endif
   10626 char dlopen ();
   10627 int
   10628 main ()
   10629 {
   10630 return dlopen ();
   10631   ;
   10632   return 0;
   10633 }
   10634 _ACEOF
   10635 rm -f conftest.$ac_objext conftest$ac_exeext
   10636 if { (ac_try="$ac_link"
   10637 case "(($ac_try" in
   10638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10639   *) ac_try_echo=$ac_try;;
   10640 esac
   10641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10642 $as_echo "$ac_try_echo") >&5
   10643   (eval "$ac_link") 2>conftest.er1
   10644   ac_status=$?
   10645   grep -v '^ *+' conftest.er1 >conftest.err
   10646   rm -f conftest.er1
   10647   cat conftest.err >&5
   10648   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10649   (exit $ac_status); } && {
   10650 	 test -z "$ac_c_werror_flag" ||
   10651 	 test ! -s conftest.err
   10652        } && test -s conftest$ac_exeext && {
   10653 	 test "$cross_compiling" = yes ||
   10654 	 $as_test_x conftest$ac_exeext
   10655        }; then
   10656   ac_cv_lib_svld_dlopen=yes
   10657 else
   10658   $as_echo "$as_me: failed program was:" >&5
   10659 sed 's/^/| /' conftest.$ac_ext >&5
   10660 
   10661 	ac_cv_lib_svld_dlopen=no
   10662 fi
   10663 
   10664 rm -rf conftest.dSYM
   10665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10666       conftest$ac_exeext conftest.$ac_ext
   10667 LIBS=$ac_check_lib_save_LIBS
   10668 fi
   10669 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10670 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10671 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10672   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10673 else
   10674   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10675 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10676 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10677   $as_echo_n "(cached) " >&6
   10678 else
   10679   ac_check_lib_save_LIBS=$LIBS
   10680 LIBS="-ldld  $LIBS"
   10681 cat >conftest.$ac_ext <<_ACEOF
   10682 /* confdefs.h.  */
   10683 _ACEOF
   10684 cat confdefs.h >>conftest.$ac_ext
   10685 cat >>conftest.$ac_ext <<_ACEOF
   10686 /* end confdefs.h.  */
   10687 
   10688 /* Override any GCC internal prototype to avoid an error.
   10689    Use char because int might match the return type of a GCC
   10690    builtin and then its argument prototype would still apply.  */
   10691 #ifdef __cplusplus
   10692 extern "C"
   10693 #endif
   10694 char dld_link ();
   10695 int
   10696 main ()
   10697 {
   10698 return dld_link ();
   10699   ;
   10700   return 0;
   10701 }
   10702 _ACEOF
   10703 rm -f conftest.$ac_objext conftest$ac_exeext
   10704 if { (ac_try="$ac_link"
   10705 case "(($ac_try" in
   10706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10707   *) ac_try_echo=$ac_try;;
   10708 esac
   10709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10710 $as_echo "$ac_try_echo") >&5
   10711   (eval "$ac_link") 2>conftest.er1
   10712   ac_status=$?
   10713   grep -v '^ *+' conftest.er1 >conftest.err
   10714   rm -f conftest.er1
   10715   cat conftest.err >&5
   10716   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10717   (exit $ac_status); } && {
   10718 	 test -z "$ac_c_werror_flag" ||
   10719 	 test ! -s conftest.err
   10720        } && test -s conftest$ac_exeext && {
   10721 	 test "$cross_compiling" = yes ||
   10722 	 $as_test_x conftest$ac_exeext
   10723        }; then
   10724   ac_cv_lib_dld_dld_link=yes
   10725 else
   10726   $as_echo "$as_me: failed program was:" >&5
   10727 sed 's/^/| /' conftest.$ac_ext >&5
   10728 
   10729 	ac_cv_lib_dld_dld_link=no
   10730 fi
   10731 
   10732 rm -rf conftest.dSYM
   10733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10734       conftest$ac_exeext conftest.$ac_ext
   10735 LIBS=$ac_check_lib_save_LIBS
   10736 fi
   10737 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10738 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10739 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10740   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10741 fi
   10742 
   10743 
   10744 fi
   10745 
   10746 
   10747 fi
   10748 
   10749 
   10750 fi
   10751 
   10752 
   10753 fi
   10754 
   10755 
   10756 fi
   10757 
   10758     ;;
   10759   esac
   10760 
   10761   if test "x$lt_cv_dlopen" != xno; then
   10762     enable_dlopen=yes
   10763   else
   10764     enable_dlopen=no
   10765   fi
   10766 
   10767   case $lt_cv_dlopen in
   10768   dlopen)
   10769     save_CPPFLAGS="$CPPFLAGS"
   10770     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10771 
   10772     save_LDFLAGS="$LDFLAGS"
   10773     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10774 
   10775     save_LIBS="$LIBS"
   10776     LIBS="$lt_cv_dlopen_libs $LIBS"
   10777 
   10778     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10779 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10780 if test "${lt_cv_dlopen_self+set}" = set; then
   10781   $as_echo_n "(cached) " >&6
   10782 else
   10783   	  if test "$cross_compiling" = yes; then :
   10784   lt_cv_dlopen_self=cross
   10785 else
   10786   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10787   lt_status=$lt_dlunknown
   10788   cat > conftest.$ac_ext <<_LT_EOF
   10789 #line 10789 "configure"
   10790 #include "confdefs.h"
   10791 
   10792 #if HAVE_DLFCN_H
   10793 #include <dlfcn.h>
   10794 #endif
   10795 
   10796 #include <stdio.h>
   10797 
   10798 #ifdef RTLD_GLOBAL
   10799 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10800 #else
   10801 #  ifdef DL_GLOBAL
   10802 #    define LT_DLGLOBAL		DL_GLOBAL
   10803 #  else
   10804 #    define LT_DLGLOBAL		0
   10805 #  endif
   10806 #endif
   10807 
   10808 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10809    find out it does not work in some platform. */
   10810 #ifndef LT_DLLAZY_OR_NOW
   10811 #  ifdef RTLD_LAZY
   10812 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10813 #  else
   10814 #    ifdef DL_LAZY
   10815 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10816 #    else
   10817 #      ifdef RTLD_NOW
   10818 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10819 #      else
   10820 #        ifdef DL_NOW
   10821 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10822 #        else
   10823 #          define LT_DLLAZY_OR_NOW	0
   10824 #        endif
   10825 #      endif
   10826 #    endif
   10827 #  endif
   10828 #endif
   10829 
   10830 void fnord() { int i=42;}
   10831 int main ()
   10832 {
   10833   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10834   int status = $lt_dlunknown;
   10835 
   10836   if (self)
   10837     {
   10838       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10839       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10840       /* dlclose (self); */
   10841     }
   10842   else
   10843     puts (dlerror ());
   10844 
   10845   return status;
   10846 }
   10847 _LT_EOF
   10848   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10849   (eval $ac_link) 2>&5
   10850   ac_status=$?
   10851   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10852   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10853     (./conftest; exit; ) >&5 2>/dev/null
   10854     lt_status=$?
   10855     case x$lt_status in
   10856       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10857       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10858       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10859     esac
   10860   else :
   10861     # compilation failed
   10862     lt_cv_dlopen_self=no
   10863   fi
   10864 fi
   10865 rm -fr conftest*
   10866 
   10867 
   10868 fi
   10869 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10870 $as_echo "$lt_cv_dlopen_self" >&6; }
   10871 
   10872     if test "x$lt_cv_dlopen_self" = xyes; then
   10873       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10874       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10875 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10876 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10877   $as_echo_n "(cached) " >&6
   10878 else
   10879   	  if test "$cross_compiling" = yes; then :
   10880   lt_cv_dlopen_self_static=cross
   10881 else
   10882   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10883   lt_status=$lt_dlunknown
   10884   cat > conftest.$ac_ext <<_LT_EOF
   10885 #line 10885 "configure"
   10886 #include "confdefs.h"
   10887 
   10888 #if HAVE_DLFCN_H
   10889 #include <dlfcn.h>
   10890 #endif
   10891 
   10892 #include <stdio.h>
   10893 
   10894 #ifdef RTLD_GLOBAL
   10895 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10896 #else
   10897 #  ifdef DL_GLOBAL
   10898 #    define LT_DLGLOBAL		DL_GLOBAL
   10899 #  else
   10900 #    define LT_DLGLOBAL		0
   10901 #  endif
   10902 #endif
   10903 
   10904 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10905    find out it does not work in some platform. */
   10906 #ifndef LT_DLLAZY_OR_NOW
   10907 #  ifdef RTLD_LAZY
   10908 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10909 #  else
   10910 #    ifdef DL_LAZY
   10911 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10912 #    else
   10913 #      ifdef RTLD_NOW
   10914 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10915 #      else
   10916 #        ifdef DL_NOW
   10917 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10918 #        else
   10919 #          define LT_DLLAZY_OR_NOW	0
   10920 #        endif
   10921 #      endif
   10922 #    endif
   10923 #  endif
   10924 #endif
   10925 
   10926 void fnord() { int i=42;}
   10927 int main ()
   10928 {
   10929   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10930   int status = $lt_dlunknown;
   10931 
   10932   if (self)
   10933     {
   10934       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10935       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10936       /* dlclose (self); */
   10937     }
   10938   else
   10939     puts (dlerror ());
   10940 
   10941   return status;
   10942 }
   10943 _LT_EOF
   10944   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10945   (eval $ac_link) 2>&5
   10946   ac_status=$?
   10947   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10948   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10949     (./conftest; exit; ) >&5 2>/dev/null
   10950     lt_status=$?
   10951     case x$lt_status in
   10952       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10953       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10954       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10955     esac
   10956   else :
   10957     # compilation failed
   10958     lt_cv_dlopen_self_static=no
   10959   fi
   10960 fi
   10961 rm -fr conftest*
   10962 
   10963 
   10964 fi
   10965 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10966 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10967     fi
   10968 
   10969     CPPFLAGS="$save_CPPFLAGS"
   10970     LDFLAGS="$save_LDFLAGS"
   10971     LIBS="$save_LIBS"
   10972     ;;
   10973   esac
   10974 
   10975   case $lt_cv_dlopen_self in
   10976   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10977   *) enable_dlopen_self=unknown ;;
   10978   esac
   10979 
   10980   case $lt_cv_dlopen_self_static in
   10981   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10982   *) enable_dlopen_self_static=unknown ;;
   10983   esac
   10984 fi
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 striplib=
   11003 old_striplib=
   11004 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   11005 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11006 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11007   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11008   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11009   { $as_echo "$as_me:$LINENO: result: yes" >&5
   11010 $as_echo "yes" >&6; }
   11011 else
   11012 # FIXME - insert some real tests, host_os isn't really good enough
   11013   case $host_os in
   11014   darwin*)
   11015     if test -n "$STRIP" ; then
   11016       striplib="$STRIP -x"
   11017       old_striplib="$STRIP -S"
   11018       { $as_echo "$as_me:$LINENO: result: yes" >&5
   11019 $as_echo "yes" >&6; }
   11020     else
   11021       { $as_echo "$as_me:$LINENO: result: no" >&5
   11022 $as_echo "no" >&6; }
   11023     fi
   11024     ;;
   11025   *)
   11026     { $as_echo "$as_me:$LINENO: result: no" >&5
   11027 $as_echo "no" >&6; }
   11028     ;;
   11029   esac
   11030 fi
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043   # Report which library types will actually be built
   11044   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11045 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11046   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11047 $as_echo "$can_build_shared" >&6; }
   11048 
   11049   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11050 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11051   test "$can_build_shared" = "no" && enable_shared=no
   11052 
   11053   # On AIX, shared libraries and static libraries use the same namespace, and
   11054   # are all built from PIC.
   11055   case $host_os in
   11056   aix3*)
   11057     test "$enable_shared" = yes && enable_static=no
   11058     if test -n "$RANLIB"; then
   11059       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11060       postinstall_cmds='$RANLIB $lib'
   11061     fi
   11062     ;;
   11063 
   11064   aix[4-9]*)
   11065     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11066       test "$enable_shared" = yes && enable_static=no
   11067     fi
   11068     ;;
   11069   esac
   11070   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   11071 $as_echo "$enable_shared" >&6; }
   11072 
   11073   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11074 $as_echo_n "checking whether to build static libraries... " >&6; }
   11075   # Make sure either enable_shared or enable_static is yes.
   11076   test "$enable_shared" = yes || enable_static=yes
   11077   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   11078 $as_echo "$enable_static" >&6; }
   11079 
   11080 
   11081 
   11082 
   11083 fi
   11084 ac_ext=c
   11085 ac_cpp='$CPP $CPPFLAGS'
   11086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11089 
   11090 CC="$lt_save_CC"
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104         ac_config_commands="$ac_config_commands libtool"
   11105 
   11106 
   11107 
   11108 
   11109 # Only expand once:
   11110 
   11111 
   11112 ac_ext=c
   11113 ac_cpp='$CPP $CPPFLAGS'
   11114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11117 if test -n "$ac_tool_prefix"; then
   11118   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   11119 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   11120 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11121 $as_echo_n "checking for $ac_word... " >&6; }
   11122 if test "${ac_cv_prog_CC+set}" = set; then
   11123   $as_echo_n "(cached) " >&6
   11124 else
   11125   if test -n "$CC"; then
   11126   ac_cv_prog_CC="$CC" # Let the user override the test.
   11127 else
   11128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11129 for as_dir in $PATH
   11130 do
   11131   IFS=$as_save_IFS
   11132   test -z "$as_dir" && as_dir=.
   11133   for ac_exec_ext in '' $ac_executable_extensions; do
   11134   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11135     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   11136     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11137     break 2
   11138   fi
   11139 done
   11140 done
   11141 IFS=$as_save_IFS
   11142 
   11143 fi
   11144 fi
   11145 CC=$ac_cv_prog_CC
   11146 if test -n "$CC"; then
   11147   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11148 $as_echo "$CC" >&6; }
   11149 else
   11150   { $as_echo "$as_me:$LINENO: result: no" >&5
   11151 $as_echo "no" >&6; }
   11152 fi
   11153 
   11154 
   11155 fi
   11156 if test -z "$ac_cv_prog_CC"; then
   11157   ac_ct_CC=$CC
   11158   # Extract the first word of "gcc", so it can be a program name with args.
   11159 set dummy gcc; ac_word=$2
   11160 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11161 $as_echo_n "checking for $ac_word... " >&6; }
   11162 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   11163   $as_echo_n "(cached) " >&6
   11164 else
   11165   if test -n "$ac_ct_CC"; then
   11166   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11167 else
   11168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11169 for as_dir in $PATH
   11170 do
   11171   IFS=$as_save_IFS
   11172   test -z "$as_dir" && as_dir=.
   11173   for ac_exec_ext in '' $ac_executable_extensions; do
   11174   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11175     ac_cv_prog_ac_ct_CC="gcc"
   11176     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11177     break 2
   11178   fi
   11179 done
   11180 done
   11181 IFS=$as_save_IFS
   11182 
   11183 fi
   11184 fi
   11185 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11186 if test -n "$ac_ct_CC"; then
   11187   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   11188 $as_echo "$ac_ct_CC" >&6; }
   11189 else
   11190   { $as_echo "$as_me:$LINENO: result: no" >&5
   11191 $as_echo "no" >&6; }
   11192 fi
   11193 
   11194   if test "x$ac_ct_CC" = x; then
   11195     CC=""
   11196   else
   11197     case $cross_compiling:$ac_tool_warned in
   11198 yes:)
   11199 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11201 ac_tool_warned=yes ;;
   11202 esac
   11203     CC=$ac_ct_CC
   11204   fi
   11205 else
   11206   CC="$ac_cv_prog_CC"
   11207 fi
   11208 
   11209 if test -z "$CC"; then
   11210           if test -n "$ac_tool_prefix"; then
   11211     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   11212 set dummy ${ac_tool_prefix}cc; ac_word=$2
   11213 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11214 $as_echo_n "checking for $ac_word... " >&6; }
   11215 if test "${ac_cv_prog_CC+set}" = set; then
   11216   $as_echo_n "(cached) " >&6
   11217 else
   11218   if test -n "$CC"; then
   11219   ac_cv_prog_CC="$CC" # Let the user override the test.
   11220 else
   11221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11222 for as_dir in $PATH
   11223 do
   11224   IFS=$as_save_IFS
   11225   test -z "$as_dir" && as_dir=.
   11226   for ac_exec_ext in '' $ac_executable_extensions; do
   11227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11228     ac_cv_prog_CC="${ac_tool_prefix}cc"
   11229     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11230     break 2
   11231   fi
   11232 done
   11233 done
   11234 IFS=$as_save_IFS
   11235 
   11236 fi
   11237 fi
   11238 CC=$ac_cv_prog_CC
   11239 if test -n "$CC"; then
   11240   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11241 $as_echo "$CC" >&6; }
   11242 else
   11243   { $as_echo "$as_me:$LINENO: result: no" >&5
   11244 $as_echo "no" >&6; }
   11245 fi
   11246 
   11247 
   11248   fi
   11249 fi
   11250 if test -z "$CC"; then
   11251   # Extract the first word of "cc", so it can be a program name with args.
   11252 set dummy cc; ac_word=$2
   11253 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11254 $as_echo_n "checking for $ac_word... " >&6; }
   11255 if test "${ac_cv_prog_CC+set}" = set; then
   11256   $as_echo_n "(cached) " >&6
   11257 else
   11258   if test -n "$CC"; then
   11259   ac_cv_prog_CC="$CC" # Let the user override the test.
   11260 else
   11261   ac_prog_rejected=no
   11262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11263 for as_dir in $PATH
   11264 do
   11265   IFS=$as_save_IFS
   11266   test -z "$as_dir" && as_dir=.
   11267   for ac_exec_ext in '' $ac_executable_extensions; do
   11268   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11269     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   11270        ac_prog_rejected=yes
   11271        continue
   11272      fi
   11273     ac_cv_prog_CC="cc"
   11274     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11275     break 2
   11276   fi
   11277 done
   11278 done
   11279 IFS=$as_save_IFS
   11280 
   11281 if test $ac_prog_rejected = yes; then
   11282   # We found a bogon in the path, so make sure we never use it.
   11283   set dummy $ac_cv_prog_CC
   11284   shift
   11285   if test $# != 0; then
   11286     # We chose a different compiler from the bogus one.
   11287     # However, it has the same basename, so the bogon will be chosen
   11288     # first if we set CC to just the basename; use the full file name.
   11289     shift
   11290     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   11291   fi
   11292 fi
   11293 fi
   11294 fi
   11295 CC=$ac_cv_prog_CC
   11296 if test -n "$CC"; then
   11297   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11298 $as_echo "$CC" >&6; }
   11299 else
   11300   { $as_echo "$as_me:$LINENO: result: no" >&5
   11301 $as_echo "no" >&6; }
   11302 fi
   11303 
   11304 
   11305 fi
   11306 if test -z "$CC"; then
   11307   if test -n "$ac_tool_prefix"; then
   11308   for ac_prog in cl.exe
   11309   do
   11310     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11311 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11312 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11313 $as_echo_n "checking for $ac_word... " >&6; }
   11314 if test "${ac_cv_prog_CC+set}" = set; then
   11315   $as_echo_n "(cached) " >&6
   11316 else
   11317   if test -n "$CC"; then
   11318   ac_cv_prog_CC="$CC" # Let the user override the test.
   11319 else
   11320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11321 for as_dir in $PATH
   11322 do
   11323   IFS=$as_save_IFS
   11324   test -z "$as_dir" && as_dir=.
   11325   for ac_exec_ext in '' $ac_executable_extensions; do
   11326   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11327     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   11328     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11329     break 2
   11330   fi
   11331 done
   11332 done
   11333 IFS=$as_save_IFS
   11334 
   11335 fi
   11336 fi
   11337 CC=$ac_cv_prog_CC
   11338 if test -n "$CC"; then
   11339   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11340 $as_echo "$CC" >&6; }
   11341 else
   11342   { $as_echo "$as_me:$LINENO: result: no" >&5
   11343 $as_echo "no" >&6; }
   11344 fi
   11345 
   11346 
   11347     test -n "$CC" && break
   11348   done
   11349 fi
   11350 if test -z "$CC"; then
   11351   ac_ct_CC=$CC
   11352   for ac_prog in cl.exe
   11353 do
   11354   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11355 set dummy $ac_prog; ac_word=$2
   11356 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11357 $as_echo_n "checking for $ac_word... " >&6; }
   11358 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   11359   $as_echo_n "(cached) " >&6
   11360 else
   11361   if test -n "$ac_ct_CC"; then
   11362   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11363 else
   11364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11365 for as_dir in $PATH
   11366 do
   11367   IFS=$as_save_IFS
   11368   test -z "$as_dir" && as_dir=.
   11369   for ac_exec_ext in '' $ac_executable_extensions; do
   11370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11371     ac_cv_prog_ac_ct_CC="$ac_prog"
   11372     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11373     break 2
   11374   fi
   11375 done
   11376 done
   11377 IFS=$as_save_IFS
   11378 
   11379 fi
   11380 fi
   11381 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11382 if test -n "$ac_ct_CC"; then
   11383   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   11384 $as_echo "$ac_ct_CC" >&6; }
   11385 else
   11386   { $as_echo "$as_me:$LINENO: result: no" >&5
   11387 $as_echo "no" >&6; }
   11388 fi
   11389 
   11390 
   11391   test -n "$ac_ct_CC" && break
   11392 done
   11393 
   11394   if test "x$ac_ct_CC" = x; then
   11395     CC=""
   11396   else
   11397     case $cross_compiling:$ac_tool_warned in
   11398 yes:)
   11399 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11401 ac_tool_warned=yes ;;
   11402 esac
   11403     CC=$ac_ct_CC
   11404   fi
   11405 fi
   11406 
   11407 fi
   11408 
   11409 
   11410 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   11411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11412 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   11413 See \`config.log' for more details." >&5
   11414 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   11415 See \`config.log' for more details." >&2;}
   11416    { (exit 1); exit 1; }; }; }
   11417 
   11418 # Provide some information about the compiler.
   11419 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   11420 set X $ac_compile
   11421 ac_compiler=$2
   11422 { (ac_try="$ac_compiler --version >&5"
   11423 case "(($ac_try" in
   11424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11425   *) ac_try_echo=$ac_try;;
   11426 esac
   11427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11428 $as_echo "$ac_try_echo") >&5
   11429   (eval "$ac_compiler --version >&5") 2>&5
   11430   ac_status=$?
   11431   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11432   (exit $ac_status); }
   11433 { (ac_try="$ac_compiler -v >&5"
   11434 case "(($ac_try" in
   11435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11436   *) ac_try_echo=$ac_try;;
   11437 esac
   11438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11439 $as_echo "$ac_try_echo") >&5
   11440   (eval "$ac_compiler -v >&5") 2>&5
   11441   ac_status=$?
   11442   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11443   (exit $ac_status); }
   11444 { (ac_try="$ac_compiler -V >&5"
   11445 case "(($ac_try" in
   11446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11447   *) ac_try_echo=$ac_try;;
   11448 esac
   11449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11450 $as_echo "$ac_try_echo") >&5
   11451   (eval "$ac_compiler -V >&5") 2>&5
   11452   ac_status=$?
   11453   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11454   (exit $ac_status); }
   11455 
   11456 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   11457 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   11458 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   11459   $as_echo_n "(cached) " >&6
   11460 else
   11461   cat >conftest.$ac_ext <<_ACEOF
   11462 /* confdefs.h.  */
   11463 _ACEOF
   11464 cat confdefs.h >>conftest.$ac_ext
   11465 cat >>conftest.$ac_ext <<_ACEOF
   11466 /* end confdefs.h.  */
   11467 
   11468 int
   11469 main ()
   11470 {
   11471 #ifndef __GNUC__
   11472        choke me
   11473 #endif
   11474 
   11475   ;
   11476   return 0;
   11477 }
   11478 _ACEOF
   11479 rm -f conftest.$ac_objext
   11480 if { (ac_try="$ac_compile"
   11481 case "(($ac_try" in
   11482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11483   *) ac_try_echo=$ac_try;;
   11484 esac
   11485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11486 $as_echo "$ac_try_echo") >&5
   11487   (eval "$ac_compile") 2>conftest.er1
   11488   ac_status=$?
   11489   grep -v '^ *+' conftest.er1 >conftest.err
   11490   rm -f conftest.er1
   11491   cat conftest.err >&5
   11492   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11493   (exit $ac_status); } && {
   11494 	 test -z "$ac_c_werror_flag" ||
   11495 	 test ! -s conftest.err
   11496        } && test -s conftest.$ac_objext; then
   11497   ac_compiler_gnu=yes
   11498 else
   11499   $as_echo "$as_me: failed program was:" >&5
   11500 sed 's/^/| /' conftest.$ac_ext >&5
   11501 
   11502 	ac_compiler_gnu=no
   11503 fi
   11504 
   11505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11506 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   11507 
   11508 fi
   11509 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   11510 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   11511 if test $ac_compiler_gnu = yes; then
   11512   GCC=yes
   11513 else
   11514   GCC=
   11515 fi
   11516 ac_test_CFLAGS=${CFLAGS+set}
   11517 ac_save_CFLAGS=$CFLAGS
   11518 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   11519 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   11520 if test "${ac_cv_prog_cc_g+set}" = set; then
   11521   $as_echo_n "(cached) " >&6
   11522 else
   11523   ac_save_c_werror_flag=$ac_c_werror_flag
   11524    ac_c_werror_flag=yes
   11525    ac_cv_prog_cc_g=no
   11526    CFLAGS="-g"
   11527    cat >conftest.$ac_ext <<_ACEOF
   11528 /* confdefs.h.  */
   11529 _ACEOF
   11530 cat confdefs.h >>conftest.$ac_ext
   11531 cat >>conftest.$ac_ext <<_ACEOF
   11532 /* end confdefs.h.  */
   11533 
   11534 int
   11535 main ()
   11536 {
   11537 
   11538   ;
   11539   return 0;
   11540 }
   11541 _ACEOF
   11542 rm -f conftest.$ac_objext
   11543 if { (ac_try="$ac_compile"
   11544 case "(($ac_try" in
   11545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11546   *) ac_try_echo=$ac_try;;
   11547 esac
   11548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11549 $as_echo "$ac_try_echo") >&5
   11550   (eval "$ac_compile") 2>conftest.er1
   11551   ac_status=$?
   11552   grep -v '^ *+' conftest.er1 >conftest.err
   11553   rm -f conftest.er1
   11554   cat conftest.err >&5
   11555   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11556   (exit $ac_status); } && {
   11557 	 test -z "$ac_c_werror_flag" ||
   11558 	 test ! -s conftest.err
   11559        } && test -s conftest.$ac_objext; then
   11560   ac_cv_prog_cc_g=yes
   11561 else
   11562   $as_echo "$as_me: failed program was:" >&5
   11563 sed 's/^/| /' conftest.$ac_ext >&5
   11564 
   11565 	CFLAGS=""
   11566       cat >conftest.$ac_ext <<_ACEOF
   11567 /* confdefs.h.  */
   11568 _ACEOF
   11569 cat confdefs.h >>conftest.$ac_ext
   11570 cat >>conftest.$ac_ext <<_ACEOF
   11571 /* end confdefs.h.  */
   11572 
   11573 int
   11574 main ()
   11575 {
   11576 
   11577   ;
   11578   return 0;
   11579 }
   11580 _ACEOF
   11581 rm -f conftest.$ac_objext
   11582 if { (ac_try="$ac_compile"
   11583 case "(($ac_try" in
   11584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11585   *) ac_try_echo=$ac_try;;
   11586 esac
   11587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11588 $as_echo "$ac_try_echo") >&5
   11589   (eval "$ac_compile") 2>conftest.er1
   11590   ac_status=$?
   11591   grep -v '^ *+' conftest.er1 >conftest.err
   11592   rm -f conftest.er1
   11593   cat conftest.err >&5
   11594   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11595   (exit $ac_status); } && {
   11596 	 test -z "$ac_c_werror_flag" ||
   11597 	 test ! -s conftest.err
   11598        } && test -s conftest.$ac_objext; then
   11599   :
   11600 else
   11601   $as_echo "$as_me: failed program was:" >&5
   11602 sed 's/^/| /' conftest.$ac_ext >&5
   11603 
   11604 	ac_c_werror_flag=$ac_save_c_werror_flag
   11605 	 CFLAGS="-g"
   11606 	 cat >conftest.$ac_ext <<_ACEOF
   11607 /* confdefs.h.  */
   11608 _ACEOF
   11609 cat confdefs.h >>conftest.$ac_ext
   11610 cat >>conftest.$ac_ext <<_ACEOF
   11611 /* end confdefs.h.  */
   11612 
   11613 int
   11614 main ()
   11615 {
   11616 
   11617   ;
   11618   return 0;
   11619 }
   11620 _ACEOF
   11621 rm -f conftest.$ac_objext
   11622 if { (ac_try="$ac_compile"
   11623 case "(($ac_try" in
   11624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11625   *) ac_try_echo=$ac_try;;
   11626 esac
   11627 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11628 $as_echo "$ac_try_echo") >&5
   11629   (eval "$ac_compile") 2>conftest.er1
   11630   ac_status=$?
   11631   grep -v '^ *+' conftest.er1 >conftest.err
   11632   rm -f conftest.er1
   11633   cat conftest.err >&5
   11634   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11635   (exit $ac_status); } && {
   11636 	 test -z "$ac_c_werror_flag" ||
   11637 	 test ! -s conftest.err
   11638        } && test -s conftest.$ac_objext; then
   11639   ac_cv_prog_cc_g=yes
   11640 else
   11641   $as_echo "$as_me: failed program was:" >&5
   11642 sed 's/^/| /' conftest.$ac_ext >&5
   11643 
   11644 
   11645 fi
   11646 
   11647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11648 fi
   11649 
   11650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11651 fi
   11652 
   11653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11654    ac_c_werror_flag=$ac_save_c_werror_flag
   11655 fi
   11656 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   11657 $as_echo "$ac_cv_prog_cc_g" >&6; }
   11658 if test "$ac_test_CFLAGS" = set; then
   11659   CFLAGS=$ac_save_CFLAGS
   11660 elif test $ac_cv_prog_cc_g = yes; then
   11661   if test "$GCC" = yes; then
   11662     CFLAGS="-g -O2"
   11663   else
   11664     CFLAGS="-g"
   11665   fi
   11666 else
   11667   if test "$GCC" = yes; then
   11668     CFLAGS="-O2"
   11669   else
   11670     CFLAGS=
   11671   fi
   11672 fi
   11673 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   11674 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   11675 if test "${ac_cv_prog_cc_c89+set}" = set; then
   11676   $as_echo_n "(cached) " >&6
   11677 else
   11678   ac_cv_prog_cc_c89=no
   11679 ac_save_CC=$CC
   11680 cat >conftest.$ac_ext <<_ACEOF
   11681 /* confdefs.h.  */
   11682 _ACEOF
   11683 cat confdefs.h >>conftest.$ac_ext
   11684 cat >>conftest.$ac_ext <<_ACEOF
   11685 /* end confdefs.h.  */
   11686 #include <stdarg.h>
   11687 #include <stdio.h>
   11688 #include <sys/types.h>
   11689 #include <sys/stat.h>
   11690 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   11691 struct buf { int x; };
   11692 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   11693 static char *e (p, i)
   11694      char **p;
   11695      int i;
   11696 {
   11697   return p[i];
   11698 }
   11699 static char *f (char * (*g) (char **, int), char **p, ...)
   11700 {
   11701   char *s;
   11702   va_list v;
   11703   va_start (v,p);
   11704   s = g (p, va_arg (v,int));
   11705   va_end (v);
   11706   return s;
   11707 }
   11708 
   11709 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   11710    function prototypes and stuff, but not '\xHH' hex character constants.
   11711    These don't provoke an error unfortunately, instead are silently treated
   11712    as 'x'.  The following induces an error, until -std is added to get
   11713    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   11714    array size at least.  It's necessary to write '\x00'==0 to get something
   11715    that's true only with -std.  */
   11716 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   11717 
   11718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   11719    inside strings and character constants.  */
   11720 #define FOO(x) 'x'
   11721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   11722 
   11723 int test (int i, double x);
   11724 struct s1 {int (*f) (int a);};
   11725 struct s2 {int (*f) (double a);};
   11726 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   11727 int argc;
   11728 char **argv;
   11729 int
   11730 main ()
   11731 {
   11732 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   11733   ;
   11734   return 0;
   11735 }
   11736 _ACEOF
   11737 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   11738 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   11739 do
   11740   CC="$ac_save_CC $ac_arg"
   11741   rm -f conftest.$ac_objext
   11742 if { (ac_try="$ac_compile"
   11743 case "(($ac_try" in
   11744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11745   *) ac_try_echo=$ac_try;;
   11746 esac
   11747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11748 $as_echo "$ac_try_echo") >&5
   11749   (eval "$ac_compile") 2>conftest.er1
   11750   ac_status=$?
   11751   grep -v '^ *+' conftest.er1 >conftest.err
   11752   rm -f conftest.er1
   11753   cat conftest.err >&5
   11754   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11755   (exit $ac_status); } && {
   11756 	 test -z "$ac_c_werror_flag" ||
   11757 	 test ! -s conftest.err
   11758        } && test -s conftest.$ac_objext; then
   11759   ac_cv_prog_cc_c89=$ac_arg
   11760 else
   11761   $as_echo "$as_me: failed program was:" >&5
   11762 sed 's/^/| /' conftest.$ac_ext >&5
   11763 
   11764 
   11765 fi
   11766 
   11767 rm -f core conftest.err conftest.$ac_objext
   11768   test "x$ac_cv_prog_cc_c89" != "xno" && break
   11769 done
   11770 rm -f conftest.$ac_ext
   11771 CC=$ac_save_CC
   11772 
   11773 fi
   11774 # AC_CACHE_VAL
   11775 case "x$ac_cv_prog_cc_c89" in
   11776   x)
   11777     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   11778 $as_echo "none needed" >&6; } ;;
   11779   xno)
   11780     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   11781 $as_echo "unsupported" >&6; } ;;
   11782   *)
   11783     CC="$CC $ac_cv_prog_cc_c89"
   11784     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   11785 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   11786 esac
   11787 
   11788 
   11789 ac_ext=c
   11790 ac_cpp='$CPP $CPPFLAGS'
   11791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11794 
   11795 depcc="$CC"   am_compiler_list=
   11796 
   11797 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   11798 $as_echo_n "checking dependency style of $depcc... " >&6; }
   11799 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   11800   $as_echo_n "(cached) " >&6
   11801 else
   11802   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   11803   # We make a subdir and do the tests there.  Otherwise we can end up
   11804   # making bogus files that we don't know about and never remove.  For
   11805   # instance it was reported that on HP-UX the gcc test will end up
   11806   # making a dummy file named `D' -- because `-MD' means `put the output
   11807   # in D'.
   11808   mkdir conftest.dir
   11809   # Copy depcomp to subdir because otherwise we won't find it if we're
   11810   # using a relative directory.
   11811   cp "$am_depcomp" conftest.dir
   11812   cd conftest.dir
   11813   # We will build objects and dependencies in a subdirectory because
   11814   # it helps to detect inapplicable dependency modes.  For instance
   11815   # both Tru64's cc and ICC support -MD to output dependencies as a
   11816   # side effect of compilation, but ICC will put the dependencies in
   11817   # the current directory while Tru64 will put them in the object
   11818   # directory.
   11819   mkdir sub
   11820 
   11821   am_cv_CC_dependencies_compiler_type=none
   11822   if test "$am_compiler_list" = ""; then
   11823      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   11824   fi
   11825   for depmode in $am_compiler_list; do
   11826     # Setup a source with many dependencies, because some compilers
   11827     # like to wrap large dependency lists on column 80 (with \), and
   11828     # we should not choose a depcomp mode which is confused by this.
   11829     #
   11830     # We need to recreate these files for each test, as the compiler may
   11831     # overwrite some of them when testing with obscure command lines.
   11832     # This happens at least with the AIX C compiler.
   11833     : > sub/conftest.c
   11834     for i in 1 2 3 4 5 6; do
   11835       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   11836       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   11837       # Solaris 8's {/usr,}/bin/sh.
   11838       touch sub/conftst$i.h
   11839     done
   11840     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   11841 
   11842     case $depmode in
   11843     nosideeffect)
   11844       # after this tag, mechanisms are not by side-effect, so they'll
   11845       # only be used when explicitly requested
   11846       if test "x$enable_dependency_tracking" = xyes; then
   11847 	continue
   11848       else
   11849 	break
   11850       fi
   11851       ;;
   11852     none) break ;;
   11853     esac
   11854     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   11855     # mode.  It turns out that the SunPro C++ compiler does not properly
   11856     # handle `-M -o', and we need to detect this.
   11857     if depmode=$depmode \
   11858        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   11859        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   11860        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   11861          >/dev/null 2>conftest.err &&
   11862        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   11863        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   11864        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   11865        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   11866       # icc doesn't choke on unknown options, it will just issue warnings
   11867       # or remarks (even with -Werror).  So we grep stderr for any message
   11868       # that says an option was ignored or not supported.
   11869       # When given -MP, icc 7.0 and 7.1 complain thusly:
   11870       #   icc: Command line warning: ignoring option '-M'; no argument required
   11871       # The diagnosis changed in icc 8.0:
   11872       #   icc: Command line remark: option '-MP' not supported
   11873       if (grep 'ignoring option' conftest.err ||
   11874           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   11875         am_cv_CC_dependencies_compiler_type=$depmode
   11876         break
   11877       fi
   11878     fi
   11879   done
   11880 
   11881   cd ..
   11882   rm -rf conftest.dir
   11883 else
   11884   am_cv_CC_dependencies_compiler_type=none
   11885 fi
   11886 
   11887 fi
   11888 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   11889 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   11890 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   11891 
   11892  if
   11893   test "x$enable_dependency_tracking" != xno \
   11894   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   11895   am__fastdepCC_TRUE=
   11896   am__fastdepCC_FALSE='#'
   11897 else
   11898   am__fastdepCC_TRUE='#'
   11899   am__fastdepCC_FALSE=
   11900 fi
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 # Check whether --with-xorg-module-dir was given.
   11909 if test "${with_xorg_module_dir+set}" = set; then
   11910   withval=$with_xorg_module_dir; moduledir="$withval"
   11911 else
   11912   moduledir="$libdir/xorg/modules"
   11913 fi
   11914 
   11915 
   11916 # Checks for extensions
   11917 
   11918 	SAVE_CFLAGS="$CFLAGS"
   11919 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   11920 	cat >conftest.$ac_ext <<_ACEOF
   11921 /* confdefs.h.  */
   11922 _ACEOF
   11923 cat confdefs.h >>conftest.$ac_ext
   11924 cat >>conftest.$ac_ext <<_ACEOF
   11925 /* end confdefs.h.  */
   11926 
   11927 #include "xorg-server.h"
   11928 #if !defined RANDR
   11929 #error RANDR not defined
   11930 #endif
   11931 
   11932 int
   11933 main ()
   11934 {
   11935 
   11936   ;
   11937   return 0;
   11938 }
   11939 _ACEOF
   11940 rm -f conftest.$ac_objext
   11941 if { (ac_try="$ac_compile"
   11942 case "(($ac_try" in
   11943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11944   *) ac_try_echo=$ac_try;;
   11945 esac
   11946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11947 $as_echo "$ac_try_echo") >&5
   11948   (eval "$ac_compile") 2>conftest.er1
   11949   ac_status=$?
   11950   grep -v '^ *+' conftest.er1 >conftest.err
   11951   rm -f conftest.er1
   11952   cat conftest.err >&5
   11953   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11954   (exit $ac_status); } && {
   11955 	 test -z "$ac_c_werror_flag" ||
   11956 	 test ! -s conftest.err
   11957        } && test -s conftest.$ac_objext; then
   11958   _EXT_CHECK=yes
   11959 else
   11960   $as_echo "$as_me: failed program was:" >&5
   11961 sed 's/^/| /' conftest.$ac_ext >&5
   11962 
   11963 	_EXT_CHECK=no
   11964 fi
   11965 
   11966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11967 	CFLAGS="$SAVE_CFLAGS"
   11968 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   11969 $as_echo_n "checking if RANDR is defined... " >&6; }
   11970 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   11971 $as_echo "$_EXT_CHECK" >&6; }
   11972 	if test "$_EXT_CHECK" != no; then
   11973 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   11974 	fi
   11975 
   11976 
   11977 	SAVE_CFLAGS="$CFLAGS"
   11978 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   11979 	cat >conftest.$ac_ext <<_ACEOF
   11980 /* confdefs.h.  */
   11981 _ACEOF
   11982 cat confdefs.h >>conftest.$ac_ext
   11983 cat >>conftest.$ac_ext <<_ACEOF
   11984 /* end confdefs.h.  */
   11985 
   11986 #include "xorg-server.h"
   11987 #if !defined RENDER
   11988 #error RENDER not defined
   11989 #endif
   11990 
   11991 int
   11992 main ()
   11993 {
   11994 
   11995   ;
   11996   return 0;
   11997 }
   11998 _ACEOF
   11999 rm -f conftest.$ac_objext
   12000 if { (ac_try="$ac_compile"
   12001 case "(($ac_try" in
   12002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12003   *) ac_try_echo=$ac_try;;
   12004 esac
   12005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12006 $as_echo "$ac_try_echo") >&5
   12007   (eval "$ac_compile") 2>conftest.er1
   12008   ac_status=$?
   12009   grep -v '^ *+' conftest.er1 >conftest.err
   12010   rm -f conftest.er1
   12011   cat conftest.err >&5
   12012   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12013   (exit $ac_status); } && {
   12014 	 test -z "$ac_c_werror_flag" ||
   12015 	 test ! -s conftest.err
   12016        } && test -s conftest.$ac_objext; then
   12017   _EXT_CHECK=yes
   12018 else
   12019   $as_echo "$as_me: failed program was:" >&5
   12020 sed 's/^/| /' conftest.$ac_ext >&5
   12021 
   12022 	_EXT_CHECK=no
   12023 fi
   12024 
   12025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12026 	CFLAGS="$SAVE_CFLAGS"
   12027 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   12028 $as_echo_n "checking if RENDER is defined... " >&6; }
   12029 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12030 $as_echo "$_EXT_CHECK" >&6; }
   12031 	if test "$_EXT_CHECK" != no; then
   12032 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   12033 	fi
   12034 
   12035 
   12036 	SAVE_CFLAGS="$CFLAGS"
   12037 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12038 	cat >conftest.$ac_ext <<_ACEOF
   12039 /* confdefs.h.  */
   12040 _ACEOF
   12041 cat confdefs.h >>conftest.$ac_ext
   12042 cat >>conftest.$ac_ext <<_ACEOF
   12043 /* end confdefs.h.  */
   12044 
   12045 #include "xorg-server.h"
   12046 #if !defined XV
   12047 #error XV not defined
   12048 #endif
   12049 
   12050 int
   12051 main ()
   12052 {
   12053 
   12054   ;
   12055   return 0;
   12056 }
   12057 _ACEOF
   12058 rm -f conftest.$ac_objext
   12059 if { (ac_try="$ac_compile"
   12060 case "(($ac_try" in
   12061   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12062   *) ac_try_echo=$ac_try;;
   12063 esac
   12064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12065 $as_echo "$ac_try_echo") >&5
   12066   (eval "$ac_compile") 2>conftest.er1
   12067   ac_status=$?
   12068   grep -v '^ *+' conftest.er1 >conftest.err
   12069   rm -f conftest.er1
   12070   cat conftest.err >&5
   12071   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12072   (exit $ac_status); } && {
   12073 	 test -z "$ac_c_werror_flag" ||
   12074 	 test ! -s conftest.err
   12075        } && test -s conftest.$ac_objext; then
   12076   _EXT_CHECK=yes
   12077 else
   12078   $as_echo "$as_me: failed program was:" >&5
   12079 sed 's/^/| /' conftest.$ac_ext >&5
   12080 
   12081 	_EXT_CHECK=no
   12082 fi
   12083 
   12084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12085 	CFLAGS="$SAVE_CFLAGS"
   12086 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   12087 $as_echo_n "checking if XV is defined... " >&6; }
   12088 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12089 $as_echo "$_EXT_CHECK" >&6; }
   12090 	if test "$_EXT_CHECK" != no; then
   12091 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   12092 	fi
   12093 
   12094 
   12095 	SAVE_CFLAGS="$CFLAGS"
   12096 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12097 	cat >conftest.$ac_ext <<_ACEOF
   12098 /* confdefs.h.  */
   12099 _ACEOF
   12100 cat confdefs.h >>conftest.$ac_ext
   12101 cat >>conftest.$ac_ext <<_ACEOF
   12102 /* end confdefs.h.  */
   12103 
   12104 #include "xorg-server.h"
   12105 #if !defined DPMSExtension
   12106 #error DPMSExtension not defined
   12107 #endif
   12108 
   12109 int
   12110 main ()
   12111 {
   12112 
   12113   ;
   12114   return 0;
   12115 }
   12116 _ACEOF
   12117 rm -f conftest.$ac_objext
   12118 if { (ac_try="$ac_compile"
   12119 case "(($ac_try" in
   12120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12121   *) ac_try_echo=$ac_try;;
   12122 esac
   12123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12124 $as_echo "$ac_try_echo") >&5
   12125   (eval "$ac_compile") 2>conftest.er1
   12126   ac_status=$?
   12127   grep -v '^ *+' conftest.er1 >conftest.err
   12128   rm -f conftest.er1
   12129   cat conftest.err >&5
   12130   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12131   (exit $ac_status); } && {
   12132 	 test -z "$ac_c_werror_flag" ||
   12133 	 test ! -s conftest.err
   12134        } && test -s conftest.$ac_objext; then
   12135   _EXT_CHECK=yes
   12136 else
   12137   $as_echo "$as_me: failed program was:" >&5
   12138 sed 's/^/| /' conftest.$ac_ext >&5
   12139 
   12140 	_EXT_CHECK=no
   12141 fi
   12142 
   12143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12144 	CFLAGS="$SAVE_CFLAGS"
   12145 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   12146 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   12147 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12148 $as_echo "$_EXT_CHECK" >&6; }
   12149 	if test "$_EXT_CHECK" != no; then
   12150 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   12151 	fi
   12152 
   12153 
   12154 # Checks for pkg-config packages
   12155 
   12156 
   12157 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12158 	if test -n "$ac_tool_prefix"; then
   12159   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12160 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12161 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12162 $as_echo_n "checking for $ac_word... " >&6; }
   12163 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   12164   $as_echo_n "(cached) " >&6
   12165 else
   12166   case $PKG_CONFIG in
   12167   [\\/]* | ?:[\\/]*)
   12168   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12169   ;;
   12170   *)
   12171   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12172 for as_dir in $PATH
   12173 do
   12174   IFS=$as_save_IFS
   12175   test -z "$as_dir" && as_dir=.
   12176   for ac_exec_ext in '' $ac_executable_extensions; do
   12177   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12178     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12179     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12180     break 2
   12181   fi
   12182 done
   12183 done
   12184 IFS=$as_save_IFS
   12185 
   12186   ;;
   12187 esac
   12188 fi
   12189 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12190 if test -n "$PKG_CONFIG"; then
   12191   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   12192 $as_echo "$PKG_CONFIG" >&6; }
   12193 else
   12194   { $as_echo "$as_me:$LINENO: result: no" >&5
   12195 $as_echo "no" >&6; }
   12196 fi
   12197 
   12198 
   12199 fi
   12200 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12201   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12202   # Extract the first word of "pkg-config", so it can be a program name with args.
   12203 set dummy pkg-config; ac_word=$2
   12204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12205 $as_echo_n "checking for $ac_word... " >&6; }
   12206 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   12207   $as_echo_n "(cached) " >&6
   12208 else
   12209   case $ac_pt_PKG_CONFIG in
   12210   [\\/]* | ?:[\\/]*)
   12211   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12212   ;;
   12213   *)
   12214   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12215 for as_dir in $PATH
   12216 do
   12217   IFS=$as_save_IFS
   12218   test -z "$as_dir" && as_dir=.
   12219   for ac_exec_ext in '' $ac_executable_extensions; do
   12220   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12221     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12222     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12223     break 2
   12224   fi
   12225 done
   12226 done
   12227 IFS=$as_save_IFS
   12228 
   12229   ;;
   12230 esac
   12231 fi
   12232 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12233 if test -n "$ac_pt_PKG_CONFIG"; then
   12234   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   12235 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12236 else
   12237   { $as_echo "$as_me:$LINENO: result: no" >&5
   12238 $as_echo "no" >&6; }
   12239 fi
   12240 
   12241   if test "x$ac_pt_PKG_CONFIG" = x; then
   12242     PKG_CONFIG=""
   12243   else
   12244     case $cross_compiling:$ac_tool_warned in
   12245 yes:)
   12246 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   12247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12248 ac_tool_warned=yes ;;
   12249 esac
   12250     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12251   fi
   12252 else
   12253   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12254 fi
   12255 
   12256 fi
   12257 if test -n "$PKG_CONFIG"; then
   12258 	_pkg_min_version=0.9.0
   12259 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   12260 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12261 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12262 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   12263 $as_echo "yes" >&6; }
   12264 	else
   12265 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   12266 $as_echo "no" >&6; }
   12267 		PKG_CONFIG=""
   12268 	fi
   12269 
   12270 fi
   12271 
   12272 pkg_failed=no
   12273 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   12274 $as_echo_n "checking for XORG... " >&6; }
   12275 
   12276 if test -n "$XORG_CFLAGS"; then
   12277     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   12278  elif test -n "$PKG_CONFIG"; then
   12279     if test -n "$PKG_CONFIG" && \
   12280     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   12281   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   12282   ac_status=$?
   12283   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12284   (exit $ac_status); }; then
   12285   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   12286 else
   12287   pkg_failed=yes
   12288 fi
   12289  else
   12290     pkg_failed=untried
   12291 fi
   12292 if test -n "$XORG_LIBS"; then
   12293     pkg_cv_XORG_LIBS="$XORG_LIBS"
   12294  elif test -n "$PKG_CONFIG"; then
   12295     if test -n "$PKG_CONFIG" && \
   12296     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   12297   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   12298   ac_status=$?
   12299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12300   (exit $ac_status); }; then
   12301   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   12302 else
   12303   pkg_failed=yes
   12304 fi
   12305  else
   12306     pkg_failed=untried
   12307 fi
   12308 
   12309 
   12310 
   12311 if test $pkg_failed = yes; then
   12312 
   12313 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12314         _pkg_short_errors_supported=yes
   12315 else
   12316         _pkg_short_errors_supported=no
   12317 fi
   12318         if test $_pkg_short_errors_supported = yes; then
   12319 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   12320         else
   12321 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   12322         fi
   12323 	# Put the nasty error message in config.log where it belongs
   12324 	echo "$XORG_PKG_ERRORS" >&5
   12325 
   12326 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   12327 
   12328 $XORG_PKG_ERRORS
   12329 
   12330 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12331 installed software in a non-standard prefix.
   12332 
   12333 Alternatively, you may set the environment variables XORG_CFLAGS
   12334 and XORG_LIBS to avoid the need to call pkg-config.
   12335 See the pkg-config man page for more details.
   12336 " >&5
   12337 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   12338 
   12339 $XORG_PKG_ERRORS
   12340 
   12341 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12342 installed software in a non-standard prefix.
   12343 
   12344 Alternatively, you may set the environment variables XORG_CFLAGS
   12345 and XORG_LIBS to avoid the need to call pkg-config.
   12346 See the pkg-config man page for more details.
   12347 " >&2;}
   12348    { (exit 1); exit 1; }; }
   12349 elif test $pkg_failed = untried; then
   12350 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12352 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   12353 is in your PATH or set the PKG_CONFIG environment variable to the full
   12354 path to pkg-config.
   12355 
   12356 Alternatively, you may set the environment variables XORG_CFLAGS
   12357 and XORG_LIBS to avoid the need to call pkg-config.
   12358 See the pkg-config man page for more details.
   12359 
   12360 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12361 See \`config.log' for more details." >&5
   12362 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   12363 is in your PATH or set the PKG_CONFIG environment variable to the full
   12364 path to pkg-config.
   12365 
   12366 Alternatively, you may set the environment variables XORG_CFLAGS
   12367 and XORG_LIBS to avoid the need to call pkg-config.
   12368 See the pkg-config man page for more details.
   12369 
   12370 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12371 See \`config.log' for more details." >&2;}
   12372    { (exit 1); exit 1; }; }; }
   12373 else
   12374 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   12375 	XORG_LIBS=$pkg_cv_XORG_LIBS
   12376         { $as_echo "$as_me:$LINENO: result: yes" >&5
   12377 $as_echo "yes" >&6; }
   12378 	:
   12379 fi
   12380 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   12381 
   12382 # Checks for libraries.
   12383 SAVE_CPPFLAGS="$CPPFLAGS"
   12384 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   12385 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   12386 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   12387 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   12388   $as_echo_n "(cached) " >&6
   12389 else
   12390   cat >conftest.$ac_ext <<_ACEOF
   12391 /* confdefs.h.  */
   12392 _ACEOF
   12393 cat confdefs.h >>conftest.$ac_ext
   12394 cat >>conftest.$ac_ext <<_ACEOF
   12395 /* end confdefs.h.  */
   12396 #include "xorg-server.h"
   12397 
   12398 int
   12399 main ()
   12400 {
   12401 #ifndef XSERVER_LIBPCIACCESS
   12402   (void) XSERVER_LIBPCIACCESS;
   12403 #endif
   12404 
   12405   ;
   12406   return 0;
   12407 }
   12408 _ACEOF
   12409 rm -f conftest.$ac_objext
   12410 if { (ac_try="$ac_compile"
   12411 case "(($ac_try" in
   12412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12413   *) ac_try_echo=$ac_try;;
   12414 esac
   12415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12416 $as_echo "$ac_try_echo") >&5
   12417   (eval "$ac_compile") 2>conftest.er1
   12418   ac_status=$?
   12419   grep -v '^ *+' conftest.er1 >conftest.err
   12420   rm -f conftest.er1
   12421   cat conftest.err >&5
   12422   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12423   (exit $ac_status); } && {
   12424 	 test -z "$ac_c_werror_flag" ||
   12425 	 test ! -s conftest.err
   12426        } && test -s conftest.$ac_objext; then
   12427   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   12428 else
   12429   $as_echo "$as_me: failed program was:" >&5
   12430 sed 's/^/| /' conftest.$ac_ext >&5
   12431 
   12432 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   12433 fi
   12434 
   12435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12436 fi
   12437 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   12438 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   12439 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   12440   XSERVER_LIBPCIACCESS=yes
   12441 else
   12442   XSERVER_LIBPCIACCESS=no
   12443 fi
   12444 
   12445 { $as_echo "$as_me:$LINENO: checking for xf86Modes.h" >&5
   12446 $as_echo_n "checking for xf86Modes.h... " >&6; }
   12447 if test "${ac_cv_header_xf86Modes_h+set}" = set; then
   12448   $as_echo_n "(cached) " >&6
   12449 else
   12450   cat >conftest.$ac_ext <<_ACEOF
   12451 /* confdefs.h.  */
   12452 _ACEOF
   12453 cat confdefs.h >>conftest.$ac_ext
   12454 cat >>conftest.$ac_ext <<_ACEOF
   12455 /* end confdefs.h.  */
   12456 #include "xorg-server.h"
   12457 
   12458 #include <xf86Modes.h>
   12459 _ACEOF
   12460 rm -f conftest.$ac_objext
   12461 if { (ac_try="$ac_compile"
   12462 case "(($ac_try" in
   12463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12464   *) ac_try_echo=$ac_try;;
   12465 esac
   12466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12467 $as_echo "$ac_try_echo") >&5
   12468   (eval "$ac_compile") 2>conftest.er1
   12469   ac_status=$?
   12470   grep -v '^ *+' conftest.er1 >conftest.err
   12471   rm -f conftest.er1
   12472   cat conftest.err >&5
   12473   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12474   (exit $ac_status); } && {
   12475 	 test -z "$ac_c_werror_flag" ||
   12476 	 test ! -s conftest.err
   12477        } && test -s conftest.$ac_objext; then
   12478   ac_cv_header_xf86Modes_h=yes
   12479 else
   12480   $as_echo "$as_me: failed program was:" >&5
   12481 sed 's/^/| /' conftest.$ac_ext >&5
   12482 
   12483 	ac_cv_header_xf86Modes_h=no
   12484 fi
   12485 
   12486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12487 fi
   12488 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf86Modes_h" >&5
   12489 $as_echo "$ac_cv_header_xf86Modes_h" >&6; }
   12490 if test "x$ac_cv_header_xf86Modes_h" = x""yes; then
   12491   XMODES=yes
   12492 else
   12493   XMODES=no
   12494 fi
   12495 
   12496 
   12497 CPPFLAGS="$SAVE_CPPFLAGS"
   12498 
   12499 # Checks for header files.
   12500 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   12501 $as_echo_n "checking for ANSI C header files... " >&6; }
   12502 if test "${ac_cv_header_stdc+set}" = set; then
   12503   $as_echo_n "(cached) " >&6
   12504 else
   12505   cat >conftest.$ac_ext <<_ACEOF
   12506 /* confdefs.h.  */
   12507 _ACEOF
   12508 cat confdefs.h >>conftest.$ac_ext
   12509 cat >>conftest.$ac_ext <<_ACEOF
   12510 /* end confdefs.h.  */
   12511 #include <stdlib.h>
   12512 #include <stdarg.h>
   12513 #include <string.h>
   12514 #include <float.h>
   12515 
   12516 int
   12517 main ()
   12518 {
   12519 
   12520   ;
   12521   return 0;
   12522 }
   12523 _ACEOF
   12524 rm -f conftest.$ac_objext
   12525 if { (ac_try="$ac_compile"
   12526 case "(($ac_try" in
   12527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12528   *) ac_try_echo=$ac_try;;
   12529 esac
   12530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12531 $as_echo "$ac_try_echo") >&5
   12532   (eval "$ac_compile") 2>conftest.er1
   12533   ac_status=$?
   12534   grep -v '^ *+' conftest.er1 >conftest.err
   12535   rm -f conftest.er1
   12536   cat conftest.err >&5
   12537   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12538   (exit $ac_status); } && {
   12539 	 test -z "$ac_c_werror_flag" ||
   12540 	 test ! -s conftest.err
   12541        } && test -s conftest.$ac_objext; then
   12542   ac_cv_header_stdc=yes
   12543 else
   12544   $as_echo "$as_me: failed program was:" >&5
   12545 sed 's/^/| /' conftest.$ac_ext >&5
   12546 
   12547 	ac_cv_header_stdc=no
   12548 fi
   12549 
   12550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12551 
   12552 if test $ac_cv_header_stdc = yes; then
   12553   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   12554   cat >conftest.$ac_ext <<_ACEOF
   12555 /* confdefs.h.  */
   12556 _ACEOF
   12557 cat confdefs.h >>conftest.$ac_ext
   12558 cat >>conftest.$ac_ext <<_ACEOF
   12559 /* end confdefs.h.  */
   12560 #include <string.h>
   12561 
   12562 _ACEOF
   12563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12564   $EGREP "memchr" >/dev/null 2>&1; then
   12565   :
   12566 else
   12567   ac_cv_header_stdc=no
   12568 fi
   12569 rm -f conftest*
   12570 
   12571 fi
   12572 
   12573 if test $ac_cv_header_stdc = yes; then
   12574   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   12575   cat >conftest.$ac_ext <<_ACEOF
   12576 /* confdefs.h.  */
   12577 _ACEOF
   12578 cat confdefs.h >>conftest.$ac_ext
   12579 cat >>conftest.$ac_ext <<_ACEOF
   12580 /* end confdefs.h.  */
   12581 #include <stdlib.h>
   12582 
   12583 _ACEOF
   12584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12585   $EGREP "free" >/dev/null 2>&1; then
   12586   :
   12587 else
   12588   ac_cv_header_stdc=no
   12589 fi
   12590 rm -f conftest*
   12591 
   12592 fi
   12593 
   12594 if test $ac_cv_header_stdc = yes; then
   12595   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   12596   if test "$cross_compiling" = yes; then
   12597   :
   12598 else
   12599   cat >conftest.$ac_ext <<_ACEOF
   12600 /* confdefs.h.  */
   12601 _ACEOF
   12602 cat confdefs.h >>conftest.$ac_ext
   12603 cat >>conftest.$ac_ext <<_ACEOF
   12604 /* end confdefs.h.  */
   12605 #include <ctype.h>
   12606 #include <stdlib.h>
   12607 #if ((' ' & 0x0FF) == 0x020)
   12608 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   12609 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   12610 #else
   12611 # define ISLOWER(c) \
   12612 		   (('a' <= (c) && (c) <= 'i') \
   12613 		     || ('j' <= (c) && (c) <= 'r') \
   12614 		     || ('s' <= (c) && (c) <= 'z'))
   12615 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   12616 #endif
   12617 
   12618 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   12619 int
   12620 main ()
   12621 {
   12622   int i;
   12623   for (i = 0; i < 256; i++)
   12624     if (XOR (islower (i), ISLOWER (i))
   12625 	|| toupper (i) != TOUPPER (i))
   12626       return 2;
   12627   return 0;
   12628 }
   12629 _ACEOF
   12630 rm -f conftest$ac_exeext
   12631 if { (ac_try="$ac_link"
   12632 case "(($ac_try" in
   12633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12634   *) ac_try_echo=$ac_try;;
   12635 esac
   12636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12637 $as_echo "$ac_try_echo") >&5
   12638   (eval "$ac_link") 2>&5
   12639   ac_status=$?
   12640   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12641   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   12642   { (case "(($ac_try" in
   12643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12644   *) ac_try_echo=$ac_try;;
   12645 esac
   12646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12647 $as_echo "$ac_try_echo") >&5
   12648   (eval "$ac_try") 2>&5
   12649   ac_status=$?
   12650   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12651   (exit $ac_status); }; }; then
   12652   :
   12653 else
   12654   $as_echo "$as_me: program exited with status $ac_status" >&5
   12655 $as_echo "$as_me: failed program was:" >&5
   12656 sed 's/^/| /' conftest.$ac_ext >&5
   12657 
   12658 ( exit $ac_status )
   12659 ac_cv_header_stdc=no
   12660 fi
   12661 rm -rf conftest.dSYM
   12662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   12663 fi
   12664 
   12665 
   12666 fi
   12667 fi
   12668 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   12669 $as_echo "$ac_cv_header_stdc" >&6; }
   12670 if test $ac_cv_header_stdc = yes; then
   12671 
   12672 cat >>confdefs.h <<\_ACEOF
   12673 #define STDC_HEADERS 1
   12674 _ACEOF
   12675 
   12676 fi
   12677 
   12678 
   12679 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   12680 
   12681 pkg_failed=no
   12682 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   12683 $as_echo_n "checking for PCIACCESS... " >&6; }
   12684 
   12685 if test -n "$PCIACCESS_CFLAGS"; then
   12686     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   12687  elif test -n "$PKG_CONFIG"; then
   12688     if test -n "$PKG_CONFIG" && \
   12689     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   12690   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   12691   ac_status=$?
   12692   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12693   (exit $ac_status); }; then
   12694   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   12695 else
   12696   pkg_failed=yes
   12697 fi
   12698  else
   12699     pkg_failed=untried
   12700 fi
   12701 if test -n "$PCIACCESS_LIBS"; then
   12702     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   12703  elif test -n "$PKG_CONFIG"; then
   12704     if test -n "$PKG_CONFIG" && \
   12705     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   12706   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   12707   ac_status=$?
   12708   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12709   (exit $ac_status); }; then
   12710   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   12711 else
   12712   pkg_failed=yes
   12713 fi
   12714  else
   12715     pkg_failed=untried
   12716 fi
   12717 
   12718 
   12719 
   12720 if test $pkg_failed = yes; then
   12721 
   12722 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12723         _pkg_short_errors_supported=yes
   12724 else
   12725         _pkg_short_errors_supported=no
   12726 fi
   12727         if test $_pkg_short_errors_supported = yes; then
   12728 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   12729         else
   12730 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   12731         fi
   12732 	# Put the nasty error message in config.log where it belongs
   12733 	echo "$PCIACCESS_PKG_ERRORS" >&5
   12734 
   12735 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   12736 
   12737 $PCIACCESS_PKG_ERRORS
   12738 
   12739 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12740 installed software in a non-standard prefix.
   12741 
   12742 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12743 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12744 See the pkg-config man page for more details.
   12745 " >&5
   12746 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   12747 
   12748 $PCIACCESS_PKG_ERRORS
   12749 
   12750 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12751 installed software in a non-standard prefix.
   12752 
   12753 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12754 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12755 See the pkg-config man page for more details.
   12756 " >&2;}
   12757    { (exit 1); exit 1; }; }
   12758 elif test $pkg_failed = untried; then
   12759 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12761 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   12762 is in your PATH or set the PKG_CONFIG environment variable to the full
   12763 path to pkg-config.
   12764 
   12765 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12766 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12767 See the pkg-config man page for more details.
   12768 
   12769 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12770 See \`config.log' for more details." >&5
   12771 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   12772 is in your PATH or set the PKG_CONFIG environment variable to the full
   12773 path to pkg-config.
   12774 
   12775 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12776 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12777 See the pkg-config man page for more details.
   12778 
   12779 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12780 See \`config.log' for more details." >&2;}
   12781    { (exit 1); exit 1; }; }; }
   12782 else
   12783 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   12784 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   12785         { $as_echo "$as_me:$LINENO: result: yes" >&5
   12786 $as_echo "yes" >&6; }
   12787 	:
   12788 fi
   12789     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   12790 fi
   12791  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   12792   XSERVER_LIBPCIACCESS_TRUE=
   12793   XSERVER_LIBPCIACCESS_FALSE='#'
   12794 else
   12795   XSERVER_LIBPCIACCESS_TRUE='#'
   12796   XSERVER_LIBPCIACCESS_FALSE=
   12797 fi
   12798 
   12799  if test "x$XMODES" = xyes; then
   12800   XMODES_TRUE=
   12801   XMODES_FALSE='#'
   12802 else
   12803   XMODES_TRUE='#'
   12804   XMODES_FALSE=
   12805 fi
   12806 
   12807 
   12808 if test "x$XMODES" = xyes; then
   12809 
   12810 cat >>confdefs.h <<\_ACEOF
   12811 #define HAVE_XMODES 1
   12812 _ACEOF
   12813 
   12814 fi
   12815 
   12816 
   12817 
   12818 if  test "x$GCC" = xyes ; then
   12819     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   12820 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   12821 -Wbad-function-cast"
   12822     case `gcc -dumpversion` in
   12823     3.4.* | 4.*)
   12824 	CWARNFLAGS+=" -Wold-style-definition -Wdeclaration-after-statement"
   12825 	;;
   12826     esac
   12827 else
   12828     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   12829 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   12830 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   12831   $as_echo_n "(cached) " >&6
   12832 else
   12833   cat >conftest.$ac_ext <<_ACEOF
   12834 /* confdefs.h.  */
   12835 _ACEOF
   12836 cat confdefs.h >>conftest.$ac_ext
   12837 cat >>conftest.$ac_ext <<_ACEOF
   12838 /* end confdefs.h.  */
   12839 $ac_includes_default
   12840 int
   12841 main ()
   12842 {
   12843 #ifndef __SUNPRO_C
   12844   (void) __SUNPRO_C;
   12845 #endif
   12846 
   12847   ;
   12848   return 0;
   12849 }
   12850 _ACEOF
   12851 rm -f conftest.$ac_objext
   12852 if { (ac_try="$ac_compile"
   12853 case "(($ac_try" in
   12854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12855   *) ac_try_echo=$ac_try;;
   12856 esac
   12857 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12858 $as_echo "$ac_try_echo") >&5
   12859   (eval "$ac_compile") 2>conftest.er1
   12860   ac_status=$?
   12861   grep -v '^ *+' conftest.er1 >conftest.err
   12862   rm -f conftest.er1
   12863   cat conftest.err >&5
   12864   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12865   (exit $ac_status); } && {
   12866 	 test -z "$ac_c_werror_flag" ||
   12867 	 test ! -s conftest.err
   12868        } && test -s conftest.$ac_objext; then
   12869   ac_cv_have_decl___SUNPRO_C=yes
   12870 else
   12871   $as_echo "$as_me: failed program was:" >&5
   12872 sed 's/^/| /' conftest.$ac_ext >&5
   12873 
   12874 	ac_cv_have_decl___SUNPRO_C=no
   12875 fi
   12876 
   12877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12878 fi
   12879 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   12880 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   12881 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   12882   SUNCC="yes"
   12883 else
   12884   SUNCC="no"
   12885 fi
   12886 
   12887     if test "x$SUNCC" = "xyes"; then
   12888 	CWARNFLAGS="-v"
   12889     fi
   12890 fi
   12891 
   12892 
   12893 XORG_CFLAGS="$CWARNFLAGS $XORG_CFLAGS"
   12894 
   12895 
   12896 
   12897 DRIVER_NAME=siliconmotion
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 if test x$APP_MAN_SUFFIX = x    ; then
   12904     APP_MAN_SUFFIX=1
   12905 fi
   12906 if test x$APP_MAN_DIR = x    ; then
   12907     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   12908 fi
   12909 
   12910 if test x$LIB_MAN_SUFFIX = x    ; then
   12911     LIB_MAN_SUFFIX=3
   12912 fi
   12913 if test x$LIB_MAN_DIR = x    ; then
   12914     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   12915 fi
   12916 
   12917 if test x$FILE_MAN_SUFFIX = x    ; then
   12918     case $host_os in
   12919 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   12920 	*)		FILE_MAN_SUFFIX=5  ;;
   12921     esac
   12922 fi
   12923 if test x$FILE_MAN_DIR = x    ; then
   12924     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   12925 fi
   12926 
   12927 if test x$MISC_MAN_SUFFIX = x    ; then
   12928     case $host_os in
   12929 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   12930 	*)		MISC_MAN_SUFFIX=7  ;;
   12931     esac
   12932 fi
   12933 if test x$MISC_MAN_DIR = x    ; then
   12934     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   12935 fi
   12936 
   12937 if test x$DRIVER_MAN_SUFFIX = x    ; then
   12938     case $host_os in
   12939 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   12940 	*)		DRIVER_MAN_SUFFIX=4  ;;
   12941     esac
   12942 fi
   12943 if test x$DRIVER_MAN_DIR = x    ; then
   12944     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   12945 fi
   12946 
   12947 if test x$ADMIN_MAN_SUFFIX = x    ; then
   12948     case $host_os in
   12949 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   12950 	*)		ADMIN_MAN_SUFFIX=8  ;;
   12951     esac
   12952 fi
   12953 if test x$ADMIN_MAN_DIR = x    ; then
   12954     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   12955 fi
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 
   12972 
   12973 # Check whether --with-release-version was given.
   12974 if test "${with_release_version+set}" = set; then
   12975   withval=$with_release_version; RELEASE_VERSION="$withval"
   12976 else
   12977   RELEASE_VERSION=""
   12978 fi
   12979 
   12980 	if test "x$RELEASE_VERSION" != "x"; then
   12981 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   12982 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   12983 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   12984 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   12985 	fi
   12986 
   12987 cat >>confdefs.h <<_ACEOF
   12988 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   12989 _ACEOF
   12990 
   12991 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   12992 	if test "x$PVM" = "x"; then
   12993 		PVM="0"
   12994 	fi
   12995 
   12996 cat >>confdefs.h <<_ACEOF
   12997 #define PACKAGE_VERSION_MINOR $PVM
   12998 _ACEOF
   12999 
   13000 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   13001 	if test "x$PVP" = "x"; then
   13002 		PVP="0"
   13003 	fi
   13004 
   13005 cat >>confdefs.h <<_ACEOF
   13006 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   13007 _ACEOF
   13008 
   13009 
   13010 
   13011 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   13012 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   13013 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   13014 
   13015 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   13016 
   13017 
   13018 
   13019 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   13020 
   13021 cat >confcache <<\_ACEOF
   13022 # This file is a shell script that caches the results of configure
   13023 # tests run on this system so they can be shared between configure
   13024 # scripts and configure runs, see configure's option --config-cache.
   13025 # It is not useful on other systems.  If it contains results you don't
   13026 # want to keep, you may remove or edit it.
   13027 #
   13028 # config.status only pays attention to the cache file if you give it
   13029 # the --recheck option to rerun configure.
   13030 #
   13031 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13032 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13033 # following values.
   13034 
   13035 _ACEOF
   13036 
   13037 # The following way of writing the cache mishandles newlines in values,
   13038 # but we know of no workaround that is simple, portable, and efficient.
   13039 # So, we kill variables containing newlines.
   13040 # Ultrix sh set writes to stderr and can't be redirected directly,
   13041 # and sets the high bit in the cache file unless we assign to the vars.
   13042 (
   13043   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13044     eval ac_val=\$$ac_var
   13045     case $ac_val in #(
   13046     *${as_nl}*)
   13047       case $ac_var in #(
   13048       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   13049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13050       esac
   13051       case $ac_var in #(
   13052       _ | IFS | as_nl) ;; #(
   13053       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   13054       *) $as_unset $ac_var ;;
   13055       esac ;;
   13056     esac
   13057   done
   13058 
   13059   (set) 2>&1 |
   13060     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   13061     *${as_nl}ac_space=\ *)
   13062       # `set' does not quote correctly, so add quotes (double-quote
   13063       # substitution turns \\\\ into \\, and sed turns \\ into \).
   13064       sed -n \
   13065 	"s/'/'\\\\''/g;
   13066 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13067       ;; #(
   13068     *)
   13069       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13070       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   13071       ;;
   13072     esac |
   13073     sort
   13074 ) |
   13075   sed '
   13076      /^ac_cv_env_/b end
   13077      t clear
   13078      :clear
   13079      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13080      t end
   13081      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13082      :end' >>confcache
   13083 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   13084   if test -w "$cache_file"; then
   13085     test "x$cache_file" != "x/dev/null" &&
   13086       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   13087 $as_echo "$as_me: updating cache $cache_file" >&6;}
   13088     cat confcache >$cache_file
   13089   else
   13090     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   13091 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   13092   fi
   13093 fi
   13094 rm -f confcache
   13095 
   13096 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13097 # Let make expand exec_prefix.
   13098 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13099 
   13100 DEFS=-DHAVE_CONFIG_H
   13101 
   13102 ac_libobjs=
   13103 ac_ltlibobjs=
   13104 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13105   # 1. Remove the extension, and $U if already installed.
   13106   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   13107   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   13108   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   13109   #    will be set to the directory where LIBOBJS objects are built.
   13110   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   13111   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   13112 done
   13113 LIBOBJS=$ac_libobjs
   13114 
   13115 LTLIBOBJS=$ac_ltlibobjs
   13116 
   13117 
   13118 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   13119   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   13120 Usually this means the macro was only invoked conditionally." >&5
   13121 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   13122 Usually this means the macro was only invoked conditionally." >&2;}
   13123    { (exit 1); exit 1; }; }
   13124 fi
   13125 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   13126   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   13127 Usually this means the macro was only invoked conditionally." >&5
   13128 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   13129 Usually this means the macro was only invoked conditionally." >&2;}
   13130    { (exit 1); exit 1; }; }
   13131 fi
   13132 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13133   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   13134 Usually this means the macro was only invoked conditionally." >&5
   13135 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   13136 Usually this means the macro was only invoked conditionally." >&2;}
   13137    { (exit 1); exit 1; }; }
   13138 fi
   13139 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13140   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   13141 Usually this means the macro was only invoked conditionally." >&5
   13142 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   13143 Usually this means the macro was only invoked conditionally." >&2;}
   13144    { (exit 1); exit 1; }; }
   13145 fi
   13146 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   13147   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   13148 Usually this means the macro was only invoked conditionally." >&5
   13149 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   13150 Usually this means the macro was only invoked conditionally." >&2;}
   13151    { (exit 1); exit 1; }; }
   13152 fi
   13153 if test -z "${XMODES_TRUE}" && test -z "${XMODES_FALSE}"; then
   13154   { { $as_echo "$as_me:$LINENO: error: conditional \"XMODES\" was never defined.
   13155 Usually this means the macro was only invoked conditionally." >&5
   13156 $as_echo "$as_me: error: conditional \"XMODES\" was never defined.
   13157 Usually this means the macro was only invoked conditionally." >&2;}
   13158    { (exit 1); exit 1; }; }
   13159 fi
   13160 
   13161 : ${CONFIG_STATUS=./config.status}
   13162 ac_write_fail=0
   13163 ac_clean_files_save=$ac_clean_files
   13164 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13165 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   13166 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13167 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13168 #! $SHELL
   13169 # Generated by $as_me.
   13170 # Run this file to recreate the current configuration.
   13171 # Compiler output produced by configure, useful for debugging
   13172 # configure, is in config.log if it exists.
   13173 
   13174 debug=false
   13175 ac_cs_recheck=false
   13176 ac_cs_silent=false
   13177 SHELL=\${CONFIG_SHELL-$SHELL}
   13178 _ACEOF
   13179 
   13180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13181 ## --------------------- ##
   13182 ## M4sh Initialization.  ##
   13183 ## --------------------- ##
   13184 
   13185 # Be more Bourne compatible
   13186 DUALCASE=1; export DUALCASE # for MKS sh
   13187 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   13188   emulate sh
   13189   NULLCMD=:
   13190   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   13191   # is contrary to our usage.  Disable this feature.
   13192   alias -g '${1+"$@"}'='"$@"'
   13193   setopt NO_GLOB_SUBST
   13194 else
   13195   case `(set -o) 2>/dev/null` in
   13196   *posix*) set -o posix ;;
   13197 esac
   13198 
   13199 fi
   13200 
   13201 
   13202 
   13203 
   13204 # PATH needs CR
   13205 # Avoid depending upon Character Ranges.
   13206 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13207 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13208 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13209 as_cr_digits='0123456789'
   13210 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13211 
   13212 as_nl='
   13213 '
   13214 export as_nl
   13215 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   13216 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   13217 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   13218 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   13219 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   13220   as_echo='printf %s\n'
   13221   as_echo_n='printf %s'
   13222 else
   13223   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   13224     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   13225     as_echo_n='/usr/ucb/echo -n'
   13226   else
   13227     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   13228     as_echo_n_body='eval
   13229       arg=$1;
   13230       case $arg in
   13231       *"$as_nl"*)
   13232 	expr "X$arg" : "X\\(.*\\)$as_nl";
   13233 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   13234       esac;
   13235       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   13236     '
   13237     export as_echo_n_body
   13238     as_echo_n='sh -c $as_echo_n_body as_echo'
   13239   fi
   13240   export as_echo_body
   13241   as_echo='sh -c $as_echo_body as_echo'
   13242 fi
   13243 
   13244 # The user is always right.
   13245 if test "${PATH_SEPARATOR+set}" != set; then
   13246   PATH_SEPARATOR=:
   13247   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   13248     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   13249       PATH_SEPARATOR=';'
   13250   }
   13251 fi
   13252 
   13253 # Support unset when possible.
   13254 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   13255   as_unset=unset
   13256 else
   13257   as_unset=false
   13258 fi
   13259 
   13260 
   13261 # IFS
   13262 # We need space, tab and new line, in precisely that order.  Quoting is
   13263 # there to prevent editors from complaining about space-tab.
   13264 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   13265 # splitting by setting IFS to empty value.)
   13266 IFS=" ""	$as_nl"
   13267 
   13268 # Find who we are.  Look in the path if we contain no directory separator.
   13269 case $0 in
   13270   *[\\/]* ) as_myself=$0 ;;
   13271   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13272 for as_dir in $PATH
   13273 do
   13274   IFS=$as_save_IFS
   13275   test -z "$as_dir" && as_dir=.
   13276   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13277 done
   13278 IFS=$as_save_IFS
   13279 
   13280      ;;
   13281 esac
   13282 # We did not find ourselves, most probably we were run as `sh COMMAND'
   13283 # in which case we are not to be found in the path.
   13284 if test "x$as_myself" = x; then
   13285   as_myself=$0
   13286 fi
   13287 if test ! -f "$as_myself"; then
   13288   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   13289   { (exit 1); exit 1; }
   13290 fi
   13291 
   13292 # Work around bugs in pre-3.0 UWIN ksh.
   13293 for as_var in ENV MAIL MAILPATH
   13294 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   13295 done
   13296 PS1='$ '
   13297 PS2='> '
   13298 PS4='+ '
   13299 
   13300 # NLS nuisances.
   13301 LC_ALL=C
   13302 export LC_ALL
   13303 LANGUAGE=C
   13304 export LANGUAGE
   13305 
   13306 # Required to use basename.
   13307 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13308    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13309   as_expr=expr
   13310 else
   13311   as_expr=false
   13312 fi
   13313 
   13314 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   13315   as_basename=basename
   13316 else
   13317   as_basename=false
   13318 fi
   13319 
   13320 
   13321 # Name of the executable.
   13322 as_me=`$as_basename -- "$0" ||
   13323 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13324 	 X"$0" : 'X\(//\)$' \| \
   13325 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   13326 $as_echo X/"$0" |
   13327     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13328 	    s//\1/
   13329 	    q
   13330 	  }
   13331 	  /^X\/\(\/\/\)$/{
   13332 	    s//\1/
   13333 	    q
   13334 	  }
   13335 	  /^X\/\(\/\).*/{
   13336 	    s//\1/
   13337 	    q
   13338 	  }
   13339 	  s/.*/./; q'`
   13340 
   13341 # CDPATH.
   13342 $as_unset CDPATH
   13343 
   13344 
   13345 
   13346   as_lineno_1=$LINENO
   13347   as_lineno_2=$LINENO
   13348   test "x$as_lineno_1" != "x$as_lineno_2" &&
   13349   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   13350 
   13351   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   13352   # uniformly replaced by the line number.  The first 'sed' inserts a
   13353   # line-number line after each line using $LINENO; the second 'sed'
   13354   # does the real work.  The second script uses 'N' to pair each
   13355   # line-number line with the line containing $LINENO, and appends
   13356   # trailing '-' during substitution so that $LINENO is not a special
   13357   # case at line end.
   13358   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   13359   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   13360   # E. McMahon (1931-1989) for sed's syntax.  :-)
   13361   sed -n '
   13362     p
   13363     /[$]LINENO/=
   13364   ' <$as_myself |
   13365     sed '
   13366       s/[$]LINENO.*/&-/
   13367       t lineno
   13368       b
   13369       :lineno
   13370       N
   13371       :loop
   13372       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   13373       t loop
   13374       s/-\n.*//
   13375     ' >$as_me.lineno &&
   13376   chmod +x "$as_me.lineno" ||
   13377     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   13378    { (exit 1); exit 1; }; }
   13379 
   13380   # Don't try to exec as it changes $[0], causing all sort of problems
   13381   # (the dirname of $[0] is not the place where we might find the
   13382   # original and so on.  Autoconf is especially sensitive to this).
   13383   . "./$as_me.lineno"
   13384   # Exit status is that of the last command.
   13385   exit
   13386 }
   13387 
   13388 
   13389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13390   as_dirname=dirname
   13391 else
   13392   as_dirname=false
   13393 fi
   13394 
   13395 ECHO_C= ECHO_N= ECHO_T=
   13396 case `echo -n x` in
   13397 -n*)
   13398   case `echo 'x\c'` in
   13399   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13400   *)   ECHO_C='\c';;
   13401   esac;;
   13402 *)
   13403   ECHO_N='-n';;
   13404 esac
   13405 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13406    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13407   as_expr=expr
   13408 else
   13409   as_expr=false
   13410 fi
   13411 
   13412 rm -f conf$$ conf$$.exe conf$$.file
   13413 if test -d conf$$.dir; then
   13414   rm -f conf$$.dir/conf$$.file
   13415 else
   13416   rm -f conf$$.dir
   13417   mkdir conf$$.dir 2>/dev/null
   13418 fi
   13419 if (echo >conf$$.file) 2>/dev/null; then
   13420   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13421     as_ln_s='ln -s'
   13422     # ... but there are two gotchas:
   13423     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13424     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13425     # In both cases, we have to default to `cp -p'.
   13426     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13427       as_ln_s='cp -p'
   13428   elif ln conf$$.file conf$$ 2>/dev/null; then
   13429     as_ln_s=ln
   13430   else
   13431     as_ln_s='cp -p'
   13432   fi
   13433 else
   13434   as_ln_s='cp -p'
   13435 fi
   13436 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13437 rmdir conf$$.dir 2>/dev/null
   13438 
   13439 if mkdir -p . 2>/dev/null; then
   13440   as_mkdir_p=:
   13441 else
   13442   test -d ./-p && rmdir ./-p
   13443   as_mkdir_p=false
   13444 fi
   13445 
   13446 if test -x / >/dev/null 2>&1; then
   13447   as_test_x='test -x'
   13448 else
   13449   if ls -dL / >/dev/null 2>&1; then
   13450     as_ls_L_option=L
   13451   else
   13452     as_ls_L_option=
   13453   fi
   13454   as_test_x='
   13455     eval sh -c '\''
   13456       if test -d "$1"; then
   13457 	test -d "$1/.";
   13458       else
   13459 	case $1 in
   13460 	-*)set "./$1";;
   13461 	esac;
   13462 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   13463 	???[sx]*):;;*)false;;esac;fi
   13464     '\'' sh
   13465   '
   13466 fi
   13467 as_executable_p=$as_test_x
   13468 
   13469 # Sed expression to map a string onto a valid CPP name.
   13470 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13471 
   13472 # Sed expression to map a string onto a valid variable name.
   13473 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13474 
   13475 
   13476 exec 6>&1
   13477 
   13478 # Save the log message, to keep $[0] and so on meaningful, and to
   13479 # report actual input values of CONFIG_FILES etc. instead of their
   13480 # values after options handling.
   13481 ac_log="
   13482 This file was extended by xf86-video-siliconmotion $as_me 1.7.2, which was
   13483 generated by GNU Autoconf 2.63.  Invocation command line was
   13484 
   13485   CONFIG_FILES    = $CONFIG_FILES
   13486   CONFIG_HEADERS  = $CONFIG_HEADERS
   13487   CONFIG_LINKS    = $CONFIG_LINKS
   13488   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13489   $ $0 $@
   13490 
   13491 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13492 "
   13493 
   13494 _ACEOF
   13495 
   13496 case $ac_config_files in *"
   13497 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13498 esac
   13499 
   13500 case $ac_config_headers in *"
   13501 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13502 esac
   13503 
   13504 
   13505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13506 # Files that config.status was made for.
   13507 config_files="$ac_config_files"
   13508 config_headers="$ac_config_headers"
   13509 config_commands="$ac_config_commands"
   13510 
   13511 _ACEOF
   13512 
   13513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13514 ac_cs_usage="\
   13515 \`$as_me' instantiates files from templates according to the
   13516 current configuration.
   13517 
   13518 Usage: $0 [OPTION]... [FILE]...
   13519 
   13520   -h, --help       print this help, then exit
   13521   -V, --version    print version number and configuration settings, then exit
   13522   -q, --quiet, --silent
   13523                    do not print progress messages
   13524   -d, --debug      don't remove temporary files
   13525       --recheck    update $as_me by reconfiguring in the same conditions
   13526       --file=FILE[:TEMPLATE]
   13527                    instantiate the configuration file FILE
   13528       --header=FILE[:TEMPLATE]
   13529                    instantiate the configuration header FILE
   13530 
   13531 Configuration files:
   13532 $config_files
   13533 
   13534 Configuration headers:
   13535 $config_headers
   13536 
   13537 Configuration commands:
   13538 $config_commands
   13539 
   13540 Report bugs to <bug-autoconf (at] gnu.org>."
   13541 
   13542 _ACEOF
   13543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13544 ac_cs_version="\\
   13545 xf86-video-siliconmotion config.status 1.7.2
   13546 configured by $0, generated by GNU Autoconf 2.63,
   13547   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   13548 
   13549 Copyright (C) 2008 Free Software Foundation, Inc.
   13550 This config.status script is free software; the Free Software Foundation
   13551 gives unlimited permission to copy, distribute and modify it."
   13552 
   13553 ac_pwd='$ac_pwd'
   13554 srcdir='$srcdir'
   13555 INSTALL='$INSTALL'
   13556 MKDIR_P='$MKDIR_P'
   13557 AWK='$AWK'
   13558 test -n "\$AWK" || AWK=awk
   13559 _ACEOF
   13560 
   13561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13562 # The default lists apply if the user does not specify any file.
   13563 ac_need_defaults=:
   13564 while test $# != 0
   13565 do
   13566   case $1 in
   13567   --*=*)
   13568     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13569     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13570     ac_shift=:
   13571     ;;
   13572   *)
   13573     ac_option=$1
   13574     ac_optarg=$2
   13575     ac_shift=shift
   13576     ;;
   13577   esac
   13578 
   13579   case $ac_option in
   13580   # Handling of the options.
   13581   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13582     ac_cs_recheck=: ;;
   13583   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13584     $as_echo "$ac_cs_version"; exit ;;
   13585   --debug | --debu | --deb | --de | --d | -d )
   13586     debug=: ;;
   13587   --file | --fil | --fi | --f )
   13588     $ac_shift
   13589     case $ac_optarg in
   13590     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13591     esac
   13592     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   13593     ac_need_defaults=false;;
   13594   --header | --heade | --head | --hea )
   13595     $ac_shift
   13596     case $ac_optarg in
   13597     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13598     esac
   13599     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   13600     ac_need_defaults=false;;
   13601   --he | --h)
   13602     # Conflict between --help and --header
   13603     { $as_echo "$as_me: error: ambiguous option: $1
   13604 Try \`$0 --help' for more information." >&2
   13605    { (exit 1); exit 1; }; };;
   13606   --help | --hel | -h )
   13607     $as_echo "$ac_cs_usage"; exit ;;
   13608   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13609   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13610     ac_cs_silent=: ;;
   13611 
   13612   # This is an error.
   13613   -*) { $as_echo "$as_me: error: unrecognized option: $1
   13614 Try \`$0 --help' for more information." >&2
   13615    { (exit 1); exit 1; }; } ;;
   13616 
   13617   *) ac_config_targets="$ac_config_targets $1"
   13618      ac_need_defaults=false ;;
   13619 
   13620   esac
   13621   shift
   13622 done
   13623 
   13624 ac_configure_extra_args=
   13625 
   13626 if $ac_cs_silent; then
   13627   exec 6>/dev/null
   13628   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13629 fi
   13630 
   13631 _ACEOF
   13632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13633 if \$ac_cs_recheck; then
   13634   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13635   shift
   13636   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   13637   CONFIG_SHELL='$SHELL'
   13638   export CONFIG_SHELL
   13639   exec "\$@"
   13640 fi
   13641 
   13642 _ACEOF
   13643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13644 exec 5>>config.log
   13645 {
   13646   echo
   13647   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13648 ## Running $as_me. ##
   13649 _ASBOX
   13650   $as_echo "$ac_log"
   13651 } >&5
   13652 
   13653 _ACEOF
   13654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13655 #
   13656 # INIT-COMMANDS
   13657 #
   13658 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   13659 
   13660 
   13661 # The HP-UX ksh and POSIX shell print the target directory to stdout
   13662 # if CDPATH is set.
   13663 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13664 
   13665 sed_quote_subst='$sed_quote_subst'
   13666 double_quote_subst='$double_quote_subst'
   13667 delay_variable_subst='$delay_variable_subst'
   13668 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   13669 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   13670 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   13671 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   13672 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   13673 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   13674 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13675 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   13676 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   13677 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13678 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   13679 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   13680 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   13681 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   13682 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   13683 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13684 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13685 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   13686 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   13687 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   13688 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   13689 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   13690 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   13691 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   13692 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   13693 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   13694 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13695 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13696 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   13697 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   13698 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   13699 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   13700 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13701 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   13702 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   13703 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13704 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13705 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13706 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   13707 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13708 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   13709 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   13710 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   13711 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   13712 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"`'
   13713 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"`'
   13714 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   13715 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   13716 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   13717 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   13718 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13719 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   13720 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   13721 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   13722 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   13723 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   13724 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   13725 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   13726 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   13727 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   13728 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   13729 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   13730 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13731 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13732 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   13733 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   13734 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13735 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13736 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   13737 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13738 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13739 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13740 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13741 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13742 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13743 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   13744 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13745 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13746 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13747 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   13748 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   13749 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   13750 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   13751 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   13752 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13753 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   13754 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   13755 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   13756 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   13757 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   13758 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13759 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   13760 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   13761 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13762 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13763 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   13764 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   13765 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   13766 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   13767 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13768 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13769 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   13770 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13771 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13772 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13773 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13774 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13775 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13776 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   13777 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   13778 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13779 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13780 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   13781 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   13782 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   13783 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   13784 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   13785 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   13786 
   13787 LTCC='$LTCC'
   13788 LTCFLAGS='$LTCFLAGS'
   13789 compiler='$compiler_DEFAULT'
   13790 
   13791 # Quote evaled strings.
   13792 for var in SED \
   13793 GREP \
   13794 EGREP \
   13795 FGREP \
   13796 LD \
   13797 NM \
   13798 LN_S \
   13799 lt_SP2NL \
   13800 lt_NL2SP \
   13801 reload_flag \
   13802 OBJDUMP \
   13803 deplibs_check_method \
   13804 file_magic_cmd \
   13805 AR \
   13806 AR_FLAGS \
   13807 STRIP \
   13808 RANLIB \
   13809 CC \
   13810 CFLAGS \
   13811 compiler \
   13812 lt_cv_sys_global_symbol_pipe \
   13813 lt_cv_sys_global_symbol_to_cdecl \
   13814 lt_cv_sys_global_symbol_to_c_name_address \
   13815 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   13816 SHELL \
   13817 ECHO \
   13818 lt_prog_compiler_no_builtin_flag \
   13819 lt_prog_compiler_wl \
   13820 lt_prog_compiler_pic \
   13821 lt_prog_compiler_static \
   13822 lt_cv_prog_compiler_c_o \
   13823 need_locks \
   13824 DSYMUTIL \
   13825 NMEDIT \
   13826 LIPO \
   13827 OTOOL \
   13828 OTOOL64 \
   13829 shrext_cmds \
   13830 export_dynamic_flag_spec \
   13831 whole_archive_flag_spec \
   13832 compiler_needs_object \
   13833 with_gnu_ld \
   13834 allow_undefined_flag \
   13835 no_undefined_flag \
   13836 hardcode_libdir_flag_spec \
   13837 hardcode_libdir_flag_spec_ld \
   13838 hardcode_libdir_separator \
   13839 fix_srcfile_path \
   13840 exclude_expsyms \
   13841 include_expsyms \
   13842 file_list_spec \
   13843 variables_saved_for_relink \
   13844 libname_spec \
   13845 library_names_spec \
   13846 soname_spec \
   13847 finish_eval \
   13848 old_striplib \
   13849 striplib; do
   13850     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   13851     *[\\\\\\\`\\"\\\$]*)
   13852       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   13853       ;;
   13854     *)
   13855       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13856       ;;
   13857     esac
   13858 done
   13859 
   13860 # Double-quote double-evaled strings.
   13861 for var in reload_cmds \
   13862 old_postinstall_cmds \
   13863 old_postuninstall_cmds \
   13864 old_archive_cmds \
   13865 extract_expsyms_cmds \
   13866 old_archive_from_new_cmds \
   13867 old_archive_from_expsyms_cmds \
   13868 archive_cmds \
   13869 archive_expsym_cmds \
   13870 module_cmds \
   13871 module_expsym_cmds \
   13872 export_symbols_cmds \
   13873 prelink_cmds \
   13874 postinstall_cmds \
   13875 postuninstall_cmds \
   13876 finish_cmds \
   13877 sys_lib_search_path_spec \
   13878 sys_lib_dlsearch_path_spec; do
   13879     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   13880     *[\\\\\\\`\\"\\\$]*)
   13881       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   13882       ;;
   13883     *)
   13884       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13885       ;;
   13886     esac
   13887 done
   13888 
   13889 # Fix-up fallback echo if it was mangled by the above quoting rules.
   13890 case \$lt_ECHO in
   13891 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   13892   ;;
   13893 esac
   13894 
   13895 ac_aux_dir='$ac_aux_dir'
   13896 xsi_shell='$xsi_shell'
   13897 lt_shell_append='$lt_shell_append'
   13898 
   13899 # See if we are running on zsh, and set the options which allow our
   13900 # commands through without removal of \ escapes INIT.
   13901 if test -n "\${ZSH_VERSION+set}" ; then
   13902    setopt NO_GLOB_SUBST
   13903 fi
   13904 
   13905 
   13906     PACKAGE='$PACKAGE'
   13907     VERSION='$VERSION'
   13908     TIMESTAMP='$TIMESTAMP'
   13909     RM='$RM'
   13910     ofile='$ofile'
   13911 
   13912 
   13913 
   13914 
   13915 _ACEOF
   13916 
   13917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13918 
   13919 # Handling of arguments.
   13920 for ac_config_target in $ac_config_targets
   13921 do
   13922   case $ac_config_target in
   13923     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13924     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13925     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   13926     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13927     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   13928     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13929 
   13930   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   13931 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   13932    { (exit 1); exit 1; }; };;
   13933   esac
   13934 done
   13935 
   13936 
   13937 # If the user did not use the arguments to specify the items to instantiate,
   13938 # then the envvar interface is used.  Set only those that are not.
   13939 # We use the long form for the default assignment because of an extremely
   13940 # bizarre bug on SunOS 4.1.3.
   13941 if $ac_need_defaults; then
   13942   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   13943   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   13944   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   13945 fi
   13946 
   13947 # Have a temporary directory for convenience.  Make it in the build tree
   13948 # simply because there is no reason against having it here, and in addition,
   13949 # creating and moving files from /tmp can sometimes cause problems.
   13950 # Hook for its removal unless debugging.
   13951 # Note that there is a small window in which the directory will not be cleaned:
   13952 # after its creation but before its name has been assigned to `$tmp'.
   13953 $debug ||
   13954 {
   13955   tmp=
   13956   trap 'exit_status=$?
   13957   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   13958 ' 0
   13959   trap '{ (exit 1); exit 1; }' 1 2 13 15
   13960 }
   13961 # Create a (secure) tmp directory for tmp files.
   13962 
   13963 {
   13964   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13965   test -n "$tmp" && test -d "$tmp"
   13966 }  ||
   13967 {
   13968   tmp=./conf$$-$RANDOM
   13969   (umask 077 && mkdir "$tmp")
   13970 } ||
   13971 {
   13972    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   13973    { (exit 1); exit 1; }
   13974 }
   13975 
   13976 # Set up the scripts for CONFIG_FILES section.
   13977 # No need to generate them if there are no CONFIG_FILES.
   13978 # This happens for instance with `./config.status config.h'.
   13979 if test -n "$CONFIG_FILES"; then
   13980 
   13981 
   13982 ac_cr='
'
   13984 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13985 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13986   ac_cs_awk_cr='\\r'
   13987 else
   13988   ac_cs_awk_cr=$ac_cr
   13989 fi
   13990 
   13991 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   13992 _ACEOF
   13993 
   13994 
   13995 {
   13996   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13997   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13998   echo "_ACEOF"
   13999 } >conf$$subs.sh ||
   14000   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14001 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14002    { (exit 1); exit 1; }; }
   14003 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   14004 ac_delim='%!_!# '
   14005 for ac_last_try in false false false false false :; do
   14006   . ./conf$$subs.sh ||
   14007     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14008 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14009    { (exit 1); exit 1; }; }
   14010 
   14011   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   14012   if test $ac_delim_n = $ac_delim_num; then
   14013     break
   14014   elif $ac_last_try; then
   14015     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   14016 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   14017    { (exit 1); exit 1; }; }
   14018   else
   14019     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14020   fi
   14021 done
   14022 rm -f conf$$subs.sh
   14023 
   14024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14025 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   14026 _ACEOF
   14027 sed -n '
   14028 h
   14029 s/^/S["/; s/!.*/"]=/
   14030 p
   14031 g
   14032 s/^[^!]*!//
   14033 :repl
   14034 t repl
   14035 s/'"$ac_delim"'$//
   14036 t delim
   14037 :nl
   14038 h
   14039 s/\(.\{148\}\).*/\1/
   14040 t more1
   14041 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14042 p
   14043 n
   14044 b repl
   14045 :more1
   14046 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14047 p
   14048 g
   14049 s/.\{148\}//
   14050 t nl
   14051 :delim
   14052 h
   14053 s/\(.\{148\}\).*/\1/
   14054 t more2
   14055 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14056 p
   14057 b
   14058 :more2
   14059 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14060 p
   14061 g
   14062 s/.\{148\}//
   14063 t delim
   14064 ' <conf$$subs.awk | sed '
   14065 /^[^""]/{
   14066   N
   14067   s/\n//
   14068 }
   14069 ' >>$CONFIG_STATUS || ac_write_fail=1
   14070 rm -f conf$$subs.awk
   14071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14072 _ACAWK
   14073 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   14074   for (key in S) S_is_set[key] = 1
   14075   FS = ""
   14076 
   14077 }
   14078 {
   14079   line = $ 0
   14080   nfields = split(line, field, "@")
   14081   substed = 0
   14082   len = length(field[1])
   14083   for (i = 2; i < nfields; i++) {
   14084     key = field[i]
   14085     keylen = length(key)
   14086     if (S_is_set[key]) {
   14087       value = S[key]
   14088       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   14089       len += length(value) + length(field[++i])
   14090       substed = 1
   14091     } else
   14092       len += 1 + keylen
   14093   }
   14094 
   14095   print line
   14096 }
   14097 
   14098 _ACAWK
   14099 _ACEOF
   14100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14101 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   14102   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   14103 else
   14104   cat
   14105 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   14106   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   14107 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   14108    { (exit 1); exit 1; }; }
   14109 _ACEOF
   14110 
   14111 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   14112 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   14113 # trailing colons and then remove the whole line if VPATH becomes empty
   14114 # (actually we leave an empty line to preserve line numbers).
   14115 if test "x$srcdir" = x.; then
   14116   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   14117 s/:*\$(srcdir):*/:/
   14118 s/:*\${srcdir}:*/:/
   14119 s/:*@srcdir@:*/:/
   14120 s/^\([^=]*=[	 ]*\):*/\1/
   14121 s/:*$//
   14122 s/^[^=]*=[	 ]*$//
   14123 }'
   14124 fi
   14125 
   14126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14127 fi # test -n "$CONFIG_FILES"
   14128 
   14129 # Set up the scripts for CONFIG_HEADERS section.
   14130 # No need to generate them if there are no CONFIG_HEADERS.
   14131 # This happens for instance with `./config.status Makefile'.
   14132 if test -n "$CONFIG_HEADERS"; then
   14133 cat >"$tmp/defines.awk" <<\_ACAWK ||
   14134 BEGIN {
   14135 _ACEOF
   14136 
   14137 # Transform confdefs.h into an awk script `defines.awk', embedded as
   14138 # here-document in config.status, that substitutes the proper values into
   14139 # config.h.in to produce config.h.
   14140 
   14141 # Create a delimiter string that does not exist in confdefs.h, to ease
   14142 # handling of long lines.
   14143 ac_delim='%!_!# '
   14144 for ac_last_try in false false :; do
   14145   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   14146   if test -z "$ac_t"; then
   14147     break
   14148   elif $ac_last_try; then
   14149     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   14150 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   14151    { (exit 1); exit 1; }; }
   14152   else
   14153     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14154   fi
   14155 done
   14156 
   14157 # For the awk script, D is an array of macro values keyed by name,
   14158 # likewise P contains macro parameters if any.  Preserve backslash
   14159 # newline sequences.
   14160 
   14161 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   14162 sed -n '
   14163 s/.\{148\}/&'"$ac_delim"'/g
   14164 t rset
   14165 :rset
   14166 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   14167 t def
   14168 d
   14169 :def
   14170 s/\\$//
   14171 t bsnl
   14172 s/["\\]/\\&/g
   14173 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14174 D["\1"]=" \3"/p
   14175 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   14176 d
   14177 :bsnl
   14178 s/["\\]/\\&/g
   14179 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14180 D["\1"]=" \3\\\\\\n"\\/p
   14181 t cont
   14182 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   14183 t cont
   14184 d
   14185 :cont
   14186 n
   14187 s/.\{148\}/&'"$ac_delim"'/g
   14188 t clear
   14189 :clear
   14190 s/\\$//
   14191 t bsnlc
   14192 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   14193 d
   14194 :bsnlc
   14195 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   14196 b cont
   14197 ' <confdefs.h | sed '
   14198 s/'"$ac_delim"'/"\\\
   14199 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   14200 
   14201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14202   for (key in D) D_is_set[key] = 1
   14203   FS = ""
   14204 }
   14205 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   14206   line = \$ 0
   14207   split(line, arg, " ")
   14208   if (arg[1] == "#") {
   14209     defundef = arg[2]
   14210     mac1 = arg[3]
   14211   } else {
   14212     defundef = substr(arg[1], 2)
   14213     mac1 = arg[2]
   14214   }
   14215   split(mac1, mac2, "(") #)
   14216   macro = mac2[1]
   14217   prefix = substr(line, 1, index(line, defundef) - 1)
   14218   if (D_is_set[macro]) {
   14219     # Preserve the white space surrounding the "#".
   14220     print prefix "define", macro P[macro] D[macro]
   14221     next
   14222   } else {
   14223     # Replace #undef with comments.  This is necessary, for example,
   14224     # in the case of _POSIX_SOURCE, which is predefined and required
   14225     # on some systems where configure will not decide to define it.
   14226     if (defundef == "undef") {
   14227       print "/*", prefix defundef, macro, "*/"
   14228       next
   14229     }
   14230   }
   14231 }
   14232 { print }
   14233 _ACAWK
   14234 _ACEOF
   14235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14236   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   14237 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   14238    { (exit 1); exit 1; }; }
   14239 fi # test -n "$CONFIG_HEADERS"
   14240 
   14241 
   14242 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   14243 shift
   14244 for ac_tag
   14245 do
   14246   case $ac_tag in
   14247   :[FHLC]) ac_mode=$ac_tag; continue;;
   14248   esac
   14249   case $ac_mode$ac_tag in
   14250   :[FHL]*:*);;
   14251   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   14252 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   14253    { (exit 1); exit 1; }; };;
   14254   :[FH]-) ac_tag=-:-;;
   14255   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   14256   esac
   14257   ac_save_IFS=$IFS
   14258   IFS=:
   14259   set x $ac_tag
   14260   IFS=$ac_save_IFS
   14261   shift
   14262   ac_file=$1
   14263   shift
   14264 
   14265   case $ac_mode in
   14266   :L) ac_source=$1;;
   14267   :[FH])
   14268     ac_file_inputs=
   14269     for ac_f
   14270     do
   14271       case $ac_f in
   14272       -) ac_f="$tmp/stdin";;
   14273       *) # Look for the file first in the build tree, then in the source tree
   14274 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   14275 	 # because $ac_f cannot contain `:'.
   14276 	 test -f "$ac_f" ||
   14277 	   case $ac_f in
   14278 	   [\\/$]*) false;;
   14279 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   14280 	   esac ||
   14281 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   14282 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   14283    { (exit 1); exit 1; }; };;
   14284       esac
   14285       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   14286       ac_file_inputs="$ac_file_inputs '$ac_f'"
   14287     done
   14288 
   14289     # Let's still pretend it is `configure' which instantiates (i.e., don't
   14290     # use $as_me), people would be surprised to read:
   14291     #    /* config.h.  Generated by config.status.  */
   14292     configure_input='Generated from '`
   14293 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   14294 	`' by configure.'
   14295     if test x"$ac_file" != x-; then
   14296       configure_input="$ac_file.  $configure_input"
   14297       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   14298 $as_echo "$as_me: creating $ac_file" >&6;}
   14299     fi
   14300     # Neutralize special characters interpreted by sed in replacement strings.
   14301     case $configure_input in #(
   14302     *\&* | *\|* | *\\* )
   14303        ac_sed_conf_input=`$as_echo "$configure_input" |
   14304        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   14305     *) ac_sed_conf_input=$configure_input;;
   14306     esac
   14307 
   14308     case $ac_tag in
   14309     *:-:* | *:-) cat >"$tmp/stdin" \
   14310       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14311 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14312    { (exit 1); exit 1; }; } ;;
   14313     esac
   14314     ;;
   14315   esac
   14316 
   14317   ac_dir=`$as_dirname -- "$ac_file" ||
   14318 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14319 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14320 	 X"$ac_file" : 'X\(//\)$' \| \
   14321 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   14322 $as_echo X"$ac_file" |
   14323     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14324 	    s//\1/
   14325 	    q
   14326 	  }
   14327 	  /^X\(\/\/\)[^/].*/{
   14328 	    s//\1/
   14329 	    q
   14330 	  }
   14331 	  /^X\(\/\/\)$/{
   14332 	    s//\1/
   14333 	    q
   14334 	  }
   14335 	  /^X\(\/\).*/{
   14336 	    s//\1/
   14337 	    q
   14338 	  }
   14339 	  s/.*/./; q'`
   14340   { as_dir="$ac_dir"
   14341   case $as_dir in #(
   14342   -*) as_dir=./$as_dir;;
   14343   esac
   14344   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   14345     as_dirs=
   14346     while :; do
   14347       case $as_dir in #(
   14348       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14349       *) as_qdir=$as_dir;;
   14350       esac
   14351       as_dirs="'$as_qdir' $as_dirs"
   14352       as_dir=`$as_dirname -- "$as_dir" ||
   14353 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14354 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14355 	 X"$as_dir" : 'X\(//\)$' \| \
   14356 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14357 $as_echo X"$as_dir" |
   14358     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14359 	    s//\1/
   14360 	    q
   14361 	  }
   14362 	  /^X\(\/\/\)[^/].*/{
   14363 	    s//\1/
   14364 	    q
   14365 	  }
   14366 	  /^X\(\/\/\)$/{
   14367 	    s//\1/
   14368 	    q
   14369 	  }
   14370 	  /^X\(\/\).*/{
   14371 	    s//\1/
   14372 	    q
   14373 	  }
   14374 	  s/.*/./; q'`
   14375       test -d "$as_dir" && break
   14376     done
   14377     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14378   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   14379 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   14380    { (exit 1); exit 1; }; }; }
   14381   ac_builddir=.
   14382 
   14383 case "$ac_dir" in
   14384 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14385 *)
   14386   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14387   # A ".." for each directory in $ac_dir_suffix.
   14388   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14389   case $ac_top_builddir_sub in
   14390   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14391   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14392   esac ;;
   14393 esac
   14394 ac_abs_top_builddir=$ac_pwd
   14395 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14396 # for backward compatibility:
   14397 ac_top_builddir=$ac_top_build_prefix
   14398 
   14399 case $srcdir in
   14400   .)  # We are building in place.
   14401     ac_srcdir=.
   14402     ac_top_srcdir=$ac_top_builddir_sub
   14403     ac_abs_top_srcdir=$ac_pwd ;;
   14404   [\\/]* | ?:[\\/]* )  # Absolute name.
   14405     ac_srcdir=$srcdir$ac_dir_suffix;
   14406     ac_top_srcdir=$srcdir
   14407     ac_abs_top_srcdir=$srcdir ;;
   14408   *) # Relative name.
   14409     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14410     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14411     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14412 esac
   14413 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14414 
   14415 
   14416   case $ac_mode in
   14417   :F)
   14418   #
   14419   # CONFIG_FILE
   14420   #
   14421 
   14422   case $INSTALL in
   14423   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14424   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14425   esac
   14426   ac_MKDIR_P=$MKDIR_P
   14427   case $MKDIR_P in
   14428   [\\/$]* | ?:[\\/]* ) ;;
   14429   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14430   esac
   14431 _ACEOF
   14432 
   14433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14434 # If the template does not know about datarootdir, expand it.
   14435 # FIXME: This hack should be removed a few years after 2.60.
   14436 ac_datarootdir_hack=; ac_datarootdir_seen=
   14437 
   14438 ac_sed_dataroot='
   14439 /datarootdir/ {
   14440   p
   14441   q
   14442 }
   14443 /@datadir@/p
   14444 /@docdir@/p
   14445 /@infodir@/p
   14446 /@localedir@/p
   14447 /@mandir@/p
   14448 '
   14449 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14450 *datarootdir*) ac_datarootdir_seen=yes;;
   14451 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14452   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14453 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14454 _ACEOF
   14455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14456   ac_datarootdir_hack='
   14457   s&@datadir@&$datadir&g
   14458   s&@docdir@&$docdir&g
   14459   s&@infodir@&$infodir&g
   14460   s&@localedir@&$localedir&g
   14461   s&@mandir@&$mandir&g
   14462     s&\\\${datarootdir}&$datarootdir&g' ;;
   14463 esac
   14464 _ACEOF
   14465 
   14466 # Neutralize VPATH when `$srcdir' = `.'.
   14467 # Shell code in configure.ac might set extrasub.
   14468 # FIXME: do we really want to maintain this feature?
   14469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14470 ac_sed_extra="$ac_vpsub
   14471 $extrasub
   14472 _ACEOF
   14473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14474 :t
   14475 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14476 s|@configure_input@|$ac_sed_conf_input|;t t
   14477 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14478 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14479 s&@srcdir@&$ac_srcdir&;t t
   14480 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14481 s&@top_srcdir@&$ac_top_srcdir&;t t
   14482 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14483 s&@builddir@&$ac_builddir&;t t
   14484 s&@abs_builddir@&$ac_abs_builddir&;t t
   14485 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14486 s&@INSTALL@&$ac_INSTALL&;t t
   14487 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14488 $ac_datarootdir_hack
   14489 "
   14490 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   14491   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14492 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14493    { (exit 1); exit 1; }; }
   14494 
   14495 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14496   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   14497   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   14498   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14499 which seems to be undefined.  Please make sure it is defined." >&5
   14500 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14501 which seems to be undefined.  Please make sure it is defined." >&2;}
   14502 
   14503   rm -f "$tmp/stdin"
   14504   case $ac_file in
   14505   -) cat "$tmp/out" && rm -f "$tmp/out";;
   14506   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   14507   esac \
   14508   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14509 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14510    { (exit 1); exit 1; }; }
   14511  ;;
   14512   :H)
   14513   #
   14514   # CONFIG_HEADER
   14515   #
   14516   if test x"$ac_file" != x-; then
   14517     {
   14518       $as_echo "/* $configure_input  */" \
   14519       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   14520     } >"$tmp/config.h" \
   14521       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14522 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14523    { (exit 1); exit 1; }; }
   14524     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   14525       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   14526 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   14527     else
   14528       rm -f "$ac_file"
   14529       mv "$tmp/config.h" "$ac_file" \
   14530 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14531 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14532    { (exit 1); exit 1; }; }
   14533     fi
   14534   else
   14535     $as_echo "/* $configure_input  */" \
   14536       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   14537       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   14538 $as_echo "$as_me: error: could not create -" >&2;}
   14539    { (exit 1); exit 1; }; }
   14540   fi
   14541 # Compute "$ac_file"'s index in $config_headers.
   14542 _am_arg="$ac_file"
   14543 _am_stamp_count=1
   14544 for _am_header in $config_headers :; do
   14545   case $_am_header in
   14546     $_am_arg | $_am_arg:* )
   14547       break ;;
   14548     * )
   14549       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14550   esac
   14551 done
   14552 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   14553 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14554 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   14555 	 X"$_am_arg" : 'X\(//\)$' \| \
   14556 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   14557 $as_echo X"$_am_arg" |
   14558     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14559 	    s//\1/
   14560 	    q
   14561 	  }
   14562 	  /^X\(\/\/\)[^/].*/{
   14563 	    s//\1/
   14564 	    q
   14565 	  }
   14566 	  /^X\(\/\/\)$/{
   14567 	    s//\1/
   14568 	    q
   14569 	  }
   14570 	  /^X\(\/\).*/{
   14571 	    s//\1/
   14572 	    q
   14573 	  }
   14574 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   14575  ;;
   14576 
   14577   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   14578 $as_echo "$as_me: executing $ac_file commands" >&6;}
   14579  ;;
   14580   esac
   14581 
   14582 
   14583   case $ac_file$ac_mode in
   14584     "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
   14585 # are listed without --file.  Let's play safe and only enable the eval
   14586 # if we detect the quoting.
   14587 case $CONFIG_FILES in
   14588 *\'*) eval set x "$CONFIG_FILES" ;;
   14589 *)   set x $CONFIG_FILES ;;
   14590 esac
   14591 shift
   14592 for mf
   14593 do
   14594   # Strip MF so we end up with the name of the file.
   14595   mf=`echo "$mf" | sed -e 's/:.*$//'`
   14596   # Check whether this is an Automake generated Makefile or not.
   14597   # We used to match only the files named `Makefile.in', but
   14598   # some people rename them; so instead we look at the file content.
   14599   # Grep'ing the first line is not enough: some people post-process
   14600   # each Makefile.in and add a new line on top of each file to say so.
   14601   # Grep'ing the whole file is not good either: AIX grep has a line
   14602   # limit of 2048, but all sed's we know have understand at least 4000.
   14603   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   14604     dirpart=`$as_dirname -- "$mf" ||
   14605 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14606 	 X"$mf" : 'X\(//\)[^/]' \| \
   14607 	 X"$mf" : 'X\(//\)$' \| \
   14608 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   14609 $as_echo X"$mf" |
   14610     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14611 	    s//\1/
   14612 	    q
   14613 	  }
   14614 	  /^X\(\/\/\)[^/].*/{
   14615 	    s//\1/
   14616 	    q
   14617 	  }
   14618 	  /^X\(\/\/\)$/{
   14619 	    s//\1/
   14620 	    q
   14621 	  }
   14622 	  /^X\(\/\).*/{
   14623 	    s//\1/
   14624 	    q
   14625 	  }
   14626 	  s/.*/./; q'`
   14627   else
   14628     continue
   14629   fi
   14630   # Extract the definition of DEPDIR, am__include, and am__quote
   14631   # from the Makefile without running `make'.
   14632   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   14633   test -z "$DEPDIR" && continue
   14634   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   14635   test -z "am__include" && continue
   14636   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   14637   # When using ansi2knr, U may be empty or an underscore; expand it
   14638   U=`sed -n 's/^U = //p' < "$mf"`
   14639   # Find all dependency output files, they are included files with
   14640   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   14641   # simplest approach to changing $(DEPDIR) to its actual value in the
   14642   # expansion.
   14643   for file in `sed -n "
   14644     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   14645        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   14646     # Make sure the directory exists.
   14647     test -f "$dirpart/$file" && continue
   14648     fdir=`$as_dirname -- "$file" ||
   14649 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14650 	 X"$file" : 'X\(//\)[^/]' \| \
   14651 	 X"$file" : 'X\(//\)$' \| \
   14652 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   14653 $as_echo X"$file" |
   14654     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14655 	    s//\1/
   14656 	    q
   14657 	  }
   14658 	  /^X\(\/\/\)[^/].*/{
   14659 	    s//\1/
   14660 	    q
   14661 	  }
   14662 	  /^X\(\/\/\)$/{
   14663 	    s//\1/
   14664 	    q
   14665 	  }
   14666 	  /^X\(\/\).*/{
   14667 	    s//\1/
   14668 	    q
   14669 	  }
   14670 	  s/.*/./; q'`
   14671     { as_dir=$dirpart/$fdir
   14672   case $as_dir in #(
   14673   -*) as_dir=./$as_dir;;
   14674   esac
   14675   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   14676     as_dirs=
   14677     while :; do
   14678       case $as_dir in #(
   14679       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14680       *) as_qdir=$as_dir;;
   14681       esac
   14682       as_dirs="'$as_qdir' $as_dirs"
   14683       as_dir=`$as_dirname -- "$as_dir" ||
   14684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14685 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14686 	 X"$as_dir" : 'X\(//\)$' \| \
   14687 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14688 $as_echo X"$as_dir" |
   14689     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14690 	    s//\1/
   14691 	    q
   14692 	  }
   14693 	  /^X\(\/\/\)[^/].*/{
   14694 	    s//\1/
   14695 	    q
   14696 	  }
   14697 	  /^X\(\/\/\)$/{
   14698 	    s//\1/
   14699 	    q
   14700 	  }
   14701 	  /^X\(\/\).*/{
   14702 	    s//\1/
   14703 	    q
   14704 	  }
   14705 	  s/.*/./; q'`
   14706       test -d "$as_dir" && break
   14707     done
   14708     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14709   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   14710 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   14711    { (exit 1); exit 1; }; }; }
   14712     # echo "creating $dirpart/$file"
   14713     echo '# dummy' > "$dirpart/$file"
   14714   done
   14715 done
   14716  ;;
   14717     "libtool":C)
   14718 
   14719     # See if we are running on zsh, and set the options which allow our
   14720     # commands through without removal of \ escapes.
   14721     if test -n "${ZSH_VERSION+set}" ; then
   14722       setopt NO_GLOB_SUBST
   14723     fi
   14724 
   14725     cfgfile="${ofile}T"
   14726     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   14727     $RM "$cfgfile"
   14728 
   14729     cat <<_LT_EOF >> "$cfgfile"
   14730 #! $SHELL
   14731 
   14732 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   14733 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   14734 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   14735 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   14736 #
   14737 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   14738 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   14739 #   Written by Gordon Matzigkeit, 1996
   14740 #
   14741 #   This file is part of GNU Libtool.
   14742 #
   14743 # GNU Libtool is free software; you can redistribute it and/or
   14744 # modify it under the terms of the GNU General Public License as
   14745 # published by the Free Software Foundation; either version 2 of
   14746 # the License, or (at your option) any later version.
   14747 #
   14748 # As a special exception to the GNU General Public License,
   14749 # if you distribute this file as part of a program or library that
   14750 # is built using GNU Libtool, you may include this file under the
   14751 # same distribution terms that you use for the rest of that program.
   14752 #
   14753 # GNU Libtool is distributed in the hope that it will be useful,
   14754 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   14755 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14756 # GNU General Public License for more details.
   14757 #
   14758 # You should have received a copy of the GNU General Public License
   14759 # along with GNU Libtool; see the file COPYING.  If not, a copy
   14760 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   14761 # obtained by writing to the Free Software Foundation, Inc.,
   14762 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   14763 
   14764 
   14765 # The names of the tagged configurations supported by this script.
   14766 available_tags=""
   14767 
   14768 # ### BEGIN LIBTOOL CONFIG
   14769 
   14770 # Whether or not to build static libraries.
   14771 build_old_libs=$enable_static
   14772 
   14773 # Which release of libtool.m4 was used?
   14774 macro_version=$macro_version
   14775 macro_revision=$macro_revision
   14776 
   14777 # Whether or not to build shared libraries.
   14778 build_libtool_libs=$enable_shared
   14779 
   14780 # What type of objects to build.
   14781 pic_mode=$pic_mode
   14782 
   14783 # Whether or not to optimize for fast installation.
   14784 fast_install=$enable_fast_install
   14785 
   14786 # The host system.
   14787 host_alias=$host_alias
   14788 host=$host
   14789 host_os=$host_os
   14790 
   14791 # The build system.
   14792 build_alias=$build_alias
   14793 build=$build
   14794 build_os=$build_os
   14795 
   14796 # A sed program that does not truncate output.
   14797 SED=$lt_SED
   14798 
   14799 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   14800 Xsed="\$SED -e 1s/^X//"
   14801 
   14802 # A grep program that handles long lines.
   14803 GREP=$lt_GREP
   14804 
   14805 # An ERE matcher.
   14806 EGREP=$lt_EGREP
   14807 
   14808 # A literal string matcher.
   14809 FGREP=$lt_FGREP
   14810 
   14811 # A BSD- or MS-compatible name lister.
   14812 NM=$lt_NM
   14813 
   14814 # Whether we need soft or hard links.
   14815 LN_S=$lt_LN_S
   14816 
   14817 # What is the maximum length of a command?
   14818 max_cmd_len=$max_cmd_len
   14819 
   14820 # Object file suffix (normally "o").
   14821 objext=$ac_objext
   14822 
   14823 # Executable file suffix (normally "").
   14824 exeext=$exeext
   14825 
   14826 # whether the shell understands "unset".
   14827 lt_unset=$lt_unset
   14828 
   14829 # turn spaces into newlines.
   14830 SP2NL=$lt_lt_SP2NL
   14831 
   14832 # turn newlines into spaces.
   14833 NL2SP=$lt_lt_NL2SP
   14834 
   14835 # How to create reloadable object files.
   14836 reload_flag=$lt_reload_flag
   14837 reload_cmds=$lt_reload_cmds
   14838 
   14839 # An object symbol dumper.
   14840 OBJDUMP=$lt_OBJDUMP
   14841 
   14842 # Method to check whether dependent libraries are shared objects.
   14843 deplibs_check_method=$lt_deplibs_check_method
   14844 
   14845 # Command to use when deplibs_check_method == "file_magic".
   14846 file_magic_cmd=$lt_file_magic_cmd
   14847 
   14848 # The archiver.
   14849 AR=$lt_AR
   14850 AR_FLAGS=$lt_AR_FLAGS
   14851 
   14852 # A symbol stripping program.
   14853 STRIP=$lt_STRIP
   14854 
   14855 # Commands used to install an old-style archive.
   14856 RANLIB=$lt_RANLIB
   14857 old_postinstall_cmds=$lt_old_postinstall_cmds
   14858 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14859 
   14860 # A C compiler.
   14861 LTCC=$lt_CC
   14862 
   14863 # LTCC compiler flags.
   14864 LTCFLAGS=$lt_CFLAGS
   14865 
   14866 # Take the output of nm and produce a listing of raw symbols and C names.
   14867 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14868 
   14869 # Transform the output of nm in a proper C declaration.
   14870 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14871 
   14872 # Transform the output of nm in a C name address pair.
   14873 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14874 
   14875 # Transform the output of nm in a C name address pair when lib prefix is needed.
   14876 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   14877 
   14878 # The name of the directory that contains temporary libtool files.
   14879 objdir=$objdir
   14880 
   14881 # Shell to use when invoking shell scripts.
   14882 SHELL=$lt_SHELL
   14883 
   14884 # An echo program that does not interpret backslashes.
   14885 ECHO=$lt_ECHO
   14886 
   14887 # Used to examine libraries when file_magic_cmd begins with "file".
   14888 MAGIC_CMD=$MAGIC_CMD
   14889 
   14890 # Must we lock files when doing compilation?
   14891 need_locks=$lt_need_locks
   14892 
   14893 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   14894 DSYMUTIL=$lt_DSYMUTIL
   14895 
   14896 # Tool to change global to local symbols on Mac OS X.
   14897 NMEDIT=$lt_NMEDIT
   14898 
   14899 # Tool to manipulate fat objects and archives on Mac OS X.
   14900 LIPO=$lt_LIPO
   14901 
   14902 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   14903 OTOOL=$lt_OTOOL
   14904 
   14905 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   14906 OTOOL64=$lt_OTOOL64
   14907 
   14908 # Old archive suffix (normally "a").
   14909 libext=$libext
   14910 
   14911 # Shared library suffix (normally ".so").
   14912 shrext_cmds=$lt_shrext_cmds
   14913 
   14914 # The commands to extract the exported symbol list from a shared archive.
   14915 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14916 
   14917 # Variables whose values should be saved in libtool wrapper scripts and
   14918 # restored at link time.
   14919 variables_saved_for_relink=$lt_variables_saved_for_relink
   14920 
   14921 # Do we need the "lib" prefix for modules?
   14922 need_lib_prefix=$need_lib_prefix
   14923 
   14924 # Do we need a version for libraries?
   14925 need_version=$need_version
   14926 
   14927 # Library versioning type.
   14928 version_type=$version_type
   14929 
   14930 # Shared library runtime path variable.
   14931 runpath_var=$runpath_var
   14932 
   14933 # Shared library path variable.
   14934 shlibpath_var=$shlibpath_var
   14935 
   14936 # Is shlibpath searched before the hard-coded library search path?
   14937 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14938 
   14939 # Format of library name prefix.
   14940 libname_spec=$lt_libname_spec
   14941 
   14942 # List of archive names.  First name is the real one, the rest are links.
   14943 # The last name is the one that the linker finds with -lNAME
   14944 library_names_spec=$lt_library_names_spec
   14945 
   14946 # The coded name of the library, if different from the real name.
   14947 soname_spec=$lt_soname_spec
   14948 
   14949 # Command to use after installation of a shared archive.
   14950 postinstall_cmds=$lt_postinstall_cmds
   14951 
   14952 # Command to use after uninstallation of a shared archive.
   14953 postuninstall_cmds=$lt_postuninstall_cmds
   14954 
   14955 # Commands used to finish a libtool library installation in a directory.
   14956 finish_cmds=$lt_finish_cmds
   14957 
   14958 # As "finish_cmds", except a single script fragment to be evaled but
   14959 # not shown.
   14960 finish_eval=$lt_finish_eval
   14961 
   14962 # Whether we should hardcode library paths into libraries.
   14963 hardcode_into_libs=$hardcode_into_libs
   14964 
   14965 # Compile-time system search path for libraries.
   14966 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14967 
   14968 # Run-time system search path for libraries.
   14969 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14970 
   14971 # Whether dlopen is supported.
   14972 dlopen_support=$enable_dlopen
   14973 
   14974 # Whether dlopen of programs is supported.
   14975 dlopen_self=$enable_dlopen_self
   14976 
   14977 # Whether dlopen of statically linked programs is supported.
   14978 dlopen_self_static=$enable_dlopen_self_static
   14979 
   14980 # Commands to strip libraries.
   14981 old_striplib=$lt_old_striplib
   14982 striplib=$lt_striplib
   14983 
   14984 
   14985 # The linker used to build libraries.
   14986 LD=$lt_LD
   14987 
   14988 # Commands used to build an old-style archive.
   14989 old_archive_cmds=$lt_old_archive_cmds
   14990 
   14991 # A language specific compiler.
   14992 CC=$lt_compiler
   14993 
   14994 # Is the compiler the GNU compiler?
   14995 with_gcc=$GCC
   14996 
   14997 # Compiler flag to turn off builtin functions.
   14998 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   14999 
   15000 # How to pass a linker flag through the compiler.
   15001 wl=$lt_lt_prog_compiler_wl
   15002 
   15003 # Additional compiler flags for building library objects.
   15004 pic_flag=$lt_lt_prog_compiler_pic
   15005 
   15006 # Compiler flag to prevent dynamic linking.
   15007 link_static_flag=$lt_lt_prog_compiler_static
   15008 
   15009 # Does compiler simultaneously support -c and -o options?
   15010 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15011 
   15012 # Whether or not to add -lc for building shared libraries.
   15013 build_libtool_need_lc=$archive_cmds_need_lc
   15014 
   15015 # Whether or not to disallow shared libs when runtime libs are static.
   15016 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15017 
   15018 # Compiler flag to allow reflexive dlopens.
   15019 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15020 
   15021 # Compiler flag to generate shared objects directly from archives.
   15022 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15023 
   15024 # Whether the compiler copes with passing no objects directly.
   15025 compiler_needs_object=$lt_compiler_needs_object
   15026 
   15027 # Create an old-style archive from a shared archive.
   15028 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15029 
   15030 # Create a temporary old-style archive to link instead of a shared archive.
   15031 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15032 
   15033 # Commands used to build a shared archive.
   15034 archive_cmds=$lt_archive_cmds
   15035 archive_expsym_cmds=$lt_archive_expsym_cmds
   15036 
   15037 # Commands used to build a loadable module if different from building
   15038 # a shared archive.
   15039 module_cmds=$lt_module_cmds
   15040 module_expsym_cmds=$lt_module_expsym_cmds
   15041 
   15042 # Whether we are building with GNU ld or not.
   15043 with_gnu_ld=$lt_with_gnu_ld
   15044 
   15045 # Flag that allows shared libraries with undefined symbols to be built.
   15046 allow_undefined_flag=$lt_allow_undefined_flag
   15047 
   15048 # Flag that enforces no undefined symbols.
   15049 no_undefined_flag=$lt_no_undefined_flag
   15050 
   15051 # Flag to hardcode \$libdir into a binary during linking.
   15052 # This must work even if \$libdir does not exist
   15053 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   15054 
   15055 # If ld is used when linking, flag to hardcode \$libdir into a binary
   15056 # during linking.  This must work even if \$libdir does not exist.
   15057 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   15058 
   15059 # Whether we need a single "-rpath" flag with a separated argument.
   15060 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   15061 
   15062 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15063 # DIR into the resulting binary.
   15064 hardcode_direct=$hardcode_direct
   15065 
   15066 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15067 # DIR into the resulting binary and the resulting library dependency is
   15068 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   15069 # library is relocated.
   15070 hardcode_direct_absolute=$hardcode_direct_absolute
   15071 
   15072 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   15073 # into the resulting binary.
   15074 hardcode_minus_L=$hardcode_minus_L
   15075 
   15076 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   15077 # into the resulting binary.
   15078 hardcode_shlibpath_var=$hardcode_shlibpath_var
   15079 
   15080 # Set to "yes" if building a shared library automatically hardcodes DIR
   15081 # into the library and all subsequent libraries and executables linked
   15082 # against it.
   15083 hardcode_automatic=$hardcode_automatic
   15084 
   15085 # Set to yes if linker adds runtime paths of dependent libraries
   15086 # to runtime path list.
   15087 inherit_rpath=$inherit_rpath
   15088 
   15089 # Whether libtool must link a program against all its dependency libraries.
   15090 link_all_deplibs=$link_all_deplibs
   15091 
   15092 # Fix the shell variable \$srcfile for the compiler.
   15093 fix_srcfile_path=$lt_fix_srcfile_path
   15094 
   15095 # Set to "yes" if exported symbols are required.
   15096 always_export_symbols=$always_export_symbols
   15097 
   15098 # The commands to list exported symbols.
   15099 export_symbols_cmds=$lt_export_symbols_cmds
   15100 
   15101 # Symbols that should not be listed in the preloaded symbols.
   15102 exclude_expsyms=$lt_exclude_expsyms
   15103 
   15104 # Symbols that must always be exported.
   15105 include_expsyms=$lt_include_expsyms
   15106 
   15107 # Commands necessary for linking programs (against libraries) with templates.
   15108 prelink_cmds=$lt_prelink_cmds
   15109 
   15110 # Specify filename containing input files.
   15111 file_list_spec=$lt_file_list_spec
   15112 
   15113 # How to hardcode a shared library path into an executable.
   15114 hardcode_action=$hardcode_action
   15115 
   15116 # ### END LIBTOOL CONFIG
   15117 
   15118 _LT_EOF
   15119 
   15120   case $host_os in
   15121   aix3*)
   15122     cat <<\_LT_EOF >> "$cfgfile"
   15123 # AIX sometimes has problems with the GCC collect2 program.  For some
   15124 # reason, if we set the COLLECT_NAMES environment variable, the problems
   15125 # vanish in a puff of smoke.
   15126 if test "X${COLLECT_NAMES+set}" != Xset; then
   15127   COLLECT_NAMES=
   15128   export COLLECT_NAMES
   15129 fi
   15130 _LT_EOF
   15131     ;;
   15132   esac
   15133 
   15134 
   15135 ltmain="$ac_aux_dir/ltmain.sh"
   15136 
   15137 
   15138   # We use sed instead of cat because bash on DJGPP gets confused if
   15139   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   15140   # text mode, it properly converts lines to CR/LF.  This bash problem
   15141   # is reportedly fixed, but why not run on old versions too?
   15142   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   15143     || (rm -f "$cfgfile"; exit 1)
   15144 
   15145   case $xsi_shell in
   15146   yes)
   15147     cat << \_LT_EOF >> "$cfgfile"
   15148 
   15149 # func_dirname file append nondir_replacement
   15150 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15151 # otherwise set result to NONDIR_REPLACEMENT.
   15152 func_dirname ()
   15153 {
   15154   case ${1} in
   15155     */*) func_dirname_result="${1%/*}${2}" ;;
   15156     *  ) func_dirname_result="${3}" ;;
   15157   esac
   15158 }
   15159 
   15160 # func_basename file
   15161 func_basename ()
   15162 {
   15163   func_basename_result="${1##*/}"
   15164 }
   15165 
   15166 # func_dirname_and_basename file append nondir_replacement
   15167 # perform func_basename and func_dirname in a single function
   15168 # call:
   15169 #   dirname:  Compute the dirname of FILE.  If nonempty,
   15170 #             add APPEND to the result, otherwise set result
   15171 #             to NONDIR_REPLACEMENT.
   15172 #             value returned in "$func_dirname_result"
   15173 #   basename: Compute filename of FILE.
   15174 #             value retuned in "$func_basename_result"
   15175 # Implementation must be kept synchronized with func_dirname
   15176 # and func_basename. For efficiency, we do not delegate to
   15177 # those functions but instead duplicate the functionality here.
   15178 func_dirname_and_basename ()
   15179 {
   15180   case ${1} in
   15181     */*) func_dirname_result="${1%/*}${2}" ;;
   15182     *  ) func_dirname_result="${3}" ;;
   15183   esac
   15184   func_basename_result="${1##*/}"
   15185 }
   15186 
   15187 # func_stripname prefix suffix name
   15188 # strip PREFIX and SUFFIX off of NAME.
   15189 # PREFIX and SUFFIX must not contain globbing or regex special
   15190 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15191 # dot (in which case that matches only a dot).
   15192 func_stripname ()
   15193 {
   15194   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   15195   # positional parameters, so assign one to ordinary parameter first.
   15196   func_stripname_result=${3}
   15197   func_stripname_result=${func_stripname_result#"${1}"}
   15198   func_stripname_result=${func_stripname_result%"${2}"}
   15199 }
   15200 
   15201 # func_opt_split
   15202 func_opt_split ()
   15203 {
   15204   func_opt_split_opt=${1%%=*}
   15205   func_opt_split_arg=${1#*=}
   15206 }
   15207 
   15208 # func_lo2o object
   15209 func_lo2o ()
   15210 {
   15211   case ${1} in
   15212     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   15213     *)    func_lo2o_result=${1} ;;
   15214   esac
   15215 }
   15216 
   15217 # func_xform libobj-or-source
   15218 func_xform ()
   15219 {
   15220   func_xform_result=${1%.*}.lo
   15221 }
   15222 
   15223 # func_arith arithmetic-term...
   15224 func_arith ()
   15225 {
   15226   func_arith_result=$(( $* ))
   15227 }
   15228 
   15229 # func_len string
   15230 # STRING may not start with a hyphen.
   15231 func_len ()
   15232 {
   15233   func_len_result=${#1}
   15234 }
   15235 
   15236 _LT_EOF
   15237     ;;
   15238   *) # Bourne compatible functions.
   15239     cat << \_LT_EOF >> "$cfgfile"
   15240 
   15241 # func_dirname file append nondir_replacement
   15242 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15243 # otherwise set result to NONDIR_REPLACEMENT.
   15244 func_dirname ()
   15245 {
   15246   # Extract subdirectory from the argument.
   15247   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   15248   if test "X$func_dirname_result" = "X${1}"; then
   15249     func_dirname_result="${3}"
   15250   else
   15251     func_dirname_result="$func_dirname_result${2}"
   15252   fi
   15253 }
   15254 
   15255 # func_basename file
   15256 func_basename ()
   15257 {
   15258   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   15259 }
   15260 
   15261 
   15262 # func_stripname prefix suffix name
   15263 # strip PREFIX and SUFFIX off of NAME.
   15264 # PREFIX and SUFFIX must not contain globbing or regex special
   15265 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15266 # dot (in which case that matches only a dot).
   15267 # func_strip_suffix prefix name
   15268 func_stripname ()
   15269 {
   15270   case ${2} in
   15271     .*) func_stripname_result=`$ECHO "X${3}" \
   15272            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   15273     *)  func_stripname_result=`$ECHO "X${3}" \
   15274            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   15275   esac
   15276 }
   15277 
   15278 # sed scripts:
   15279 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   15280 my_sed_long_arg='1s/^-[^=]*=//'
   15281 
   15282 # func_opt_split
   15283 func_opt_split ()
   15284 {
   15285   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   15286   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   15287 }
   15288 
   15289 # func_lo2o object
   15290 func_lo2o ()
   15291 {
   15292   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   15293 }
   15294 
   15295 # func_xform libobj-or-source
   15296 func_xform ()
   15297 {
   15298   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   15299 }
   15300 
   15301 # func_arith arithmetic-term...
   15302 func_arith ()
   15303 {
   15304   func_arith_result=`expr "$@"`
   15305 }
   15306 
   15307 # func_len string
   15308 # STRING may not start with a hyphen.
   15309 func_len ()
   15310 {
   15311   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   15312 }
   15313 
   15314 _LT_EOF
   15315 esac
   15316 
   15317 case $lt_shell_append in
   15318   yes)
   15319     cat << \_LT_EOF >> "$cfgfile"
   15320 
   15321 # func_append var value
   15322 # Append VALUE to the end of shell variable VAR.
   15323 func_append ()
   15324 {
   15325   eval "$1+=\$2"
   15326 }
   15327 _LT_EOF
   15328     ;;
   15329   *)
   15330     cat << \_LT_EOF >> "$cfgfile"
   15331 
   15332 # func_append var value
   15333 # Append VALUE to the end of shell variable VAR.
   15334 func_append ()
   15335 {
   15336   eval "$1=\$$1\$2"
   15337 }
   15338 
   15339 _LT_EOF
   15340     ;;
   15341   esac
   15342 
   15343 
   15344   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   15345     || (rm -f "$cfgfile"; exit 1)
   15346 
   15347   mv -f "$cfgfile" "$ofile" ||
   15348     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   15349   chmod +x "$ofile"
   15350 
   15351  ;;
   15352 
   15353   esac
   15354 done # for ac_tag
   15355 
   15356 
   15357 { (exit 0); exit 0; }
   15358 _ACEOF
   15359 chmod +x $CONFIG_STATUS
   15360 ac_clean_files=$ac_clean_files_save
   15361 
   15362 test $ac_write_fail = 0 ||
   15363   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   15364 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   15365    { (exit 1); exit 1; }; }
   15366 
   15367 
   15368 # configure is writing to config.log, and then calls config.status.
   15369 # config.status does its own redirection, appending to config.log.
   15370 # Unfortunately, on DOS this fails, as config.log is still kept open
   15371 # by configure, so config.status won't be able to write to it; its
   15372 # output is simply discarded.  So we exec the FD to /dev/null,
   15373 # effectively closing config.log, so it can be properly (re)opened and
   15374 # appended to by config.status.  When coming back to configure, we
   15375 # need to make the FD available again.
   15376 if test "$no_create" != yes; then
   15377   ac_cs_success=:
   15378   ac_config_status_args=
   15379   test "$silent" = yes &&
   15380     ac_config_status_args="$ac_config_status_args --quiet"
   15381   exec 5>/dev/null
   15382   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15383   exec 5>>config.log
   15384   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15385   # would make configure fail if this is the last instruction.
   15386   $ac_cs_success || { (exit 1); exit 1; }
   15387 fi
   15388 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15389   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15390 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15391 fi
   15392 
   15393